python311Packages.aiosmtplib: 3.0.0 -> 3.0.1

Diff: https://github.com/cole/aiosmtplib/compare/v3.0.0...v3.0.1
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 265327 at 3757febe run on aarch64-darwin 1

4 packages failed to build:

python310Packages.aiosmtplib
python310Packages.fastapi-mail
python311Packages.aiosmtplib
python311Packages.fastapi-mail

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

8 packages built:

python310Packages.aiosmtplib
python310Packages.aiosmtplib.dist
python310Packages.fastapi-mail
python310Packages.fastapi-mail.dist
python311Packages.aiosmtplib
python311Packages.aiosmtplib.dist
python311Packages.fastapi-mail
python311Packages.fastapi-mail.dist


Auto fill, changes the country code.

Hey!
So I ran into a problem where I start off by setting the default country based on the language the user is viewing my site on. In this case Danish (+45). It's a form with name, e-mail and phone.
When user starts typing their name, it often comes up with autofill, which a lot of users use. Then when chosen it changes the country code based on the first numbers in a phone number in the autofill. For example, I, have a phone number that that's with 60. Then it automatic changes the country to the country with dialCode 60.  Is it possible to somehow say it should only change if i choose it from the list?
Thanks!

Hi @Falkovic1993 did you find a solution for this?

Would love to see a fix here


DRILL-3983: Small test improvements

improve error message when SQL parsing error
add a simple test to Parquet writer
make errors verbose by default in tests

I would go against making errors verbose by default, unit tests are already printing tons of text and we have many negative tests that are expected to throw exceptions. If we enable verbose, those tests would print even more stuff.

@adeneche I'm all for removing verbose logging. In this case, it sounds like we should go after bad logging rather than removing information from errors.
Having "verbose errors" will actually enable less logging:
Currently the server side (drillbit) stack trace is lost when the exception goes through the RPC layer. Which means we rely on logging those errors on the server side to find the original stack trace.
the "verbose errors" setting will add the stacktrace in the exception message so that we get both the client and server side stacktrace from the client side exception. which would allow removing the server side logging in tests.
I think we should follow this general principle: If an exception is dealt with it should not be logged. Only exception that can not be dealt with should be logged as errors or warning depending on the effect.
A negative test would catch an exception and verify it. If logging happens at some layer bellow it, this sounds like it should be refactored.

I'm not talking about logging. Most Drill unit tests rely on PrintResultsListener that will print the query's output to the standard output or a SilentListener that won't print the results but still prints the exception's message to the standard output.
Even if you catch the exception in the unit test, the exception message is still printed to the standard output.

@adeneche Would you agree that changing those tests so that they don't print to standard output is the way to go? A test should print something only if the test is failing or logs are configured to show debug information.

definitely. Actually I opened DRILL-2950 just for that, but never got the time to work on it.

@adeneche So, to your original comment. My point is your suggestion in DRILL-2950 is the way to go and that the (possibly misleadingly named) "verbose errors" option is actually a good thing in tests as it provides the original stacktrace without requiring extra logging. Do you agree?

I agree. Once unit tests are no longer printing their output and their expected exceptions, having more details when a test fails, using "verbose errors", can definitely help

The verbose errors are super useful for debugging a failed test run. This is especially true in the context of a sporadic failure. I actually feel foolish for not having done this sooner. I don't think we should hold up this patch because too many tests are noisy. If that is important to someone, we should fix those. If merging this causes us to fix those sooner, then all the better.

+1 to the change. I agree that we should be working to get this cleaned up sooner rather than later and this helps in the meantime with debugging.

@adeneche Please see last commit. I made the output printing configurable so that it is less verbose in tests. https://github.com/apache/drill/commit/9b40f93122eb22055e9ebec287e5a5ebfa65a2fe

that's definitely a step in the right direction.

lgtm. +1. Will merge shortly.

For reference, final tally shows that full test output went from 5.9M to 2.4M with this change. Nice improvement.

Thanks!


Implement OAuth config

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Current dependencies on/for this PR:

master

PR #13918

PR #14184
PR #14137

PR #14120

PR #14247   👈
PR #14145
PR #14144
PR #14158
PR #14193
PR #14152
PR #14149
PR #14173

This comment was auto-generated by Graphite.


Put both carbon dates on the same format at the Observers deleted events

fixes #181

Nice, thanks. 👍


Settings editor details takes two Escapes to close

VSCode Version: 1.26 Insiders
OS Version: Windows 10

Steps to Reproduce:

Open New Settings editor and scroll done a description that has '...'
Click on the description to expand and show full description text.
Press Esc to close description

TOC selection moves to previous item in the TOC. Description is still expanded.

Press Esc again.

Now description panel is closed.

Now N/A since settings can't be selected anymore.


Response with null body status cannot have body

Your description here
Expected outcome
get patch successfully result
Actual outcome
got patch failed response
Versions
App: <IP_ADDRESS>-stable
Chrome: 47.0.2526.106
Platform: Linux (-)
Steps to reproduce

patch
get error:
"There was an error during the request
Failed to construct 'Response': Response with null body status cannot have body"
then can not patch again until change the submit data

Hi,
Thank you for an issue report.
It is already fixed in a hotfix branch and after some tests it will be released as hotfix.
As per this I'll close this issue.


[1.5.2] IC2 Geothermal generator

Redundant information in the tooltip:

Similar problem as before.
https://github.com/ThexXTURBOXx/BlockHelper/issues/11

Thank you very much for reporting this bug! I have fixed it and the fix will be available as part of the next update!

As promised, 1.2.0-pre2 has been published to my prerelease webspace and contains a proper fix for this issue, along with other fixes and additions


support usePreemptive for maven repositories requiring authentication

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Hello,
We use a provider (fury) for managing private packages in maven which requires the option usePreemptive to be true in the repository configuration. The provider documentation states:

The usePreemptive setting is required to authenticate into your private Maven repository. Without it, you will only be able to access your public packages.

As such dependabot is unable to help us update our private packages, only the public ones. It would be great if dependabot could support this option so we can use it to manage all of our packages, not just the public ones.
Thanks!

I have limited understanding about this topic, but after a quick search, it seems that this parameter is only needed if you use Maven directly
dependabot does not use maven directly (at least for now) and it just authenticates to the repositories like any other web client.
What happens when you configure the private registry  and set the values like to fury documentation expects? (user should be your token and password NOPASS)
registries:
  private_registry:
    type: maven-registry
    url: yourfuryregistry
    username: ${{secrets.FURY_TOKEN}}
    password: NOPASS


Feature/pulumi refresh

It's grand final long weekend so I don't expect a review and I need these changes tomorrow sometime. I checked the deep import paths after the NX updates and they all look fine.
Because they are additive changes I'm gonna proceed without review. Feel free to retrospectively review and ask for changes @matthewfleming @bennettp123


HTTP X headers

Is there a way to disable sending the X- headers to ControlD and NextDNS?
At least for the upstream servers where the free version is used. Sending these has no benefit for the users, since he cannot do any analytics on it and it would reduce the overhead.

Those headers are only sent to premium Control D and/or NextDNS upstreams, not all DNS endpoints. You don't need to do anything.


Should oras.Copy() follow manifests specified in the layers or the blobs field?

For manifests specified in the layers field of OCI Image manifests or the  blobs  field of OCI Artifact manifests,  should oras.Copy() treat them as leaf nodes or follow them to copy the sub-DAGs?

Scenario 1: Repository
Suppose there is such a DAG, where manifest B references manifest A as one of its layers, and manifest list C references A* (identical to A) as one of its manifests.
When copying this DAG to a remote repository, how should oras.Copy() handle manifest A and A*?
Doubtlessly, manifest A* should be treated as a non-leaf node and should be pushed to the repository via the manifest endpoint.
But how about manifest A? If it is treated as a leaf node, should it be pushed to the repository via the blob endpoint?

If so, manifest A and A* need to be pushed twice and may be stored separately in the blob storage and manifest storage in the remote repository.

If not, manifest A and A* will be pushed just once via the manifest endpoint. If manifest A is copied first, blob E won't get copied along with it and will never be copied, since manifest A* will be skipped for copy.

graph TD

A[Manifest A]
AS[Manifest A*]
B[Manifest B]
C[Manifest List C]
D[Manifest List D]
E[Blob E]

A -.-> E
AS --> E
B -- layers --> A
C -- manifests --> AS
D --> B
D --> C

Scenario 2: OCI Layout
Suppose there is such a DAG, where manifest A is referenced by manifest B as a layer and is referenced by manifest list C as a manifest.
When copying this DAG to an OCI layout, oras.Copy() will copy manifest A only once, whether or not it treats manifest A as a leaf node (to be copied along with manifest B), since OCI layout stores manifests and blobs in the same storage.
But if manifest A is copied as a leaf node along with manifest B and this happens before manifest list C is copied, blob E will never get copied.
graph TD

A[Manifest A]
B[Manifest B]
C[Manifest List C]
D[Manifest List D]
E[Blob E]

A --> E
B -- layers --> A
C -- manifests --> A
D --> B
D --> C

Scenario 3: Repository Double CASs
Suppose the below DAG is being copied to a remote repository, should manifest A be pushed via the manifest endpoint or via the blob endpoint? Or should it be pushed twice via both endpoints?
graph TD

A[Manifest A]
B[Manifest B]

B -- layers --> A
B -- subject --> A

