Fix for continuous timeouts

The timeouts counter is used to track continuous timeouts and if it reaches above the resetOnTimeoutLimit, then it resets the connection. There is a bug in the timeouts counter as it is always incremented on every timeout because of which it is not tracking continuous timeouts but cumulative timeouts since the start of instance.
This fix resets the counter if we receive any response other than timeout, thus fixing the bug.
Testing Done:
Added a junit test to ensure the logic works now

 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.

@ankuriitg  - does this mean this will reduce the alert noise?

@ankuriitg - does this mean this will reduce the alert noise?

No, this has nothing to do with our service alerts.


feat(component): inital component added to render setup instructions

Closes #121
Checklist:

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

 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.

Thanks! Unfortunately, this isn't yet big enough to be usable from the perspective of a user of this library.


KAFKA-17585: offsetResetStrategyTimestamp should return long instead of Long

As title
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712  Sure, I have removed it,   PTAL


Sync Linear is setting "Closed" in GH to "Reviewing" instead of "Done"

Hey all,
Trying to get Unkey sync linear to work correctly, I just went through the entire setup process again after having an issue with an expired token.
We have sync linear setup as follows:

When we close an issue as completed after the PR is merged in, Sync linear sets it to "Reviewing" which is our Review step. If we then move it to "Done" in Linear, it re-opens in GH and then in linear.
Not sure why Sync linear is using the Reviewing step. Which is not for "completed / done" tasks. Tried troubleshooting but can't figure out what to do here. Here is the Linear setup we have

