HTML5Backend overwrite other module's drag and drop event

HTML5Backend --> setup() --> this.addEventListeners(this.window);
-->  target.addEventListener('dragstart', this.handleTopDragStart);
-->  this.handleTopDragStart
-->  overwrite  by the last ELSE statement ：
{
// If by this time no drag source reacted, tell browser not to drag.
e.preventDefault();
}

I meet the same issue, is there a way to define the context and then bind the listeners?

I've meet the same issue. Is there a way to define the context range and then bind the drag events? Please help if we have any solution. Thanks！

I've resolved it by apply dnd provider.

In the latest version of HTML5Backend, you can pass a rootElement config option, which will localize the eventing of the HTML5Backend.


Encode request payload optionally with Gzip

Allow content encoding for compressing request payloads with Gzip
Continuation of #1469 PR discussion.
I'll generate services in separate commit.
Added an integration test for CloudWatch logs to support the use case also.

Hey @matthewkmayer @iliana could you guys check it out?

ping

Thanks for sticking with this! It's only got a couple changes to make, per my comments, and it should be good to go. 🎉


Odo does not apply multiple deploy commands

/kind bug

What versions of software are you using?
Operating System:
Output of odo version: odo v2.5.0 (2bd4f073e)
How did you run odo exactly?
run odo deploy with a devfile having 2 deploy commands defined, one default, and one non-default.
  - id: deploy
    composite:
        commands:
          - build-image-stack-provided
          - outerloop-deploy
        group:
          kind: deploy
          isDefault: true
  # Deploy an app image built with a developer provided dockerfile - non-default action
  - id: deploy-app-image
    composite:
       commands:
         - build-image-app-provided
         - outerloop-deploy
       group:
         kind: deploy

Actual behavior
Seeing error:
$ odo deploy
 ✗  more than one default deploy command found in devfile, should not happen

However, I have one and only one default deploy command defined in devfile.
It is because Odo does not check for isDefault property, only checks for length of deploy commands.
https://github.com/redhat-developer/odo/blob/ce9506ded9ab9af822a6451278471fcc732cb268/pkg/devfile/adapters/kubernetes/component/adapter.go#L855-L860
Expected behavior
Odo should allow multiple deploy commands, but only one isDefault
Any logs, error output, etc?

/area deploy

/triage duplicate
https://github.com/redhat-developer/odo/issues/5452
/close


please provide example

I tried implementing apollo-link-state right after updating to apollo-client 2.
Seems like I am doing something wrong.
From the readme a lot seems clear. For a complete apollo-2-newbie this sentence here leaves a lot to the imagination though:

use the local link to create an Apollo Client instance

This raises some questions. For instance: Would this link be treated like:

middleware (https://www.apollographql.com/docs/react/basics/network-layer.html#linkMiddleware)?
afterware (https://www.apollographql.com/docs/react/basics/network-layer.html#linkAfterware)
or different?

Could you please provide an example for combining the local-state-link with the http link to create an Apollo Client instance?

In my case I get this warning:
Error: You are calling concat on a terminating link, which will have no effect
After which the query for the local state is sent to the graphql server which then errors out.
I instantiate the client like this:
import localStateLink from './localStateLink'

const httpLink = createHttpLink({ uri: 'http://localhost:5000/graphql' })
const client = new ApolloClient({
  link: concat(httpLink, localStateLink),
  cache: new InMemoryCache(),
})

Seems that the docs for apollo on links (https://www.apollographql.com/docs/react/basics/network-layer.html) do not explain everything. I could not find any information on (non?) terminating links.

Those docs are here: https://www.apollographql.com/docs/link/overview.html#terminating
Try swapping the order of your httpLink and localStateLink.
Also, the Apollo slack is a good place to post these kinds of questions. Good luck!

Thanks for the docs link.
If I swap links, i.e.:
import { ApolloClient } from 'apollo-client'
import { createHttpLink } from 'apollo-link-http'
import { InMemoryCache } from 'apollo-cache-inmemory'
import { concat } from 'apollo-link'

import localStateLink from './localStateLink'

const httpLink = createHttpLink({ uri: 'http://localhost:5000/graphql' })
const client = new ApolloClient({
  link: concat(localStateLink, httpLink),
  cache: new InMemoryCache(),
})

I get the warning: Error: You are calling concat on a terminating link, which will have no effect,
followed by this error: Network error: _this.inFlightRequestObservables[key].subscribe is not a function
Being the noob I am it is well possible that there is an error in my localStateLink. This is the module:
import { withClientState } from 'apollo-link-state'
import gql from 'graphql-tag'

const query = gql`
  query ActiveObjectsQuery {
    activeobjects @client {
      id
      name
    }
  }
`

export default () =>
  withClientState({
    Query: {
      // provide initial state
      activeobjects: () => [],
    },
    Mutation: {
      // update values in the store on mutations
      setActiveObject: (_, { id, name }, { cache }) => {
        const data = {
          activeobjects: [{ id, name, __typename: 'activeobject' }],
        }
        cache.writeQuery({ query, data })
        return null
      },
    },
  })

This is the whole error:
App: error: Error: Network error: _this.inFlightRequestObservables[key].subscribe is not a function
    at new ApolloError (ApolloError.js:34)
    at ObservableQuery../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.currentResult (ObservableQuery.js:87)
    at GraphQL.dataForChild (react-apollo.browser.umd.js:542)
    at GraphQL.render (react-apollo.browser.umd.js:592)
    at finishClassComponent (react-dom.development.js:7882)
    at updateClassComponent (react-dom.development.js:7859)
    at beginWork (react-dom.development.js:8233)
    at performUnitOfWork (react-dom.development.js:10215)
    at workLoop (react-dom.development.js:10279)
    at HTMLUnknownElement.callCallback (react-dom.development.js:540)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:579)
    at invokeGuardedCallback (react-dom.development.js:436)
    at renderRoot (react-dom.development.js:10357)
    at performWorkOnRoot (react-dom.development.js:10963)
    at performWork (react-dom.development.js:10916)
    at requestWork (react-dom.development.js:10832)
    at scheduleWorkImpl (react-dom.development.js:10715)
    at scheduleWork (react-dom.development.js:10677)
    at Object.enqueueForceUpdate (react-dom.development.js:6222)
    at GraphQL../node_modules/react/cjs/react.development.js.Component.forceUpdate (react.development.js:244)
    at GraphQL.forceRenderChildren (react-apollo.browser.umd.js:510)
    at next (react-apollo.browser.umd.js:485)
    at Object.handleError [as error] (react-apollo.browser.umd.js:489)
    at SubscriptionObserver.error (zen-observable.js:174)
    at ObservableQuery.js:326
    at Array.forEach (<anonymous>)
    at Object.error (ObservableQuery.js:326)
    at QueryManager.js:283
    at QueryManager.js:661
    at Array.forEach (<anonymous>)
    at QueryManager.js:660
    at Map.forEach (<anonymous>)
    at QueryManager../node_modules/apollo-client/core/QueryManager.js.QueryManager.broadcastQueries (QueryManager.js:655)
    at QueryManager.js:225
    at <anonymous>

It looks like your ./localLinkState file exports a function which returns the local link, rather than the link itself. The local link is returned by withClientState.
So removing the () =>:
export default withClientState({
  Query: {
    // provide initial state
    activeobjects: () => [],
  },
  Mutation: {
    // update values in the store on mutations
    setActiveObject: (_, { id, name }, { cache }) => {
      const data = {
        activeobjects: [{ id, name, __typename: 'activeobject' }],
      }
      cache.writeQuery({ query, data })
      return null
    },
  },
})

That did it. Thanks a lot!
As always, when nooby me uses something for the first time, there tend to be quite a number of open questions on the first attempt to get it working. That is why it is helpful when there is an example that completely covers a frequent use case.
Thanks a lot for this great project. Sorry that it is so great that it attracts bad noobs cause they feel that it is great enought to empower even them to program incredible stuff :-)


Adding nacl configuration to meet compliance

Summary | Résumé
Closes #251. In order to satisfy one of the ATO requirements (securityhub-nacl-no-unrestricted-ssh-rdp-f68b9b5d), we needed a NACL rule to block all SSH and RDP traffic and not just on CIDR block <IP_ADDRESS>/16 as was defined in the standard VPC terraform module. This change allows us to meet the requirements and become compliant.
I could not figure out a way to just modify the existing rule numbers since terraform did not allow me since the rules already existed. The solution is to remove them and then re-add them so if there is a way that this can be done in code, I would love to hear about any suggestions.

Closing this since we decided to implement this in the VPC module.


[Bug] PineconeClient::get_index seems to be broken

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
This simple test fails:
use anyhow::Result;

#[tokio::main]
async fn main() -> Result<()> {
    let client = client_sdk::client::pinecone_client::PineconeClient::new(
        Some("<valid api key>"),
        Some("us-west1-gcp"),
        Some("default"),
    )
    .await?;

    let indices = client.list_indexes().await?;
    println!("{indices:?}");

    for name in &indices {
        if let Err(e) = client.get_index(name).await {
            println!("Error getting index {name}: {e}");
        }
    }

    Ok(())
}

It correctly returns a list of indices, but, produces errors for every index it tries to connect to. The errors are of this form:
Error getting index : Failed to connect to index ''. Please verify that an index with that name exists using client.list_indexes().
Underlying Error: transport error
Expected Behavior
You would expect this script to produce a list of index names, and then nothing more.
Steps To Reproduce
Run the above script with this Cargo.toml:
[package]
name = "<package name>"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.71"
client_sdk = { git = "https://github.com/pinecone-io/pinecone-client", branch="main" }
tokio = { version = "1.28.2", features = ["full"] }

Relevant log output
No response
Environment
- **Mac OS Ventura, 13.4.1**:
- **Rust 1.70.0**:
- **v3.0.0**:

Additional Context
No response

This appears to be an issue where PineconeClient gets the wrong URL for the Index, somehow. If you get the URL manually through the web app, everything works great:
let transport = client_sdk::client::grpc::DataplaneGrpcClient::connect(
        "<correct url>".to_owned(),
        "<correct api key>",
    )
    .await
    .unwrap();
let mut idx = client_sdk::index::Index::new("<correct index name>".to_owned(), transport);
dbg!(idx.describe_index_stats(None).await.unwrap());

I'm also having the same issue exactly, it does not happen on other setups inside our company

Hi @rmcwhorter , apologies for the long delay. Python client V3, which is developed in this repo is still in preview (beta) stages.
I believe the error happens because you pass the wrong value to the project_id field of PineconeClient.
This is probably not well documented, but the project id is not the string project name, but rather a unique UUID which is assigned at project creation. AAMOF - it's best to leave the project_id field blank, and then the correct id is automatically inferred based on your API_KEY.
The reason you only get this error on client.get_index() is that the project_id isn't required for index-level operations like create_index and list_indexes, but only for interacting with a specific index.
I totally agree this is an unclear behavior. the PineconeClient's constructor should have checked the correctness of all of the arguments on instantiation, instead of failing only later when you call client.get_index()`.
We will push a fix to give a more explicit early error.


Query with interval function does not behave properly (on Spark)

When creating workspace with following query we get wrong results
select
timestamp(loginTimestamp) as ts,
interval("PT7H") as inter,
timestamp(loginTimestamp) - interval("PT7H") as loginTimestampMST
from
    :auditlog

This creates an error. Functions timestamp and interval behave properly, but subtract interval from timestamp fails.

Same observed for mimir


iOS  does not reconnect immediately issue

socket does not reconnect immediately when there is no network. However, socket will not reconnect until the heartbeats return.So,What should I do if I want to immediately reconnect.

你好,我在ios用socket.io也遇到同样的问题的.请问你是找到解决的办法了吗? @tuyuanyou

@tuyuanyou
Hi, I have the same issue as you about reconnect of socket.io on ios.
Did u find solution?


Sample application?

Is there any sample application that has been implemented using moduliths?

I've added two known projects to the readme.


BUG: e2e tests always break

We have setup our e2e tests such that they query real repositories. If anything changes on their end, our e2e tests break. Thats super flaky and very unproductive since we have to keep fixing them. We need to find a better solution to this. Lets discuss this in the upcoming meet.

yep, that's one we need badly. I've left a few comments in the code for that as well.
btw, we already have https://github.com/ossf/scorecard/issues/435

We add new features which break the existing e2e.  We would have to tend to e2e to keep up with the features that we add.
For example
This is failing  https://github.com/ossf/scorecard/runs/3156521297?check_suite_focus=true because our expectation of the e2e result changed.
➜  scorecard git:(main) ginkgo --focus="E2E TEST:CITests" ./e2e/...
Running Suite: E2e Suite
========================
Random Seed:<PHONE_NUMBER>
Will run 1 of 24 specs

SSSSSSSSSSSSSSSSS
------------------------------
• Failure [8.870 seconds]
E2E TEST:CITests
/home/sammy/go/src/github.com/ossf/scorecard/e2e/ci_tests_test.go:28
  E2E TEST:Validating use of CI tests
  /home/sammy/go/src/github.com/ossf/scorecard/e2e/ci_tests_test.go:29
    Should return use of CI tests [It]
    /home/sammy/go/src/github.com/ossf/scorecard/e2e/ci_tests_test.go:30

    Expected
        <bool>: false
    to be true

    /home/sammy/go/src/github.com/ossf/scorecard/e2e/ci_tests_test.go:55
------------------------------
SSSSSS

Summarizing 1 Failure:

[Fail] E2E TEST:CITests E2E TEST:Validating use of CI tests [It] Should return use of CI tests
/home/sammy/go/src/github.com/ossf/scorecard/e2e/ci_tests_test.go:55

Ran 1 of 24 Specs in 8.872 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 23 Skipped
--- FAIL: TestE2e (8.88s)

But if new features are breaking the e2e, how are we able to submit PRs which cause these breakages?

The e2e tests break because the repos we rely on change over time.
For CI-Test, we currently test for Pass/Fail as before, and we also test for the more granular score and debug/warn/info messages.
At the time I migrated CI-Test check to use score instead of Fail/Pass, the # of PRs found by the check was 25.  At the time of this reply, the number of PRs is only 24:
|-------|--------------------------------|----------|---------|---------------------------------------------------------------|
| SCORE |             REASON             |   NAME   | DETAILS |                   DOCUMENTATION/REMEDIATION                   |
|-------|--------------------------------|----------|---------|---------------------------------------------------------------|
| 10    | 24 out of 24 merged PRs        | CI-Tests |         | github.com/ossf/scorecard/blob/main/checks/checks.md#ci-tests |
|       | checked by a CI test -- score  |          |         |                                                               |
|       | normalized to 10               |          |         |                                                               |
|-------|--------------------------------|----------|---------|---------------------------------------------------------------|

The new e2e tests are more granular than the previous binary ones, which explains why we're seeing more of them break on a regular basis.
The way to fix the problem is to use repos that don't change over time.
Let's discuss in this afternoon's meeting.

@laurentsimon one more interesting breakage:
SCORECARD_V2=1 go run . --repo=github.com/kubernetes/kubernetes --show-details --checks Frozen-Deps

Could you look into this?

sure. Are you manually looking at results or you've updated the cron job to keep track of errors/repos already?

this file is the culprit https://github.com/kubernetes/kubernetes/blob/master/hack/boilerplate/boilerplate.Dockerfile.txt
I'll filter out .txt and check if the file has only comments.
Anything else more robust we could do?

error is not wrapped in a meaningful way, see https://github.com/moby/buildkit/blob/v0.9.0/frontend/dockerfile/parser/parser.go#L392

Let's skip analyzing Dockerfiles with only comments. That should be good enough.

FYI, we now have https://github.com/ossf-tests. @laurentsimon @naveensrinivasan do either of you have the cycles to update our e2e test to use test repos?

I'll add a repo scorecard-frozen-deps for frozen-deps. All the tests for this checks look at files only, so Ill copy the unit tests files in there. Note that we agreed in the meeting to rename this check Pinned-Dependencies, so I'll actually create scorecard=pinned-dependencies repo.


⚠ Bofrost.at has degraded performance

In 3f00313, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2555 ms

Resolved: Bofrost.at performance has improved in 30ebbe9 after 13 minutes.


v 0.2.0 Unable to change ticket status - Validation issue

Try to Edit a ticket and change status from Open to Assigned (Modal window)  - Validation
The subject field is required.
The content field is required.

In 'tickets/edit.blade.php'
@if(Kordy\Ticketit\Models\Agent::isAdmin())

        {!! Form::text('subject', $ticket->subject, ['class' => 'form-control', 'required']) !!}

        {!! Form::textarea('content', $ticket->content, [
            'class' => 'form-control', 'rows' => '5', 'required'
        ]) !!}

@endif

Do we need to restrict editing subject and body to only admins? or to open it for agents as well? or to make it configurable?

I would think by default it should be Locked to Admin only.
Add new config setting to admin categories - Allow Agent to modify Subject and Body?: True/False

Allow Agent to modify Subject and Body?: True/False
I agree, I have to get some sleep now, but I will do it by tomorrow.

@thekordy we are doing far too much coding with no relationships defined in our migrations. When a Status is deleted, all tickets with that status should also be deleted. Likewise, if a user is deleted, all tickets for that user should also be removed.
I'm am going to make a PR around this issue. We can discuss thoughts there! :)

I don't see it right to delete all tickets if you delete a status, but I agree about putting some restrictions and mass moving option.. an example of the relationship restriction:

you are about deleting a status that is assigned to many tickets, please move them first to another status in order to be able to delete this status
you are about deleting an agent whom is assigned to many tickets, please assign them first to another agent in order to be able to delete this status

Right, a relationship will give us that error to "catch"

@fishmad @FusionDesign  Kindly be informed that v0.1.0 branch became "master" branch

We can at least define ->onDelete('cascade') on the pivot table. All other foreign keys will allow us to throw an Exception like "Cannot delete Status. Please either rename or change the status of existing tickets. If you would like to set all existing tickets to Status ID "insert permanent_status_id from config" and continue deletion, please press Replace.
Right now.. if you delete a status, category, or priority for which an existing ticket belongs to, you'll get errors and not be able to load Ticket index.

@FusionDesign .. I agree with you

Seem to have a new bug in v0.2 - Change ticket Status
ErrorException in 0a3d27e7393bc2470f628f697bdc02fb line 1:
unserialize(): Error at offset 0 of 175 bytes (View: C:\OneDrive\vendor\kordy\ticketit\src\Views\emails\status_notification.blade.php)
And line one is:

I've had it forever, I just removed the unserialize methods from status_notification and it worked fine. I still have no idea what this error means.

The error might be related to the data that is being serialized in first place, so we need to debug what is being serialized, would you please get dump of $notification_owner?
$notification_owner = \Auth::user();

in Controllers/NotificationsController
 public function ticketStatusUpdated(Ticket $ticket, Ticket $original_ticket)
    {
        $notification_owner = \Auth::user();
        $template = "ticketit::emails.status_notification";
        $data = [
            'ticket' => serialize($ticket),
            'notification_owner' => serialize($notification_owner),
            'original_ticket' => serialize($original_ticket),
        ];

The problem because there was no serialize in the first place :)
$data = [
            'ticket' => $ticket,
            'notification_owner' => $notification_owner,
            'original_ticket' => $original_ticket,
        ];

it should be now fixed


Wrong curly braces positioning?

With the following content:
<?php

namespace Hello;
?>

<html>
    <body>
    <?php if (1 == 0) { ?>
        <?= "hello" ?>
    <?php } ?>
    </body>
</html>

after fixing with php-cs-fixer fix . I get the following:
<?php

namespace Hello;

?>

<html>
    <body>
    <?php if (1 == 0) {
    ?>
        <?= "hello" ?>
    <?php
} ?>
    </body>
</html>

IMHO, the original content doesn't needs fixing. The opening curly brace { and the closing tag ?> should be on the same line, and the closing } is clearly in a wrong place after "fix".
$ php -v
PHP 7.0.8-0ubuntu<IP_ADDRESS> (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.8-0ubuntu<IP_ADDRESS>, Copyright (c) 1999-2016, by Zend Technologies

$ php-cs-fixer -V
PHP CS Fixer 2.0.0 by Fabien Potencier and Dariusz Ruminski

we put new line after <?php.
i would disable fixing for your templates.

Thank you very much.
What can I do in order to disable fixing? Or what do you think is the best approach in this situation?

I would advice to configure a finder in .php_cs.dist file to ignore templates files

+1 This is also causing problems in our codebase, and it's a shame to exclude all templates (and sometimes fiddly if component templates exist alongside their classes).

I would advice to either write template as php following all good practices, or dont - and don't try to fix them at all in first place.

Closing due to discussion

@keradus - out of interest - in @ricpelo's example above, what would you have him change? Are you saying that just adding a blank line after the PHP tag would result in correct indentation?

The indentation of templates like these will mostly likely never be fixed correctly by the tool, because it does look at the html elements in which the code lies.

@coatesap , out of interest, i would completely drop off mixing html with php and would use proper templating system instead, eg mustache


[Ruby 2.3] Thread.exclusive is deprecated, use Mutex

I guess we should fix this. It's related with multi_mime gem, and they not have a newer version. The last one is the version we're using - https://rubygems.org/gems/multi_mime
I created a related issue here: https://github.com/karlfreeman/multi_mime/issues/5

Nice! We can patch multi_mime here if needed.

I can create a pull-request to multi_mime with the fix, it's a small method (https://github.com/karlfreeman/multi_mime/blob/e10f41a347c9137dd2a97657e6b7dc09ae7101c1/lib/multi_mime.rb#L48) and we can patch it here while they accept the PR. The project is not being updated for 2 years, thus it might take a while.

The gem was updated (https://rubygems.org/gems/multi_mime/versions/1.1.0), now it's our turn


it's the worst project ever!

It has been reported, so it shouldn't trigger again

I'm escalating this issue to the owner of the repo, hoping to get it fixed asap

this has been reported, shouldn't be reported again

[Commit 273c9ea331efefc6376f868fabf0d70f7045b47b](https://github.com/WasmEdge/WasmEdge/pull/67/commits/273c9ea331efefc6376f868fabf0d70f7045b47b)

Key Changes:
Added a new file .eslintignore, which includes directories and files to be ignored by Eslint.
Added a new file .eslintrc.js, which is the Eslint configuration file.
Configured Eslint to use the @babel/eslint-parser parser.
Configured Eslint to extend several popular rule sets, including "airbnb", "prettier", and "jsx-a11y".
Configured Eslint to use several plugins, including "react-hooks" and "regexp".
Configured several Eslint rules to suppress warnings and/or errors.
Configured Eslint to resolve imports from .js, .jsx, and .json files.

[Commit 273c9ea331efefc6376f868fabf0d70f7045b47b](https://github.com/WasmEdge/WasmEdge/pull/67/commits/273c9ea331efefc6376f868fabf0d70f7045b47b)

Key Changes:
Added a new file .eslintignore, which includes directories and files to be ignored by Eslint.
Added a new file .eslintrc.js, which is the Eslint configuration file.
Configured Eslint to use the @babel/eslint-parser parser.
Configured Eslint to extend several popular rule sets, including "airbnb", "prettier", and "jsx-a11y".
Configured Eslint to use several plugins, including "react-hooks" and "regexp".
Configured several Eslint rules to suppress warnings and/or errors.
Configured Eslint to resolve imports from .js, .jsx, and .json files.

Commit 273c9ea331efefc6376f868fabf0d70f7045b47b

Key Changes:
Added a new file .eslintignore, which includes directories and files to be ignored by Eslint.
Added a new file .eslintrc.js, which is the Eslint configuration file.
Configured Eslint to use the @babel/eslint-parser parser.
Configured Eslint to extend several popular rule sets, including "airbnb", "prettier", and "jsx-a11y".
Configured Eslint to use several plugins, including "react-hooks" and "regexp".
Configured several Eslint rules to suppress warnings and/or errors.
Configured Eslint to resolve imports from .js, .jsx, and .json files.

[Commit 273c9ea331efefc6376f868fabf0d70f7045b47b](https://github.com/WasmEdge/WasmEdge/pull/67/commits/273c9ea331efefc6376f868fabf0d70f7045b47b)

Key Changes:
Added a new file .eslintignore, which includes directories and files to be ignored by Eslint.
Added a new file .eslintrc.js, which is the Eslint configuration file.
Configured Eslint to use the @babel/eslint-parser parser.
Configured Eslint to extend several popular rule sets, including "airbnb", "prettier", and "jsx-a11y".
Configured Eslint to use several plugins, including "react-hooks" and "regexp".
Configured several Eslint rules to suppress warnings and/or errors.
Configured Eslint to resolve imports from .js, .jsx, and .json files.

Commit 273c9ea331efefc6376f868fabf0d70f7045b47b

Added a new file .eslintignore, which includes directories and files to be ignored by Eslint.
Added a new file .eslintrc.js, which is the Eslint configuration file.
Configured Eslint to use the @babel/eslint-parser parser.
Configured Eslint to extend several popular rule sets, including "airbnb", "prettier", and "jsx-a11y".
Configured Eslint to use several plugins, including "react-hooks" and "regexp".
Configured several Eslint rules to suppress warnings and/or errors.
Configured Eslint to resolve imports from .js, .jsx, and .json files.

@flows


fix(extension/#3545): Sync selection / implement $tryApplyEdits

WIP fix for #3545

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: bryphe:white_check_mark: zbaylin:x: rogererensYou have signed the CLA already but the status is still pending? Let us recheck it.


removed browser-sync package

Removed browser-sync package since it was depending on a vulnerable version of ws<EMAIL_ADDRESS>

I've removed ndb too—our code doesn't seem to use it, and the package hasn't been updated in 5 years 😱


allow form inputs to accept values

Fixes #447.
This PR allows developers to add the values prop to form input fields.  The docs for the components list the values prop but when attempting to use it, the compiliation will fail.

@miguel-s I am wondering if we should keep events_to_opts and opts_to_attrs and chain both functions or if we should create a new function events_to_attrs, wdyt?

@Malian I kept those two function separate, because opts_to_attrs is the piece I want to replace with https://github.com/phoenixframework/phoenix_html/pull/331 once it's released (probably together with a cleanup refactor). Been waiting for that release for ages now 😅

@miguel-s Sorry, I was not clear.
In the PR I see 12 times the following piece of code: assigns |> events_to_opts() |> opts_to_attrs(). I suggest to replace these pieces of code with a new function events_to_attrs.
def events_to_attrs(assigns) do
  assigns
  |> events_to_opts()
  |> opts_to_attrs()
end

Maybe it's a bad optimisation but I feel that the intent is clearer. Feel free to move forward if my proposition is not relevant ;)

@Malian Ah yes I get it now 👍 That would make things clearer and less risk for errors when changing things.
@simonmcconnell would you mind adding this helper function and apply it where needed?

Sure.  I'll get to it asap.

Thank you @simonmcconnell!


FormatMiddleware behaviour when there's information from url and header

From: https://docs.arangodb.com/Foxx/FoxxOptional.html

To determine the format of the request it checks the URL and then the accept header. If one of them gives a format or both give the same, the format is set. If the formats are not the same, an error is raised.

IMO, it'd be better to not raise an error if there is conflicting information and always have the information from the url override the accept header. The reason being quick and dirty testing/tinkering in the browser  (where you can choose the url but you can't set any headers) during development of a controller.

FormatMiddleware has been removed.


Document GitHub fine-grained personal token permissions

Thoughts on adding needed permissions to the readme?
After some trial and error it seems that the 'new' personal access tokens need the following permissions:

You can also use GITHUB_TOKEN with these permissions:
permissions:
   contents: read
   pull-requests: write
   deployments: write

@davidar oh that's possibly a lot better! No more generating tokens on a 'bot' GH account. Are there any downsides to this? I don't see it mentioned in the readme.
Guess the GH PR comment author would be 'less nice'?

I haven't noticed any downsides, it just means the comments come from the "github-actions" bot


gep: add GEP-1731 Configurable Retries

What type of PR is this?
/kind gep
What this PR does / why we need it:
Proposes configuration within HTTPRoute to retry unsuccessful requests to backends before sending a response to a client.
Which issue(s) this PR fixes:
Fixes #1731
Does this PR introduce a user-facing change?:
Adds `retry` stanza within HTTPRouteRule to configure retrying unsuccessful requests to backends before sending a response to a client.

All open TODOs have been resolved and I'm just seeking final input on two UX questions now.

I believe @sjberman mentioned this in another comment, but just want to reiterate that NGINX will not be able to implement the retry API out of the box.

Thanks for the clarification @kate-osborn! We definitely want this API to be implementable by more than just Envoy-based implementations.

NGINX retries by trying the next server. It does not retry by sending the request again to the same server. So this will not work for backends with only one Pod.

It seems like sending retries to the same Pod is not a hard requirement of this GEP, but we should definitely call this detail out and leave room for retries that cascade to different Pods.

Additionally, NGINX also doesn’t support retry backoff.

Good call, that field is labeled as extended, but we should probably have a separate feature name/test just for this feature so that implementations are able to claim support for everything but this field. If I'm reading the GEP correctly, it looks like only Envoy-based implementations + Traefik could support this field today (barring something like NJS).

I'm curious how many non-envoy implementations are able to implement this API. Why not mark as Implementation-specific instead of extended?

In general we want to aim for the highest possible level of portability we can. I think the distinction between "Extended" and "Implementation-Specific" is that with "Extended" we believe that we can write conformance tests, and I think that applies here. Conformance tests help ensure we're providing as consistent an experience as possible across implementations for the base set of features, while still leaving room for implementations to provide value-adds on top.

NGINX retries by trying the next server. It does not retry by sending the request again to the same server. So this will not work for backends with only one Pod.

When researching this I saw some workarounds posted in places like StackOverflow that mentioned listing the same IP multiple times to enable retries against a single backend, is that inadvisable or not supportable with NGINX Gateway Fabric?

It seems like sending retries to the same Pod is not a hard requirement of this GEP, but we should definitely call this detail out and leave room for retries that cascade to different Pods.

Agreed this is reasonable to not be a hard requirement @robscott, I had been assuming (specifically around the default retry-on-timeout behavior) that retries would often be routed to different pods - we should definitely clarify any constraints with a singleton backend pod where retrying may not be desirable (I'm unsure if how much of that should be "smart" proxy behavior though versus a caution to users to avoid configuring retries in that situation).

Additionally, NGINX also doesn’t support retry backoff.

Ah alright - I tried to word this carefully to accommodate unconfigurable default proxy behavior that adds jitter or is exponential versus static - can certainly add another conformance flag for carving out SupportHTTPRouteRetryBackoff as a separate sub-feature, does NGINX just retry to the next listed server immediately?

Why not mark as Implementation-specific instead of extended?

I think @robscott mostly covered this, but Extended just means we should be able to write conformance tests, and it's definitely not a requirement to implement (but my goal is absolutely to make this implementable by as many dataplanes as reasonable).

@robscott writes:

It seems like sending retries to the same Pod is not a hard requirement of this GEP...

FWIW that's my understanding as well.

@kate-osborn Do you have a suggestion for the language you would want around behavior with singleton backends?

Status Update: I believe we should merge this GEP for v1.2. Despite this being just past the extension for the GEP deadline, this one was largely good to go yesterday with only formatting bits to cleanup. We've had multiple review cycles with a variety of reviewers, and the resulting API change is fairly safe and contained.
I'll defer to @shaneutt or @mlavacca for the final call here. Thanks to @mikemorris for all the work on this one!
/approve


ProgressBar from saved scene has its size changed by a Control node after reopening the scene again.

Tested versions
4.3 standard, 4.3-mono, 4.3.1-mono-rc
System information
Windows 11 - Vulkan - Nvidia RTX 4070 - intel i5 13600KF
Issue description
I have a scene which has a Control node (nothing else) and a ProgressBar, this ProgressBar was saved as a separate scene, now when I close the Control scene the ProgressBar gets resized if it's around the border (not outside but just precisely on the border, in the video it's the top left corner). If I put the progress away from the edges/corners it seems to be fine. Same happens when the Control scene is used in another scene as a Ui for example.
Watch the video below please.
https://github.com/user-attachments/assets/ef296f54-fce9-46ab-a3d6-31dc47490809
From what it seems to me the ProgressBar resizes to fit the font size despite the Show Percentage being unchecked, I also tried to override the font size to 1 px but that did not change this behaviour at all.
Steps to reproduce

Create a new Control scene with a Control Node as the top node.
Add a ProgressBar (name it however you want).
Save the scene (I'll refer to this file as Control scene).
Change ProgressBar size down (it needs to be smaller than some who knows what value): Layout -> Transform -> Size (67, 5)
Uncheck ProgressBar's ShowPercentage (make sure it doesn't show any numbers otherwise you can't resize it below the font size limit!)
Right click the ProgressBar and save it as a scene (I'll refer to this file as a Progress scene).
Now close the Control scene.
Open the Control scene again.
(If it did not work then you might need to delete the ProgressBar from the scene and drag and drop the save Progress scene into the Control node and make sure you keep it at the origin - top left corner.
Observer the ProgressBar expanding to some random size (it might be related to some default font size perhaps, at least that's what it looks like to me it resizes to?)

Minimal reproduction project (MRP)
ProgressBarMrp.zip

Sounds like it could be related to:

https://github.com/godotengine/godot/issues/92929

Can you please try 4.4.dev3?

@AThousandShips Hi, I tried the 4.4 dev3 but the issue is there too.


Interaction with blocks/entities

Interaction with:

[ ] Blocks, e.g.

[ ] Chests
[ ] Crafting
[ ] Anvils
[ ] Brewing
[ ] Enchanting

[ ] Entities, e.g.

[ ] Villagers
[ ] Horses
[ ] Riding Pigs, Minecarts

Should actually be done directly in Spock via its API. This could provide a more abstract interface like deposit(chest, item, amount) or craft(workbench, recipe, amount) or enchant(enchantment_table, selection).


fix error ‘bind’ is not a member of ‘std’

add header file functional to avoid error ‘bind’ is not a member of ‘std’ mentioned in https://github.com/shouxieai/http_server_cpp/issues/1

update


feat: New modules available: eventgrid domain, eventgrid system-topic, eventgrid  topic are now published.

Description
New event-grid module migrated from CARML to AVM

Pipeline

[NOTE]: the 3 badges have an expected red status because they were tested in the main branch.

Please ignore this PR... I'm gonna create 3 different pr (one for each module)


How do I install the highlighting on mac?

Dear morinmartin or someone else who can help me,
How do i install the highlighting package on my mac version of sublime?
Looking forward for an answer,
Kind regards,
André

I've tried a bit myself and figured out that, when all files are put together in a zip file and is renamed to a *.sublime-package file, it can simply be put in the package content of the sublime app with the other package files.


various php81 fixes

n/m sorry; i should pay attention to the ui when it says where i'm creating the PR....


fix #201

Looks like the recorder doesn't have unit tests.

Overall, looks good!

@dersteppenwolf do you plan to have any update on this?


fix: RuntimeInfo doesn't get set when transferring ownership of function from another worker to this worker

Motivation
For externally managed runtimes in functions, when the assignment of a function gets transferred from another worker to this worker, the runtime info of the function doesn't get set causing the function to not be able to be deleted afterwards
Modifications
Fix the issue as well as add unit tests to test for this situation.


GitLab integration fails with error: certificate verify failed (unable to get local issuer certificate)

Install k3s using the script from k3s.io
Set up Gitlab integration as per https://gitlab.com/help/user/project/clusters/index.md

==> /var/log/gitlab/gitlab-rails/kubernetes.log <==
{"severity":"ERROR","time":"2019-05-14T18:05:07.665Z","correlation_id":"fZjt5GwDph4","error_code":null,"service":"Clusters::Applications::InstallService","app_id":1,"project_ids":[],"group_ids":[9],"exception":"Kubeclient::HttpError","message":"SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)","backtrace":["lib/gitlab/kubernetes/kube_client.rb:34:in `get_namespace'","lib/gitlab/kubernetes/namespace.rb:14:in `exists?'","lib/gitlab/kubernetes/namespace.rb:26:in `ensure_exists!'","lib/gitlab/kubernetes/helm/api.rb:13:in `install'","app/services/clusters/applications/install_service.rb:10:in `execute'","app/workers/cluster_install_app_worker.rb:10:in `block in perform'","app/workers/concerns/cluster_applications.rb:8:in `find_application'","app/workers/cluster_install_app_worker.rb:9:in `perform'","lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'","lib/gitlab/sidekiq_middleware/correlation_logger.rb:10:in `block in call'","lib/gitlab/correlation_id.rb:15:in `use_id'","lib/gitlab/sidekiq_middleware/correlation_logger.rb:9:in `call'","lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'","lib/gitlab/sidekiq_middleware/request_store_middleware.rb:8:in `call'","lib/gitlab/sidekiq_middleware/memory_killer.rb:18:in `call'"]}

Yep same issue here @yangm97
Weird enough iv'e had a few different errors after trying to set it up again

same issue right here!

I have similar error
{"severity":"ERROR","time":"2019-07-03T18:48:16.743Z","correlation_id":"swuWil1xyx4","exception":"Kubeclient::HttpError","status_code":null,"namespace":"gitlab-managed-apps","class_name":"Gitlab::Kubernetes::Namespace","event":"failed_to_create_namespace","message":"SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)"}

+1

I think this is related to https://gitlab.com/gitlab-org/gitlab-ce/issues/45939#note_193183530

I think using the --tls-san k3s install option with your k3s external IP may do the trick

@jusplayin Have you tested it yet?

@kingdevnl Yes

@jusplayin Did helm tiller install fine?

@kingdevnl It appears so as i'm able to install ingress, cert manager, prometheus and my deployments
Note that ingress did not obtain an IP by itself, was stuck at pending. I patched the resource with an IP and it seems to work

@jusplayin Could you please explain in detail how you patched the resource with an IP? Thanks.

Found a question on stackoverflow and applied the solution to the Gitlab installed ingress:
# Fix pending IP for ingress (https://stackoverflow.com/questions/44110876/kubernetes-service-external-ip-pending)
kubectl patch service/ingress-nginx-ingress-controller -n gitlab-managed-apps -p '{"spec": {"type": "LoadBalancer", "externalIPs":["<IP_ADDRESS>"]}}'

Note that this is a different IP than traefik is using (Currently have 2 'LoadBalancer's):
gitlab-managed-apps         service/ingress-nginx-ingress-controller         LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   80:30041/TCP,443:32360/TCP   7d3h
kube-system                 service/traefik                                  LoadBalancer   <IP_ADDRESS>      <IP_ADDRESS>   80:30093/TCP,443:32636/TCP   7d3h

This can probably be cleaned up a bit better. Maybe have Gitlab make use of traefik or not install traefik and just use gitlab-managed ingress. I thinking about checking out metallb as well.


Added support for getHealth method, introducing solana_is_healthy, so…

…lana_num_slots_behind
Added support for getHealth rpc method. Introduced solana_is_healthy and solana_num_slots_behind metrics
TBD:

tests
merge file gethealth.go with client.go

Thinking here, wouldn't it make more sense to add the health-check to the exporter.go section, i.e., to SolanaCollector.Collect(), and let prometheus automatically handle collecting it?


TextInput Disappears After Scrolling

The textInput disappears after scrolling the tableView to the bottom. I want to keep the text at the bottom as the demo did. What is the problem?
Thanks,

Yes, self.inverted = NO; and i also tried self.inverted = YES; to see how it works and both still doesn't work.
I have TabBarController->NavigationController->ViewController and then i push (Storyboard) to a ViewController which extends SLKTextViewController. Then the output is:

The textInput doesn't appear. (see
)
Then i click on other tab and then go to the first tab again, then the textInput appears but the tabbar is in black. (see )

Sorry late to reply. That solved my problem.
But i wonder one thing why need to set "self.window.backgroundColor = [UIColor whiteColor];"?
Thanks u


Odd behavior of forecast on HA mac

Ok, to begin with, I am not sure if this is an issue, a feature request, or just a plea for help.
On the HomeAssistant app for Mac, when the hourly forecast is presented it is offset by -5:00 hours.  This only happens on the HA Mac app, not in safari, chrome, or the HA companion app on iOS or iPadOS.  I am not sure when this started, but no matter what I try, it does not change. I have cleared, reloaded, reset, and re-installed, always the same result.  However, if I switch to the rest sensors (SmartWeather integration) it works as expected.
The offset is as if it believes it is receiving a UTC date, and then converting to local time.  (see attached screenshots)
The reason I am posting is that the only thing I can see that is different is how the time is represented in the forecast.  e.g. the hourly forecast from weatherflow2mqtt represents the date string as '2021-06-10T11:00:00' whereas SmartWeather (and other weather entities) include the tz offset '2021-06-10T17:00:00+00:00'.  I am not sure if this difference should even matter, nor do I understand why the translation is occurring only on the Mac application.  But I can consistently reproduce the problem.
thoughts?  TIA
The first two are from Safari browser, the second two are from the HA Companion Mac app.

It works perfectly for me on all types of devices and Apps, also the Companion APP on my Mac. The date is formatted as an ISO date and that should normally do it, but I can try to get the timezone added also.

I have now pushed a new release that converts and displays all datetimes in UTC format. Please test this out, and let me know if it is accurate.

Looks great on my end.  All clients and forecast variants show correctly.
Many, many thanks.


Better security around emp run

emp run grants a lot of power and flexibility, but can become difficult to track what people are doing.
It may be nice to provide an option to whitelist certain processes in the extended Procfile as "runnable" processes.
So instead of allowing any command to be run, you would add a command to Procfile and that command could then be run with emp run. For example:
migrate:
  command: bundle exec rake db:migrate:up
  run: true
console:
  command: bundle exec rails console
  run: true
psql:
  command: ./bin/psql
  run: true

Doing this would allow you to whitelist "safe" commands, and disallow things like emp run bash.
Obviously, this isn't perfect, since if you allow things like rails console, someone can just Kernel.system, so this would be mostly there to prevent accidents, and provide a documented list of "operational" commands for the service.

https://github.com/remind101/empire/pull/967 was merged. Gonna close this.


Updates related to the release of Claude 2.1

Adds new model to models.go
Tweaks how we generate prompts from messages to support system messages. Note: this includes tweaks to the actual constant values, but those should only have been used within the Messages themselves so should not break anything.
Adds a new NewPromptFromStringWithSystemMessage function.
Adds tests to ensure everything in prompt.go is correct.

This change is

Note: the change of the actual constants matches how their library does them: https://github.com/anthropics/anthropic-sdk-typescript/blob/7b3d3cc7a38edff5cb00d6d5134af9950ceca58d/src/index.ts#L183-L184


Issue with swarm mode using docker_gwbridge bridge

Hi ! Thanks a lot for your work, very surprising now in end-2020 we still have to fight in order to have in a consistent behaviour between IPV4 and IPV6 within docker..
So, I followed your documentation, and it works well for containers sitting in docker, I can see the rules added in the debug mode.  If I do manually this (fdd0:4cab:5070:357f::5 is the IP of a container within a swarm stack):
ip6tables -t filter -A DOCKER -d fdd0:4cab:5070:357f::5 ! -i docker0 -o docker0 -p tcp -m tcp --dport 443 -j ACCEPT
ip6tables -t nat -A DOCKER -d 0/0 -p tcp -m tcp --dport 443 -j DNAT --to-destination [fdd0:4cab:5070:357f::5]:443 ! -i docker0

then it works...so it seems there is an issue in order to detected the container when it's within a swarm.
Do someone know if I miss something ? IPV6 seems to be working fine, I am able to ping6 external IP from my containers, including those within the swarm.
Thanks again a lot !!

Hi @quentindavid, sorry you're running into issues. I don't use swarm mode myself. Perhaps @Chrislevi, who wrote the swarm mode instructions in the README, knows something about this?

Hi @robbertkl , thanks for answering this fast !
The containers, within a swarm or not, are containers, and they are connected to docker_gwbridge, so as I understood it should work fine.
I tried to read the code but I'm not sure to understand how it works. Is it able to detected both containers connected to docker0 and docker_gwbridge as well ?
Thanks again :)

Yeah, the code is listening for Docker events, so it should see any container being connected to a network.

Ok then I don't understand why it's missing the containers connected within swarm. Maybe @Chrislevi is able to help ?

Hi @Chrislevi,
I am facing the same issue too.
Earlier I was using bridge network with IPv6 and I could see ipv6 NAT working. I have a setup where I expect UDP packets to come from outside my system and it is forwarded to the container with the source IP unchanged.
I am trying to migrade away from docker default bridge to docker_gwbridge that we get when we have swarm network. When I am connected to docker_gwbridge (swarm network)... I see the packets reaching the VM and then forwarded to the container using IPv4 address of the docker_gwbridge in the VM instead of the source IPv6 address retained in the packet.
Any pointers to debug this.


enhance: Add consume cmd to read data from provided topic

Add consume command. It subscribe top provided topic and consume until the latestID. If detail flag is false, this command prints only the message type. Otherwise, the Insert/Delete msg body will be printed.

/lgtm

/lgtm


travis: Test against Python 3.4, 3.5, and 3.6.

Fixes #44.
When running Travis on this in my fork, there weren't any errors, and the build for all 4 python versions went reasonably fast (~90 seconds per version): https://travis-ci.org/derAnfaenger/python-zulip-api/builds/265157077

Nice, merged, thanks @derAnfaenger!


(MODULES-11371) Updates PDK template

This PR:

Updates the PDK tempalte to 2.7.1.
Sets metadata.json to allow Puppet versions < 9.0.0 in preparation for the release of Puppet 8.
Updates actions/checkout from v2 to v3.

Added some commits to aid with release prep


Master

Thank you
On Mon, 23 May 2022, 8:50 am Ayobami Alaran A., @.***>
wrote:

@.**** approved this pull request.
Great Anu
—
Reply to this email directly, view it on GitHub
https://github.com/Ayobami6/ProjectCollaboration.github.io/pull/2#pullrequestreview-981283163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT3GJ43QYEIAHHZU2XW2LSTVLM2FLANCNFSM5WQPXALQ
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Anu, This is getting too complicated, I will help inputting the model and adding features, it took me like 4hours to understand most of this code


[language/changelog] Add changelog entry for Move unit tests

Adds a language changelog entry for unit testing in Move

/land


Limits number of events in describe command

if there are lot of events for a repository now
repository show only the latest 50.
https://issues.redhat.com/browse/SRVKP-2601
Signed-off-by: Shivam Mukhade<EMAIL_ADDRESS>
Changes

Submitter Checklist

[x] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

💯 🎯
feel free to merge it when CI is green.

/retest

Codecov Report

Merging #978 (8091c80) into main (aa20f22) will increase coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #978      +/-   ##
==========================================
+ Coverage   61.05%   61.10%   +0.04%
==========================================
  Files          89       89
  Lines        5873     5887      +14
==========================================
+ Hits         3586     3597      +11
- Misses       1945     1947       +2
- Partials      342      343       +1

Impacted Files
Coverage Δ

pkg/cmd/tknpac/describe/describe.go
47.65% <0.00%> (-0.65%)
:arrow_down:

pkg/reconciler/reconciler.go
22.87% <0.00%> (-0.16%)
:arrow_down:

pkg/acl/acl.go
100.00% <0.00%> (ø)

pkg/formatting/repository.go
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Using the po folder

Hi, while it's not a rule, many GNOME apps use the /po folder to store and manage translations. For example:

Nautilus: https://gitlab.gnome.org/GNOME/nautilus/-/tree/main/po?ref_type=heads
GNOME Shell: https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/main/po?ref_type=heads

I believe following this convention may be better for translators.
Thanks.

Hello and thanks a lot making me aware of it. I really appreciate that you took the time and had a look at the project from the perspective of a translator. However currently this is only a one-man pet project of mine and I can only put limited resources into it. In order to avoid distraction from the development tasks and discussions about personal taste I decided from the beginning not to accept any suggestions for improvements that do not affect the end users of the software. This includes even small changes like the setup of the repository, project structure, code style, etc.


[CELEBORN-633][INFRA] Introduce PR merge script

What changes were proposed in this pull request?
Introduce PR merge script dev/merge_pr.py, which is borrowed from Apache Spark
Why are the changes needed?
This script simplifies the PR merge procedure

auto backport to release branches
auto close the JIRA ticket
auto fill in the JIRA fixed version
reserve the PR description in git log
reserve the author and committer in git log

Does this PR introduce any user-facing change?
No, it's for committers.
How was this patch tested?
https://github.com/apache/incubator-celeborn/commit/a1de16a80f7d9a5e854a978eb48228b292c3ca41 was merged by this tool

I have used this script to merge several PRs, everything works fine on my side. I'm going to merge it to main, and please try it and feel free to report issues.


[SPARK-40711][SQL] Add spill size metrics for window

What changes were proposed in this pull request?

Window may spill if one partition size is large that can not hold in memory. This pr makes window support report spill size metrics.
Why are the changes needed?

Help user get window spill information, to track how much size would spill.
Does this PR introduce any user-facing change?

yes, a new metrics. people can see it in UI
How was this patch tested?

add test for window and manual test for WindowInPandasExec:

cc @cloud-fan @HyukjinKwon

LGTM if all tests pass

let me rebase this again

cc @cloud-fan @HyukjinKwon if you find some time to take an another look, thank you

thanks, merging to master!


Move separators in WLAN attributes, etc.; fix Status typo

What does this Pull Request accomplish?
Moves the underscore separators in WLAN attributes, function parameters, and enum values.
Fixes a typo.
Why should this Pull Request be merged?
Consistency, correctness.
Regen from scrapigen & update tests.
What testing has been done?
Ran the system tests and the examples.

I would expect there to be a few changes in ofdm-modacc.py.

@mgumble Those changes are in the PR, including the specific one you called out. (And I just ran the examples again to be sure.)

Oh not sure how I missed that :/ why did you close this PR?

Oh not sure how I missed that :/ why did you close this PR?

Ugh. Misunderstood the button I was clicking.


swagger-tools does not support with webpack

Hi,
We are using webpack to create production build , but it does not work with swagger-tools as it look for the exact path for swagger.yaml and controllers. We managed to keep swagger and minified controller files in dist folder but still no luck. I think  swagger-tools looking for the exported method with same name given as operationId in swagger file, but now as we minified the controller files so it won't find exact piece of code. Please let us know how can we manage this?
Regards,
Sajjan Hubale

Any news on this?


Draw an Arc from center of some coordinates of some radius

Question
How can i use MapView.Circle to draw an arc rather than full circle from a certain point of some radius.
The desire result:

related stackoverflow question :
https://stackoverflow.com/questions/58470250/how-to-resize-shapes-drawn-on-map-based-on-zoom-value-with-react-native-maps

Upd...

Upd...

+1

+1


Getting a warning

Getting this error / warning. Is there any way to bypass this warning like "node --no-warnings".
(node:50912) ExperimentalWarning: The fs.promises API is experimental

Thank you for submitting a question! 🙏🏼
This should likely solve your issue:
If you have postman-to-k6 installed globally
$ node --no-warnings $(which postman-to-k6)

If you have postman-to-k6 installed in your current repo
$ node --no-warnings ./node_modules/.bin/postman-to-k6

Please try it out and let me know whether it solves your issue!

Closing due to lack of response.


Cant install office integration

Got DB CE version  <IP_ADDRESS>808130751
Can't install office integration (via Install new software)
Last step:
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
Exception in opening zip file: C:\Program Files (x86)\DBeaver\plugins\org.jkiss.bundle.apache.poi_3.16.0

Can't reproduce.

Make sure you are running DBeaver with admin permissions
Make sure you are running the most recent version of DBeaver

I have the same problem.
Dbeaver version:<IP_ADDRESS>808130751 CE

Fixed issue by uninstalling DB CE and installing back fresh one, without removing user settings

I have the same problem.
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
Exception in opening zip file: C:\Users\crengifo\AppData\Local\DBeaver\plugins\org.jkiss.bundle.apache.poi_3.16.0

@INGCRENGIFO did you try to reinstall DBeaver?
The real problem is that sometimes extension installer fails (because of long data file, like in case of POI). At the moment there is no other way to fix this but to reinstall whole application :(

I have had the same issue but I now successfully install the extension every time there is a DBeaver upgrade, the workaround is:

Delete or rename artifacts.xml in the DBeaver installation folder (C:\Program Files\DBeaver in 64bit Windows) before you open DBeaver
Run DBeaver as Administrator as Serge previously pointed out

@gitsno Thanks for the information.
artifacts.xml seems to be the reason of many problems with Eclipse P2..

We'll remove artifacts.xml cache in the next DBeaver version. Somehow it causes problems with P2 install procedure.

I just installed DBeaver 5.2.0 and the Office integration still didn't install unless I first deleted artifacts.xml. When the installation fails the artifacts.xml file does get updated so I don't think it's an access problem, but after the failure there are elements in the file for the old and the new versions of the plugin, I don't know if that's a clue to the problem?
So in the artifacts.xml file after it failed there was:
 <artifacts size='5'>     <artifact classifier='osgi.bundle' id='org.jkiss.dbeaver.data.office' version='<IP_ADDRESS>809092115'>       <properties size='1'>         <property name='download.size' value='26960'/>       </properties>     </artifact>     <artifact classifier='osgi.bundle' id='org.jkiss.bundle.apache.poi' version='3.16.0'>       <properties size='1'>         <property name='download.size' value='11680587'/>       </properties>       <repositoryProperties size='1'>         <property name='artifact.folder' value='true'/>       </repositoryProperties>     </artifact>     <artifact classifier='org.eclipse.update.feature' id='org.jkiss.dbeaver.ext.office.feature' version='<IP_ADDRESS>808262133'>       <properties size='1'>         <property name='download.size' value='9251'/>       </properties>       <repositoryProperties size='1'>         <property name='artifact.folder' value='true'/>       </repositoryProperties>     </artifact>     <artifact classifier='osgi.bundle' id='org.jkiss.dbeaver.data.office' version='<IP_ADDRESS>808262133'>       <properties size='1'>         <property name='download.size' value='26722'/>       </properties>     </artifact>     <artifact classifier='org.eclipse.update.feature' id='org.jkiss.dbeaver.ext.office.feature' version='<IP_ADDRESS>809092115'>       <properties size='1'>         <property name='download.size' value='9246'/>       </properties>       <repositoryProperties size='1'>         <property name='artifact.folder' value='true'/>       </repositoryProperties>     </artifact>   </artifacts>
but if I delete the artifacts.xml file before installing the extension then the install succeeds and I have this in the file:
 <artifacts size='3'>     <artifact classifier='osgi.bundle' id='org.jkiss.dbeaver.data.office' version='<IP_ADDRESS>809092115'>       <properties size='1'>         <property name='download.size' value='26960'/>       </properties>     </artifact>     <artifact classifier='osgi.bundle' id='org.jkiss.bundle.apache.poi' version='3.16.0'>       <properties size='1'>         <property name='download.size' value='11680587'/>       </properties>       <repositoryProperties size='1'>         <property name='artifact.folder' value='true'/>       </repositoryProperties>     </artifact>     <artifact classifier='org.eclipse.update.feature' id='org.jkiss.dbeaver.ext.office.feature' version='<IP_ADDRESS>809092115'>       <properties size='1'>         <property name='download.size' value='9246'/>       </properties>       <repositoryProperties size='1'>         <property name='artifact.folder' value='true'/>       </repositoryProperties>     </artifact>   </artifacts>

I have just installed DBeaver 5.2.1 CE and when installed the Office Extensions there was no problem and there is no artifacts.xml file at all :-)


Fixed broken links in Tutorials and Samples section

These fixes would solve the broken links in #32

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

Docs Build status updates of commit ea45160:
:warning: Validation status: warnings

File
Status
Preview URL
Details

src/docs/tutorials_and_samples/overview_helloworld.md
:warning:Warning
View
Details

src/docs/tutorials_and_samples/Adventure.md
:white_check_mark:Succeeded
View

src/docs/tutorials_and_samples/index.md
:white_check_mark:Succeeded
View

src/docs/tutorials_and_samples/overview_helloworld.md

Line 16, Column 43: [Warning-file-not-found] Invalid file link: '~/docs/host/configuration_guide/list_of_options_classes.md'.
Line 80, Column 63: [Warning-file-not-found] Invalid file link: '~/docs/host/configuration_guide/client_configuration.md'.
Line 90, Column 37: [Warning-file-not-found] Invalid file link: '~/docs/grains/index.md'.
Line 109, Column 72: [Warning-file-not-found] Invalid file link: '~/docs/grains/index.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Thank you, again, @gk-per


MDX / Multiline Codeblock without lang defined (react-server / docs)

Describe the bug
multiline markdown code block with no language definition (e.g. sh):
```
>  JS project detected. This will...
   - use the JS template
   - create an sst.config.ts

? Continue:
```

renders as this:

Reproduction
No response
Steps to reproduce
No response
System Info
System:
    OS: macOS 15.2
    CPU: (12) arm64 Apple M4 Pro
    Memory: 4.65 GB / 48.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.4.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - /opt/homebrew/bin/npm
    pnpm: 9.15.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.40 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 131.0.6778.141
    Safari: 18.2
    Safari Technology Preview: 18.2
  npmPackages:
    @lazarv/react-server: link:packages/react-server => 0.0.0

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Enabled auto-detect in the Rehype Highlight.js plugin to make a code block without a specified language always at least a text or Markdown code block.


GH-36224: [CI] Update rest api invocations in GitHub scripts

The rest api calls were moved into from github. to github.rest. so the workflows are failing after the update to gh script v6.
Are these changes tested?
As these changes are in priviliged workflows testing is only possible after merge.
Closes #36224

oh! of course my test on the other PR was with main! Thanks for fixing this @assignUser !


Add hide this page component to documentation

What
Add the Hide This Page component plus guidance to GOV.UK Design System website.
Part of https://github.com/alphagov/govuk-design-system/issues/1755
This is a draft pull request to get an early review of the current implementation. It is not the final proposal for this component. Prior research into this component and future accessibility testing is being collated and discussed and will be referenced here, along with a more detailed description of the component, once we are ready to publish.

Has this been superseded by #2721?


alexanderzobnin-zabbix-app plugins Show too few items，limit 100

alexanderzobnin-zabbix-app plugins Show too few items and hosts,
How should I modify it?
Thank you

i got it ,Modify  the data-items line of query.editor.html and triggers_tab.html ,then
npm -i;
npm run build


Default export ignores the type annotation when exporting combined style-components

Bug Report

🔎 Search Terms
default, export, typescript, React, styled-components, Object.assign

🕗 Version & Regression Information
I'm using TypeScript 4.3.2, ^4.2, and next. All those are showing the same errors.
💻 Code
I've attached this image to illustrate the problem.

import styled from 'styled-components';

const A = styled.div``;
const B = styled.div``;

export default Object.assign(A, {
  B
});

This is a pattern used to group components related to the same context (kind of namespace simulation). The idea is to use that exported components like the following:
<A>
  <A.B />
</A>

🙁 Actual behavior
The exported type annotation of the default exported value is not being generated.
🙂 Expected behavior
The exported type annotation should be generated with the code.

@danfma This is going to sound odd - but hear me out - you need to add a dependency on @types/hoist-non-react-statics to your project (the same version that @types/styled-components depends on - and ensure it's loaded, either via a types reference or the compiler option). The issue, as best as I've recreated it, is that we (correctly) determine that we can't reference "hoist-non-react-statics".NonReactStatics safely (and need to because of its usage in the definition of StyledComponent, which the object assign augments) because we don't have a direct dependency on "hoist-non-react-statics" - and because of that, we refuse to generate an annotation. We should also be generating an error along the lines of "This statement needs an explicit type annotation. Serialized result depends on './node_modules/styled-components/node_modules/hoist-non-react-statics' - this is likely not portable", however that error is getting swallowed somewhere. I'm going to get that error surfacing again; but in that meantime, you should be able to get your emit working by making that (type) dependency explicit. Or by adding an annotation with the type yourself.

Thanks, @weswigham!
I will try what you said tomorrow. But it makes sense.


Add Vulkan-Loader to OSX, Linux, Windows builds

If the Vulkan-Loader is needed for the Dapp testing, then please add it to ThirdParty, In general, I thought we had converted kompute to a library that didn't need the Vulkan-Loader?
Maybe it's only needed to executables?

This may be obsolete with the MNN integration


Fix Select field default value and add required props to complex fields

Closes #32
Closes #34

If required is not available for tags, is there a reason it was added to the example/index.tsx for tags? JWing

The reason is I forgot to take that off when testing. Will remove and update

@stolinski It's fixed. there was a merge conflict that removed it anyways

A lot of stuff has changed in the lib since this pr, no longer super releavnt.


add options.maxAge

added a maxAge option to the constructor that will evict items older than maxAge when you access them. to support this i made the constructor accept an options map in addition to the maxLength argument. i've added docs and a test as well but i couldn't figure out how to make vows work with async testing so it's commented out for now. maybe you know the trick to getting it to work?
anyways here is an example
var lru = LRU({maxAge: 1000})

lru.set('hello', 'world')
console.log(lru.get('hello')) // prints world
setTimeout(function () {
  console.log(lru.get('hello')) // prints undefined
}, 2000)

Thanks. I'll update the tests.


Fix T5 actions error in some cases

Hello i have tested Sonoff TX-Ultimate T5-C2-86 in local mode,
all functions works but not actions slide_1 and slide_2
is it possible to improve this function to support ?
Mode Auto: All works with modif lights.py with issue 1247
Mode Cloud: All works with modif lights.py with issue 1247
Mode LAN(local): all functions works but not actions slide_1 and slide_2
Error:
2024-01-21 11:39:54.351 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
2024-01-21 11:41:14.517 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 715, in ping
    await self._send_frame(message, WSMsgType.PING)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
    self._write(header + mask + message)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 702, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2024-01-21 11:48:12.064 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
2024-01-21 11:48:12.168 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
2024-01-21 11:48:12.236 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
2024-01-21 11:50:32.559 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
2024-01-21 11:50:32.584 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/sonoff/sensor.py", line 349, in clear_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
    if customize := hass.data.get(DATA_CUSTOMIZE):
                    ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

Known issues:
2024-01-21 11:50:31 [D] LOCAL mode start
2024-01-21 11:50:32 [D] 1001f10a72 <= Local3 | <IP_ADDRESS>:8081 | {'percentageControl': 0, 'calibState': False, 'triggerType': 2, 'lightSwitch': 'off', 'fwVersion': '1.3.1', 'rssi': -47} | 95
2024-01-21 11:50:32 [D] 1001f10a72 <= Local3 | <IP_ADDRESS>:8081 | {'percentageControl': 0, 'calibState': False, 'triggerType': 2, 'lightSwitch': 'off', 'fwVersion': '1.3.1', 'rssi': -47} | 95

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.6.0


[Snyk] Security upgrade tensorflow/tensorflow from 2.11.0rc1-gpu-jupyter to 2.12.0rc1-gpu-jupyter

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

scripts/docker/omegaml-tensorflow/Dockerfile

We recommend upgrading to tensorflow/tensorflow:2.12.0rc1-gpu-jupyter, as this image has only 40 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

514
Allocation of Resources Without Limits or Throttling SNYK-UBUNTU2004-CURL-3321691
No Known Exploit

514
Improper Verification of Cryptographic Signature SNYK-UBUNTU2004-DBUS-3040855
No Known Exploit

514
Link Following SNYK-UBUNTU2004-GIT-3319847
No Known Exploit

514
Directory Traversal SNYK-UBUNTU2004-GIT-3319859
No Known Exploit

678
Access of Resource Using Incompatible Type ('Type Confusion') SNYK-UBUNTU2004-OPENSSL-3314788
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling
🦉 Directory Traversal

closing - duplicated by #322


The domain www.pyglet.org links to bitbucket.

The README.rst links to pyglet.org which redirects to the now unused bitbucket page for pyglet, that in turn links back to the github page 🔁

Hopefully we can get together a simple github-pages static site to point to instead.

Also readthedocs is still connected to the bitbucket repo.

I have a placeholder static site up at https://pyglet.github.io. This is just a rough draft, and needs to be gone over by somebody with a decent eye for web design.

pyglet.org now links to the new website. Thanks Richard!


[Fix] Fix bbox clamp in pt1.10

Motivation
FCOS and AutoAssign cannot run with PyTorch 1.10.
Error message:
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2, 4, 20, 20]], which is output 0 of ReluBackward0, is at version 1; expected version 0 instead.

After using  with torch.autograd.set_detect_anomaly(True): to debug and find out that it was caused by the ReLU in bbox branch.
Modification
Replace F.relu(bbox_pred) with bbox_pred.clamp(min=0)

Several things to be done after merging this PR:

Should add comments above the line of code to indicate the reason for the change.
CI of PyTorch 1.10.


Decouple the Target association with the Context object by introducing ContextType

What this PR does / why we need it
Background:

Today, Tanzu CLI does not have a concept of Context-Type and we use the same concept Target to represent different types of Context as well as how we group plugins under the Tanzu CLI command tree.
In the existing Tanzu CLI code implementation, a single custom datatype Target is used to represent both the Context-Type and Target concept making both concepts tightly coupled.
Today, Target also has some values like global which does not make sense as a Context-Type value and the code assumes that value cannot be a value of a Context-Type.
Because of the above, Creating a new Target has the effect of representing a new type of context and groups a set of plugins, but sometimes one of the consequences is unintended.

Change:

As part of this PR we are introducing a new field called ContextType within the Context object and Deprecating the existing Target field.
The Target field will be kept and set correctly to support CLI and plugins using the previous version of Tanzu Plugin Runtime.

Which issue(s) this PR fixes

Fixes #116
Describe testing done for PR

Added/Updated Unit tests
Added/Updated Compatibility tests

Test Cases that I am trying to cover:
Unit Test Cases:

Set Context with Target only, Get the Context and it should contain Target and ContextType both
Set Context with ContextType Only, Get the Context and it should contain Target and ContextType both
Set Context with Target:X and ContextType:Y, It should throw validation error while setting.

Compatibility Test Cases:

Set the Context with v1.1.0 CLI (with setting only ContextType) , Get the Context with previous version of CLIs and it should contain correct Target
Set the Context with v1.1.0 CLI (with setting only Target),  Get the Context with previous version of CLIs and it should contain correct Target
Set the Context with v0.90 CLI (with Target),
Get the Context with v0.28, v0.90 version of CLI should return context with correct Target
Get the Context with v1.1.0 version of CLI should return context with correct Target and ContextType

Release note

Decouple the Target association with the Context object by introducing ContextType

The following APIs are marked as Deprecated:
- `SetCurrentContext` is deprecated. Use `SetActiveContext` instead
- `GetCurrentContext` is deprecated. Use `GetActiveContext` instead
- `RemoveCurrentContext` is deprecated. Use `RemoveActiveContext` instead
- `GetAllCurrentContextsMap` is deprecated. Use `GetAllActiveContextsMap` instead
- `GetAllCurrentContextsList` is deprecated. Use `GetAllActiveContextsList` instead
- `SyncPluginsForTarget` is deprecated. Use `SyncPluginsForContextType` instead

API Change:
- The `ClientConfig` API contains a notable datatype change of the `CurrentContext` field from `map[Target]string` to `map[ContextType]string`.
- If you are using the `CurrentContext` directly by processing the entire `ClientConfig` object some change might be required. However, we encourage teams to use fine-grained API `GetActiveContext` to get active context.

Additional information
Special notes for your reviewer

Rebased the PR on top of https://github.com/vmware-tanzu/tanzu-plugin-runtime/commit/6cabd029e112c67e941d6369a3b6cd12cd00f399 commit.

We can probably use a little more documentation (here or in TZC) to clarify the Context Type introduction.

We can probably use a little more documentation (here or in TZC) to clarify the Context Type introduction.

Yes agreed. I will be adding more documentation around the Context Type as part of the follow-up PR.


Warning: Setting up fake worker.

I get this error in console while I try to open a pdf file, local pdf files also. Warning: Setting up fake worker.
<DocViewer
                 pluginRenderers={DocViewerRenderers}

                 documents={[{ uri: require("C:/Users/username/Documents/app-web/src/components/test.pdf"), fileType: 'application/pdf' }]} />

anyone else have this issue ?

@Joshuajrodrigues Thanks for the reporting! Your error looks like its warning, not error. Am I right? Is rendering process working in your case despite the error?

@Joshuajrodrigues Thanks for the reporting! Your error looks like its warning, not error. Am I right? Is rendering process working in your case despite the error?

@cyntler naa. It doesn't render the pdf file. Odly enough the title of my pdf does get rendered. But the content it self says error. And in console. That warning.
Do note that I use this same configuration to render png and docx files. Which render fine. It's only pdf that gives error. And this was working a few days ago. So I'm not sure what's happening. There is no change in my code base

@Joshuajrodrigues Check the new v1.8.1 release of this library. I changed there the source of PDF worker js file.

@cyntler  Thanks a bunch, this seems to have fixed it !

@Joshuajrodrigues Nice!


feat: workflow support

#43 This will add the Workflow support

@Cliftonz request for review & merge

@mahendraHegde Can you look at this?


chamfer python only considers first element of batch

do we need [0] in the last line here?

Comes from an non retro-compatible update of pytorch i didn't track.
tensor.min() use to return a couple (values, index), now it only returns values. Hence the `[0] select first element of batch.


Minorfix1210

Coverage decreased (-20.7%) to 48.427% when pulling 981ab4ec9be027d40befae0c2ab50b82ded7f471 on minorfix1210 into f47a72ef232fd6ca63da74d1c1655b9ded8cbc72 on master.


ci/ipsec-upgrade: complete the switch to cilium-dbg

We're now downgrading to v1.15, which provides the cilium-dbg command.

/test


How does Etag being calculated ?

Hello guys,
I'm thinking about some workaround for sync issues between SCM templates and real Akamai property state. Let's say we have some update via Luna config manager, I would like to find the diff, update templates and recalculate the etag. If I don't update the etag I'll get "The provided Etag is not the latest". So the question is which algorithm, filds etc. are used to calculate it ? Perhaps any other ideas/approaches to handle sync issues ?
Thanks.

Hi
etag is computed from PAPI, and we are not able / willing to mention how etag is computed here.
Best I can say is that once you try and do a save when something is "out of sync" the error that comes back usually says something like "we were expecting etag X, but we have etag Y stored".  A quick solution  might be to update the etag in the envInfo file that you are changing to the expected etag.
Please use with caution.


Is there a way to set the labels?

I would like to create 10 points on the slider stepping by 1.  But I want the labels to show custom text for each of the 10 points.  Is this possible?

@rschlack were you able to do it?

I was able to do that.  Are you asking because you need the solution or were you offering help?

I'm looking for a solution

It's been a really long time since I looked at that project.  But it looks like I just used a UILabel to show the value.  My slider was a dollar amount filter.
`@IBOutlet weak var priceSlider: RangeSlider!
@IBOutlet weak var priceLabel: UILabel!
@IBAction func priceSliderValueChanged(_ slider: RangeSlider) {
self.low =  Int(slider.lowerValue)
self.high =  Int(slider.upperValue)
   self.SetPriceLabel(low: self.low, high: self.high)
}

func SetPriceLabel(low: Int, high: Int) {

    self.priceLabel.text = "$" + low.stringWithSeparator +  " to $" + high.stringWithSeparator
    if (high == 10000) {
        self.priceLabel.text = self.priceLabel.text! + "+"
    }
}`

Ok thank you for the help. Appreciate it!


React Dev Tools aren't enabled in dev mode

What version of Remix are you using?
1.6.4
Steps to Reproduce
Start remix dev and try to click on  React Dev Tools extension icon in the Chrome.
Expected Behavior
Working react Dev Tools.
Actual Behavior
React Dev tools isn't started and error "This page doesn’t appear to be using React." is shown instead. Does Remix can be used with React De Tools at all?

Works as expected for me.
Did you remove the <Scripts /> tag from your root.tsx file, or disabled javascript and forgot about it? 🤔

@machour yup, my bad, <Scripts /> was missed occasionally.


maintainers wanted!

i'm not currently doing any geo projects so I havent touched this in a while. if anyone wants to help maintain this let me know here with your github + npm username and i'll add you as a collaborator
cc @zeke @pwiecz

Doing this correctly, taking into consideration the great circles geometry
and so on, looks tricky.
At least I haven't seen a straightforward implementation in any language.
Implementing it correctly, cleanly and efficiently in JS and providing it
as a handy library will be big (unless it's already done in one of js geo
libraries I haven't yet looked at).
2015-12-02 2:35 GMT+01:00 maxogden<EMAIL_ADDRESS>
i'm not currently doing any geo projects so I havent touched this in a
while. if anyone wants to help maintain this let me know here with your
github + npm username and i'll add you as a collaborator
cc @zeke https://github.com/zeke @pwiecz https://github.com/pwiecz
—
Reply to this email directly or view it on GitHub
https://github.com/maxogden/geojson-js-utils/issues/29.

Not sure I have the chops for this one. :see_no_evil:
Maybe contributors @bonifaido or @Starefossen or @abernier are willing.

I am still doing a lot of geo projects at work, so we might be interested in helping out maintaining this library if needed.

On 2. des. 2015, at 03:27, Zeke Sikelianos<EMAIL_ADDRESS>wrote:
Not sure I have the chops for this one.
Maybe contributors @bonifaido or @Starefossen or @abernier are willing.
—
Reply to this email directly or view it on GitHub.

@maxogden happy to help out. I use this in leaflet-pip and could at least help with clearing out the current queue of PRs.


NVRInteractables sometimes lose all momentum when thrown

About 50% of the time my interactables don't throw correctly.  They either stop forward progress and drop by gravity, or they sometimes wildly bounce backwards.  They may even get a momentum boost forwards sometimes, but i can't tell if that is just my throw.
It seems to be enhanced by swinging my arm fast, sometimes... but it happens at slow and fast speeds.  I can't reliably reproduce it and it has been very hard to track down. It can happen when i 'let go' in the middle of an arm swing or at the end.  When i flick my wrist, or keep it locked. Has anyone else seen this issue?
Troubleshooting:
I tried (briefly) changing the layer of the thrown item to something that doesn't interact with the layer the controller is on.
I can't figure out the root cause of this one, please post if you have an idea!  I can post a video if that helps.

This is definitely performance based.  It is very much less a problem when i build the game, i see in consistently in the editor, but it is better when playing at 90 fps.
Maybe something with missing physics frames?

This should have been fixed when we switched to using OnNewPoses instead of fixedupdate. Are you seeing this in the most recent version of NewtonVR?

Joyous celebration that worked!  I thought i was tracking it well but i must have missed a version.  Thanks for your help.


Upload command uses storage API

Codecov Report

Merging #184 into dev will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #184      +/-   ##
==========================================
- Coverage   87.27%   87.23%   -0.04%
==========================================
  Files          15       15
  Lines        1045     1034      -11
==========================================
- Hits          912      902      -10
+ Misses        133      132       -1

Impacted Files
Coverage Δ

ssds/__init__.py
87.38% <100.00%> (-0.18%)
: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 cc693ee...17e1926. Read the comment docs.


[BUG] lombok.addLombokGeneratedAnnotation excludes annotated class

Describe the bug
The option lombok.addLombokGeneratedAnnotation with Jacoco also excludes the annotated class and not just the generated class when using @Builder.
To Reproduce

Create a simple POJO class and annotate with @Builder.
Write some unit tests for this class and use Jacoco for code coverage.
When executed, Jacoco picks up the generated builder class and shows zero code coverage, as expected.
Exclude the generated class by adding lombok.addLombokGeneratedAnnotation = true to the lombok.config file.
Now, Jacoco excludes the generated builder class, but also excludes the POJO class that I have written myself.

Expected behavior
The auto-generated build class should be excluded, but the class annotated with @Builder should not be excluded by Jacoco.
Version info (please complete the following information):

Lombok version: 1.18.8
Platform: Windows 7, Java 8, Gradle 5.4.1

Is this a lombok problem or a Jacoco problem?
Can you confirm that in the generated bytecode the lombok.Generated annotation is put on the outer class?
What happens if you compile a delombok version of your code and feed that to Jacoco?

No response from reporter, closing issue.


send amount input is lacking DCR suffix

See android for example of function.

@raedah  Please move this to in-progress on the board as there is a PR for it.


Edits: Create Custom Token

minor edits

https://github.com/nervosnetwork/docs.nervos.org/pull/232


[BUG] Unable to import language when bundled by Vite.

Information

Speed-highlight.js version: 1.1.11
Browser version: n/a

Description
Unable to import language either dynamically or directly when bundled by Vite.
Example
import asm from<EMAIL_ADDRESS>
const lang = await import(`./languages/${lang}.js`);

Expected behavior
Able to import without error.
Actual Behavior
Either, this when directly importing:
Missing "./dist/languages/log" specifier in "@speed-highlight/core" package

Or, this in the console when dynamically importing (which is done by tokenize when lang is of type string):
Loading module from “http://localhost:5173/node_modules/.vite/deps/languages/log.js” was blocked because of a disallowed MIME type (“”).

I managed to fix it using vite-plugin-dynamic-import with this config:
import { defineConfig } from 'vite';
import { resolve } from 'path';
import dts from 'vite-plugin-dts';
import dynamicImport from 'vite-plugin-dynamic-import';

// https://vitejs.dev/config/
export default defineConfig({
	build: {
		lib: {
			entry: resolve(__dirname, 'src/index.ts'),
			name: 'myPlugin',
			fileName: 'index'
		}
	},
	plugins: [
		dts(),
		dynamicImport({
			filter(id) {
				if (id.includes("@speed-highlight/core"))
					return true;
			}
		})
	]
});

this way this:
const lang = await import(`./languages/${lang}.js`);

is converted into this in the generated bundle:
function b(e) {
  switch (e) {
    case "./languages/asm":
    case "./languages/asm.js":
      return import("./asm-c2d0ef48.js");
    case "./languages/bash":
    case "./languages/bash.js":
      return import("./bash-c3851741.js");
    case "./languages/bf":
    case "./languages/bf.js":
    // And many more

And all the mentioned files are also present automatically.


Override Silent Mode / Device Volume Settings

I have some iOS users asking for the ability to override silent settings.  I have mixed feelings about this, but who am I to say they're wrong.
Is there a way, to override a silenced device (if the user so asks for this, my thinking would be to have a switch for them).  With android, you pretty much have this ability using priority alerts.
I did find this, so it seems that it would be possible.  My other thought would be to have some code when the push is received and play the sound in the callback.  The trick here would be to figure out that the device is silenced and we're not in the foreground and the user wants a silence override, then play the sound problematically.
I did find this too, so I guess it's possible:
http://stackoverflow.com/questions/3740528/play-sound-on-iphone-even-in-silent-mode

@ggiordan Notifications cannot override the ring/silent switch or the device’s Do Not Disturb setting. At best you can have the notification vibrate the phone which is referenced in #1509. The SO question you referenced would not work in this case as the OS does the audio playing when the push is received.

@macdonst, I get overriding the switch, what about when the device is DND? I may have been a bit unclear.  The SO article I reference seems to imply that it's possible.  Or are am I mixing apples and  oranges?

@ggiordan the SO article talks about when your app is in the foreground. If the app is in the background the OS is in charge of displaying the notification and playing the sounds so there is no way around AFAIK.
If you do figure out how it's done then send me a PR.

ok, sure thing, I'll play with it some.  My thinking is that if I can make use the content-available: 1 stuff (https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#background-notifications-1) then we've got 30 seconds to do something.  the key here i think is to know if the phone is DND, if that can be detected, then you know that you should play the sound (if the service has been requested).  Thoughts?