Interestingly, the docker buildx build command generates build caches like this: Putting layers in the manifests field of an OCI image index.
When copying such structure to a remote repository, should oras.Copy() push these layers (specified as manifests) via the manifest endpoint or the blob endpoint? 🤔
{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1",
      "size": 32,
      "annotations": {
        "buildkit/createdat": "2023-01-13T07:49:09.921545067Z",
        "containerd.io/uncompressed": "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:d74d7d17ce90514c5eed8068791ab9b1d58f355a367c6a87bd3e0e1dc8113500",
      "size": 105,
      "annotations": {
        "buildkit/createdat": "2023-01-13T07:49:09.864832789Z",
        "containerd.io/uncompressed": "sha256:601bb128dc20e9b8a296510b1c840d58dfd7d596ae1396d52e886753423c052c"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139",
      "size": 2814559,
      "annotations": {
        "buildkit/createdat": "2023-01-13T07:48:28.219213701Z",
        "containerd.io/uncompressed": "sha256:4fc242d58285699eca05db3cc7c7122a2b8e014d9481f323bd9277baacfa0628"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:eb630b592770ba0b3982595e566c1027966cf6b9733c5fc1bf0794bf6bc2c9cd",
      "size": 3578366,
      "annotations": {
        "buildkit/createdat": "2023-01-13T07:49:09.693226029Z",
        "containerd.io/uncompressed": "sha256:3cb741a610a6253327467f4bb4e3de9397c36846b2407dc56992c04475ced968"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:ed0f0d4a18721d4dc5d5d8ffb7eaeb0df00ab5d1001bfa594419a1b8dd5ffc09",
      "size": 2581904,
      "annotations": {
        "buildkit/createdat": "2023-01-13T07:48:34.097896893Z",
        "containerd.io/uncompressed": "sha256:6d69e1b372ea8a2e13783b213f4cf108be422a05740625a209a054b48c9a76cd"
      }
    },
    {
      "mediaType": "application/vnd.buildkit.cacheconfig.v0",
      "digest": "sha256:f06f3ad8ce85bcc973c15a11f419e7601e74db8db0e7af8d05587d24d77ffc83",
      "size": 2407
    }
  ]
}

We may need to introduce a new method to return leaf successors and non-leaf successors separately, as a complement to content.Successors().
https://github.com/oras-project/oras-go/blob/76382aaa94873ad14fddacdbff0f5ed32f43c3aa/content/graph.go#L47-L106


Types have Masquerading as CJS problem because no types.d.mts files generated

What version of million are you using?
2.5.13
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?

What browser are you using?

Describe the Bug
When checking the types for million via https://arethetypeswrong.github.io/?p=million%402.5.13 Masquerading as CJS is raised as a problem.

What's the expected result?
Fix the types.
We probably need to generate types.d.mts and use it. Seems like this is supported in unbuild v2.0.0-rc.0.
Link to Minimal Reproducible Example

Participation

[ ] I am willing to submit a pull request for this issue.

This is a good first issue if anyone is interested - I don't have the perms to add labels.

I'd like to work on this @aidenybai. Can you guide me on how to resolve the issue a little ?

@itsajay1029 You should try setting the version of unbuild in package.json to 2.0.0-rc.0
It will likely print errors since the version set is 0.7.6

@pnodet Can you review the PR ?

What was I thinking...
@itsajay1029 First of all, I'm nor a contributor nor do I have the authority to review the PR.
I was simply offering advice when I came across this issue. Once you have installed the new version you need to run the build command and actually fix the errors. Not just upgrade the dependencies.

Getting this error while I am trying to build @pnodet

Fixed as of latest


AppSyncRealTimeClient Validation error of type MissingFieldArgument: Missing field argument owner @ 'onCreateTodo'

I'm trying to add some access control to the todo example. The plan is to limit access to one owner and multiple readers.
Describe the bug
When adding the following  auth rule
{ allow: owner, ownerField: "readers", operations: [read] }
the websocket seems to be stuck in an infinite loop and responds with the following error message over and over again:
2020-10-26 11:01:38.432822+0100 chat[5408:107810] Websocket write - {"id":"4F4F2C65-7591-4961-A195-9795E76643AB","payload":{"data":"{\"query\":\"subscription OnCreateTodo {\\n  onCreateTodo {\\n    id\\n    createdAt\\n    description\\n    name\\n    owner\\n    priority\\n    readers\\n    updatedAt\\n    __typename\\n    _version\\n    _deleted\\n    _lastChangedAt\\n  }\\n}\"}","extensions":{"authorization":{"Authorization":"eyJraWQiOiJMQUxNZktzb2pkQ2x6NDdSamNzSkZ0TnRpbkNnU3FjMlRcL0RhZGFpNEMxWT0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3YzZmOTQ5Ny1jN2ZiLTRlOTEtODk4Ni1iNGY4NzQwNzkwNWEiLCJldmVudF9pZCI6IjdjMmIwODk0LTA5YmMtNDNkNS1hMzNhLWRkNmMzODIwYWU1MCIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLCJhdXRoX3RpbWUiOjE2MDM2NjMxNTAsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbVwvZXUtY2VudHJhbC0xX1E4aldiVDFDVSIsImV4cCI6MTYwMzcxMDA4OCwiaWF0IjoxNjAzNzA2NDg4LCJqdGkiOiJiNmQ5NmUxZC02ZDczLTQ4YTAtYTRlYy03NzcyMzBiMGFjMGYiLCJjbGllbnRfaWQiOiIzZjN2bjZkMnFhcjg1ZXU0NXFybTVuZmkyZSIsInVzZXJuYW1lIjoiN2M2Zjk0OTctYzdmYi00ZTkxLTg5ODYtYjRmODc0MDc5MDVhIn0.xzJJFlGxgk6qZsPmRUc4mh-YilvSMpZLOjFpwm7pyvQaV_cj-b82LgwykGn0dSPSRzijZUMEpW1H4NVZ4G_LPku1CBNwyoDuxuDxugZbUXRniRUp6UcQTm3lcsJ3UO6b1ONvrTA7lm4qXFyJHhSOqkUsBx7AOsUmIVXyA9yiAdboA0Q1bORgj-YxU3MyKSwZFStOtAKVpUdFPN_2-EtkxtXeSgEiCL0YCeJebFZviKBqsws5dUMvV41zSVoEqL8AWexxPdRGMa9KQ-ip1Rw2wvaW7iSPw9lnErZqrrwiqPDM0jyl8EXYFcPX_672O5Ilu8mJo1s_1p6KQnlprocT9w","host":"11342134123412412334.appsync-api.eu-central-1.amazonaws.com"}}},"type":"start"}
2020-10-26 11:01:38.437493+0100 chat[5408:107794] WebsocketDidReceiveMessage - {"id":"5DEB4FC3-20DE-4443-97A2-C806052EF255","type":"error","payload":{"errors":[{"message":"Validation error of type MissingFieldArgument: Missing field argument owner @ 'onCreateTodo'"},{"message":"Validation error of type MissingFieldArgument: Missing field argument readers @ 'onCreateTodo'"}]}}

To Reproduce
Setup Amplify in AppDelegate:
        let models = AmplifyModels()
        let apiPlugin = AWSAPIPlugin(modelRegistration: models)
        let dataStorePlugin = AWSDataStorePlugin(modelRegistration: models)

        let authPlugin = AWSCognitoAuthPlugin()

        do {
            try Amplify.add(plugin: authPlugin)
            try Amplify.add(plugin: apiPlugin)
            try Amplify.add(plugin: dataStorePlugin)
            try Amplify.configure()

            print("Initialized Amplify");
        } catch {
            print("Could not initialize Amplify: \(error)")
        }

Use this Schema:
enum Priority {
    LOW
    NORMAL
    HIGH
}

type Todo @model
    @auth(rules: [
        { allow: owner },
        { allow: owner, ownerField: "readers", operations: [read] }
    ]) {
    id: ID!
    name: String!
    owner: String
    priority: Priority
    description: String
    readers: [String]
    createdAt: AWSDateTime
    updatedAt: AWSDateTime
}

run
amplify codegen models && amplify-app

Expected behavior
Access control that gets respected in subscriptions, queries and mutations.
Environment(please complete the following information):
Amplify CLI version: 4.30.0
Installed pods
PODS:
  - Amplify (1.4.0):
    - Amplify/Default (= 1.4.0)
  - Amplify/Default (1.4.0)
  - AmplifyPlugins/AWSAPIPlugin (1.4.0):
    - AppSyncRealTimeClient (~> 1.4.0)
    - AWSCore (~> 2.18.0)
    - AWSPluginsCore (= 1.4.0)
    - ReachabilitySwift (~> 5.0.0)
  - AmplifyPlugins/AWSCognitoAuthPlugin (1.4.0):
    - AWSAuthCore (~> 2.18.0)
    - AWSCognitoIdentityProvider (~> 2.18.0)
    - AWSCognitoIdentityProviderASF (~> 2.18.0)
    - AWSCore (~> 2.18.0)
    - AWSMobileClient (~> 2.18.0)
    - AWSPluginsCore (= 1.4.0)
  - AmplifyPlugins/AWSDataStorePlugin (1.4.0):
    - AWSCore (~> 2.18.0)
    - AWSPluginsCore (= 1.4.0)
    - SQLite.swift (~> 0.12.0)
  - AppSyncRealTimeClient (1.4.1):
    - Starscream (~> 3.1.0)
  - AWSAuthCore (2.18.0):
    - AWSCore (= 2.18.0)
  - AWSCognitoIdentityProvider (2.18.0):
    - AWSCognitoIdentityProviderASF (= 2.18.0)
    - AWSCore (= 2.18.0)
  - AWSCognitoIdentityProviderASF (2.18.0)
  - AWSCore (2.18.0)
  - AWSMobileClient (2.18.0):
    - AWSAuthCore (= 2.18.0)
    - AWSCognitoIdentityProvider (= 2.18.0)
    - AWSCognitoIdentityProviderASF (= 2.18.0)
    - AWSCore (= 2.18.0)
  - AWSPluginsCore (1.4.0):
    - Amplify (= 1.4.0)
    - AWSCore (~> 2.18.0)
    - AWSMobileClient (~> 2.18.0)
  - ReachabilitySwift (5.0.0)
  - SnapKit (5.0.1)
  - SQLite.swift (0.12.2):
    - SQLite.swift/standard (= 0.12.2)
  - SQLite.swift/standard (0.12.2)
  - Starscream (3.1.1)

Device Information (please complete the following information):
Any Device

Hi @mschonvogel ,
Thank you for reaching out to us regarding this issue.
Unfortunately supporting an array of owners with the @auth directive (as you have implemented by setting the ownerField to Readers) is not currently supported for subscriptions due to limitations in the AppSync service.  So at this point, this is considered a feature-request as I will be marking this ticket as such.
That being said, we can try to consider some workarounds.  One workaround which may work for you (please let us know), would be to use a group auth rule and static groups setup in Cognito User Pools.
For example:
type PostWithReaders
  @model
  @auth(rules: [{ allow: owner },
                { allow: groups, groups: ["Readers"], operations: [read]}
		]) {
    id: ID!
    title: String!
    owner: String
}

In terms of expected behavior, if we have two users in the user pool, and one static group called "Readers" with the following assumptions:
a.  bob is a user who does not belong to the Readers group
b.  alice is a user who belongs to the Readers group (this is configured in Cognito User Pools)
We should expect the following behavior:

bob should be able to query for only posts that have an owner set to bob, not alice
alice should be able to query for posts owned by alice or bob.  This is because alice belongs to the Readers group.
alice should be able to receive real time updates made by alice or bob.  This is because alice belongs to the Readers group.
bob should be able to receive real time updates by only "bob", not "alice".  This is because bob does not belong to the Readers group

Hope this helps.  If not, please let us know more about your use case (and any other constraints) and we can try to brainstorm some other workarounds.

Thanks for your detailed answer @wooj2
My use case is a kind of WhatsApp group chat, so static groups are not really an option for me.
Can I hook in with a lambda function and somehow control which subscriber gets notified?
Or can I read these static groups dynamically from a field? (And create one group per chatroom?)
Or is there any other way to implement this?

I'm still curious about what's the recommended way to achieve this @wooj2

Hi @mschonvogel
Sorry for the delay, and thanks for the ping.  I've chatted with a few people on the team and unfortunately this is not something that is easily supported in datastore due to limitations on the AppSync service side.  For the time being, we are considering this as a feature request.
You might be able to accomplish this by using the Amplify API category directly by manually crafting GraphQL subscription documents to get updates on the data you are looking for, but this probably isn't what you're looking for since I would guess that you are interested in the offline capabilities that DataStore provides.
Best of luck!

Hi, This is the same thing I was trying today.
I see this feature request is closed.
So does this it is not going to happen or can we expect this to work after a few months?
If this feature is released, it will be great.
Thanks


@type on http(s) import

Suggestion

/**
 * @type {import('chai')}
 */
import { expect } from 'https://cdn.skypack.dev/chai'

Sugar for
// @ts-ignore
import { expect as _expect } from 'https://cdn.skypack.dev/chai'
/**
 * @type {import('chai')['expect']}
 */
const expect = _expect

🔍 Search Terms

jsdoc @type http loader ESM skypack .d.ts
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

Alternatively, maybe let tsconfig.compilerOptions.paths accept RegExp
📃 Motivating Example

💻 Use Cases

You can add typing to a module via declare module. Create .d.ts file with this:
declare module "https://cdn.skypack.dev/chai" {
  import chai from "chai";
  export = chai;
}

and you will get the same result you want

Yeah, working. 😄
Not very graceful, but I'm ok to close.


Logon with Sentry, requests Auth Code

Hello!
I'm getting the Sentry file from the 'steam' module. When I try to logon using this module, I set the sentry file and it still requests me to input the Steam Guard code. Here's how I'm getting the sentry from Steam.SteamUser:
function MakeSha(bytes) {
    var hash = crypto.createHash('sha1');
    hash.update(bytes);
    return hash.digest();
}

this.steamClientUser.on('updateMachineAuth', (sentry, cb) => {
	fs.writeFileSync(/* path */, sentry.bytes);

       // Method which uses steam-user module
	this.loginWithSentry();

  	cb({
  		sha_file: MakeSha(sentry.bytes)
  	});

    this.steamClient.disconnect();
});

And here, how I set the sentry, reading from the file that was written in the above code.
let sentryFile = fs.readFileSync((/* path */));

this.steamUser.setSentry(sentryFile);

this.steamUser.logOn({
    accountName: this.username,
    password: this.password
});

This should be posted on the forum. How big is the file? It should be 2 KB exactly.

Oops, sorry for my mistake.
And the file is actually 1KB. When I look into older sentry files of other accounts, they are 2KB. Not sure why this is happening.


[Task]: Layout Design (Floor2)

Rubric Criteria

[ ] Gameplay
[ ] Graphics
[X] Design
[ ] User Experience
[ ] Scripting
[ ] Sound
[ ] Quality
[ ] Process

Briefly, what are you going to work on?
Second level grayboxing and some prop storyboarding/concept art.
Provide at least one example of a similiar element in another game.
Slenderman Sanatorium level design but not so scary and is a library.
https://www.indiedb.com/games/slendermans-shadow/downloads/sanatorium-v14
What is needed to implement the task?
To model the basic layout of the second level using 3D shapes.
What is the biggest risk it will not get done?
That I switch to prop design for some reason.
How do I know it is ready? (Test case)
That it is not bugging or glitching or exploding, and is a completely stable model/layout to tread through. There would be an image available.

https://github.com/rowanspain/Level2_RSpain.git

https://github.com/MULT154/GameProjectTemplate/assets/125788793/2ae6b2c6-b25b-434f-8043-1c016466ce3a

For what you need to implement a few more details, Unity Editor, which 3D shapes, the ones within Unity or something else?
For the risk analysis lets keep it to the task we are describing, even though what you suggested could be a bigger risk.


1 hit kill?

Sometimes Peeps joined , and start duel,
A person hit B person then B person won , even he doesnt hit anyone. And its 1 hit kill...
Im using ImagicalMine, is that related?

that's not related to this plugin

Wow I don't know what is that. I think it's something from ImaginalCorp because I've changed anything about the hits or something like that... I'll search but I promise nothing.

im pretty sure its 1v1 prob, cus only start a duel will happen this... o.0

I am using an older version of ImagicalMine and there it works!
I think its because of setHealth does not work correctly!

I don't think, its a problem with ImagicalMine, as we haven't changed it that much! xD

You have completely messed up the Damage/Death system!
And its an known bug that setHealth doesn't seem to work correctly!

Yeah. That's what i want to say. When i join 1vs1 and my lfe is not full.

its decrease when the battle start
when i won im gonna die and i cant click respawn
when i get hit and i won my life isnt full.

Okay I think robske is right. PocketMine do not have all the ImaginalMine possibilities for now.

Yes both have problems with the respawn screen and with the health management IM has messed it up and then fixed it so it's fixed there but messed up. In pocketmine IDK...

PocketMine is very incomplete and ImaginaMine is building by the community so both have their bugs. So both are bugged but ImaginalMine is better. It's why sometimes there is some bugs with my plugins because I started to develop it on PocketMine and now I have to pass on ImaginalMine.

I think, you should develop plugin based of ImagicalMine :)

What? ImagicalMine has changed nothing in the API, only added Hunger and XP
@minifixio Please check out my pull request


Is there wakatime like dashboard which shows weekly graph?

On original wakatime, it has couple of charts like this

Does wakapi.dev have something like this or is there a way to turn it on?

Duplicate of #157, #338.
Will hopefully get to implementing this soon! I'm planning a Wakapi deep work session some time soon.


DS-3110 DSpace itemupdate does not read local schemas (only dublin_core.xml)

https://jira.duraspace.org/browse/DS-3110

+1 via code review. Looks good.

+1 via code review


ipairs does not give types to the loop variables

With pairs:

With ipairs:

You can see how s_TargetPosition and l_EnemySpawnPoint don't have the correct type if you use ipairs

Nevermind, this issue is not valid, the indeces are strings


Changed the layout of the NavBar and DiagnosticContainer

Sorry I am late to the party but what can I say!

Looks good. I can merge if you add me as a reviewer.


i20 Pack away derived classes of IEnvironmentVariablePath

Resolve #20

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #21   +/-   ##
======================================
  Coverage    98.7%   98.7%
======================================
  Files          12      12
  Lines         154     154
======================================
  Hits          152     152
  Misses          2       2

Impacted Files
Coverage Δ

...rc/PathEditor.UnitTests/MainWindowViewModelTest.cs
100% <ø> (ø)
:arrow_up:

src/PathEditor.Core/MainWindowViewModel.cs
100% <ø> (ø)
:arrow_up:

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 72cbe23...30f2e10. Read the comment docs.


release workerInfoList when a job completes

What changes are proposed in this pull request?
Release a chunk of memory when the job finishes
Why are the changes needed?
To help alleviate #13907
Does this PR introduce any user facing changes?
No

Codecov Report

Merging #13908 (288a30a) into master (4ec7832) will decrease coverage by 12.84%.
The diff coverage is 75.00%.

@@              Coverage Diff              @@
##             master   #13908       +/-   ##
=============================================
- Coverage     43.58%   30.73%   -12.85%
+ Complexity     9151     5859     -3292
=============================================
  Files          1395     1395
  Lines         81161    81165        +4
  Branches       9873     9874        +1
=============================================
- Hits          35371    24949    -10422
- Misses        42848    54122    +11274
+ Partials       2942     2094      -848

Impacted Files
Coverage Δ

.../java/alluxio/master/job/plan/PlanCoordinator.java
73.75% <75.00%> (+0.03%)
:arrow_up:

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockWriter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 401 more

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 4ec7832...288a30a. Read the comment docs.

Error: 3.401 [ERROR] High: Inconsistent synchronization of alluxio.master.job.plan.PlanCoordinator.mWorkersInfoList; locked 75% of time [alluxio.master.job.plan.PlanCoordinator, alluxio.master.job.plan.PlanCoordinator, alluxio.master.job.plan.PlanCoordinator, alluxio.master.job.plan.PlanCoordinator] Unsynchronized access at PlanCoordinator.java:[line 174]Synchronized access at PlanCoordinator.java:[line 204]Synchronized access at PlanCoordinator.java:[line 158]Synchronized access at PlanCoordinator.java:[line 118] IS2_INCONSISTENT_SYNC
@yuzhu please take a look at the findbugs issue

alluxio-bot, merge this please


USER STORY: Expenses Form

User Story

Metadata
Description

Theme
Budget app

Epic
Collaborative budget

User Story
Enter user's expenses

Story Points
-

Description
As a User ,I want add my expense(s), So that the website can calculate the plan for my goal.
Acceptance Criteria

to have a form where the user can insert his expense details, form fields:

expense title - string - required
amount - float - required
how frequent(in months) - int - optional (default is once a month)
date - date - optional (default is the first of the month)
details - text - optional

the form should be reachable from the homepage.
the form should have input validation
the form should show hints
There is an option to add more than one expense

Tasks

[x] Create UI, that shows the income form.
[ ] Add validation
[ ] Add Hints
[ ] submit the form to the backend

I have done the UI in #57 and #58.

This works as expected and we're using the in-build validation. @JesseRoss001 Does anything else need to be done on this one?


chore: forward-port leanprover-community/mathlib#18408

This file was useless

Thanks! :tada:
bors merge


Release Automation Meta Issue

We're trying to find ways to reduce the amount of manual work that a release requires. This currently includes

[x] https://github.com/microsoft/TypeScript/issues/36863
[ ] https://github.com/microsoft/TypeScript/issues/36864
[ ] https://github.com/microsoft/TypeScript/issues/34818

More may be added to this list over time

It doesn't look like we deploy the main npm packages through automation, but I think I can make it so publishing a new release could trigger a build for the playground (via the same mechanism we do PR deploys)


How to write mutation in Schema Defition Language

Hi, absolutely loving this code.
Being new to graphql and objection in general I’m struggling to sort out a way to write my mutations in Schema Defition Language. I’ve tried using the graphql-tools library but can’t get it to output schema without including the type defs.
Anyone found a way to use SDL with this library?

Hi @nasushkov , do you perhaps have an example of how to access the models defined by build(), inside of a mutation? I don't see them available in the context of the mutation. The example given in the docs just returns a static result

@Trellian a bit late to the punch here but I was playing around with this today and discovered you can call getType on the built schema and use what comes back in your mutation.  It seems that build is immutable (although adding models to the builder is not, which is a bit confusing) so you can call build before creating your mutation schemas, call extendWithMutations next, and then call build again at the end.
Here's an example:
const schema = schema.model(Person);

const graphQlSchema = schema.build();

const updatePersonType = new GraphQLInputObjectType({
	name: 'PersonInputType',
	description: 'Schema for updating a Person',
	fields: () => ({
		id: {
			type: new GraphQLNonNull(GraphQLInt),
			description: 'Unique ID',
		},
		name: {
			type: new GraphQLNonNull(GraphQLString),
			description: 'Name',
		},
	}),
});

const mutationType = new GraphQLObjectType({
	name: 'RootMutationType',
	description: 'Domain API actions',
	fields: () => ({
		updatePerson: {
			description: 'Updates a person',
			type: graphQlSchema.getType('Persons'),
			args: {
				input: { type: new GraphQLNonNull(updatePersonType) },
			},
			resolve: async (root, userData) => {
                const { id, name } = userData.input;

                return await Person.query().findById(id).patch({ name }).returning('*');
			},
		},
	}),
});

const finalSchema = schema.extendWithMutation(mutationType).build();


Current forced small row height in Flat Data Grid obscures underscores and descender parts of text

The current line height obscures important textual information (underscores). This is vital for applications where data contains underscores, e.g. XML based data formats.
Using your examples one can see that the part of the text falling under the baseline is now invisible, see note field, e.g. _untitled_19:

Please consider adding:
.github-octo-flat-ui {
  line-height: 1.0 !important;
}

Result:

@entact-vhorvath yes, I did not notice when it I reduced row height to display more rows. Will reduce the default font use in the next update to patch this.

Perhaps it would be useful to give users the option to change this setting via the VSCode settings interface. Could be a few profiles that would allow users to pick from font sizes and packing of the rows (line heights), or a direct mapping between CSS values, whatever better fits the purpose. This extension might be combined with others and it is hard to inject a CSS rule from the outside, config seems to be a better way where you also can sanitize input.


New HTTP/2 currency types.

Motivation:
As discussed in our HTTP/2 types manifesto, it is helpful to run more
metadata through the HTTP/2 pipeline. This makes it easier to write
ChannelHandlers that fully participate in the HTTP/2 state machine
while avoiding needing to too tightly couple the handlers.
Modifications:

Added new HTTP/2 pipeline data types.
Removed HTTP2Frame.FrameFlags, moved flags into relevant payloads.

Result:
Right now, not much. All tests pass with new payload types. The full
data path rewrite will follow in a separate patch, as this one is large
enough.

Ok, ready for re-review.


Implemented Validation for .tar.gz pypi source package

Pull Request Description
This pull request closes #
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[x] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

@strongbox/core-developers : Please review this PR.
.tar.gz package can have - in its name. Current code is splitting artifactName on - to extract distribution/package name which is not correct.


[Rebranch] Disabling driver-time-compilation test

This test is pretty brittle on such a short file. If a member of the
timer output is zero, that member is omitted from the output. With how
short the file is, various fields come back zero occasionally.
On the Linux CI bot, there was a run with no "System Time", while I was
seeing it failing locally due to other missing time fields.

@swift-ci please test

Still expecting failures on Linux from
IRGen/ELF-remove-autolink-section.swift
stdlib/symbol-visibility-linux.test-sh

Build failed
Swift Test Linux Platform
Git Sha - 656a91777a7da0ceee3a07bf6c2bd2c0a5465e2f

Build failed
Swift Test OS X Platform
Git Sha - 656a91777a7da0ceee3a07bf6c2bd2c0a5465e2f


Container cannot be connected to network endpoints

Describe the bug
I'm trying to migrate, and I opened OrbStack immediately after install and clicked the menu option to migrate from Docker. It looked like it was working, then I got a dialog window with a bunch of errors. I then tried the migration via CLI and here is the output. I tried rebooting my machine (Intel MBP), and re-ran the command and still got the errors.
To Reproduce
Fresh install
File > Migrate Docker Data or run orb migrate docker -f
Expected behavior
That it migrates without errors
Diagnostic report (required)
orb migrate docker -f
INFO[0000] Starting Docker Desktop
INFO[0000] Gathering info
INFO[0000]                                               progress=2.083333333333333
INFO[0001] Migration started                             started=true
INFO[0001] Migrating image traefik:v2.10-built
INFO[0001] Migrating image ddev/ddev-dbserver-mariadb-10.5:v1.22.0-ee-dev7-built
INFO[0001] Migrating image ddev/ddev-webserver:v1.22.0-ee-dev7-built
INFO[0001] Migrating image ddev/ddev-webserver:v1.22.0-hjexchange-built
INFO[0001] Migrating image ddev/ddev-dbserver-mariadb-10.5:v1.22.0-hjexchange-built
INFO[0003]                                               progress=4.166666666666666
INFO[0003] Migrating image ddev/ddev-webserver:v1.22.0-boldminded-built
INFO[0012]                                               progress=6.25
INFO[0012] Migrating image ddev/ddev-dbserver-mariadb-10.4:v1.22.0-boldminded-built
INFO[0012]                                               progress=8.333333333333332
INFO[0012] Migrating image ddev/ddev-ssh-agent:v1.22.0-built
INFO[0015]                                               progress=10.416666666666668
INFO[0015] Migrating image drud/ddev-webserver:v1.21.5-boldminded-built
INFO[0022]                                               progress=12.5
INFO[0022] Migrating image drud/ddev-webserver:v1.21.5-ee-dev7-built
INFO[0033]                                               progress=14.583333333333334
INFO[0033] Migrating image drud/ddev-dbserver-mariadb-10.4:v1.21.5-boldminded-built
INFO[0040]                                               progress=16.666666666666664
INFO[0040] Migrating image drud/ddev-dbserver-mariadb-10.4:v1.21.5-fabric-studio-built
INFO[0040]                                               progress=18.75
INFO[0040] Migrating image drud/ddev-webserver:v1.21.5-fabric-studio-built
INFO[0054]                                               progress=20.833333333333336
INFO[0054] Migrating image drud/ddev-webserver:v1.21.5-hjexchange-built
INFO[0054]                                               progress=22.916666666666664
INFO[0054] Migrating image drud/ddev-dbserver-mariadb-10.5:v1.21.5-hjexchange-built
INFO[0054]                                               progress=25
INFO[0054] Migrating image drud/ddev-dbserver-mysql-8.0:v1.21.5-ee-dev7-built
INFO[0054]                                               progress=27.083333333333332
INFO[0054] Migrating image drud/ddev-ssh-agent:v1.21.5-built
INFO[0058]                                               progress=29.166666666666668
INFO[0058] Migrating image redis:6
INFO[0061]                                               progress=31.25
INFO[0061] Migrating image drud/ddev-router:v1.21.5-built
INFO[0068]                                               progress=33.33333333333333
INFO[0068] Migrating volume ee-dev7-mariadb
INFO[0069]                                               progress=35.41666666666667
INFO[0069] Migrating volume 6cbdfd48dfe29098510157eded7cf357adfb752e822066f7ce8fe5655ca23fd9
INFO[0069]                                               progress=37.5
INFO[0069] Migrating volume hjexchange-postgres
INFO[0069]                                               progress=39.58333333333333
INFO[0069] Migrating volume ddev-ssh-agent_dot_ssh
INFO[0069]                                               progress=41.66666666666667
INFO[0069] Migrating volume ddev-boldminded-snapshots
INFO[0069]                                               progress=43.75
INFO[0069] Migrating volume ddev-ssh-agent_socket_dir
INFO[0069]                                               progress=45.83333333333333
INFO[0069] Migrating volume boldminded-mariadb
INFO[0070]                                               progress=47.91666666666667
INFO[0070] Migrating volume boldminded_project_mutagen
INFO[0071]                                               progress=50
INFO[0071] Migrating volume fabric-studio-mariadb
INFO[0073]                                               progress=52.083333333333336
INFO[0073] Migrating volume hjexchange-mariadb
INFO[0075]                                               progress=54.166666666666664
INFO[0075] Migrating volume hjexchange_project_mutagen
INFO[0075]                                               progress=56.25
INFO[0075] Migrating volume ddev-ee-dev7-snapshots
INFO[0075]                                               progress=58.333333333333336
INFO[0075] Migrating volume ddev-global-cache
INFO[0078]                                               progress=60.416666666666664
INFO[0078] Migrating volume ee-dev7-postgres
INFO[0078]                                               progress=62.5
INFO[0078] Migrating volume ee-dev7_project_mutagen
INFO[0079]                                               progress=64.58333333333334
INFO[0079] Migrating volume boldminded-postgres
INFO[0079]                                               progress=66.66666666666666
INFO[0079] Migrating volume ddev-hjexchange-snapshots
INFO[0079]                                               progress=68.75
INFO[0079] Migrating volume fabric-studio-postgres
INFO[0080]                                               progress=70.83333333333334
INFO[0080] Migrating network ddev-ee-dev7_default
INFO[0080]                                               progress=72.91666666666666
ERRO[0080] network ddev-ee-dev7_default: create network: [Docker] network with name ddev-ee-dev7_default already exists
INFO[0080] Migrating network ddev-hjexchange_default
INFO[0080]                                               progress=75
ERRO[0080] network ddev-hjexchange_default: create network: [Docker] network with name ddev-hjexchange_default already exists
INFO[0080] Migrating network ddev_default
INFO[0080]                                               progress=77.08333333333334
ERRO[0080] network ddev_default: create network: [Docker] network with name ddev_default already exists
INFO[0080]                                               progress=79.16666666666666
INFO[0085]                                               progress=81.25
INFO[0110]                                               progress=83.33333333333334
INFO[0135]                                               progress=85.41666666666666
INFO[0135] Migrating container /ddev-router
INFO[0135]                                               progress=87.5
ERRO[0135] container /ddev-router: create container: [Docker] Conflict. The container name "/ddev-router" is already in use by container "e87253bac0a372f072a08c9e18b39eb55124750aa305b90972d8456e25d0d9b7". You have to remove (or rename) that container to be able to reuse that name.
INFO[0135] Migrating container /ddev-ee-dev7-db
INFO[0135]                                               progress=89.58333333333334
ERRO[0135] container /ddev-ee-dev7-db: create container: [Docker] Container cannot be connected to network endpoints: ddev_default, ddev-ee-dev7_default
INFO[0135] Migrating container /ddev-ssh-agent
INFO[0135]                                               progress=91.66666666666666
ERRO[0135] container /ddev-ssh-agent: create container: [Docker] Conflict. The container name "/ddev-ssh-agent" is already in use by container "d8ec4c3a52dfa159beb432e5872b5ca8c7acb8fc66aac596cdc82678bd47b251". You have to remove (or rename) that container to be able to reuse that name.
INFO[0135] Migrating container /ddev-ee-dev7-redis
INFO[0135]                                               progress=93.75
ERRO[0135] container /ddev-ee-dev7-redis: create container: [Docker] Container cannot be connected to network endpoints: ddev-ee-dev7_default, ddev_default
INFO[0135] Migrating container /ddev-ee-dev7-web
INFO[0135]                                               progress=95.83333333333334
ERRO[0135] container /ddev-ee-dev7-web: create container: [Docker] Container cannot be connected to network endpoints: ddev-ee-dev7_default, ddev_default
INFO[0135] Migrating container /ddev-hjexchange-web
INFO[0135]                                               progress=97.91666666666666
ERRO[0135] container /ddev-hjexchange-web: create container: [Docker] Container cannot be connected to network endpoints: ddev-hjexchange_default, ddev_default
INFO[0135] Migrating container /ddev-hjexchange-db
INFO[0135]                                               progress=100
ERRO[0135] container /ddev-hjexchange-db: create container: [Docker] Container cannot be connected to network endpoints: ddev-hjexchange_default, ddev_default
some data failed to migrate: network ddev-ee-dev7_default: create network: [Docker] network with name ddev-ee-dev7_default already exists
network ddev-hjexchange_default: create network: [Docker] network with name ddev-hjexchange_default already exists
network ddev_default: create network: [Docker] network with name ddev_default already exists
container /ddev-router: create container: [Docker] Conflict. The container name "/ddev-router" is already in use by container "e87253bac0a372f072a08c9e18b39eb55124750aa305b90972d8456e25d0d9b7". You have to remove (or rename) that container to be able to reuse that name.
container /ddev-ee-dev7-db: create container: [Docker] Container cannot be connected to network endpoints: ddev_default, ddev-ee-dev7_default
container /ddev-ssh-agent: create container: [Docker] Conflict. The container name "/ddev-ssh-agent" is already in use by container "d8ec4c3a52dfa159beb432e5872b5ca8c7acb8fc66aac596cdc82678bd47b251". You have to remove (or rename) that container to be able to reuse that name.
container /ddev-ee-dev7-redis: create container: [Docker] Container cannot be connected to network endpoints: ddev-ee-dev7_default, ddev_default
container /ddev-ee-dev7-web: create container: [Docker] Container cannot be connected to network endpoints: ddev-ee-dev7_default, ddev_default
container /ddev-hjexchange-web: create container: [Docker] Container cannot be connected to network endpoints: ddev-hjexchange_default, ddev_default
container /ddev-hjexchange-db: create container: [Docker] Container cannot be connected to network endpoints: ddev-hjexchange_default, ddev_default

Screenshots and additional context (optional)
No response

Can you reset OrbStack data (Settings -> Storage) and share the new CLI output? I think the errors may be different.

That says all containers, images, and volumes will be permanently lost. Does that mean it's removing associations from OrbStack, or actually deleting those files and I can't go back to them Docker? (I don't want to have to rebuild these environments if I don't have to).

OrbStack and Docker Desktop store data in different places so they're different copies, not "associations".

Ok, deleted the data and re-ran the command. Seemed better but still got several of these at the end, not even sure what it means. I don't have any containers running.
create container: [Docker] Container cannot be connected to network endpoints: ddev-xxxxxxx_default, ddev_default

Fixed for the next version.

Released in v1.0.1.

Thanks, Danny. That did the trick!


Leaflet.FileLayer (demo) doesn't work for geojson files

Hello,
I have realized that the demo, http://makinacorpus.github.io/Leaflet.FileLayer/index.html, doesn't work for geojson files, but for kml files.
ps. I would appreciate it if you could put some sample files in the Leaflet.FileLayer directory.

#32 was merged, I close this issue.


Check if a key exists

A new function to check whether a generated key is already being used or not based on a certain array of used keys.

Need help with two parts of this function:
First:
This is the function to generate unique keys I'm working on:
$existing_keys = $this->existing_keys;
$generated_key = $this->generate();
while (in_array($generated_key, $existing_keys)) {
      $generated_key = $this->generate();
}
return $generated_key;

We need some way to check that all available keys have been tested, or else the code will run the "while" infinitely until the system returns some timeout error.
Second:
What is the best way to return an error in a PHP package? Practical examples are welcome.


Unsupported browser error

Hi, I am getting an error of unsupported browser while I'm opens a url. Please see attached screen shot. Can you please please provide solution to overcome this problem which I am facing?
Please see attached screen shot.
"react-native-webview": "5.8.0"
"react": "16.8.3"
"react-native": "0.59.10"
"node": 12.5.0
"npm":  6.9.0

@imownbey @alloy @tijs @jermaine @gnprice

This looks like an issue with the web application at the URL you are trying to reach throwing up a modal screen with this warning, rather than with the webview itself.
Either update the web application, if you have control over it, or see if changing the webview’s User-Agent to that of a supported browser bypasses the warning (although there’s no guarantee the web application will actually work well) https://github.com/react-native-community/react-native-webview/blob/v9.0.2/docs/Reference.md#useragent
PS: Please don’t @ mention random people when filing issues 🙏


freshrss: init at 1.20.0, tests and module

Description of changes

All credits go to @etu for starting this PR in #133035! Sadly I was to incompetent to append my changes to your PR. In the end I got frustrated and simply copied the test over, ...
I tested it using the SQLite. So the other Databases are implemented blindly.
The difference between #133035 and this is the separating of the data-folder using the env-var FRESHRSS_DATA_PATH.
The module tests are not yet adjusted, but might work since @etu already did some testing.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

ping @aanderse who did #77354

any idea, why the manual is not building?

any additional things that need to be done before merging? Can somebody please approve this PR?

error: The option nodes.machine.services.freshrss.baseUrl' is used but not defined.` when running the nixos test

@Lassulus please review again.

The greader API is not working for me. Mobile apps and newsboat fail to connect to it.
In the myserver.xxx/api page it shows the API address as myserver.xxx/api/api/greader.php (with /api/ repeated), and reports the configuration test as FAIL. Going manually to myserver/xxx/api/greader.php ghough reports "OK".
It might very well be just my ignorant self setting it up wrongly

@pakaca I can confirm, that it shows:
Google Reader compatible API

Your API address:
    https://news.buehler.rocks/api/greader.php
Google Reader API configuration test:
    ❌ OK

so i guess this does not work correctly.
could you please open an issue for this.

Ah, ok. You don't get the doublu api/api/greader.php though, so I must have some additional config error.
I'll open the issue.


adding Solidity to metadata

Description:
Adding Solidity to MetaData.scala.
Why I need this:
I am creating a frontend for Solidity in Joern ,https://github.com/joernio/joern/tree/solidity2cpg, and I am creating queries to find vulnerabilities, and I would like to add Solidity to io.shiftleft.codepropertygraph.generated.Languages, to use Joern-scan with this new frontend.
Example usage:
./Joern-scan <PathToSolidityCode>

@ursachec thanks! I added the change so hopefully that should work

it did! looks good & :shipit:


Update RestfulServer.java

I believe that in line 538 you are falsely assuming that multiple _* parts in the path could not happen. As of DSTU2 there's _meta/_delete. Unfortunately the DSTU for Comment erroneously lists _meta-delete.

[Jenkins Automated Message] Should I test this patch?

It is just a comment that says "FIXME + text". Testing unnecessary


get "TIMEOUT" when testing with cassandra?

my code is easy:

exports.testCassandra = function(test, assert) {
var cql = require('node-cassandra-cql');
var client = new cql.Client({hosts: ['<IP_ADDRESS>:9042'], keyspace: 'schema1'});
client.execute('SELECT user_id, email FROM users WHERE user_id=?', ['baby'] ,function(err, result) {
// baby's email is<EMAIL_ADDRESS>  in  cassandra ;
<EMAIL_ADDRESS>result.rows[0].email);
});
test.finish();
};