Here is an example issue that is currently in Reviewing (https://github.com/unkeyed/unkey/issues/578) but is closed.
Here is the webhook that was fired:
{
  "action": "closed",
  "issue": {
    "url": "https://api.github.com/repos/unkeyed/unkey/issues/578",
    "repository_url": "https://api.github.com/repos/unkeyed/unkey",
    "labels_url": "https://api.github.com/repos/unkeyed/unkey/issues/578/labels{/name}",
    "comments_url": "https://api.github.com/repos/unkeyed/unkey/issues/578/comments",
    "events_url": "https://api.github.com/repos/unkeyed/unkey/issues/578/events",
    "html_url": "https://github.com/unkeyed/unkey/issues/578",
    "id":<PHONE_NUMBER>,
    "node_id": "I_kwDOJtgxfM53jG5J",
    "number": 578,
    "title": "[KEY-266] [docs]\"Prepare database\" point in the contribution section is not clear",
    "user": {
      "login": "rohinish404",
      "id": 92542124,
      "node_id": "U_kgDOBYQUrA",
      "avatar_url": "https://avatars.githubusercontent.com/u/92542124?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/rohinish404",
      "html_url": "https://github.com/rohinish404",
      "followers_url": "https://api.github.com/users/rohinish404/followers",
      "following_url": "https://api.github.com/users/rohinish404/following{/other_user}",
      "gists_url": "https://api.github.com/users/rohinish404/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/rohinish404/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/rohinish404/subscriptions",
      "organizations_url": "https://api.github.com/users/rohinish404/orgs",
      "repos_url": "https://api.github.com/users/rohinish404/repos",
      "events_url": "https://api.github.com/users/rohinish404/events{/privacy}",
      "received_events_url": "https://api.github.com/users/rohinish404/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [
      {
        "id":<PHONE_NUMBER>,
        "node_id": "LA_kwDOJtgxfM8AAAABTehd9w",
        "url": "https://api.github.com/repos/unkeyed/unkey/labels/documentation",
        "name": "documentation",
        "color": "0075ca",
        "default": true,
        "description": "Improvements or additions to documentation"
      },
      {
        "id":<PHONE_NUMBER>,
        "node_id": "LA_kwDOJtgxfM8AAAABV3xqEA",
        "url": "https://api.github.com/repos/unkeyed/unkey/labels/linear",
        "name": "linear",
        "color": "4941DA",
        "default": false,
        "description": "Created by Linear-GitHub Sync"
      }
    ],
    "state": "closed",
    "locked": false,
    "assignee": {
      "login": "perkinsjr",
      "id": 45409975,
      "node_id": "MDQ6VXNlcjQ1NDA5OTc1",
      "avatar_url": "https://avatars.githubusercontent.com/u/45409975?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/perkinsjr",
      "html_url": "https://github.com/perkinsjr",
      "followers_url": "https://api.github.com/users/perkinsjr/followers",
      "following_url": "https://api.github.com/users/perkinsjr/following{/other_user}",
      "gists_url": "https://api.github.com/users/perkinsjr/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/perkinsjr/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/perkinsjr/subscriptions",
      "organizations_url": "https://api.github.com/users/perkinsjr/orgs",
      "repos_url": "https://api.github.com/users/perkinsjr/repos",
      "events_url": "https://api.github.com/users/perkinsjr/events{/privacy}",
      "received_events_url": "https://api.github.com/users/perkinsjr/received_events",
      "type": "User",
      "site_admin": false
    },
    "assignees": [
      {
        "login": "perkinsjr",
        "id": 45409975,
        "node_id": "MDQ6VXNlcjQ1NDA5OTc1",
        "avatar_url": "https://avatars.githubusercontent.com/u/45409975?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/perkinsjr",
        "html_url": "https://github.com/perkinsjr",
        "followers_url": "https://api.github.com/users/perkinsjr/followers",
        "following_url": "https://api.github.com/users/perkinsjr/following{/other_user}",
        "gists_url": "https://api.github.com/users/perkinsjr/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/perkinsjr/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/perkinsjr/subscriptions",
        "organizations_url": "https://api.github.com/users/perkinsjr/orgs",
        "repos_url": "https://api.github.com/users/perkinsjr/repos",
        "events_url": "https://api.github.com/users/perkinsjr/events{/privacy}",
        "received_events_url": "https://api.github.com/users/perkinsjr/received_events",
        "type": "User",
        "site_admin": false
      }
    ],
    "milestone": {
      "url": "https://api.github.com/repos/unkeyed/unkey/milestones/15",
      "html_url": "https://github.com/unkeyed/unkey/milestone/15",
      "labels_url": "https://api.github.com/repos/unkeyed/unkey/milestones/15/labels",
      "id": 10198745,
      "node_id": "MI_kwDOJtgxfM4Am57Z",
      "number": 15,
      "title": "v.18",
      "description": "null\n\n> From [SyncLinear.com](https://synclinear.com)",
      "creator": {
        "login": "chronark",
        "id": 18246773,
        "node_id": "MDQ6VXNlcjE4MjQ2Nzcz",
        "avatar_url": "https://avatars.githubusercontent.com/u/18246773?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/chronark",
        "html_url": "https://github.com/chronark",
        "followers_url": "https://api.github.com/users/chronark/followers",
        "following_url": "https://api.github.com/users/chronark/following{/other_user}",
        "gists_url": "https://api.github.com/users/chronark/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/chronark/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/chronark/subscriptions",
        "organizations_url": "https://api.github.com/users/chronark/orgs",
        "repos_url": "https://api.github.com/users/chronark/repos",
        "events_url": "https://api.github.com/users/chronark/events{/privacy}",
        "received_events_url": "https://api.github.com/users/chronark/received_events",
        "type": "User",
        "site_admin": false
      },
      "open_issues": 0,
      "closed_issues": 5,
      "state": "open",
      "created_at": "2023-11-16T20:51:02Z",
      "updated_at": "2023-11-22T17:09:23Z",
      "due_on": null,
      "closed_at": null
    },
    "comments": 0,
    "created_at": "2023-11-22T06:54:02Z",
    "updated_at": "2023-11-22T17:09:23Z",
    "closed_at": "2023-11-22T17:09:23Z",
    "author_association": "NONE",
    "active_lock_reason": null,
    "body": "### Type of documentation issue\n\nOther\n\n### Describe the problem and the proposed solution\n\n**Issues -**\n\n* The 3rd point in the contributing section (\"Prepare Database\") is not clear. The whole point doesn't mention where to get our own values from - `Make sure you replace user, password, host and db with your own values`. It is mentioned in the 1st point that we need to create a database on planetscale but it's not very clear.\n\n![image](https://uploads.linear.app/37afc8f2-981e-43da-b362-f19c2d9dcf01/1f133b86-aa66-45ef-88b9-c78df1047973/fb3f0f90-a826-43b0-839a-eefe8f00edd9?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzM3YWZjOGYyLTk4MWUtNDNkYS1iMzYyLWYxOWMyZDlkY2YwMS8xZjEzM2I4Ni1hYTY2LTQ1ZWYtODhiOS1jNzhkZjEwNDc5NzMvZmIzZjBmOTAtYTgyNi00M2IwLTgzOWEtZWVmZThmMDBlZGQ5IiwiaWF0IjoxNzAwNjcyMDc4LCJleHAiOjE3MDA3NTg0Nzh9.NC3EgcpCtw2QkeJDz6a7YoEu0xlKCKX4UlEpFzjp5Vk)\n\n* There's nowhere mentioned that we'll get the organisation id from clerk. ( i was confused from this statement - `You need the organization ID for the next step.` (I thought that i want to ask for the organisation key from unkey developers).\n  **Few Suggestions -**\n* Remove the database part from the 1st point 👇 and add it to the third point, so that the 3rd point has all the information about the database. ( Example of how the 3rd point should look like - **You need to create a database using PlanetScale. After creating one you'll get the below credentials👇** after than the commands that are mentioned in the 3rd point. **You need to replace the credentials in the command with your own.**) Feel free to change whatever you like other than this.\n* \n\n![image](https://uploads.linear.app/37afc8f2-981e-43da-b362-f19c2d9dcf01/1e9f0963-9736-4505-aba6-139ea6b28f0e/616475a4-1a7b-4839-b42f-5c3c1b31f89f?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzM3YWZjOGYyLTk4MWUtNDNkYS1iMzYyLWYxOWMyZDlkY2YwMS8xZTlmMDk2My05NzM2LTQ1MDUtYWJhNi0xMzllYTZiMjhmMGUvNjE2NDc1YTQtMWE3Yi00ODM5LWI0MmYtNWMzYzFiMzFmODlmIiwiaWF0IjoxNzAwNjcyMDc4LCJleHAiOjE3MDA3NTg0Nzh9.dCFGF0vTeSXnfrWigXsiTQWxMDloDaBcRSVcMYC2o7Y)\n\n* For the Clerk point, just mention one more line that says - **you'll get an organisation key from the clerk.....which you'll need for the next step.**\n\nP.S.- Discussed with @Greek in a discord thread :)\n\nFrom [SyncLinear.com](https://synclinear.com) | [KEY-266](https://linear.app/unkey/issue/KEY-266/[docs]prepare-database-point-in-the-contribution-section-is-not-clear)",
    "reactions": {
      "url": "https://api.github.com/repos/unkeyed/unkey/issues/578/reactions",
      "total_count": 1,
      "+1": 1,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/unkeyed/unkey/issues/578/timeline",
    "performed_via_github_app": null,
    "state_reason": "completed"
  },
  "repository": {
    "id": 651702652,
    "node_id": "R_kgDOJtgxfA",
    "name": "unkey",
    "full_name": "unkeyed/unkey",
    "private": false,
    "owner": {
      "login": "unkeyed",
      "id": 138932600,
      "node_id": "O_kgDOCEfxeA",
      "avatar_url": "https://avatars.githubusercontent.com/u/138932600?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/unkeyed",
      "html_url": "https://github.com/unkeyed",
      "followers_url": "https://api.github.com/users/unkeyed/followers",
      "following_url": "https://api.github.com/users/unkeyed/following{/other_user}",
      "gists_url": "https://api.github.com/users/unkeyed/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/unkeyed/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/unkeyed/subscriptions",
      "organizations_url": "https://api.github.com/users/unkeyed/orgs",
      "repos_url": "https://api.github.com/users/unkeyed/repos",
      "events_url": "https://api.github.com/users/unkeyed/events{/privacy}",
      "received_events_url": "https://api.github.com/users/unkeyed/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/unkeyed/unkey",
    "description": "Open source API authentication and authorization",
    "fork": false,
    "url": "https://api.github.com/repos/unkeyed/unkey",
    "forks_url": "https://api.github.com/repos/unkeyed/unkey/forks",
    "keys_url": "https://api.github.com/repos/unkeyed/unkey/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/unkeyed/unkey/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/unkeyed/unkey/teams",
    "hooks_url": "https://api.github.com/repos/unkeyed/unkey/hooks",
    "issue_events_url": "https://api.github.com/repos/unkeyed/unkey/issues/events{/number}",
    "events_url": "https://api.github.com/repos/unkeyed/unkey/events",
    "assignees_url": "https://api.github.com/repos/unkeyed/unkey/assignees{/user}",
    "branches_url": "https://api.github.com/repos/unkeyed/unkey/branches{/branch}",
    "tags_url": "https://api.github.com/repos/unkeyed/unkey/tags",
    "blobs_url": "https://api.github.com/repos/unkeyed/unkey/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/unkeyed/unkey/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/unkeyed/unkey/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/unkeyed/unkey/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/unkeyed/unkey/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/unkeyed/unkey/languages",
    "stargazers_url": "https://api.github.com/repos/unkeyed/unkey/stargazers",
    "contributors_url": "https://api.github.com/repos/unkeyed/unkey/contributors",
    "subscribers_url": "https://api.github.com/repos/unkeyed/unkey/subscribers",
    "subscription_url": "https://api.github.com/repos/unkeyed/unkey/subscription",
    "commits_url": "https://api.github.com/repos/unkeyed/unkey/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/unkeyed/unkey/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/unkeyed/unkey/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/unkeyed/unkey/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/unkeyed/unkey/contents/{+path}",
    "compare_url": "https://api.github.com/repos/unkeyed/unkey/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/unkeyed/unkey/merges",
    "archive_url": "https://api.github.com/repos/unkeyed/unkey/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/unkeyed/unkey/downloads",
    "issues_url": "https://api.github.com/repos/unkeyed/unkey/issues{/number}",
    "pulls_url": "https://api.github.com/repos/unkeyed/unkey/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/unkeyed/unkey/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/unkeyed/unkey/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/unkeyed/unkey/labels{/name}",
    "releases_url": "https://api.github.com/repos/unkeyed/unkey/releases{/id}",
    "deployments_url": "https://api.github.com/repos/unkeyed/unkey/deployments",
    "created_at": "2023-06-09T21:23:20Z",
    "updated_at": "2023-11-22T16:14:56Z",
    "pushed_at": "2023-11-22T17:09:22Z",
    "git_url": "git://github.com/unkeyed/unkey.git",
    "ssh_url": "git@github.com:unkeyed/unkey.git",
    "clone_url": "https://github.com/unkeyed/unkey.git",
    "svn_url": "https://github.com/unkeyed/unkey",
    "homepage": "https://unkey.dev",
    "size": 67996,
    "stargazers_count": 1542,
    "watchers_count": 1542,
    "language": "TypeScript",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": true,
    "forks_count": 146,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 40,
    "license": {
      "key": "gpl-3.0",
      "name": "GNU General Public License v3.0",
      "spdx_id": "GPL-3.0",
      "url": "https://api.github.com/licenses/gpl-3.0",
      "node_id": "MDc6TGljZW5zZTk="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [
      "open-source"
    ],
    "visibility": "public",
    "forks": 146,
    "open_issues": 40,
    "watchers": 1542,
    "default_branch": "main",
    "custom_properties": {

    }
  },
  "organization": {
    "login": "unkeyed",
    "id": 138932600,
    "node_id": "O_kgDOCEfxeA",
    "url": "https://api.github.com/orgs/unkeyed",
    "repos_url": "https://api.github.com/orgs/unkeyed/repos",
    "events_url": "https://api.github.com/orgs/unkeyed/events",
    "hooks_url": "https://api.github.com/orgs/unkeyed/hooks",
    "issues_url": "https://api.github.com/orgs/unkeyed/issues",
    "members_url": "https://api.github.com/orgs/unkeyed/members{/member}",
    "public_members_url": "https://api.github.com/orgs/unkeyed/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/138932600?v=4",
    "description": "Unkey your API Development"
  },
  "sender": {
    "login": "perkinsjr",
    "id": 45409975,
    "node_id": "MDQ6VXNlcjQ1NDA5OTc1",
    "avatar_url": "https://avatars.githubusercontent.com/u/45409975?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/perkinsjr",
    "html_url": "https://github.com/perkinsjr",
    "followers_url": "https://api.github.com/users/perkinsjr/followers",
    "following_url": "https://api.github.com/users/perkinsjr/following{/other_user}",
    "gists_url": "https://api.github.com/users/perkinsjr/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/perkinsjr/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/perkinsjr/subscriptions",
    "organizations_url": "https://api.github.com/users/perkinsjr/orgs",
    "repos_url": "https://api.github.com/users/perkinsjr/repos",
    "events_url": "https://api.github.com/users/perkinsjr/events{/privacy}",
    "received_events_url": "https://api.github.com/users/perkinsjr/received_events",
    "type": "User",
    "site_admin": false
  }
}

Thanks for raising this, James. Noting here that it stem from this fallback to the toDo state.

This is all squared away thanks!


⚠ Bofrost.de has degraded performance

In cd617f7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 806 ms

Resolved: Bofrost.de performance has improved in e12aae4 after 26 minutes.


More modular executable name option

Codecov Report

Merging #10 (a29122a) into master (4602f11) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   61.11%   61.04%   -0.07%
==========================================
  Files          14       14
  Lines         558      557       -1
==========================================
- Hits          341      340       -1
  Misses        121      121
  Partials       96       96

Flag
Coverage Δ

unittests
61.04% <100.00%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/updater/updater.go
58.20% <100.00%> (-0.62%)
:arrow_down:

Continue to review full report at Codecov.

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


Unable to authenticate

Hi, I'm trying to connect to an IVT Air X heatpump API, using the token and password I've used login using IVT Anywhere Android app.
bosch_cli query --host <IP_ADDRESS> --token<PHONE_NUMBER>xxxx --password secret --device IVT --protocol HTTP -p /gateway/uuid
2021-06-22 15:13:32 INFO (MainThread) [bosch_thermostat_client.bosch_cli] Connecting to <IP_ADDRESS> with 'HTTP'
2021-06-22 15:13:32 INFO (MainThread) [bosch_thermostat_client.bosch_cli] Query succeed: /gateway/uuid
2021-06-22 15:13:32 ERROR (MainThread) [bosch_thermostat_client.encryption.base_encryption] Unable to decrypt: b'\xb5d\x8f\xeaY\xd2N\xd4;K5\xdf\x171 \x004\xb6I\x1fY\x10\x18\xf4\xcf\x19\xa3\xc9+4p\x12\x17\xfc\xcc\xf1S\xb2Y\x7f\x11\x0cC\x1bNL\xach\xbd\x06\xda\xb7\x1d\x9a\x1f\xbe8\x80c1\xa1r\x84\xdeG\xdbu\xa0\xbcM\xab\x04O\xb7\xb2\xf1\x1d\x8c\x13\xcd7\xcc\xdaaZ=\xe3\xb0S\xb45.3\xac\xb7"\xca\x11*\xe2W\xd5\xd8\x91Q\xd1k\xbet\n\xc8%\xfc\xc5x\xc1\xaf\xff\xa2\xfc\x12t\xa8Y\xa1\x8a\x01r' with error: 'utf-8' codec can't decode byte 0xb5 in position 0: invalid start byte

Does the error mean that the password is wrong?
It there a way to check that I'm using correct combination of token and password? Can the password be somehow reseted?

The token parameter is Passwort from the IP-Modul (random string containing multiple dashes). password is my local account password configured during first login from IVT Anywhere app.


Support for Flags?

While I am aware that the assertion of enum flags can already be achieved, it would be amazing if there was an extension method (e.g. HaveFlag) to directly support it.
So my question is not about the possibility to include it (I wrote my own extension method for it), but more if there was a specific reason to not included it other than too little usage?
Here's my extension method:
		public static AndConstraint<ObjectAssertions> HaveFlag(this ObjectAssertions assertions, Enum flag, string because = "", params object[] reasonArgs)
		{
			Enum subject = assertions.Subject as Enum;

			if (subject == null)
				Assert.Fail("The provided object is not an enum. Type: {0}", assertions.Subject.GetType().Name);

			Execute.Assertion.BecauseOf(because, reasonArgs)
							 .ForCondition(subject.HasFlag(flag))
							 .FailWith("The enum was expected to have flag '{0}', but only has flags '{1}'.", flag, subject);

			return new AndConstraint<ObjectAssertions>(assertions);
		}

Thanks!

Sounds like a nice addition. You can speed up the integration if you could provide me with a pull request.

Nice to hear. I'll do it later today. ;)

Fixed by #250


Staging: Qt lconvert is broken

Issue description
When building a Qt program that needs lconvert the following error occurs
/nix/store/knx5p5bj909x2cbn1gqgfmwhp5ynxiri-qttools-5.9.1-dev/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory

Steps to reproduce
nix-build -A libsForQt5.kconfig
Technical details

Nixpkgs staging at fdd07f62e8eb4e80b47172707ee7c8a0d7dbf428

cc @ttuegel @periklis

Fixed on staging with 771f28bac804dfb6ebf99122bfe4e5393d9


TwoFactorEmailAuthRequired  how to disable?

	ab.Config.Modules.TwoFactorEmailAuthRequired = false
He still requires confirmation email

Which two factor method are you using?

Looking at the code I can't see that there'd be a problem. Need a little more help, thanks! :D


Error when Adding an artifact to a finished run

wandb version: 10.0.9
Python version: 3.6.12
OS: Win10
I'm running some evaluation on the model after the run is finished and trying to upload the results as an artifact attached to this run.
I'm creating an artifact as described in the docs:
run = wandb.Api().run('maria_koristeleva/Test/<run_id>')
artifact = wandb.Artifact(name, type=type)
artifact.add_dir(path)
run.log_artifact(artifact)

But I'm getting an error:
wandb: Adding directory to artifact (D:\GK-Pattern-Data-Gen\nn_pred_data_1000_tee_200527-14-50-42_regen_200612-16-56-43201113-17-27-49)... Done. 2.1s
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\wandb\apis\normalize.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\wandb\apis\public.py", line 1264, in log_artifact
    "Only existing artifacts are accepted by this api. "
ValueError: Only existing artifacts are accepted by this api. Manually create one with `wandb artifacts put`

Is this use-case supported?

UPD: Looking at the discussion in issue #1371, I need to create a new run, upload an artifact, and then link the artifact to the old run.
But may I request a better error message for this case?? It confusing, and leads me to the un-existing function..

Yep, agreed this is confusing.  We want to do the work to make this case actually work.  In the mean time how does this sound?

You can only link existing artifacts to historic runs.  Call wandb.init(id="...", project="...", resume="allow") then wandb.run.log_artifact(...) to save this artifact.

@vanpelt I think it's just what's needed. Thank you!

def get_historical_run(run_id: str):
    """Allows restoring an historical run to a writable state
    """
    return wandb.init(id=wandb.Api().run(run_id).id, resume='allow')

After struggling with logging and using the artifact in the 'historical' run I couldn't see the artifact in the ui neither linked to the original run or in the artifact panel for the app. So I created a new run and logged and and used the model there, now I see 2 new model versions in the new run, but not in the artifact view.
Additionally the artifact got new versions so deduping failed

So i can navigate to the link from the run artifact interface, but it doesn't show up in the side bar:

Also note there are now:

2 'latest' model
v3, the real latest isn't one of them

After clearing up the duplicate latests I can see them all:

Ha So with v2 the latest, if I try to delete v3 it says

Ha So with v2 the latest, if I try to delete v3 it says

We'll be releasing a fix for this issue this week. I'll circle back on this thread when the fix is live.
Currently, there's a backend limitation where the most recent (but not necessarily the artifact marked latest) cannot be deleted for dedupe purposes. This limitation doesn't need to be in place, so we'll be getting rid of it this week.

def get_historical_run(run_id: str):
    """Allows restoring an historical run to a writable state
    """
    return wandb.init(id=wandb.Api().run(run_id).id, resume='allow')

run = get_historical_run('gfb-phi/invitae-bert/2jvvhbjy')
print(run)
MODEL_ARTIFACT_NAME = 'invitae-roberta-mlm'
model_artifact = wandb.Artifact(MODEL_ARTIFACT_NAME, type='model')
model_artifact.add_dir(get_latest_run_dir())
run.log_artifact(model_artifact)

I see:
wandb: You can sync this run to the cloud by running:
wandb: wandb sync /home/jovyan/share/users/tlaurent/invitae-bert/notebooks/wandb/offline-run-20201114_220039-2jvvhbjy
...Successfully finished last run (ID:2jvvhbjy). Initializing new run:

wandb: Offline run mode, not syncing to the cloud.  <-- this looks fishy
wandb: W&B is disabled in this directory.  Run `wandb on` to enable cloud syncing.
wandb: Adding directory to artifact (./results/balmy-pine-80)...
<wandb.sdk.wandb_run.Run object at 0x7fad10d25470>
Done. 2.1s

So the artifact doesn't sync to the cloud
I tried running wandb on but it's still not working.

Can you check your environment and see of WANDB_MODE is set to "dryrun" or "offline"?    We write a settings file to ./wandb/settings that may be setting the mode to off.

After struggling with logging and using the artifact in the 'historical' run I couldn't see the artifact in the ui neither linked to the original run or in the artifact panel for the app. So I created a new run and logged and and used the model there, now I see 2 new model versions in the new run, but not in the artifact view.
Additionally the artifact got new versions so deduping failed

To understand what's happening here, can you share some code on exactly how you were calling use and log artifact?

Can you check your environment and see of WANDB_MODE is set to "dryrun" or "offline"?
Not set to either

Also, in your get_historical_run: run_id == wandb.Api().run(run_id).id so there shouldn't be a need to wrap this in wandb.Api().run.

Ok --

To understand what's happening here, can you share some code on exactly how you were calling use and log artifact?

tokenizer_artifact = wandb.use_artifact(f"{TOKENIZER_NAME}:{TOKENIZER_VERSION}")
tokenizer_path = Path(tokenizer_artifact.download())
tokenizer = RobertaTokenizerFast.from_pretrained(str(tokenizer_path))

    tokenizer.save(str(TOKENIZER_DIR / 'tokenizer.json'))

    tokenizer_artifact = wandb.Artifact(
        TOKENIZER_NAME,
        type='tokenizer',
        description="Roberta-based Byte-level BPE tokenizer",
    )
    tokenizer_artifact.add_dir(TOKENIZER_DIR)
    run.log_artifact(tokenizer_artifact)

Hey @timothyjlaurent for the suspicious offline run error, there's either a file at ./wandb/settings relative to your script that has disabled = true in it (you can run wandb on from the same directory as your script to renable wandb).  Or the WANDB_MODE env variable is set.
Regarding the versions showing up in the run, but not in the artifact page.  We will likely need to hop on a quick screenshare to get to the bottom of this.  Can you email me at<EMAIL_ADDRESS>with a couple times that would work for you?

In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


feat(add-caddy-config): Caddy Reverse Proxy Config

Hey there,
I added a configuration example for caddy to the already existing examples. I know, caddy isn't that complex like the other two examples, but because caddy is becoming a popular option for a reverse proxy, I think it should be mentioned there.

Hey, is this good enough to merge it or are there any problems with it @MagicLike^^

Thank you! 👍


rendering issue on gltf_viewer when flare enabled with some focal length and focus distance in arch linux

Describe the bug
Small black boxes attached to reflected sunlight appear on gltf_viewer screen when flare enabled with some focal length and focus distance in arch linux with Vulkan
To Reproduce
Steps to reproduce the behavior:

./gltf_viewer
Enable Flare.
Change the Focal length of camera sufficiently.
Enable DoF
Change the Focus distance of DoF sufficiently.

However, changing Aperture of camera, Speed of camera, ISO of camera may make easier to reproduce this bug.
Expected behavior
The black boxes do not appear.
Screenshots
Aperture, Speed, ISO, Focal length, Focus distance changed

Aperture, Focal length, Focus distance changed

Focal length, Focus distance changed

Logs
FEngine (64 bits) created at 0x55eda2730700 (threading is enabled)
FEngine resolved backend: Vulkan
Vulkan device driver: NVIDIA 530.41.03
Selected physical device 'NVIDIA GeForce RTX 3060' from 1 physical devices. (vendor 0x10de, device 0x2504, driver 0x848a40c0, api 1.3)
Backend feature level: 1
FEngine feature level: 1
vkCreateSwapchain: 1024x640, 44, 0, 3, 1
Desktop (please complete the following information):

OS: Arch Linux - 6.3.6-arch1-1
GPU: NVIDIA RTX 3060 (12GB) - NVIDIA 530.41.03
Backend: Vulkan

Are you able to reproduce this in the opengl backend?  (Add -a opengl) to your gltf_viewer command.
Also, what version of Filament are you working with?

With opengl, I failed to reproduce that bug. And I used v1.38.0

I reproduced this in windows with same way

This does look like an overflow/infinity/nan -- it could be that vk is handling this differently. might still be a bug in the flare shader (we might need some clamping somewhere).  It could also be a mediump issue -- maybe nvidia honors it on vulkan?

Is this bug needed to fixed fast? If not, can I fix this bug? I can start fixing next Wednesday. And since I'm completely first in this field, fixing it may take a long time.

Sure, we're open to you fixing it.  I'm unable to repro even on a similar NVIDIA/Linux setup (debian + RTX 3070).
Feel free to assign it to yourself.

Okay. Thanks!

Sure, we're open to you fixing it. I'm unable to repro even on a similar NVIDIA/Linux setup (debian + RTX 3070). Feel free to assign it to yourself.

Actually I am able to repro now. It's independent of flare but just need to adjust dof focus distance and camera focal length.
I suggest looking into https://github.com/google/filament/blob/main/filament/src/materials/dof/dof.mat

I think this bug happens when using nvidia library in linux.
when I use vulkan-intel, I couldn't generate this bug.

Fixed in #6943


[TextToSpeech] doesn't work without assembly redirection.

OS: Window 10
.NET version: 4.7.2
Package name and version: Google Cloud TextToSpeech V1

Steps to reproduce

Set up a fresh new Visual Studio Project.
Follow Google Cloud TextToSpeech tutorial.
use NuGet to install required package: for example Google.Cloud.TextToSpeech V1. All dependencies will be installed as well.
Build the solution, this creates a Google TextToSpeech Console App (quickstart.exe, or whatever your VS project name is ).
Now, go to the generated binary folder. Delete XML configuration for the newly created app. (If it's quickstart.exe, then remove QuickStart.exe.config). What this config does is to allow Assembly redirection.
Rerun the console app (i.e. quickstart.exe), an error will occur.

The first exception is this
C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SynthesizeSpeech>SpeechSynthesizerTest.exe

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Google.Apis.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Google.Api.Gax.Grpc.ChannelPool.CreateChannelCredentialsUncached()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Google.Api.Gax.TaskExtensions.WaitWithUnwrappedExceptions(Task task) in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax\TaskExtensions.cs:line 51
   at Google.Api.Gax.Grpc.ChannelPool.GetChannel(GrpcAdapter grpcAdapter, String endpoint, GrpcChannelOptions channelOptions) in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ChannelPool.cs:line 97
   at Google.Api.Gax.Grpc.ClientBuilderBase`1.CreateCallInvoker() in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ClientBuilderBase.cs:line 280
   at Google.Cloud.TextToSpeech.V1.TextToSpeechClientBuilder.BuildImpl() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.TextToSpeech.V1\Google.Cloud.TextToSpeech.V1\TextToSpeechClient.g.cs:line 119
   at Google.Cloud.TextToSpeech.V1.TextToSpeechClientBuilder.Build() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.TextToSpeech.V1\Google.Cloud.TextToSpeech.V1\TextToSpeechClient.g.cs:line 103
   at QuickStart.Main(String[] args)

Fine, Let's use NuGet to change Google.Apis.Core and related library to <IP_ADDRESS>.
Recompile the code, (and remove the configuration file again, i.e. quickstart.exe, since rebuilding will create a new configuration file).
Now rerun the code gives this exception:
C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SynthesizeSpeech>SpeechSynthesizerTest.exe

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Google.Apis.Auth, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Google.Api.Gax.Grpc.ChannelPool.<CreateChannelCredentialsUncached>d__5.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at Google.Api.Gax.Grpc.ChannelPool.CreateChannelCredentialsUncached()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Google.Api.Gax.TaskExtensions.WaitWithUnwrappedExceptions(Task task) in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax\TaskExtensions.cs:line 51
   at Google.Api.Gax.Grpc.ChannelPool.GetChannel(GrpcAdapter grpcAdapter, String endpoint, GrpcChannelOptions channelOptions) in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ChannelPool.cs:line 97
   at Google.Api.Gax.Grpc.ClientBuilderBase`1.CreateCallInvoker() in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ClientBuilderBase.cs:line 280
   at Google.Cloud.TextToSpeech.V1.TextToSpeechClientBuilder.BuildImpl() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.TextToSpeech.V1\Google.Cloud.TextToSpeech.V1\TextToSpeechClient.g.cs:line 119
   at Google.Cloud.TextToSpeech.V1.TextToSpeechClientBuilder.Build() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.TextToSpeech.V1\Google.Cloud.TextToSpeech.V1\TextToSpeechClient.g.cs:line 103
   at QuickStart.Main(String[] args)

C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SynthesizeSpeech>

My understanding is that Google.Api.Gax.Grpc.ChannelPool depends on Google.Apis.Auth <IP_ADDRESS>. However, I can no longer use NuGet to select Google.Apis.Auth <IP_ADDRESS> because Google.Api.Gax 1.0.0 has a constraint.
Attempting to resolve dependencies for package 'Google.Apis.Auth.1.21.0' with DependencyBehavior 'Lowest'
One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Google.Apis.Auth 1.44.1'
Unable to resolve dependencies. 'Google.Apis.Auth 1.21.0' is not compatible with 'Google.Api.Gax 1.0.0 constraint: Google.Apis.Auth (>= 1.24.0)'.

I want to add Google.Cloud.TextToSpeech to an application that doesn't have "App Config File" (the quickstart.exe.config in this case). But I can't because it will not be able to do assembly redirection and gives out above exception.
Is there a way to get around this?
Thanks!

Is there a way to get around this?

No, I'm afraid not. Assembly binding redirects are just a fact of life in modern .NET applications which use multiple packages - it's infeasible to keep every package involved in absolute lock-step. I would suggest that instead of trying to work out how to avoid assembly binding redirects, you focus on overcoming whatever problems they're giving you. (You haven't explained why you don't want there to be an app config file.)

I'm working on a mod that changes a game I don't own using Harmony lib
I didn't find any app.config in the application's binary folder. I assume this means that the application doesn't use binary redirection? Is this correct statement?

Well can you create that file? Just because it doesn't exist now doesn't mean you can't use binding redirects. But you may well want to teach out to the Harmony authors for support. I'm afraid it's not really going to be feasible to try to line up all the dependencies without redirects.

I'm going to close this issue now as I don't believe there's any further work to be done within this repository, but we can still discuss possible solutions in comments. (I do think that you'll get further asking about redirects within Harmony lib itself though.)

Thanks. That's fine with me. I did try to add the config file manually, unfortunately the binary doesn't seem to use it. Anyways, thanks for the help and investigation, although I found it a bit strange that gcloud client library itself has different version dependencies.

I found it a bit strange that gcloud client library itself has different version dependencies.

The set of dependencies is very complicated. I suspect it would be just about feasible (but still unpleasant) to avoid needing anything if we didn't need to depend on Grpc.Auth, but we do... and that depends on Google.Apis.Auth, as do the Google Cloud libraries (indirectly). That's why the version mismatch occurs, I believe. Basically by the time you've got about 10 libraries involved, all with different release cycles (for good reasons) we really need to be able to depend on SemVer handling just working.


Automated cherry pick of #3913: Add network policy intro

Cherry pick of #3913 on release-v3.16.
#3913: Add network policy intro

Deploy preview for calico ready!
Built with commit f672e6d0f8579f12ac6d4e50ed1e087388b2b983
https://deploy-preview-4100--calico.netlify.app


PVA as a Skill .zip manifest parsing issues

Describe the bug
If a .json file is not found in the manifest, an exception should be displayed accordingly.
Checking the schema version should check if the allowed versions are in the manifest string, no need to check the entire string for a match.

@luhan2017 FYI


Plugin for x86_64

Hi, thank you for the great work.
I've installed TensorRT following the Nvidia Documentation (Deb file).
Unfortunately, /usr/local/TensorRT doesn't exist.
Only /usr/src/tensorrt/ exists and it doesn't have lib and include folder.
Can you please help.
Thanks

Please replace these 2 lines in Makefile with:
TENSORRT_INCS=-I"/usr/include/x86_64-linux-gnu"
TENSORRT_LIBS=-L"/usr/lib/x86_64-linux-gnu"

Thank you. It worked


Remove x-ms-external property for Redis 2022-06-01 API versions

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

Fixing an issue in an existing version(x-ms-external should not be set for OperationStatus). An identical change was made in a recent PR however a new API version was added in the past week that still contains the issue.

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
_This API version has already been deployed. _
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
Swagger to be published ASAP.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

/azp run

@austintolani There also exist other x-ms-external which will cause removal of in-use model in SDK generation: RedisCreateProperties, RedisProperties, RedisUpdateProperties. Could you also help to confirm?

@austintolani There also exist other x-ms-external which will cause removal of in-use model in SDK generation: RedisCreateProperties, RedisProperties, RedisUpdateProperties. Could you also help to confirm?

@tadelesh Those properties seem to be fine as they refer the all inherit from RedisCommonProperties which is defined in redis.json and generated.

@austintolani There also exist other x-ms-external which will cause removal of in-use model in SDK generation: RedisCreateProperties, RedisProperties, RedisUpdateProperties. Could you also help to confirm?

@tadelesh Those properties seem to be fine as they refer the all inherit from RedisCommonProperties which is defined in redis.json and generated.

According to doc, the model labeled with x-ms-external that will not be generated by SDK. But these three models have been explicitly used, not inherited by other models. Removal of them will cause SDK compile error.

@tadelesh I'm only removing the x-ms-external property for OperationStatus and not  RedisCreateProperties, RedisProperties, RedisUpdateProperties. My understanding is my changes will have no effect on these other properties. Is that understanding incorrect?

@tadelesh Chenjie Shi FTE I'm only removing the x-ms-external property for OperationStatus and not RedisCreateProperties, RedisProperties, RedisUpdateProperties. My understanding is my changes will have no effect on these other properties. Is that understanding incorrect?

Yes. My ask is that could you also help to remove x-ms-external for RedisCreateProperties, RedisProperties, RedisUpdateProperties?


[BUG] - No way to create a firewall rule with FirewallService

The createFirewallRule function is missing in src/Services/Firewall/FirewallService.php file.  After implementing it, I had trouble setting a subnet to <IP_ADDRESS>/0 because getInitializedProps() routine wouldn't return properties with a value of 0.
I ended up writing this to get what I needed working.

public function createFirewallRule(string $group_id, FirewallRule $rule) : FirewallRule
{

 $properties = $rule->getInitializedProps();

 if ( !isset( $properties['subnet_size'] ) )

     $properties['subnet_size'] = 0;

 return $this->createObject('firewalls/'.$group_id.'/rules', new FirewallRule(), $properties);

}

Whoops, I forgot to implement this function.
I'll do that tomorrow.

This has been implemented.
Good luck have fun!


Render expression for every loop cycle

The problem
Hi, first of all, thanks for this awesome tool.
I'm trying to render expression for each cycle of a loop, but only the last execution is rendered;
For this example, the output will be New post
const posts = [  { id: '1', text: 'Hello world!' },  { id: '2', text: 'New post' } ];

for (let post of posts) {

{post.text}

}

Currently I need to use the map function to output each value, like this:

  { posts.map(post =>
{post.text}
) }

Here an easier example, the output will be 9:
for (let i = 0; i <= 10; i++) {
  i
}

It would be great if the expression can be outputted for every loop cycle.

Thank you, I think it is related:
let fn = setInterval(() => {
  console.log('not shown') // OK
  'not shown'
}, 1000)

'shown'

it seems that currently it isn't possible to show in the UI the output of a callback

There's no reasonable way to print any values that are generated in an async manner.
The workaround would be to wrap it in a react component


Add chruby prompt

This is [WIP] with pending external testing and documentation update.
Also, see postmodern/chruby/issues/245 for why the prompt doesn't get updated on automagic switching of ruby versions based on .ruby_version.
If this gets :+1: I will update the README.md
Partially closes #119 (?)

Looks good!
One thing: Could you branch off of next? This is our development branch.. :wink:

darn it; looks like I have to open another PR for this to base it off origin:next.


Padding-top added to heading in search page

This PR solves the issue in #224.

@brenoferreira Could you review the PR regarding a small bug in #224.

@alishamohanty Thank you for your contribution. Could you post any screenshots with the fix applied?

Made the required changes! Sorry for being late @brenoferreira for such minor bug!

@alishamohanty thank you for your contribution. This was fixed in #248


Fixed fab

I believe the fab is largely meant to be fixed.

Hi @janat08 ,
You can use our absolute/fixed positions to put your FAB in any position. Absolute is relative to container. Fixed is relative to document.
Docs
https://github.com/beercss/beercss/blob/main/docs/LAYOUT.md
Codepen example
https://codepen.io/leo-bnu/pen/LYdrLYQ
All best


Feature: Google VertexAI LLM support

Hey,
I think it would be very interesting to add the ability to use GCP's LLM APIs.
Happy to contribute !

Yes, good idea


How to enable vt-x?

There is no setting in UEFI BIOS menu.
And it's disabled by default:

Please let me know if you find a solution.

@Pakophan

enable secure boot (bios)
disable hyper-v: run bcdedit /set hypervisorlaunchtype off (reason: https://github.com/microsoft/WSL/issues/5030)

Now it works (but I enabled hyper-v back, I need wsl and docker)


[Bug]: Select Widget - Two options are displayed as selected when we click on it

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we drag and drop a Select widget, and click on the canvas and click on the Select widget, we are able to see two options selected.

Steps To Reproduce

Drag and drop Select widget
Click on the canvas
Click on the dropdown of the select widget
Observe two options are selected.

Public Sample App
No response
Version
Release

Duplicate issue, closing it.


FactoryGirl actable Model

Hi,
How do you create a valid factory for models with actable?
class MyApp::Product < ApplicationRecord
  actable inverse_of: :pen
end

class MyApp::Pen < ApplicationRecord
  acts_as :product, class_name: 'MyApp::Product'
end

This is what my factory looks like.
FactoryGirl.define do
  factory :product, class: 'MyApp::Product' do
    name { FFaker::Name.name }
  end
end

And I'm getting the following error when running FactoryGirl.lint
Validation failed: Actable must exist (ActiveRecord::RecordInvalid)

AFAIK, with FactoryGirl you would create a Pen, not a Product.
At least, that's how I use it.

Yes, creating a product without a pen doesn't work. This has nothing to do with FactoryGirl AFAICS, if you tried MyApp::Product.create!(name: FFaker::Name.name) on the console you'd get the same error.

👍

thanks for the fast replies


E2E automation and other test changes

Revamped the e2e test directory structure. e2etest\shared directory contains files common to all platforms (Browser and Cordova) with the exception of the Platform directory.
"npm run testsetup" copies the SDK files to the appropriate location for the browser and Cordova test apps to use. No more static SDK references checked into the repository.
Browser test project is no more coupled with WinJS. You can run browser tests by running http-server from e2etest\browser or by opening e2etest\browser\browserEndToEndTests.sln in VS.
e2etest\scripts\runTests.js automates the e2e tests for Cordova. Currently the automation has hardcoded references to Android as that is the only platform automation runs on. Extending it to iOS should be straightforward.

+ @danderson00

Ping! :)

Looks good


Enhanced the testimonials

Fixes: #1100
Description

Added prev and next button to the slides
made slides per view to 1 and 2 for small devices
add translate hover effects
styled the rating
make the cards sizes similar
added card change transition

Related Issues

Closes #1100

Screenshots / videos (if applicable)
https://www.awesomescreenshot.com/video/30090642?key=dd683fd85ecfca08ac1aef759b5cdf90
Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

@varshith257 Please check it. I have the described the features above

Thanks @ayush-848 for your contribution on this


archivist: fix duplicated data when dumping an archive file

Fixes #374.
XdrStream.ReadOne decodes XDR directly into the provided receiver interface, so it requires a fresh instance of the target type on every iteration (otherwise since XDR has union types and variable-length lists, some data from previous iteration is not being overwritten and leaks into the current iteration).
I'm not a big fan of using reflection here, but I cannot come up with any other clean and concise solution.
/cc @bartekn @nullstyle

Can't we just move the xdr.* type objects inside the for loop? No need to use reflect then.

@bartekn Thank you for review. I was in process of benchmarking different possible solutions when I realised that it actually looks like an issue in go-xdr, so I fixed it upstream: nullstyle/go-xdr#8. Will update this PR when the upstream fix will be merged.

@bartekn I updated this PR and verified that this new fix resolves a problem outlined in #374

Great, thank you!


Something fishy about cookies managment ...

Hello,
I started using your tool long time ago and just updated to v17 today ... there is something really weird.

I use auth cookies in some scenarios.
When I load 1 only user from goose, everything goes fine, my website auth works well, I changed nothing recently
Then I load multiple users and some scenarios fails because the authentication does not auth them ...
Then I switch from auth cookie managed by the reqwest client of goose side, to manually crafted from the scenario auth bearer token headers .... and I have no more problems with loads of parallel users.

So I really think something is broken in users isolation, without having any more clue ...
Does that click on your side ? Should I dig deeper ?

Reviewing the Changelog, nothing jumps out at me as causing this regression. The only related changed is #557 , so perhaps you can start by reverting that change and see if it solves your problem? Any further investigation would be greatly appreciated.

I am noticing the same issue. It started popping up after upgrading from Goose 0.17.0 to 0.17.2. I am running a loadtest with 20 users, and one of those users performs two transactions:

log into a site (runs with set_on_start)
create a piece of content -> this fails due to a 403, inspecting the response, it turned out that the admin sessions wasn't there anymore


IE11 support

ie11 not supported! WHY?

what's the matter?

The original vue-video-player package is no longer maintained, please upgrade to @videojs-player/vue.


License

Hey @isdampe,
I wonder what License you use in this project :)

oh sorry, i found that you add it on 13 Feb

You know it, MIT license.


Update and simplify the podman example

The mounting of home works OK now with crun
The name of the instance is podman not docker
Need to use --remote on Linux until podman v4
Make the usage hints shorter and less scary

It's unfortunate that podman and podman-remote have different syntax on different platforms, but getting fixed in 4.0.
Calling different binaries has even less chance of succeeding, so the parameter is the least evil (even if unnecessary...)
Anyway, if you call just podman on Linux it will show the status of the local host instead of the remote Lima VM.
When using Docker you only have to change DOCKER_HOST, and with Nerdctl you don't have the luxury of remote.


Fix unreachable code warning for elif block

Fixes #71715
When a parse_if matches an elif token, an else_block suite was created, but was not set as the current_suite, causing the elif parse to set has_return to true in the whole if/elif/else suite, even if the if doesn't return.

Thanks!


Update p4v to 2017.3

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Welcome.
Since sha256 was updated but version stayed the same, this change needs to be verified. Please follow the instructions to do so.

Public sha256

http://filehost.perforce.com/perforce/r17.3/bin.macosx1011x86_64/SHA256SUMS

09a7a2f36bad7a742bc1db7bdb857fad392103c97990050ed0c48b78cfda040f *P4V.dmg

Thanks for the PR!


[BUG]: GithubRelease@1 cannot create release when pipeline is triggered by tag

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[X] I checked how to collect logs

Task name
GithubRelease@1
Task version
1
Issue Description
I have a pipeline that is triggered by new tags. The pipeline will build a zip file and create a release it via GithubRelease@1. When the task is running it quickly starts failing because it receives a 500 Internal server error from the /releases API:
my task config:
          - task: GithubRelease@1
            displayName: 'Create Github Release'
            condition: succeeded()
            inputs:
              gitHubConnection: ***-connection
              repositoryName: ***/checkout-plugin-***
              title: '*** $(PLUGIN_VERSION)'
              addChangeLog: false
              assets: '$(Build.ArtifactStagingDirectory)/***_$(PLUGIN_VERSION).zip'

If I replace the pipeline tag trigger with a branch trigger, everything works just fine. Only difference in the request body is the hash referring to either a tag or a commit. I have also tried providing a userSpecifiedTag with same result. GithubRelease@0 gives the same result.
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest
Relevant log output
Creating a release for tag: 0.0.7
##[debug]Create release request: {"uri":"[https://api.github.com/repos/***/checkout-plugin-***/releases","method":"POST","body":"{\"tag_name\":\"0.0.7\",\"target_commitish\":\"819db6ad09a4aecd16575f9324c92bd0aede5e10\",\"name\":\"***](https://api.github.com/repos/***/checkout-plugin-***/releases%22,%22method%22:%22POST%22,%22body%22:%22%7B/%22tag_name/%22:/%220.0.7/%22,/%22target_commitish/%22:/%22819db6ad09a4aecd16575f9324c92bd0aede5e10/%22,/%22name/%22:/%22***)  0.0.7\",\"draft\":false,\"prerelease\":false}","headers":{"Content-Type":"application/json","Authorization":"token ***"}}
##[debug][POST]https://api.github.com/repos/***/checkout-plugin-***/releases
##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.
##[debug][POST]https://api.github.com/repos/***/checkout-plugin-***/releases
##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.
##[debug][POST]https://api.github.com/repos/***/checkout-plugin-***/releases
##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.
##[debug][POST]https://api.github.com/repos/***/checkout-plugin-***/releases
##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.
##[debug][POST]https://api.github.com/repos/***/checkout-plugin-***/releases
##[debug]Create release response: {"statusCode":500,"statusMessage":"Internal Server Error","headers":{"date":"Thu, 29 Aug 2024 15:32:35 GMT","content-type":"application/json; charset=utf-8","content-length":"0","x-oauth-scopes":"admin:repo_hook, read:user, repo, user:email, workflow, write:packages","x-accepted-oauth-scopes":"repo","github-authentication-token-expiration":"2025-01-13 23:00:00 UTC","x-github-media-type":"github.v3; format=json","x-github-api-version-selected":"2022-11-28","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4848","x-ratelimit-reset":"1724947080","x-ratelimit-used":"152","x-ratelimit-resource":"core","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset","access-control-allow-origin":"*","strict-transport-security":"max-age=31536000; includeSubdomains; preload","x-frame-options":"deny","x-content-type-options":"nosniff","x-xss-protection":"0","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","content-security-policy":"default-src 'none'","vary":"Accept-Encoding, Accept, X-Requested-With","server":"github.com","x-github-request-id":"28C0:21147:A21161:AB7969:66D09493"}}
##[error]An unexpected error occurred while creating the release.
##[debug]Processed: ##vso[task.issue type=error;]An unexpected error occurred while creating the release.
##[debug]task result: Failed
##[error]TypeError: Cannot read properties of undefined (reading 'message')
##[debug]Processed: ##vso[task.issue type=error;]TypeError: Cannot read properties of undefined (reading 'message')
##[debug]Processed: ##vso[task.complete result=Failed;]TypeError: Cannot read properties of undefined (reading 'message')
Finishing: Create Github Release

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION]

Repro steps
No response

Managed to get around it by setting the target to the latest commit hash relative to the tag that triggered the build


__builtin_amdgcn_readlane float values?

Hi,
I would like to do v_readlane_b32 on float values. v_readlane_b32 doesn't really care about the type (as long as it's 32 bit), but __builtin_amdgcn_readlane does.
Is there something (or override) like:
float __builtin_amdgcn_readlane(float src, uint lane);

// Besides uint __builtin_amdgcn_readlane(uint src, uint lane);

Or let llvm.amdgcn.readlane work on float values?

I tried this (compile error):
extern float __llvm_amdgcn_readlane(float src, uint lane) __asm("llvm.amdgcn.readlane");

I also tried a bit with inlining LLVM bitcast, but without fortune :(
Thanks a lot!

Never mind I'm working on OpenCL or HIP. Both are OK.

you can use as_uint2(double).x, .y

you can use as_uint2(double).x, .y

Thanks! How about using HIP?

You should never declare intrinsics using asm declarations. You can access this from the source with __builtin_amdgcn_readlane. You could define your own wrapper with as_float(__builtin_amdgcn_readlane(as_uint(x), y))


Email Validation RegExp

if you add to regex header, email keyword, that is perfectly usable for any where :+1:

yes i added :smile:


Floating point precision not configurable w CMAKE.

There is no CMAKE toggle that can be used to chose single precision floating point.
Currently, the floating point precision is hard-coded in the header, depending on platform.

I don't think this is true.  When I set CP_USE_DOUBLES=0 in the preprocessor definitions in VS it seems to work.

So there's sort of a bigger issue at play here that I've always wanted to find a better solution to.
I've encountered a number of projects that compile Chipmunk with a particular floating point setting that matches their' project's vector type. Then when they build their project they typedef over the top of cpVect when including the headers. So the binary type matches, though the compiled types don't. I've never really found a satisfactory solution to this.
I'd be open to suggestions.


config: allow taproot-assets-mode to be remote

When starting litd with the flag --taproot-assets-mode=remote, the following error was being displayed preventing it from starting up.
could not load config: error parsing flags: Invalid value `remote' for option `--taproot-assets-mode'. Allowed values are: integrated or disable

I realized the remote choice was missing in the go-flags options. Adding this has resolved the startup issue.

The user who reported this issue in Slack has tested and confirmed it resolved the problem.


COLLAB

Dear Author,
I could reproduce task including MYTAG,PTC,NCl1,PROTEINS,IMDB-B,IMDB-M,RDT-M5K using the parameters of your paper, however, I could not reproduce the results for RDT-B and COLLAB using the parameters.
Might I get your advice or suggestion about reproducing the results of COLLAB and RDT-B.
Regards

hello, the code does not have a validation set, how to get the test set result.

I reviewer the closed topic and try the --degree_as_tag

Dear Author,
I could reproduce task including MYTAG,PTC,NCl1,PROTEINS,IMDB-B,IMDB-M,RDT-M5K using the parameters of your paper, however, I could not reproduce the results for RDT-B and COLLAB using the parameters.
Might I get your advice or suggestion about reproducing the results of COLLAB and RDT-B.
Regards

Hi, I want to ask how do you reproduce the results? Like the MYTAG, I tried all the
combinations of the paper's mentioned hyper-parameters......
Thx!!!!!!!!!!!!!

Two quick points you can confirm are:

Have you correctly specified --graph_pooling_type? We used the sum graph pooling for bio/chemistry datasets and the mean graph pooling for social network datasets.
Have you added --deg_as_tag (use the node degree as the input node feature) for IMDB and COLLAB?


Could we have more fine control over line breaks

The approach to determine the line breaks by wrapping works in many - but not in all cases.
Would it be possible to provide a list of keys and applicable policies, for example
{
  "wrap"     : 40,
  "policies" : [
    {
      "keys"    : ["policies", "keys", "display"],
      "display" : "block"
    },
    {
      "contentOf" : ["keys"],
      "display"   : "inline"
    }
  ]
}

This specifies:

policies, keys, display start on a new line and are formatted as an indented block
content of keys; is never wrapped

Of course there is lots of possible desires:

consider object in content
inlineWrap which would add linebreak not on every element but only if the line is full

....

I would be happy to consider a pull request with this feature. I do not understand your example, however. Before you spend time working on a syntax that I might ask you to change the wording of, I'd suggest discussing here more clearly how this works. Are the only options "block" and "inline"? If so, I might suggest either:
{
   policies : {
     inline: ["keys"],
     block: ["policies", "display"]
   }
}

or
{
  contentDisplay : {
    policies : "block",
    display  : "block",
    keys     : "inline"
  }
}

Perhaps the best way to work on this feature would be for you to include here a set of unit tests, showing some sample data, formatting options, and the result you expect. I can see that you are trying to provide different wrapping behavior for "keys" versus "content", but I'm not sure what that really means.
Consider: Does this work with the short option, or not? What happens when the content has no whitespace? What about a single long string?

This topic tends to get complicated. And a full solution would end up in some css selects and the values of the display property (which is none | block | inline).
If I look at a JSON like this, you see that "extract/0" is formatted inline while extract/1 is formatted as block.
{
  "produce"  : [0, 1, 2],
  "extract"  : {
    "0" : {"legend": {"pos": [10, 10], "spos": [10, 17]}},
    "1" : {
      "legend" : {"pos": [361, 58], "spos": [360, 27]},
      "lyrics" : {"x": {"verses": [1], "pos": [350, 70]}}
    }
  }
}

If I could state:
{
  "policies" : {
    "block"  : [ "0", "1", "2", "3" ],
    "inline" : [ "lyrics", "legend" ]
  }
}

It would yield:
{
  "produce"  : [0, 1, 2],
  "extract"  : {
    "0" : {
       "legend": {"pos": [10, 10], "spos": [10, 17]}
    },
    "1" : {
      "legend" : {"pos": [361, 58], "spos": [360, 27]},
      "lyrics" : {"x": {"verses": [1], "pos": [350, 70]}}
    }
  }
}

Maybe we can achieve the same by
{
  "wrap" : [
    {"col" : 100, "elements" : [ "legend", "lyrics" ]},
    {
      "col"   : 10,
      "elements" : [ "0", "1", "2", "3", "4" ]
    }
  ]
}

Couldn't it be something like in the native JSON.pretty_generate :
You can override options per object.
  class ArrayWithoutIndent < Array
    def to_json(state = nil, *)
      super(state.to_h.merge({ array_nl: ' ', indent: '' }))
    end
  end

You could test if obj.respond_to?(:neat_options) for example and override global options with the object options
I would love this feature !


SUBMARINE-791. Read Submaine CRD spec in controller

What is this PR for?
After defining the spec for Submarine CRD, we need to read the spec in our controller.
What type of PR is it?
[Feature]
Todos

[x] - Modify types.go to meet the CRD spec.
[x] - Modify controller.go such that it can read the CRD spec.

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-791
How should this be tested?
https://travis-ci.org/github/MortalHappiness/submarine/builds/766867816
Screenshots (if appropriate)

Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

The following image shows that the controller can run in the cluster. Thanks.

@MortalHappiness did you complated this pr? I see you force pushed again.

@xunliu Yes, I’ve completed this PR. Thanks.

I rebased again just now to sync with the master branch.


Can this work with typescript

Any idea how to make this work with Typescript?  For some reason in my project when I load this as a mixin with typescript nothing happens.
I also tried wrapping it in my own mixin like this:
import vmv from 'vuejs-model-validator'

@Mixin
export default class ValidationMixin extends Vue {
  beforeMount () {
    vmv.beforeMount()
  }

  destroyed () {
    vmv.destroyed()
  }
}

but it throws an error "TypeError: Cannot read property 'validations' of undefined"
Is there another way I can load this in my component without a mixin something like  "vmv.init(this)" ?

Another dev on my team got it working, not sure exactly how

Oh, in that case if there is anything I can include in the code to make it easier to use for typescript people let me know and I will update it.


As a Bootable Jar user, I want to use the OpenJDK runtime image

OpenJDK now offers runtime image that contains only what is needed to run Java application and nothing to build it.
This enables to create application image with a smaller size and less susceptible to security issues.
Currently, the Helm Chart for WildFly do not leverage this runtime image and create the application image from the OpenJDK S2I builder image (which contains eg Maven in addition to the Java runtime).
It should be possible for a Bootable Jar user to specify that the application image should be built from the OpenJDK runtime image.
Describe the solution you'd like
Add a field named build.bootableJar.runtime with a boolean value (false by default).
Add a field named build.bootableJar.runtimeImage with a default value of [registry.access.redhat.com/ubi8/openjdk-11-runtime:latest](http://registry.access.redhat.com/ubi8/openjdk-11-runtime:latest)

When build.bootableJar.runtime is true, create 2 build configs (very similar to the WildFly S2I workflow):

one buildconfig will use the build.bootableJar.builderImage to create the jar
another buildConfig will take that jar and copy it in the build.bootableJar.runtimeImage

When build.bootableJar.runtime is false, the current behaviour is used (the application image is the output of the OpenJDK builder image

References

https://developers.redhat.com/articles/2022/01/26/build-bootable-jar-cloud-ready-microservices#resource_optimization
https://github.com/mvocale/JBoss_EAP_cloud_ready/tree/Galleon_Runtime_EAP_XP_bootable_jar_version

@mvocale FIY


[Bug]: Getting an error which seems circular

Terraform CLI Version

= 1.5.1

Terraform Provider Version
0.93.0
Terraform Configuration
resource "snowflake_oauth_integration_for_custom_clients" "alation_compose_prod_hulux" {
  provider                         = snowflake.<reference>
  name                             = "<integration_name>"
  oauth_client_type                = "CONFIDENTIAL"
  oauth_redirect_uri               = "<url>"
  enabled                          = "true"
  oauth_allow_non_tls_redirect_uri = "false"
  oauth_enforce_pkce               = "false"
  oauth_use_secondary_roles        = "NONE"
  pre_authorized_roles_list        = []
  blocked_roles_list               = ["ACCOUNTADMIN", "ORGADMIN", "SECURITYADMIN"]
  oauth_issue_refresh_tokens       = "true"
  comment                          = "<comment>"
}

Category
category:resource
Object type(s)
resource:oauth_integration
Expected Behavior
No error should have been obtained as prior resources were created fine via SQL with having OAUTH_ALLOW_NON_TLS_REDIRECT_URI set to False.
Issue noted for the first time when using the Terraform-Snowflake-Provider to create these new resources for Dev and Prod.
Actual Behavior
Error: 390316 (22023): The redirect URI must use TLS unless OAUTH_ALLOW_NON_TLS_REDIRECT_URI is set to False.
with snowflake_oauth_integration_for_custom_clients.
Steps to Reproduce
N/A
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hi @nadirdbit 👋 I think this may be a bug on the snowflake side. When I try to create a similar integration in Snowsight, I'm also getting this error. However, when I set OAUTH_ALLOW_NON_TLS_REDIRECT_URI = true, then it works. Semantically, this is expected behavior (to use http://, we want to allow non-TLS URI), so that's why I think the error message is incorrect. Could you please verify this on your side?

Hi Jakub,
This is ok to close - working fine.
User had a typo in request which was implemented and that seems to have caused this.
Thank you.

Hi Jakub,
This refers to your comment 3 weeks back.
We weren't able to validate with http - only https and thus reopening this issue.
Thank you.

Hi, could you provide the following:

configuration of the resource (you should have  oauth_allow_non_tls_redirect_uri = "true")
SQL for CREATE SECURITY INTEGRATION which works for you in Snowsight

I can't reproduce this: I configured a resource with oauth_allow_non_tls_redirect_uri = "true" and oauth_redirect_uri = "http://example.com" and it works fine.

Hi Jakub,
This was done via Terraform using the Snowflake provider -
#snippet from our providers.tf file
required_providers {
snowflake = {
source  = "Snowflake-Labs/snowflake"
version = "~> 0.93.0"
}
}
#Oauth snippet
resource "snowflake_oauth_integration_for_custom_clients" "" {
provider                         = snowflake.
name                             = ""
oauth_client_type                = "CONFIDENTIAL"
oauth_redirect_uri               = "https://"
enabled                          = "true"
oauth_allow_non_tls_redirect_uri = "false"
oauth_enforce_pkce               = "false"
oauth_use_secondary_roles        = "NONE"
pre_authorized_roles_list        = []
blocked_roles_list               = local.si_common_blocked_roles
oauth_issue_refresh_tokens       = "true"
comment                          = ""
}
Thank you.

Just to confirm, the config you provided is working fine, and we can close this issue?

Hi Jakub,
Yes!
Thanks again.


Wrong base url leads to error in production

I've faced quite a few bugs when implementing nuxt-og-image in dev but haven't been able to create a proper repro and have found my way around things. However I am facing a breaking error in production as I cannot access the /__og_image__/og.png as I can in dev.
I can see the following error in my pm2 logs:
[nuxt] [request error] [unhandled] [500] request to http://www.mywebsite.com:3000/api/og-image-options?path=/en failed, reason: connect ETIMEDOUT <IP_ADDRESS>:3000 (http://www.mywebsite.com:3000/api/og-image-options?path=/en)
  at $fetchRaw2 (/var/www/myproject/.output/server/node_modules/ofetch/dist/shared/ofetch.502a4799.mjs:180:24)
  at /var/www/myproject/node_modules/nuxt-og-image/dist/runtime/nitro/middleware/og.png.mjs:16:19
  at Object.handler (/var/www/myproject/.output/server/node_modules/h3/dist/index.mjs:1247:19)
  at Server.toNodeHandle (/var/www/myproject/.output/server/node_modules/h3/dist/index.mjs:1322:7)

I've correctly set up (I think!) the siteUrl via runtimeConfig with https and no port number, so I'm surprised to see that the url which causes an error is in http and with port 3000. I wonder if the following part of the code has something to do with it?

Using Nuxt 3.3.1 and a freshly installed nuxt-og-image.

Hey @tmlmt
You can try out the v2 beta to see if it works any better 2.0.0-beta.0.
It's not fully tested so you may run into some other issues.

Hey @harlan-zw, thanks for tackling this one ! 2.0.0-beta.1 is not working.
Get the following error:
[Vue warn]: Unhandled error during execution of setup function                                                                                22:59:41
  at <[[slug]] onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >

Seems to be coming from https://github.com/harlan-zw/nuxt-og-image/blob/e08d1e7f1b8ae9a4874ca0a7ec7fc7490ed2bde2/src/runtime/composables/defineOgImage.ts#L29 that you've added. Are you maybe missing an import of useRuntimeConfig, like in 8444dce?

Looking forward to your new beta release :))

Please try 2.0.0-beta.4 :)

Almost there? Now I strangely get a Nuxt 500 error when I try to access the og.png image of my homepage:

Almost there? Now I strangely get a Nuxt 500 error when I try to access the og.png image of my homepage:

That's a new one! Any reproduction available :pray: ?

Hey @harlan-zw, I found out that this was due to one of the <nuxt-img> tags in my custom template. I am having some issues with using images: as this is unrelated to this issue (which you seems to have solved with 2.0.0-beta.7 -- thank you for that :+1:), I will close it and open a new one.

@tmlmt I was following the issue since I had the same problem (but still didn't have time to test the betas).
Until you create the new issue (I don't understand if you will open it here or on the nuxt-img repo) could you explain what problem did you have with <nuxt-img>? I'm using both of them too, so you got me curious.


nodePackages.gramma: init at 1.6.0

Motivation for this change
Added Gramma, a command-line grammar checker that uses the languagetool api.
https://github.com/caderek/gramma
Things done

Built on platform(s)

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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.

@Kranzes merge conflict

@Kranzes merge conflict
Done.
Please merge as soon as possible before new merge conflicts will appear :)


Rename AspxParser directory to Sources or src

It's more common practice.

I don't think it has a big sense.


[KOGITO-5083] - Kogito Runtime Image Stream Fails to Update

Many thanks for submitting your Pull Request :heart:!
Jira Issue : https://issues.redhat.com/browse/KOGITO-5083
Please make sure your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster
[x] You've added a RELEASE_NOTES.md entry regarding this change

/jenkins test

/jenkins test

/jenkins test

@sutaakar can you open a JIRA for us to track this?

Reported as https://issues.redhat.com/browse/KOGITO-5205


Question reactredux and Node.js

I simply interesting in one question, because I don't really know how it works in result.
Expert thought needed.
If I use reactredux. And then I publish it to somewhere (for example local folder).
In published folder I have a lot of .dll files and some fat .js (I guess they made by webpack).
Theoretically I guess in this case I will # need not any Node.js at production server where I gonna deploy this stuff. Is that true ?

If you're not doing server-side prerendering, then you will not need Node.js on your production server, because all the JS will be executed on the client side.
If you are doing server-side prerendering (which is the default in the React-Redux template in this repo), then you do need Node.js on your production server, because the prerendering process involves executing your JavaScript code on the server.


dafny is not reproducible

Steps To Reproduce
1. Build the package
This step will build the package. Specific arguments are passed to the command
to keep the build artifacts so we can compare them in case of differences.
Execute the following command:
nix-build '<nixpkgs>' -A dafny && nix-build '<nixpkgs>' -A dafny --check --keep-failed

Or using the new command line style:
nix build nixpkgs#dafny && nix build nixpkgs#dafny --rebuild --keep-failed

2. Compare the build artifacts
If the previous command completes successfully, no differences were found and
there's nothing to do, builds are reproducible.
If it terminates with the error message error: derivation '<X>' may not be deterministic: output '<Y>' differs from '<Z>', use diffoscope to investigate
the discrepancies between the two build outputs. You may need to add the
--exclude-directory-metadata recursive option to ignore files and directories
metadata (e.g. timestamp) differences.
nix run nixpkgs#diffoscopeMinimal -- --exclude-directory-metadata recursive <Y> <Z>

3. Examine the build log
To examine the build log, use:
nix-store --read-log $(nix-instantiate '<nixpkgs>' -A dafny)

Or with the new command line style:
nix log $(nix path-info --derivation nixpkgs#dafny)

Additional context
$> nix run nixpkgs#diffoscopeMinimal -- --exclude-directory-metadata recursive \
	/nix/store/zh56fwlxq2814yk8rdbibrx03sigwxqw-Dafny-4.6.0 /nix/store/zh56fwlxq2814yk8rdbibrx03sigwxqw-Dafny-4.6.0.check \
	| wc -l
24586
$> # similar story at 06e8efb692de7a931f75289e01b6ee410aaf2e74
$> nix run nixpkgs#diffoscopeMinimal -- --exclude-directory-metadata recursive \
	/nix/store/q82vzzyvwv9k9d2fal3vzf8iib0cvm6m-Dafny-4.8.0 /nix/store/q82vzzyvwv9k9d2fal3vzf8iib0cvm6m-Dafny-4.8.0.check \
	| wc -l
24591

https://github.com/NixOS/nixpkgs/pull/340877#issuecomment-2382377400 suggests the package isn't even working as intended right now.
Notify maintainers
@layus

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

That is interesting. Do you have the diffoscope output lying around ?
The comment you mention is about one feature of dafny, probably not the most useful one. It does not mean that dafny is broken, but that we lost some extra features.
I have no idea how dotnet works, but I would assume that most of the randomness comes from there. Except maybe some timestamps from the logs.
I do not have the bandwidth to address this, and I am pretty certain all the versions of the package are functionally equivalent.
Not sure if anyone wants to work on this (it is probably an interesting one leading to fixes in the dotnet ecosystem as a whole), and whether the issue should be left open. I would rather mark it as WONTFIX or something like that.
WDYT ?

I only use C#, but my understanding is MSBuild handles most r13y problems when $(ContinuousIntegrationBuild) is true, which is set here (along with $(Deterministic) which I think only affects CSC?). But I'm seeing related issues still open in .NET repos, so maybe there's a bug in the SDK.
I can put the assembly diffs in a Gist if you really want.


Start test directly from source file in Xcode

The normal workflow for Xcode users is to start test directly from the editor (see attached screenshot). Gradle XCTest integration must allow this workflow.

This feature is bundled with PR https://github.com/gradle/gradle/pull/3004.


Share your business files with Teams, SharePoint, and OneDrive infographic PowerPoint link broken

The link for the 'Share your business files with Teams, SharePoint, and OneDrive' infographic to PowerPoint does not work. Just takes you to a generic PowerPoint infographics page.

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

ID: 236bd376-94b8-97b1-a46f-8d340c8ad05d
Version Independent ID: bd8d12f6-40f4-b9bd-e97b-84dc8a77e705
Content: Microsoft 365 infographics for users
Content Source: microsoft-365/solutions/infographics-for-users.md
Service: o365-solutions
GitHub Login: @samanro
Microsoft Alias: samanro

@kevhoyt Thank you for your feedback. It is not broken anymore and currently takes it to https://learn.microsoft.com/en-us/microsoft-365/solutions/infographics-for-users?view=o365-worldwide#share-your-business-files-with-teams-sharepoint-and-onedrive
Hope this helps!
Thanks
Sri

Sorry, but I don't see this as fixed. When I click on the link for the PDF it takes me to a generic Infographic design templates page. Not to a PDF with the document loaded. The only one that works now is the one for Microsoft 365 security tips infographic. All the others go to a generic page and the Power Point for the infographic cannot be found.
cc: @yogkumgit

@msbemba Please comment.

@msbemba Gentle reminder.

@kevhoyt thank you for your feedback. Looks like the FW links are redirecting to a different page. I'll work with the author and update the links.
Thanks
Sri

Email sent 29 JUn 2023

Hi all - I have republished these to the download center instead of the templates site and updated the fwlinks. Might take a minute for the links to start working again, but they should be fixed.

Thanks. Closing.


Improving the readability of the README file.

Describe the solution you'd like
I would like to see a table of contents at the beginning of the README file that links to different sections. This would enhance navigation and improve the overall user experience.
Additional context
A well-structured README with a table of contents can significantly improve accessibility and user understanding, especially for new users.

I'd like to work on this, please!

@rashi07dashore feel free to submit a PR with the update


Multiply number column after calling  lineNumbersBlock multiply times

Is your feature request related to a problem? Please describe.
In our use case, we have an editable highlight js component by adding contenteditable attribute. We want to update the line number whenever the content is changed (lose focus event).
The problem here is , it adds a new column for the line number after each lineNumbersBlock.  Is the right function to call to update the line number?
Describe the solution you'd like
I expect it should maintain the internal state so only one line column should be shown.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The below code is what we are using:
      element.addEventListener( 'focusout', function( event ) {         hljsWithLineNumber.highlightBlock( event.currentTarget );         hljsWithLineNumber.lineNumbersBlock(event.currentTarget);       }, false );
Please see screen shot:

highlightjs is not meant to be a code editor, it should be used only for highlighting code. If you want a code editor, look at Ace or Codemirror

    const lineNumbersBlockWeakMap = new WeakMap()
    window.hljs.lineNumbersBlock2 = (element, options) => {
      if (lineNumbersBlockWeakMap.has(element)) return
      lineNumbersBlockWeakMap.set(element, true)
      window.hljs.lineNumbersBlock(element,options)
      setTimeout(() => {
        lineNumbersBlockWeakMap.delete(element)
      })
    }


Portainer on Synology DSM 6.2

Hi!
I'm running the :latest (1.17.1) Portainer on my Synology DSM 6.2 with docker 17.05.0-0370 (17.05.0-ce).
When I go to stats on any of my containers I get:
Failure
Unexpected pid '+': strconv.Atoi: parsing "+": invalid syntax

Command used to start Portainer:
sudo docker run -d \
--name Portainer \
--restart=unless-stopped \
-p 9000:9000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/volume1/docker/portainer_data/portainer \
portainer/portainer:latest

"-v portainer_data:/volume1/docker/portainer_data/portainer "
should be
"-v /volume1/docker/portainer_data/portainer:/data"

@niXta1 do you have access to the Docker CLI ? If so, can you try to do a docker stats <CONTAINER_NAME> on the CLI? And docker top <CONTAINER_NAME> as well?

Yes @niXta1 it seems that there is something wrong with your Docker engine/setup. Portainer proxies requests to the Docker API so this is why you're also seeing the same error message.

Hi,
I have exactly the same issue after upgrading to DSM 6.2 (more or less mandatory if you want to run a Synology device securely).
Is there any progress or a possible workaround?

I reported the "docker top" error to Synology but never got an answer...

The strange fact is that Synology only provides a proprietary GUI on top of "standard" docker install.. I tried to use command line with exactly the same result.

I got escalated to devs at Synology, top fails because I had an account name with an illegal character in it (space).
After removing the space it works as expected.
@lwitt, do try this workaround.

Many years later but with the same problem. And I found the solution.
The problem: the linux distro is do not have 'ps' command installed. (Example Amazon Linux do not have it)
The solution: Install  procps using apt-get or yum. Here is a link with examples: https://ioflood.com/blog/install-ps-command-linux


Adding build and runtime support for open jdk 11

stream-registry PR
Tweaked stream-registry base pom to build and run against Open JDK 11
Changed

Updated base pom.xml with jaxb-api dependency
Update core/pom.xml to consume jaxb-api dependency at runtime
Updated maven plugin version to latest
Updated java.version to 11 in base pom.xml
Added --add-opens java.base/java.lang=ALL-UNNAMED option to java command in Makefile. This is to alleviate Illegal reflective access by com.fasterxml.jackson.module.afterburner.util.MyClassLoader to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int). We may revisit this in near future once the underlying 3rd party libs extends support for JDK 11

PR Checklist Forms

[ ] CHANGELOG.md updated
[x] Reviewer assigned
[x] PR assigned (presumably to submitter)
[x] Labels added (enhancement, bug, documentation)

nice! reviewing now.

Update CHANGELOG.md with the changes made in this PR. Please target a new milestone:
0.5.0 - SNAPSHOT as change merits a minor bump at a minimum.


Relative paths are wrong when accessing VFS API over ARM

e.g. response items look like this:
  {
    "name": "Application",
    "size": 0,
    "mtime": "2014-10-31T10:06:49.1390818-07:00",
    "mime": "inode/directory",
    "href": "https://mysite.scm.azurewebsites.net/api/vfs/logfiles/?api-version=2014-04-01-previewApplication/",
    "path": "D:\\home\\logfiles\\Application"
  }

Instead, it should give ARM hrefs.

WebJobs API has that issue too.

I tried using vfs via ARM (thru extension bridge) - it did not work at all.  Something to do with query string; perhaps I was using the new api-version.  Fix https://github.com/projectkudu/kudu/commit/bb5febca4c40dc8baf648b2495cf161b7862b549

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Create uict.txt

@pkabagambe I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host uict.ac not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Fix footer text

This pull fixes the formatting of the footer.
Before

After

strange since the build works just fine on my machine as well as me testing it on cloudflare pages

Thanks for your contribution! Could you please revert the changes to package.json and the lock file so we can avoid conflicts?

Thanks for your contribution! Could you please revert the changes to package.json and the lock file so we can avoid conflicts?

Done :D

Thank you!


blog: ecosystem node 22 update blog

This PR adds a blog/announcement for our plan to move the ecosystem packages to Node 22
NOTE: Please hold merging this until Jan 1, 2025

Looks good to me! :+1:


feat(Mathlib/Tactic/Existsi): the existsi tactic

As suggested by Gabriel, we define existsi as a macro and existsi a expands to refine ⟨a, ?_⟩.

Thanks!
bors r+


Update custom_extrude.md

Update doc for new options firstNormal and adjustFrame

I can't see what failed - Vercel can't log me in

I see that there is no picture for the links on the right side of the page. I don't know how to make that happen.


Duplicated word

on #89, plus minor fixes (proposal)

This change is

@aswarke  is this PR still relevant?   if so then please open dedicated branch for Scale from dev and consider to merge it to there. Currently the PR is pointing to master which is not good anyway.
Please let me know