when i run " whiskey -t testCassandra.js", display "OK "  but "TIMEOUT".
Is there anything wrong  with my configuration or my test case?

Couple of things.

You get a timeout because you never close a connection to cassandra. You should do this inside the execute callback.
You should also move test.finish inside the execute callback.

Thanks a lot  !

No problem.


Function Request - Paper Wallet

Add a 'print paper wallet' option to the fullnode wallet.

The user should write down the seed words. Perhaps this is another project not on the wallet?

Yes, you are completely correct, closing this.


Remove unnecessary else clauses

We will not be encouraging one liner changes as this is expensive process, thank you for your interest.
CC @mihaimaruseac @chanshah

Ideally, you would be doing this for all occurrences of this pattern, at least in this file.
Given that we spend many CPU/GPU hours on every CL, doing so for just one minor fix at a time is too wasteful.


Implement blocking APIs

We want embassy drivers to be usable with both the async embassy-traits and the blocking embedded_hal::blocking traits.
Reasons:

compatibility with the existing ecosystem of drivers.
Better code size / cpu usage if you know you're doing a very short operation. For example, for an SPI Ethernet chip you could do async for packet transfers, but blocking for the very short register accesses.

I asked about the signature for the hal traits for SPI, and it was suggested that we might need to use our own functions rather than implement the trait, as the signature might not fit.
firefrommoonlight
If you're unable to resolve this, consider implementing your transfer without the EH trait, and impl the trait only for non-DMA. EH is suitable for general use cases, but may not apply here
For example, my primary Usart read API is not implementable in EH, and that's fine.

After some more chat, it seems I misunderstood the data sheet, and on nrf the input and output DMA buffers are allowed to coincide. In this case it's possible to just implement the traits.

This is mostly done nowadays, please file issues for particular missing blocking impls.


Further clarify Databricks execution doc page

Codecov Report

Merging #43 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #43   +/-   ##
=======================================
  Coverage   77.04%   77.04%
=======================================
  Files          44       44
  Lines        2540     2540
=======================================
  Hits         1957     1957
  Misses        583      583

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 5ad2229...8051219. Read the comment docs.


uefi-raw: Add Char8/Char16

These definitions are just type aliases, unlike the more restrictive newtypes in the uefi package. In particular, the uefi package does not allow Char16 to be created for surrogate pair characters. This is more restrictive than what UEFI actually specifies though; it says that Char16 is usually UCS-2, but particular uses may allow other encodings. So for uefi-raw, just treat Char16 as numbers that can hold any u16 value.

Checklist

[ ] Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
[ ] Update the changelog (if necessary)

Hm. I thought we eventually move the definitions to the ucs-2 crate. I'd rather expect uefi-raw to use ucs-2. What do you think?

I was originally thinking that as well, but I think enforcing UCS-2 in uefi-raw for all places where the spec uses Char16 is too strict. In fact, I think it might be too strict for uefi as well.
For example, consider reading FAT filesystems through the Simple File System Protocol. The UEFI Spec says "FAT stores file names in two formats. [...] FAT 8.3 file names are always stored as uppercase ASCII characters. LFN can either be stored as ASCII or UCS-2." Then in a note, it says "Although the FAT32 specification allows file names to be encoded using UTF-16, this specification only recognizes the UCS-2 subset for the purposes of sorting or collation."
To me, that text is quite ambiguous as to what the proper behavior should be if the firmware exposes the SFS protocol for a FAT filesystem that happens to contain filenames with surrogate pairs. But logically it seems likely that the firmware isn't going to check for that case, and will just expose the filenames as a Char16 pointer that ends at the null. I confirmed that edk2 does exactly that by creating a FAT filesystem with a file named test😀.txt. And on our end, I wouldn't want the crate to reject such filenames; it's perfectly reasonable for people to create UTF-16 filenames since that's allowed by FAT, it's just kinda-sorta discouraged in the variation of FAT described in the UEFI Spec.
(Another example where we might want lenient behavior is UEFI Variable names.)
I think the ideal behavior may require some more types. For reading data from UEFI APIs, we should allow any u16 chars. For writing data, we might choose to be more restrictive and enforce UCS-2 in most places.
This is probably a larger discussion as far as what to do for uefi, but for uefi-raw I think simple type aliases are the way to go due to the issue of validations. If you call a function that returns a string, such as GetNextVariableName(), the restrictive uefi::Char16 type can't really be used as the string type, because the firmware might provide a string that isn't valid UCS-2.

Okay, I see your point. Fine with me


Delete Masking Strategy Override Draft

Closes #
Description Of Changes
Write some things here about the changes and any potential caveats
Code Changes

[ ] list your code changes here

Steps to Confirm

[ ] list any manual steps taken to confirm the changes

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
[ ] Documentation Updated
[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

This POC ticket has been replaced by: https://github.com/ethyca/fideslang/pull/17


Dataset link is not working

The dataset link seems broken.

woo! I had download data by using shell command in download_data.sh, it works.
wget http://snap.stanford.edu/jodie/reddit.csv -P data/
wget http://snap.stanford.edu/jodie/wikipedia.csv -P data/
wget http://snap.stanford.edu/jodie/mooc.csv -P data/
wget http://snap.stanford.edu/jodie/lastfm.csv -P data/

also can use 'curl -o data/wikipedia.csv http://snap.stanford.edu/jodie/wikipedia.csv' comand in Windows.


High Duty Cycle since <IP_ADDRESS>60316

Since beta5 average duty cycle values seem to be significantly higher than with previous versions. This can be seen in the following plot for the dutycycle values after a fresh reboot:

Please note the almost 100% duty cycle values right after reboot and the average duty cycle values that are mostly between 20–60%.
In addition, right after a fresh reboot the following messages are emitted in the /var/log/messages file also pointing out that there might be a problem with the newer coprocessor firmware versions in RaspberryMatic <IP_ADDRESS>60316 and higher:
Mar 16 02:32:20 homematic-raspi user.err multimac: Copro timeout on ACK_AESChallenge send
Mar 16 02:32:20 homematic-raspi user.warn multimac: Coprocessor is busy. Max response retry attempts reached.

Please note the following diagram after having switch to the older 2.2.1 version of the coprocessor firmware:

As can be seen the DC with version 2.2.1 is reported significant lower than with the current 2.8.4 version of the coprocessor firmware of the RF module. Next will be to test with version 2.7.0 of the copro firmware.

After some feedback from eQ3 developers the current DutyCycle calculation in CoPro Firmware 2.8.4 is correct (there are only 39 seconds transmission allowed within one hour). Instead, it was confirmed that the DutyCycle calculation in former firmware versions (e.g. 2.2.1) was incorrect and buggy which had been fixed in recent copra firmware versions.
Thus, this seems to be a non-issue but simply an observation of the fact that former copro firmware versions had a bug which output the DutyCycle incorrect. In newer copro firmwares (2.6.4+) this had been fixed. Thus closing this as won't fix.


[Raindrop.io] Add support for Vivaldi for "Save Browser Tab" feature

Extension
https://www.raycast.com/lardissone/raindrop-io
Description
The function "Save Browser Tab" doesn't support Vivaldi browser. Please consider adding support for it. A quick test suggests adding this should work:
case "com.vivaldi.Vivaldi":
    return runAppleScript(`tell application "Vivaldi" to return URL of front document`);

Who will benefit from this feature?
People who use Vivaldi, Raindrop and Raycast.
Anything else?
No response

Implemented #13735
@raycastbot close this issues


Wallet: Add a Text Field

Adds a TextField component as seen above. Uses width: 100% so that the parent containers can set the width of the field. The api is the same as a native controlled input, just pass onChange and value with an optional placeholder, but with the addition of a required label field.
Also updated the menubar icon to be a little more native, spacing is messed up but it's a bit better.

We might want that icon to just be a square but this looks better than what we have and I haven't seen any recent mockups so ¯_(ツ)_/¯


Generate more idiomatic code from nix-generate-from-cpan

It seems to be commonplace in perl-packages to use ${name} in the source url. nix-generate-from-cpan generates this code:
  CryptX = buildPerlModule {
    name = "CryptX-0.025";
    src = fetchurl {
      url = mirror://cpan/authors/id/M/MI/MIK/CryptX-0.025.tar.gz;
      sha256 = "f8b7e3ec1713c8dfe3eef9d114f45f223b97e2340f81a20589b5605fa49cfe38";
    };
    buildInputs = [ JSON ];
    propagatedBuildInputs = [ JSON ];
    meta = {
      description = "Crypto toolkit";
      license = "perl";
    };
  };

But better would be to generate:
  CryptX = buildPerlModule rec {
    name = "CryptX-0.025";
    src = fetchurl {
      url = "mirror://cpan/authors/id/M/MI/MIK/${name}.tar.gz";
      sha256 = "f8b7e3ec1713c8dfe3eef9d114f45f223b97e2340f81a20589b5605fa49cfe38";
    };
    buildInputs = [ JSON ];
    propagatedBuildInputs = [ JSON ];
    meta = {
      description = "Crypto toolkit";
      license = "perl";
    };
  };

Didn't notice this issue before, but I believe the nix-generate-from-cpan that is in master now will be more to your liking. Please have a look at the change #10768 for discussion and example output. The CryptX package in your description is generated as
  "CryptX" = buildPerlModule rec {
    name = "CryptX-0.027";
    src = fetchurl {
      url = "mirror://cpan/authors/id/M/MI/MIK/${name}.tar.gz";
      sha256 = "2af43ccdf1a5db1712671d407173586760b876b90f6eae58555a3f165c9f268c";
    };
    meta = {
      description = "Crypto toolkit";
      license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
    };
  };

Looks good! Thanks!


Empty spreadsheet data

I'm unable to to retrieve any data... all spreadsheets are returned empty.
Any way to modify this code to get it working again? :)

Did you figure out why they were returning empty? The script at the time was a workhorse and I was able to gather around 500 GB of data, but it was held up on thin threads. I'm not surprised it's not functional anymore. It shouldn't be too hard to fix though.

Sorry for the delay... I've been trying to figure it out but I can't. I
don't have enough technical experience with Python to make it happen :(
Going to keep trying though. I can tell it was a powerful script when it
was working... 500GB of data is absolutely incredible.
Do you know anyone who might be able to look into it?
--
Thanks,
Collin Hoyer
<EMAIL_ADDRESS>(616) 402-6195
On Sat, Apr 28, 2018 at 5:43 AM, Leon<EMAIL_ADDRESS>wrote:

Did you figure out why they were returning empty? The script at the time
was a workhorse and I was able to gather around 500 GB of data, but it was
held up on thin threads. I'm not surprised it's not functional anymore. It
shouldn't be too hard to fix though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lazorfuzz/python-zillowscraper/issues/1#issuecomment-385159675,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ak_tm0ebyvOcRHrX2f1pkTFQTNhXJGHXks5ttDm3gaJpZM4Tq-Gk
.


[full-ci] full ci test run on current master

Current master full-ci is successful... closing here


Support multiple PollableMessageSource

If an application has more than one PollableMessageSource, then calling the boolean poll(H handler) throws javax.management.InstanceAlreadyExistsException when invoked on the second and subsequent message sources.
The issue is with KafkaConsumer trying to register org.apache.kafka.common.utils.AppInfo MBean with JMX.
Right now, KafkaMessageChannelBinder doesn't set a clientId on the KafkaMessageSource it creates for pollable message sources. A default clientId ("message.source") is used for all instances of KafkaMessageSource causing the MBean name to alway be "kafka.consumer:type=app-info,id=message.source"

@garyrussell Thank you for the prompt fix!


Prevent metadata from being added on every item change

Describe the Bug with repro steps

Choose a File picker editor
Choose a file
View Code View and see that on serialization we're just appending the item in the metadata objet

What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
No response
Screenshots or Videos

Browser
All
Additional context
No response

I took a look ata this. From a functionality standpoint I think it might be better to just keep it as is. We don't want to always overwrite metadata and I also don't think it's worth special casing the file picker for this. Since there's no functionality impact and it would take a lot of effort on the customers part of make this something that could come close to a problem, it's likely better to just not be messed with.


getPurchaseHistory() returns empty array

getPurchaseHistory() always returns an empty array on real ios device in sandbox mode. Even I successfully purchased (purchaseUpdatedListener fired) a consumable product getPurchaseHistory() returns an empty array. How do I know which products the use has purchased?

Environment:

react-native-iap: "^12.7.3",
react-native: "0.70.0",
Platforms (iOS, Android, emulator, simulator, device): ios real device

Are the products consumables? have you acknowledged them?

Are the products consumables? have you acknowledged them?

Yes. They're consumables.

https://developer.apple.com/documentation/storekit/skpaymentqueue/1506123-restorecompletedtransactions

According to Apple documentation, they only store auto-renewable subscriptions. So you have to manage to make available the subscription/product to other devices owned by this user.
Steps to manage this:

Get user identity by calling getUserId using the https://www.npmjs.com/package/react-native-user-identity package.
Save the subscription/product details with a reference to the id on your server

You can get the same id by calling getUserId to other devices signed in with the same apple id.

Apple belgelerine göre yalnızca otomatik olarak yenilenebilir abonelikleri saklıyorlar. Bu nedenle aboneliği/ürünü bu kullanıcının sahip olduğu diğer cihazlara sunmayı başarmalısınız.
Bunu yönetme adımları:

https://www.npmjs.com/package/react-native-user-identity paketini kullanarak getUserId'i çağırarak kullanıcı kimliğini alın .
Abonelik/ürün ayrıntılarını sunucunuzdaki kimliğe referansla kaydedin

Aynı Apple kimliğiyle oturum açmış diğer cihazlara getUserId öğesini çağırarak aynı kimliği alabilirsiniz.

Let's be ridiculous. First, the command returns undefined. He couldn't see a friend. He thought it was returning empty because the purchase history did not change. Secondly, there is no need for userid. Because if your user ID is empty, the system already tells you to enter it. The third one is not written anywhere.


Virus Total flags have changed since last version.

the scan you provided in this reddit post:
https://www.virustotal.com/gui/file/8b3c3b2eae6b034570e76e87cb32e036eaa24b31e106ab9db66513840e69c091?nocache=1
https://www.reddit.com/r/Windows11/comments/r2syq6/microsoft_blocked_edge_deflector_so_i_made_my_own/
The scan in the latest build
https://www.virustotal.com/gui/file/a170e71c5d54a15607b941f578574c13b4bfcaf29db4671af80cff50fc152887/detection
One of the positives is Malwarebytes which has me worried.

No need to worry NoMoreEdge is completely safe. It won't event connect to internet let alone infest you computer.  I will will updating codes for latest build when i get time from college then you can check for yourself.

Bitdefender also detect a virus


BUG - misalignment in the navbar

Describe the bug

there can be seen misalignment in the navbar of the home page
Expected behavior

better navbar
Screenshots (Mandatory)

Additional Context (Mandatory )
Are you contributing under any open-source program ?

@apu52  please assign under gssoc'24

I am contributing under the GSSOC'24 program.
@apu52, could you please assign this issue to me? Thank you.

Hi @apu52 , I am contributing under the gssoc'24 program , can you please assign me this task , I can see the misalignment in the navbar , I will align it perfectly for better ui .

I would like to work on this issue, please assign this issue to me under GSSoC'24 @apu52 .

@kairveeehh this issue is already taken .sorry to close this issue


Add filter option to data table toolbar "person overview"

State = filter active

State = filter inactive (closed)

State = open (active)

der Filter kann gem. PWS umgesetzt werden:

We need to adjust the spacing, right? I already uploaded an implementation to our test/stagning area but need to adjust the spacing I guess.
In any case there are still two issues left:

The number of selected checkboxes is not yet displayed (working on that)
The three main categories of persons (natural/legal/association) can be selected independently. The design shows that they would have a mixed state. However, in case somebody wants to select e.g. all legal persons without any sub-categorie (church, city, company, etc) that would not be possible. Even if a sub-category is required to be set one would want to have the option to filter for persons with unassigned subcategories. E.g. for the currently imported data there are no sub-categories defined for legal persons.

We need to adjust the spacing, right?

yep, as well as the background color (to #fff)

The three main categories of persons (natural/legal/association) can be selected independently. The design shows that they would have a mixed state. However, in case somebody wants to select e.g. all legal persons without any sub-categorie (church, city, company, etc) that would not be possible. Even if a sub-category is required to be set one would want to have the option to filter for persons with unassigned subcategories. E.g. for the currently imported data there are no sub-categories defined for legal persons.

this should not be problematic

Ok, implemented. One note on the buttons: They have to be either modal-buttons and span the whole width of the container/panel or the are normal buttons and are right-aligned. If we want to have them modal-button-size (as suggested in the picture) and not span the whole width we need a rule how wide the buttons should be.

[ ] Remove margin below parent category (see below)
[ ] German translation of modal buttons
[ ] add filter count to toolbar bar

Fixed


fix(users): quick actions menu in user edit page

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix:closeOnSelect must be destructed from props

This closeOnSelect must be declared separately in const{options}

🤔 https://github.com/segmentio/evergreen/pull/616


Laya dev

Updated C++ code for printing all data in given range in Binary Search Tree.
Issue no: #394
File path: Code > C++ > rangeBST

you cannot add commits of 2 issues in same PR.

I have deleted that commit and submitted the changes

code is fine. add complexities below the testcases and add some output for when no element lies in the range. also link the code to the folder.

I have added time and space complexity along with the outputs and it doesn't print any output if no elements lie in the give range.

add complexities below the testcases. Give some message on output screen if no element lies in the give range.

Added testcases and printed appropriate message if no elements lie in the given range

change the readme

change the readme

I have updated the readme.


[Dev][Bug] - Accessibility: Add Alt Text to Images

Alt Text needs to be added to all images. Consult deque report:
https://docs.google.com/spreadsheets/d/1xmXsLfSbMRx4nJylQD0S4hDmLoYxrI6uGrXpuxEyEkI/edit#gid=862429226

Edited report link (now shows screenshots and highlights the element in question).


Various tailwind fixes

This is intended to improve the default index.tsx page.

Removes NextJS <Link> component
Whole card is clickable
Hover on card changes button styles
Hover animation duration reduced from 500ms to 300ms
changed parent <section> to <main> for better semantics
Card heights are consistent on each row

This is my first contribution to the project, hopefully everything looks okay!

We have some merge conflicts. Take a look at #89

Closing per nexxel to hopeful making merging easier. Will submit a new PR.


hotfix: fix property access on already installed plugin with projects

@claidler Hello, please check it as soon as possible. There is a bug when user already have plugin installed and projects and the upgrade plugin with sort feature
Sorry for that issue didn't spotted it during dev

Ah thanks for catching it so quickly

Ah thanks for catching it so quickly

It will be great if someone else can check it too
Thanks in advance and again sorry for the issue!

Yeah I just don't have time at the moment unfortunately. I don't want to let users down by ignoring MR'S but also don't have time to test and not currently using neovim so it's not even on my system. Id love a solution to this. I look over the code and make sure there's nothing glaringly breaking before merging and that's the best I can do. Also not able to deal with very big MR's as they are too risky.

Yeah I just don't have time at the moment unfortunately. I don't want to let users down by ignoring MR'S but also don't have time to test and not currently using neovim so it's not even on my system. Id love a solution to this. I look over the code and make sure there's nothing glaringly breaking before merging and that's the best I can do. Also not able to deal with very big MR's as they are too risky.

@claidler Ok, clear and thanks. Let me know if I can help in some way please. I like this project but unfortunately I'm not advanced in writing plugins with lua so that need more experienced developer to review PR. Anyway next time I will be more careful.


[Docs] Normalize config README.md.

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Normalize README.md files in configs.
Modification
Only modify README.md in configs.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

In addition, we also need to confirm whether stat.py works as expected because we refactor the content of readme.

In addition, we also need to confirm whether stat.py works as expected because we refactor the content of readme.

I checked the stat.py. It can generate modelzoo_statistics.md successfully.


Not able to pass params from unit test

I'm defining a state as shown below :
config ( $stateProvider ) ->
  $stateProvider.state('parent'
    url: '/parent/:param'
    controller: 'ParentStateCtrl'
  )

The controller of the state is trying to save a param on its scope as a property like below :
controller( 'ParentStateCtrl', ( $scope, $stateParams, $state ) ->
  $scope.obj = {}
  $scope.obj.title = 'Parent'
  $scope.obj.param = $stateParams.param
)

I'm trying to test that the param is set as shown below :
describe 'Params should be set', ->

  beforeEach module('myApp')

  beforeEach ->
    inject ( $controller, $rootScope, $state, $stateParams) ->
      @rootScope = $rootScope
      @scope = $rootScope.$new()
      @state = $state

      $controller( 'ParentStateCtrl',
        $scope: @scope, $state: @state
      )

  describe 'Transitioning to a state which accepts params', ->
    it 'should set param', ->
      @state.go('parent', {param: '123'})
      @rootScope.$apply()

      # These pass !
      expect(@state.current.name).toEqual('parent')
      expect(@scope.obj.title).toEqual('Parent')

      # This fails , should pass !
      expect(@scope.obj.param).toEqual('123')

Here's a plunk which has a failing jasmine test : http://plnkr.co/edit/LHb9A9?p=preview . Any idea what's causing the failure ?

+1 that this is a bug. I'm having the exact same problem

Thats not the correct way to check that controller. I'm not sure what is. http://plnkr.co/edit/uyNtayXUi8QzO3e1bzUQ?p=preview
Try asking on Stackoverflow


Support windows

This fixes https://github.com/substack/node-shell-quote/issues/30 and makes tests pass in windows.
Also makes possible to run glslify tests in windows.
@karissa @jiwaddell @substack please have a look.

Looks good, it'd be great to have travis and appveyor set up

@karissa done https://travis-ci.org/dy/node-shell-quote

@substack what do you think?

@substack ping

:package: 1.6.3

the path unescaping here introduced a regression. i'm reverting it for now.


Automatic speechbubble update on item place or remove

[ ] Write unit tests:

[ ] Counter and shopkeeper: Say with Construct Bill message is called on item place and item removal

[ ] Implement with event.

Thought about implementation:
Would moving ConstructBillMessage to Shopkeeper (would then have 2 scripts 1 for animation, another for speechbubble control) be better, in the sense of lower coupling and higher cohesion? (Measurable by how well to test in isolation)[http://hokstad.com/reducing-coupling-through-unit-tests]


Error output does not format colors

🐛 Bug report
Current Behavior
If I produce an expected error in a react component the errors are not formatting correctly (see screenshot below)
This is my component which obviously will give an error since  test.hello.world.thisDoesNotExist doesn't exist:
import React from 'react'

const test = {
  hello: 'world',
}

const Home = () => {
  return (

Home

      {test.hello.world.thisDoesNotExist}

  )
}

export default Home

This is what the browser is showing:

Expected behavior
The browser should show the above error properly formated instead of all the [0m [90m 8 | [39m-characters.
Perhaps something like this (random googled image):

Reproducible example
npx create-razzle-app razzle-test
yarn start

Edit a file to throw an error
Look at the output in the browser

Suggested solution(s)
I don't know how this is done and therefore not how to solve it but the problem speaks for itself.

Software
Version(s)

Razzle
^4.1.0

Razzle Plugins
-

Node
v12.18.1

Browser
Google Chrome 93.0.4577.63

npm/Yarn
Yarn v1.22.11

Operating System
macOS Big Sur 11.5.2

TypeScript
-

React
^17.0.2

This error is from the express server not webpack dev server

This error is from the express server not webpack dev server

I see. Is there a way to make this error to be formatted properly?

Wish I knew, maybe some express middleware?

Is this format made for std out? Because this error looks correct in the terminal (from the server). Would be great to see this kind of error in a nice way on the client as well.

Yeah, I think so. But not really a razzle issue. But if it is possible in express somehow it should be doable.


[AzureMonitorDistro] prep AspNetCore for release

API change check
API changes are not detected in this pull request.


Issues adding argument mappings to Block.createCuboid

Was this fixed? They seem to be mapped correctly: https://github.com/FabricMC/yarn/blob/1.14/mappings/net/minecraft/block/Block.mapping#L84


ERROR: cannot validate signature on Response: Could not verify certificate against trusted certs

We have encoutered a problem when follow your instructions.
Rancher can redirect to keyloack login page. After login keyloack successfully, we got a 403 error when return back to Rancher. We found below error in Rancher's log.
2020/06/18 07:09:41 [DEBUG] RESPONSE: ===
<samlp:Response
...
</samlp:Response>
===
NOW: 2020-06-18 07:09:41.168806951 +0000 UTC
ERROR: cannot validate signature on Response: Could not verify certificate against trusted certs.

Any idea? Thank you.

I’ve had a lot of trouble with this integration in the past with rancher. 2 things I would double check.
#1 the casing really matters. For some reason it will only work with Title case, and does not work with lowercase.
#2 double double check you are using the correct certificate. It should be the one from the identity provider, not the service provider.

Let me know if you are still having trouble after this.


demo is broken

launch the demo
try to get below the 2nd code block. you can't. you can't click below it and you can't click to the right

"ctrl + enter" does not exit a code block


Support -immutable tagged stable images

Fixes: https://github.com/containers/automation_images/issues/310
There are circumstances where it's consequential to have image digests
that change constantly.  Add a "flavor" of podman/buildah/skopeo image
with a unique tag, that's only ever pushed once.  Update documentation.

@edsantiago it's probably asking a lot, so PLMK if it's asking too much for you to review this.    I did perform a few runs of CI against just that commit, and they're happy.

@TomSweeneyRedHat would you mind taking a look at the (short) README updates here, LMK if there are any major problems?

@edsantiago NP at all if this is too much, I appreciate you're making an effort.

Couple doc changes for considration or to be ignored.  Your call.
LGTM otherwise.

This is ready to go, letting it sit for a day or so in case there are last minute objections/feedback.

Note to me: Check next cron run and verify immutable images have been pushed.  Send mail to podman list assuming images aren't overwritten on the subsequent cron run.


libc: Add getprogname function

Summary
defined here:
https://www.freebsd.org/cgi/man.cgi?query=getprogname&sektion=3
Impact
New API
Testing
Pass CI

In general current approach seems to be fine, but most probably adding setprogname will require adding additional field into struct task_info_s.

setprogname is normally used by glibc internally, to initialize the program name. But the program name is initialized automatically in NuttX, so setprogname isn't really needed here.

BWT, maybe you can also fix a small bug in gettextdomain implementation by changing #ifdef CONFIG_BUILD_KERNEL to #ifndef CONFIG_BUILD_KERNEL. I just found it today during the code review.

Fixed here: https://github.com/apache/incubator-nuttx/pull/4982

In general current approach seems to be fine, but most probably adding setprogname will require adding additional field into struct task_info_s.

setprogname is normally used by glibc internally, to initialize the program name. But the program name is initialized automatically in NuttX, so setprogname isn't really needed here.

BWT, maybe you can also fix a small bug in gettextdomain implementation by changing #ifdef CONFIG_BUILD_KERNEL to #ifndef CONFIG_BUILD_KERNEL. I just found it today during the code review.

Fixed here: https://github.com/apache/incubator-nuttx/pull/4982

So we do not need neither DEBUGASSERT(info != NULL);, nor return info->argv && info->argv[0] ? info->argv[0] : "?"; and assume that task info always exists and argv can't be NULL and argv[0] is not empty?

I mean if we do not need any checks then maybe we can go with simpler return task_get_info()->argv[0];?

In general current approach seems to be fine, but most probably adding setprogname will require adding additional field into struct task_info_s.

setprogname is normally used by glibc internally, to initialize the program name. But the program name is initialized automatically in NuttX, so setprogname isn't really needed here.

BWT, maybe you can also fix a small bug in gettextdomain implementation by changing #ifdef CONFIG_BUILD_KERNEL to #ifndef CONFIG_BUILD_KERNEL. I just found it today during the code review.

Fixed here: #4982

So we do not need neither DEBUGASSERT(info != NULL);, nor return info->argv && info->argv[0] ? info->argv[0] : "?"; and assume that task info always exists and argv can't be NULL and argv[0] is not empty?

DEBUGASSERT could be used here to state the invariant explicitly, but the runtime check isn't needed to save the cost.

If yes, then probably need to remove task_get_info() null checks in other files.

Whether to utilize assert is a personal preference, either is fine I think.

I mean if we do not need any checks then maybe we can go with simpler return task_get_info()->argv[0];?

Yes, could be. But, the local variable make the code a little bit more readable.

Ok. But what if argv[0] is an empty string? Shouldn't "?" be returned in such case?

Ok. But what if argv[0] is an empty string? Shouldn't "?" be returned in such case?

argv[0] should always exist from the POSIX/C standard.

Ok. But what if argv[0] is an empty string? Shouldn't "?" be returned in such case?

argv[0] should always exist from the POSIX/C standard.

Yes, but I'm curious if NuttX task can have argv[0] as "" (an empty string)?

I see that in case if task name is NULL the default "<noname>" is picked. https://www.gnu.org/software/gnulib/manual/html_node/progname-and-getprogname.html states that In some rare situations, it cannot determine the name; then it returns "?" instead., so that will not happen with NuttX tasks.

In GNU, program name is initialized in glibc startup, so there is chance user may call getprogname before the initialization is done and then return "?" in this case. But, NuttX initialize tcb_s->argv inside kernel before the main thread get the chance to run, so this case never happen at all.

@pkarashchenko do you think this patch ready for merge?

@pkarashchenko do you think this patch ready for merge?

Yes. You have approval from me starting from 2 days ago.
LGTM!