Compilation error when using an Ionic app with Jest

Describe the bug
I tried to add Electron support to an Ionic app I have. My app uses Jest for testing. When I run npm run electron:start, I get a number of compilation errors:
➜  electron git:(master) ✗ npm run electron:start

><EMAIL_ADDRESS>electron:start /Users/mraible/ionic4j/electron
> npm run build && electron ./

><EMAIL_ADDRESS>build /Users/mraible/ionic4j/electron
> tsc

../node_modules/@types/jasmine/index.d.ts:26:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: beforeAll, beforeEach, afterAll, afterEach, describe, fdescribe, xdescribe, it, fit, xit, expect, DEFAULT_TIMEOUT_INTERVAL, CustomMatcherFactory, CustomEqualityTester

26 type ImplementationCallback = jasmine.ImplementationCallback;
   ~~~~

  ../node_modules/@types/jest/index.d.ts:33:1
    33 declare var beforeAll: jest.Lifecycle;
       ~~~~~~~
    Conflicts are in this file.

../node_modules/@types/jasmine/index.d.ts:314:15 - error TS2428: All declarations of 'ArrayContaining' must have identical type parameters.

314     interface ArrayContaining<T> extends AsymmetricMatcher<any> {
                  ~~~~~~~~~~~~~~~

../node_modules/@types/jasmine/index.d.ts:318:15 - error TS2428: All declarations of 'ObjectContaining' must have identical type parameters.

318     interface ObjectContaining<T> extends AsymmetricMatcher<T> {
                  ~~~~~~~~~~~~~~~~

../node_modules/@types/jasmine/index.d.ts:378:9 - error TS2687: All declarations of 'message' must have identical modifiers.

378         message?: string;
            ~~~~~~~

../node_modules/@types/jasmine/index.d.ts:928:15 - error TS2428: All declarations of 'SpyAnd' must have identical type parameters.

928     interface SpyAnd<Fn extends Func> {
                  ~~~~~~

../node_modules/@types/jasmine/index.d.ts:949:15 - error TS2428: All declarations of 'Calls' must have identical type parameters.

949     interface Calls<Fn extends Func> {
                  ~~~~~

../node_modules/@types/jasmine/index.d.ts:970:15 - error TS2428: All declarations of 'CallInfo' must have identical type parameters.

970     interface CallInfo<Fn extends Func> {
                  ~~~~~~~~

../node_modules/@types/jest/index.d.ts:33:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: beforeAll, beforeEach, afterAll, afterEach, describe, fdescribe, xdescribe, it, fit, xit, expect, DEFAULT_TIMEOUT_INTERVAL, CustomMatcherFactory, CustomEqualityTester

33 declare var beforeAll: jest.Lifecycle;
   ~~~~~~~

  ../node_modules/@types/jasmine/index.d.ts:26:1
    26 type ImplementationCallback = jasmine.ImplementationCallback;
       ~~~~
    Conflicts are in this file.

../node_modules/@types/jest/index.d.ts:1369:46 - error TS2314: Generic type 'ArrayContaining<T>' requires 1 type argument(s).

1369     function arrayContaining(sample: any[]): ArrayContaining;
                                                  ~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1370:45 - error TS2314: Generic type 'ObjectContaining<T>' requires 1 type argument(s).

1370     function objectContaining(sample: any): ObjectContaining;
                                                 ~~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1397:15 - error TS2428: All declarations of 'ArrayContaining' must have identical type parameters.

1397     interface ArrayContaining {
                   ~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1403:15 - error TS2428: All declarations of 'ObjectContaining' must have identical type parameters.

1403     interface ObjectContaining {
                   ~~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1406:9 - error TS2386: Overload signatures must all be optional or required.

1406         jasmineToString(): string;
             ~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1412:14 - error TS2314: Generic type 'SpyAnd<Fn>' requires 1 type argument(s).

1412         and: SpyAnd;
                  ~~~~~~

../node_modules/@types/jest/index.d.ts:1413:16 - error TS2314: Generic type 'Calls<Fn>' requires 1 type argument(s).

1413         calls: Calls;
                    ~~~~~

../node_modules/@types/jest/index.d.ts:1419:15 - error TS2428: All declarations of 'SpyAnd' must have identical type parameters.

1419     interface SpyAnd {
                   ~~~~~~

../node_modules/@types/jest/index.d.ts:1452:15 - error TS2428: All declarations of 'Calls' must have identical type parameters.

1452     interface Calls {
                   ~~~~~

../node_modules/@types/jest/index.d.ts:1478:16 - error TS2314: Generic type 'CallInfo<Fn>' requires 1 type argument(s).

1478         all(): CallInfo[];
                    ~~~~~~~~

../node_modules/@types/jest/index.d.ts:1483:23 - error TS2314: Generic type 'CallInfo<Fn>' requires 1 type argument(s).

1483         mostRecent(): CallInfo;
                           ~~~~~~~~

../node_modules/@types/jest/index.d.ts:1488:18 - error TS2314: Generic type 'CallInfo<Fn>' requires 1 type argument(s).

1488         first(): CallInfo;
                      ~~~~~~~~

../node_modules/@types/jest/index.d.ts:1495:15 - error TS2428: All declarations of 'CallInfo' must have identical type parameters.

1495     interface CallInfo {
                   ~~~~~~~~

../node_modules/@types/jest/index.d.ts:1503:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'args' must be of type 'Parameters<Fn>', but here has type 'any[]'.

1503         args: any[];
             ~~~~

  ../node_modules/@types/jasmine/index.d.ts:974:9
    974         args: Parameters<Fn>;
                ~~~~
    'args' was also declared here.

../node_modules/@types/jest/index.d.ts:1507:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'returnValue' must be of type 'ReturnType<Fn>', but here has type 'any'.

1507         returnValue: any;
             ~~~~~~~~~~~

  ../node_modules/@types/jasmine/index.d.ts:976:9
    976         returnValue: ReturnType<Fn>;
                ~~~~~~~~~~~
    'returnValue' was also declared here.

../node_modules/@types/jest/index.d.ts:1511:9 - error TS2374: Duplicate string index signature.

1511         [index: string]: CustomMatcherFactory;
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/@types/jest/index.d.ts:1532:9 - error TS2687: All declarations of 'message' must have identical modifiers.

1532         message: string | (() => string);
             ~~~~~~~

../node_modules/@types/jest/index.d.ts:1532:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'message' must be of type 'string', but here has type 'string | (() => string)'.

1532         message: string | (() => string);
             ~~~~~~~

  ../node_modules/@types/jasmine/index.d.ts:378:9
    378         message?: string;
                ~~~~~~~
    'message' was also declared here.

../node_modules/@types/jest/index.d.ts:1537:9 - error TS2375: Duplicate number index signature.

1537         [n: number]: T;
             ~~~~~~~~~~~~~~~

Found 27 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/mraible/.npm/_logs/2020-10-04T15_29_31_782Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>electron:start: `npm run build && electron ./`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>electron:start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/mraible/.npm/_logs/2020-10-04T15_29_31_804Z-debug.log

To Reproduce
Steps to reproduce the behavior:

Create a new app with the Ionic JHipster starter:
ionic start ionic4j oktadeveloper/jhipster --type angular

Add Electron support using these instructions.

In a terminal, navigate into the electron directory and run npm run electron:start.

Expected behavior
I'd expect everything to compile, inheriting from the parent tsconfig files so node_modules is ignored.
Desktop (please complete the following information):

OS: macOS 10.15.7
Browser N/A

Additional context
$ node --version
v14.10.1

It looks like the types for jasmine and jest are conflicting with each other.


Add global http handlers and settings to talk to IMI

Trailing work item from here - https://github.com/motech-implementations/mim/pull/269
This is already implemented in the IMI library by @frankhuster but we need to have a way to reuse it for MA and other modules that make http calls.

Would it make sense to expose the IMI module methods  and for MA to use these?


Elytras worn in the trinkets slot are not affected by physics

This is the mod I used https://modrinth.com/mod/elytra_trinket

There are details on how to add compatability for other mods in the readme for this mod. In this case, you would have to add "pw.lakuna.elytra_trinket.ElytraTrinketFeatureRenderer" to the "inject_layers" in the config.


Enter to launch games doesn't seem to work

It doesn't seem to launch games, only goes to their library page.

I've got it to work but it also "greyscreens" the library, and I can't figure out why
The only error I have to go off is: Uncaught TypeError: Cannot read property 'ownerDocument' of undefined
If you do want to see it: change fixes.txt line 30 to:
switch (t) {~~case 38:  case 13: return this.RunApp(b.OX.currentGameListSelection.nAppId), void e.preventDefault();case 38:

the error lies in using the javascript window.location.href as I now cannot use redirects without "greyscreening" the library as well.
I have tried window.replace, history.push all result in the same thing.
Unless I can find another way this JS tweak is broken

Rip


boards: nucleo_wb55rg: Update HCI lib to version 1.5

Update STM32WB HCI lib support to version 1.5.0.
Additionally provide a doc section to clarify compatibility
with stm32wb wireless co-processor binaries.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>Depends on zephyrproject-rtos/hal_stm32#51

@erwango zephyrproject-rtos/hal_stm32#51 merged, please update to SHA.

@carlescufi Txs, SHA updated

Removing DNM now that west.yml has been updated with final module SHA


Set recipient email to order email if nil

When a recipient email isn't supplied, someone needs to receive the gift
card so send it to the person who placed the order.

Is this something we should require when ordering the gift card?

I'm still thinking through the implications of this but I wanted to get it PRed while it was fresh in my mind. I think this might cause an unexpected result if the purchaser forwards it to the real recipient and the recipient redeems it. That would tie the purchaser back to the gift card as the reedemer. What I need to figure out is whether or not this gets updated as the order is checked out.

ch631

Looking in solidus_virtual_gift_card it already defers to order.email when emailing the gift card. I think a better solution might be to force the user to create an account if there is no recipient email on the giftcard.

@LukeSettle that would be preferable, or at least require the user to supply that at redemption-time. I wanted to see if there was a faster path forward, hence this PR.

@jacobeubanks I think I'm going to do something different here. I'm going to add a check to the previous feature so that it will treat a blank recipient_email as "need to create user" and send the user to the login page. We will still need to figure out if we can force the purchaser to supply a recipient email, but at least the recipient won't get stuck in an invalid state.

@fastjames
Bob does not have an account and is not logged in

Bob clicks add-to-cart button on product show page for a gift card
Bob gets redirected to the login page

?

@fastjames It might be easier to go through exactly what the gift card extension needs in order to function and then we can create acceptable user flows based on the specs

@jacobeubanks that's already taken care of: at checkout, a User is created because Bob already provided his email. That user is linked to the gift card as the purchaser.
The other side of that is redemption,, so:

Alice adds an item to her cart
On the cart page, alice enters the gift card code she got from Bob
Alice is sent to a page where she is directed to login or create a user account

It's step 3 that I want to make sure is working.

Okay so from my understanding the requirements are:

In order for a gift card to be purchased, there has to at least be a Spree::User associated as a purchaser of the gift card
In order for a gift card to be redeemed, there has to be a Spree::User associated as the redeemer.

@fastjames Are these the only requirements?

@jacobeubanks there is one more thing that I mentioned last week but then did not mention this morning: we need to provide the purchaser with a way to specify the amount. That can be via a drop-down select (probably best) but it does not yet exist so we will need to add it.

@fastjames The simplest way I see doing something like this would be to add different variants like we do with regular products, is that possible? $20 gift card - priced at $20

This turned out to be a non-optimal solution, closing.


Atom is getting hanged .

Atom is getting hanged in Ubuntu . if i search any file and click to open it it just hanged for minutes i dont know why .

Duplicate of https://github.com/atom/atom/issues/979


Examples notebook

I am just running the examples in (https://github.com/JuliaRheology/RHEOS.jl/blob/master/examples/examples.ipynb) and it looks like the plotting section for Example 2 (I think box 6) should have
plot(maxwellD_predict.t,maxwellD_predict.σ, color = "red");
instead of
plot(maxwell_predict.t,maxwell_predict.σ, color = "red"); (which is still plotting data from Example 1).

Many thanks @adambeall for pointing this out.
This should be fixed by a5377171e4f885947e7f9d01de9b6548f2c053ec


anyOf causing problems with Swagger/ReDoc on primitive types

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
If we have an object, and a primite type, we are still creating an anyOf. That unfortunately doesn't work well with neither ReDoc nor Swagger.
From the code below, the following OpenAPI spec is generated:
Details

{
    "components": {
        "schemas": {
            "HTTPValidationError": {
                "properties": {
                    "detail": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationError"
                        },
                        "title": "Detail",
                        "type": "array"
                    }
                },
                "title": "HTTPValidationError",
                "type": "object"
            },
            "ValidationError": {
                "properties": {
                    "loc": {
                        "items": {
                            "type": ["string", "integer"]
                        },
                        "title": "Location",
                        "type": "array"
                    },
                    "msg": {
                        "title": "Message",
                        "type": "string"
                    },
                    "type": {
                        "title": "Error Type",
                        "type": "string"
                    }
                },
                "required": [
                    "loc",
                    "msg",
                    "type"
                ],
                "title": "ValidationError",
                "type": "object"
            }
        }
    },
    "info": {
        "title": "FastAPI",
        "version": "0.1.0"
    },
    "openapi": "3.1.0",
    "paths": {
        "/": {
            "get": {
                "operationId": "root__get",
                "parameters": [
                    {
                        "description": "Date to query",
                        "in": "query",
                        "name": "at",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "enum": [
                                        "today",
                                        "tomorrow",
                                        "yesterday"
                                    ],
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Date to query",
                            "title": "At"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HTTPValidationError"
                                }
                            }
                        },
                        "description": "Validation Error"
                    }
                },
                "summary": "Root"
            }
        }
    }
}

Ideally, we'd have the following schema:
Details

{
    "components": {
        "schemas": {
            "HTTPValidationError": {
                "properties": {
                    "detail": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationError"
                        },
                        "title": "Detail",
                        "type": "array"
                    }
                },
                "title": "HTTPValidationError",
                "type": "object"
            },
            "ValidationError": {
                "properties": {
                    "loc": {
                        "items": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "integer"
                                }
                            ]
                        },
                        "title": "Location",
                        "type": "array"
                    },
                    "msg": {
                        "title": "Message",
                        "type": "string"
                    },
                    "type": {
                        "title": "Error Type",
                        "type": "string"
                    }
                },
                "required": [
                    "loc",
                    "msg",
                    "type"
                ],
                "title": "ValidationError",
                "type": "object"
            }
        }
    },
    "info": {
        "title": "FastAPI",
        "version": "0.1.0"
    },
    "openapi": "3.1.0",
    "paths": {
        "/": {
            "get": {
                "operationId": "root__get",
                "parameters": [
                    {
                        "description": "Date to query",
                        "in": "query",
                        "name": "at",
                        "required": false,
                        "schema": {
                            "enum": [
                                 "today",
                                 "tomorrow",
                                 "yesterday"
                            ],
                            "type": ["string", "null"]
                            "description": "Date to query",
                            "title": "At"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HTTPValidationError"
                                }
                            }
                        },
                        "description": "Validation Error"
                    }
                },
                "summary": "Root"
            }
        }
    }
}

As you can see above, the type becomes an array of primitive types. This is mentioned in the Assertions and Instance Primitive Types on the JSON Schema Draft 2020-12.
Example Code
from typing import Literal, Annotated

from fastapi import Query, FastAPI

app = FastAPI()

@app.get("/")
def root(
    at: Annotated[
        Literal["today", "tomorrow", "yesterday"] | None,
        Query(
            description="Date to query",
        ),
    ] = None
):
    return at

Python, Pydantic & OS Version
pydantic version: 2.0.2
        pydantic-core version: 2.2.0 release build profile
                 install path: /Users/marcelotryle/dev/pydantic/pydantic/pydantic
               python version: 3.11.1 (main, Apr 20 2023, 11:08:52) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
                     platform: macOS-13.4-arm64-arm-64bit
     optional deps. installed: ['devtools', 'email-validator', 'typing-extensions']

Ref.:

https://github.com/tiangolo/fastapi/discussions/9709#discussioncomment-6415698
https://github.com/tiangolo/fastapi/discussions/9709#discussioncomment-6437341

Selected Assignee: @dmontagu

You missed the anyOf in ValidationError.

I've fixed it. Thanks 🙏

And I'd expect null to be part of the enum due to json-schema.org/draft/2020-12/json-schema-validation.html#name-enum

Ah, ok. Then 2 issues here. 😅

Currently Literal[x]|None is evaluated via anyOf as well, via const instead of enum
data:Literal["dog"] | None

        schema:
          anyOf:
          - const: dog
          - type: 'null'

Due to the known problems I'd unfold to enum instead of const
schema:
  type: [string, null]
  enum: ["dog", null]

The type can be skipped.
schema:
  enum: ["dog", null]

Skipping the type would even work for mixed enums
data: Literal["a",1,True]|None

        schema:
          - enum:
            - a
            - 1
            - true
            - null

Similar issue where previously null was shown by removing from the required list. Instead there is now an anyOf with null as one of the fields.
from typing import Optional
from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class RequestModel(BaseModel):
    name: str
    age: Optional[int]

@app.get("/")
def index(req: RequestModel):
    return {"message": "Hello World"}

When using pydantic v1 it returns this OpenAPI schema for RequestModel
"RequestModel": {
    "properties": {
        "name": {
            "type": "string",
            "title": "Name"
        },
        "age": {
            "type": "integer",
            "title": "Age"
        }
    },
    "type": "object",
    "required": [
        "name"
    ],
    "title": "RequestModel"
},

When using pydantic v2 it returns this OpenAPI schema for RequestModel
"RequestModel": {
    "properties": {
        "name": {
            "type": "string",
            "title": "Name"
        },
        "age": {
            "anyOf": [
                {
                    "type": "integer"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Age"
        }
    },
    "type": "object",
    "required": [
        "name",
        "age"
    ],
    "title": "RequestModel"
},

I understand that both are basically the same meaing for my purposes however I have code generation that runs off the OpenAPI schema and the former generates better TypeScript code. Is there a way to generate the former?

Refer to https://docs.pydantic.dev/latest/migration/#required-optional-and-nullable-fields to adjust your model according to your expectation. If you avoid nullable, you won't get the anyOf.

@commonism are you suggesting the way to do it would be age: int = None?

v2: age: int = None equals v1:age: Optional[int] - so I expect it'll behave all the same.

I think the solution of modifying FastAPI to use a custom GenerateJsonSchema (the PR that @Kludex opened) is going to be preferable for fixing swagger, as it won't require anything special in user code, and I think it's not reasonable to change what we are currently generating as the JSON schema for Optional[int] since it's technically more correct for the type annotation, is definitely what you want for Body parameters, and FastAPI currently generates the openapi spec using functions from pydantic that couldn't be aware of this distinction.
However, once #6798 is merged, it will be possible to do:
import json
from typing import TYPE_CHECKING, Annotated

from pydantic import BaseModel, Field
from pydantic.json_schema import SkipJsonSchema

if TYPE_CHECKING:
    from typing import Optional as OptionalParam
else:
    class OptionalParam:
        def __class_getitem__(cls, item):
            return Annotated[item | SkipJsonSchema[None], Field(json_schema_extra=lambda x: x.pop('default', None))]

which will then let you do:
class MyModel(BaseModel):
    x: OptionalParam[int] = None
    y: OptionalParam[int]

print(json.dumps(MyModel.model_json_schema(), indent=2))
"""
{
  "properties": {
    "x": {
      "title": "X",
      "type": "integer"
    },
    "y": {
      "title": "Y",
      "type": "integer"
    }
  },
  "required": [
    "y"
  ],
  "title": "MyModel",
  "type": "object"
}
"""

reveal_type(MyModel.x)
# note: Revealed type is "Union[builtins.int, None]"
reveal_type(MyModel.y)
# note: Revealed type is "Union[builtins.int, None]"

which will get you a JSON schema that looks the way it did with Pydantic V1.
Given this, I think after merging that PR it will make sense to close this issue in Pydantic, and instead open a FastAPI issue for the bug (and/or just wait/hope for https://github.com/tiangolo/fastapi/pull/9873 to be merged).

I consider the quality of the description document the key selling point of pydantic, and as I said - this breaks it.
A description documents consumers model for MyModel behavior is different to the original model, changing the semantics of the model.
Have the library create low quality description documents will decrease developers trust in the library itself and all software using the library.
So let's call it CompatibleOptional, document the shortcomings, and emit "x-nullable: True" as Schema Extension in the dd to document the skipped constraints.
It'll allow updating the CompatibleOptional to be a regular Optional once Swagger/* can do better wrt. to anyOf or maybe pydantic switch to type: […, "null"].

type: […, "null"]

Did you try to generate a Swagger with a schema that contains array as type? Can you show me a schema that have a Swagger UI working as you'd expect?

Use https://editor-next.swagger.io/
Import https://raw.githubusercontent.com/commonism/aiopenapi3/pydanticv2/tests/fixtures/schema-discriminated-union-deep.yaml

For type: […, none], I'm with the reproduce ability of the description document, which I consider a strong quality aspect.
description document -> model -> description document
Splitting
a: str|None

into
Astr:
  type: string
Anull:
  type: "null"
a: Astr|Anull

requires some kind of folding for the models to get back to the original form of a: str|None.
Having the description document compiler emit structural … difficult to deal with … model definitions does not make it a good choice due to the complexity in the models on the consumers side.
It is valid, it validates properly, but it's horrible to work with due to the nesting of models instead of using the intended v3.1 features.

Can you add some endpoints that use those? I've asked because there were UI issues with it. Your example only has the components.

Rendering is borked for type:[…,"null"] in path/query … most likely everything else as well.
I'll create a demo and report.

I'll just note that if we merge #6951, it will require a subtle change to the suggested code for this.
from pydantic import BaseModel, Field
from pydantic.json_schema import SkipJsonSchema

class Model(BaseModel):
    x: int | SkipJsonSchema[None] = Field(default=None, json_schema_extra=lambda x: x.pop('default'))

print(Model.model_json_schema())
#> {'properties': {'x': {'title': 'X', 'type': 'integer'}}, 'title': 'Model', 'type': 'object'}

In particular, what used to be:
x: Annotated[int | SkipJsonSchema[None], Field(json_schema_extra=lambda x: x.pop('default'))] = None

should now be
x: int | SkipJsonSchema[None] = Field(default=None, json_schema_extra=lambda x: x.pop('default'))

I think this is actually more sensible anyway since = None is like = Field(default=None), and Annotated[<type>, <Field(...1)>] = Field(<...2>) is like Annotated[<type>, <Field(...1)>, Field(<...2>)], and Annotated[int | SkipJsonSchema[None], Field(json_schema_extra=lambda x: x.pop('default'))] on its own doesn't make sense, since there won't be a default to pop.


Further updates to the v/ version of Flowable

Added subscribeOn operator.
Added additional methods in Subscribers::create()
Added a first set of tests.

LGTM. Pulling in to fbcode.

This PR broke the Travis build (asan-detected leaks), any plans to fix? @vjn @benjchristensen @lehecka


Fabianbaier/beakerx 0.8.1

added beakerx to the universe

Added suggested changes from @joerg84 (e.g. using mesos) as well as documentation https://github.com/dcos/examples/pull/258


feat: mainnet multichain

Description
Tenderly simultation: https://dashboard.tenderly.co/public/safe/safe-apps/simulator/35dfb460-493c-471a-89fc-1a244c9d8fe2

I will follow up with the readme and justfile


[CODEGEN] Enable cross compile of AMDGPU without rocm, update rpc

…lazy load additional library

cc @eqy


Update management-api-foe1.mdx

fix typo duye -> due

Thanks for catching this @lidorcg! While we're now on a newer version of Prisma and the content is outdated, it's still a valuable fix for developers that are using an older version  🙏


[prim_ram_2p] Provide read data only if requested

Previously, the 2-port RAM primitive returned read data even for writes.
Simplify the primitive by returning read data only if it is explicitly
requested. This aligns the 2p implementation with the 1p RAM primitive.
Fixes #2201

(I have no idea how the title and description of this PR were taken from another PR ... Fixed.)


Chat Completion Request Message

Enjoying the tutorial and around 3:48 I was having an error with { ChatCompletionRequestMessage } and { OpenAIApi }. As of January 2024, I have node v21.20 and openai 4.26.00 installed. The following code is updated with the new openai library. Hopefully this is helpful and if there are any errors let me know. Thanks so much! 👍  ~Lydia
import { NextFunction, Request, Response } from "express";
import User from "../models/User.js";
import { configureOpenAI } from "../config/openai-config.js";
import OpenAI from "openai";
export const generateChatCompletion = async (
req: Request,
res: Response,
next: NextFunction
) => {
const { message } = req.body;
try {
const user = await User.findById(res.locals.jwtData.id);
if (!user)
return res
.status(401)
.json({ message: "User not registered OR Token malfunctioned" });
    // Specify the type for the messages array
    const messages: { role: string; content: string }[] = [
        ...user.chats.map(({ role, content }) => ({ role, content })),
        { content: message, role: "user" },
    ];

    // send all chats with the new one to OpenAI API
    const config = configureOpenAI();
    const openai = new OpenAI({ apiKey: config.apiKey });

    // chat completion response
    const chatCompletion = await openai.chat.completions.create({
        model: "gpt-3.5-turbo",
        messages: [{ role: "system", content: "You are a helpful assistant." }],
    });

    user.chats.push({
        role: "assistant",
        content: chatCompletion.choices[0].message.content,
    });

    await user.save();
    return res.status(200).json({ chats: user.chats });
} catch (error) {
    console.log(error);
    return res.status(500).json({ message: "Something went wrong" });

};
};

please help me this project
please ma'am

aniketkumar23

Hi There!
Thank you for the screenshot.
Import React in react; in VS Code always showed a red line for me as well, but it didn't effect the outcome of my code. Your code looks "perfectly fine" :0) Here is a snippet of my code :
import React from "react";
import { Box, Avatar, Typography } from "@mui/material";
import { UserAuth } from "../../context/AuthContext";
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
import { coldarkDark } from "react-syntax-highlighter/dist/esm/styles/prism";

function extractCodeFromString(message: string) {
  if (message.includes("```")) {
    const blocks = message.split("```");
    return blocks;
  }
}

function isCodeBlock(str: string) {
  if (
    str.includes("=") ||
    str.includes(";") ||
    str.includes("[") ||
    str.includes("]") ||
    str.includes("{") ||
    str.includes("}") ||
    str.includes("#") ||
    str.includes("//")
  ) {
    return true;
  }
  return false;
}
const ChatItem = ({
  content,
  role,
}: {
  content: string;
  role: "user" | "assistant";
}) => {
  const messageBlocks = extractCodeFromString(content);
  const auth = UserAuth();
  return role === "assistant" ? (
    <Box
      sx={{
        display: "flex",
        p: 2,
        bgcolor: "#004d5612",
        gap: 2,
        borderRadius: 2,
        my: 1,
      }}
    >

I hope that helps and happy coding! ☺
@LydiasPianoStudio

please ma'am my mogodb data base not connect
please provided any this project video
because ma'am my project presentation tomorrow.
please ma'am help me i am very upset.

page not signup ma'am

ma'am please reply!

Hi, you can share github gist/workspace where you are encountering error.
I'll look into it.
On Thu, May 9, 2024, 12:41 PM aniketkumar23 @.***>
wrote:

ma'am please reply!
—
Reply to this email directly, view it on GitHub
https://github.com/Nikhilthadani/MERN-AI-ChatBot/issues/2#issuecomment-2102087098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDHCRFCV5JL4HQA35J2U4LZBMOTDAVCNFSM6AAAAABCNWX2IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGA4DOMBZHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

sir please reply

sir/ma'am please reply
i am waiting

import React, { useEffect, useLayoutEffect, useRef, useState,  } from "react";
import { Box, Avatar, Typography, Button, IconButton } from '@mui/material';
import { red } from '@mui/material/colors';
import { UserAuth } from "../context/AuthContext";
import ChatItem from "../components/chat/ChatItem";
import { IoMdSend } from 'react-icons/io';
import { useNavigate } from "react-router-dom";
import {
deleteUserChats,
getUserChats,
sendChatRequest,
} from "../helpers/api-communicator";
import toast from "react-hot-toast";
import { BeatLoader } from "react-spinners";
type Message = {
role: "user" | "assistant";
content: string;
};
const Chat = () => {
const navigate = useNavigate();
const inputRef = useRef(null);
const auth = UserAuth();
const [chatMessages, setChatMessages] = useState<Message[]>([]);
const [loading, setLoading] = useState(false);
const [inputValue, setInputValue] = useState(""); // Add this line
const handleSubmit = async () => {
const content = inputRef.current?.value as string;
if (inputRef && inputRef.current) {
inputRef.current.value = "";
}
const newMessage: Message = { role: "user", content };
setChatMessages((prev) => [...prev, newMessage]);
setLoading(true);
try {
const chatData = await sendChatRequest(content);
setChatMessages((prev) => [...prev, chatData.chats[chatData.chats.length - 1]]);
} catch (error) {
console.error("Error sending chat request:", error);
}
setLoading(false);
};
const handleDeleteChats = async () => {
try {
toast.loading("Deleting Chats", { id: "deletechats" });
await deleteUserChats();
setChatMessages([]);
toast.success("Deleted Chats Successfully", { id: "deletechats" });
} catch (error) {
console.log(error);
toast.error("Deleting chats failed", { id: "deletechats" });
}
};
useLayoutEffect(() => {
if (auth?.isLoggedIn && auth.user) {
toast.loading("Loading Chats", { id: "loadchats" });
getUserChats()
.then((data) => {
setChatMessages([...data.chats]);
console.log('Fetched chats:', data.chats); // Log the fetched chats
toast.success("Successfully loaded chats", { id: "loadchats" });
})
.catch((err) => {
console.log(err);
toast.error("Loading Failed", { id: "loadchats" });
});
}
}, [auth]);
useEffect(() => {
if (!auth?.user) {
return navigate("/login");
}
}, [auth]);
return (
<Box sx={{
display: 'flex',
flex: 1,
width: '100%',
height: "100%",
mt: 3,
gap: 3,
}}>
  <Box sx={{
    display: {
      md: "flex",
      xs: "none",
      sm: "none"
    },
    flex: 0.2,
    flexDirection: 'column'
  }}>
    <Box sx={{
      display: "flex",
      width: "100%",
      height: "80vh",
      bgcolor: "rgb(17, 29, 39)",
      borderRadius: 3,
      flexDirection: "column",
      mx: 3,
    }}>
      <Avatar sx={{
        mx: "auto",
        my: 2,
        bgcolor: 'white',
        color: 'black',
        fontWeight: 700,
      }}>

        {auth?.user?.name[0]}
        {auth?.user?.name.split(" ")[1][0]}
       </Avatar>

      <Typography sx={{ mx: 'auto', fontFamily: "Open Sans", fontWeight: 700 }}>
        Hello! Johnny 5 here!
      </Typography>
        <Typography sx={{ mx: 'auto', fontFamily: "Open Sans", fontWeight: 200, my: 2, p: 2 }}>
            How can I assist you today? I can answer many questions and even provide JavaScript code!
            Need advice? Looking up facts? I'm here to help!
            Please note that I'm not a real person, so please refrain from sharing personal information.
        </Typography>

      <Button
        onClick={handleDeleteChats}
        sx={{
          width: "200px",
          my: 'auto',
          color: 'white',
          fontWeight: "700",
          borderRadius: 3,
          mx: "auto",
          bgcolor: red[300],
          ":hover": {
            bgcolor: red.A400
          }
        }}
      >
        Clear Conversation
      </Button>
    </Box>
  </Box>
  <Box sx={{ display: "flex", flex: { md: 0.8, xs: 1, sm: 1 }, flexDirection: "column", px: 3 }}>
    <Typography sx={{
      fontSize: "40px",
      color: "white",
      mb: 2,
      mx: "auto",
      fontWeight: "600",
    }}>
      Model - GPT 3.5 Turbo

    </Typography>
    <Box
      sx={{
        width: "100%",
        height: "60vh",
        borderRadius: 3,
        mx: "auto",
        display: "flex",
        flexDirection: "column",
        overflow: "scroll",
        overflowX: "hidden",
        overflowY: "auto",
        scrollBehavior: "smooth",
      }}
    >

      {chatMessages.map((chat, index) => (

        <ChatItem content={chat.content} role={chat.role} key={index} />
      ))}
    </Box>

      {" "}
      <input

ref={inputRef}
type="text"
onChange={(e) => setInputValue(e.target.value)}
style={{
width: "100%",
backgroundColor: "transparent",
padding: "30px",
border: "none",
outline: "none",
color: "white",
fontSize: "20px",
}}
/>
<IconButton onClick={handleSubmit} sx={{ color: "white", mx: 1 }} disabled={!inputValue || loading}>
{loading ?
<Box sx={{
display: 'block',
margin: '0 auto',
}}>
<BeatLoader color={"#123abc"} loading={loading} size={15} />

:

}

);
};
export default Chat;

this part error ma'am

Hi, you can share github gist/workspace where you are encountering error. I'll look into it.
…
On Thu, May 9, 2024, 12:41 PM aniketkumar23 @.> wrote: ma'am please reply! — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDHCRFCV5JL4HQA35J2U4LZBMOTDAVCNFSM6AAAAABCNWX2IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGA4DOMBZHA . You are receiving this because you are subscribed to this thread.Message ID: @.>

https://github.com/aniketkumar23/MERN-AI-ChatBot-App-main/blob/main/frontend/src/pages/Chat.tsx

aniketkumar23

Hi There! Thank you for the screenshot. Import React in react; in VS Code always showed a red line for me as well, but it didn't effect the outcome of my code. Your code looks "perfectly fine" :0) Here is a snippet of my code :
import React from "react";
import { Box, Avatar, Typography } from "@mui/material";
import { UserAuth } from "../../context/AuthContext";
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
import { coldarkDark } from "react-syntax-highlighter/dist/esm/styles/prism";

function extractCodeFromString(message: string) {
  if (message.includes("```")) {
    const blocks = message.split("```");
    return blocks;
  }
}

function isCodeBlock(str: string) {
  if (
    str.includes("=") ||
    str.includes(";") ||
    str.includes("[") ||
    str.includes("]") ||
    str.includes("{") ||
    str.includes("}") ||
    str.includes("#") ||
    str.includes("//")
  ) {
    return true;
  }
  return false;
}
const ChatItem = ({
  content,
  role,
}: {
  content: string;
  role: "user" | "assistant";
}) => {
  const messageBlocks = extractCodeFromString(content);
  const auth = UserAuth();
  return role === "assistant" ? (
    <Box
      sx={{
        display: "flex",
        p: 2,
        bgcolor: "#004d5612",
        gap: 2,
        borderRadius: 2,
        my: 1,
      }}
    >

I hope that helps and happy coding! ☺ @LydiasPianoStudio

https://github.com/aniketkumar23/MERN-AI-ChatBot-App-main/blob/main/frontend/src/pages/Chat.tsx
ma'am line no 122 error

@aniketkumar23
I am honored to see that some.of my github project code is used for your project 😊 Though I did restyle and added some of my own logic so it may not work with the original code provided by @Nikhilthadani 😊
From a teachers prospective,  my encouragement for you is to ask questions about the errors.  For instance, what is MongoDB? Why is it not connecting? Is it the key? Did I sign up for MongoDB? 😅 (these were questions I asked myself as I am building projects)
On another note in the screenshot, part of your secret keys are showing so I would editing that out 😉
I hope that is a little helpful and good luck on your project.

@aniketkumar23
I am honored to see that some.of my github project code is used for your project 😊 Though I did restyle and added some of my own logic so it may not work with the original code provided by @Nikhilthadani 😊
From a teachers prospective, my encouragement for you is to ask questions about the errors. For instance, what is MongoDB? Why is it not connecting? Is it the key? Did I sign up for MongoDB? 😅 (these were questions I asked myself as I am building projects)
On another note in the screenshot, part of your secret keys are showing so I would editing that out 😉
I hope that is a little helpful and good luck on your project.
===================================================
thank you ma'am 👏
because my project is not response reason in this screenshot
==========================================

@aniketkumar23
I am honored to see that some.of my github project code is used for your project 😊 Though I did restyle and added some of my own logic so it may not work with the original code provided by @Nikhilthadani 😊
From a teachers prospective, my encouragement for you is to ask questions about the errors. For instance, what is MongoDB? Why is it not connecting? Is it the key? Did I sign up for MongoDB? 😅 (these were questions I asked myself as I am building projects)
On another note in the screenshot, part of your secret keys are showing so I would editing that out 😉
I hope that is a little helpful and good luck on your project.

i will be wait for your reply to this error problem
thank you ma'am.

@LydiasPianoStudio/@ @Nikhilthadani
i will be wait for your reply for this error problem.
thank you sir/ma'am.

Import React in react; in VS Code always showed a red line for me as well, but it didn't effect the outcome of my code. Your code looks "perfectly fine" :0) Here is a snippet of my code :

In the most recent version of react, you don't need import React from react any longer.   Just amke sure you are using the same version of react as the codebase. (suzanne from JOC)

@aniketkumar23
That error message means that funds are needed for the open AI Key to continue. The 500 code means that money is required in order to continue using the open AI Key. It is a small fee for everytime a prompt is used. Here is a link on how to set that up:
https://team-gpt.com/learn/knowledge-base/how-to-set-up-your-openai-billing/#:~:text=Go to your OpenAI account,billing page (if required)*.
Once funds are set up, it should start working again. I hope that is helpful. :)

Hello everyone,
@Nikhilthadani
@LydiasPianoStudio
Please help me, I'm in the stage of sending api request for chat completion. I'm currently having error POST /api/v1/chat/new 422  that I don't know where to fix.

this is my link of project: https://github.com/Hiep333/MERN-OPENAI-CHATBOT/tree/develop

@LydiasPianoStudio
@Nikhilthadani

Why it is showing 422  error please help me resolving it.

pls help i am getting the same issue as you guys with the post /api/v1/chat/new


Gainsightpx

@tayloramurphy @pnadolny13
Checklist

[ x] Add/update the file in the appropriate folder (/taps or /targets). The name of the file should match the name of the tap. If there is already one, add a descriptor to the name such as -search.
[ x] Add/update the PNG logo image in /assets/logos/<taps or targets>. The image name must match the YAML file name.
[ x] Tag @tayloramurphy or @pnadolny13 to flag it for review. Or post to the #hub channel on Meltano slack.

Reviewer Checklist

[ ] Validate file against JSON Schema. https://www.jsonschema.net/home is an option.
[ ] Build website locally and validate everything works.

@jlloyd-widen can you also add an entry in https://github.com/jlloyd-widen/hub/blob/gainsightpx/_data/default_variants.yml#L167 to add tap-gainsightpx? It looks like we don't have that on our checklist currently, but the site won't build without it. Sorry about that!

@tayloramurphy Done

@jlloyd-widen looks good I'll merge it in - thanks again for the PR and the quick fixes!


Counting heading numbers and citations

I'm writing something that requires basically counting all content.
Wordometer doesn't seem to count two things that I need:

counting the numbers in headings     (i.e.    1  Introduction = 2)
counting the words in citations      (i.e.    (Bob, 2024, p. 34) = 4)

Is there some way that I could do this? Or, is this something that can be added to wordometer?

I'm afraid I don't know the solution to this, for the same reasons as https://github.com/Jollywatt/typst-wordometer/issues/2.

Thanks for the quick response.
For now, I will try to accomplish what I need in another way (just some good ol' shell scripting, etc).
I'll leave the issue open and hopefully there will be a way in the future this can be resolved.


Confirm the correct kubeconfig is being used

https://github.com/rancher/docs/issues/2613

@dkeightley Please rebase this PR on master


checkLastPage listing only 2 pages

Did anyone had a problem when setting checkLastPage to .pagination__next (navigation/next) loaded only 2 pages and then stopped (showing status)? If I choose to make it false in the end it just keeps appeding pages that don't exist
(second case https://www.rekt.gg/f/game/49885 )
Test case: http://codepen.io/desandro/pen/WOjqNM

Thanks for reporting this bug. Sorry, I'm not able to reproduce this bug. See demo https://codepen.io/desandro/pen/932d64552cdcf7e9c31946b8d3556240/


Lots of Passive talents showing trait AbilityLinks

Worked with @stuaroo on getting the 3.0 changes into heroes-talents. He made a pretty comprehensive list of talents that are showing up with Trait links even though they are type Passive. https://github.com/heroespatchnotes/heroes-talents/pull/38#issuecomment-450634140

All is intended. So the abilityTalentLinkIds are supposed to match the ingame ability tooltip expanders.  When you hover over an ability and it shows the talent names in yellow text, that's what the abilityTalentLinkIds are supposed to match.

Active and Passive have no abilityLinks - Yes, expected. Abilities are only base kit (plus ult) so talents that stand as their own abilities (like Varian Banner, Garrosh Body Check) won't ever be linked. Some passive talents should have links (e.g. ZaryaDefensiveShielding)

Talents are supposed to be linked, I fixed with https://github.com/koliva8245/HeroesDataParser/commit/85c2b38a100c9b1a9f906ea8e87cc7d5a3645ec0.


iox-#1542 Support Bazel build system

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[ ] All touched (C/C++) source code files are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

Building
Building as described in doc/website/getting-started/installation.md with:
bazel build //...

Build will use gcc. Other compilers can be selected using environment variables:
CC=clang bazel build //...

Testing
Running all tests with:
bazel test //...

Issues / Open Points / Discuss
1. Bazel version is not defined
Would be an option to set a specific bazel version in .bazelversion file.
2. C++-Standard is set to C++14
Used .bazelrc to set compiler flags for c++14.
Changing will require to edit .bazelrc.
3. Only linux (ubuntu 20.04) tested
Extending to different operating systems would be an follow up issue.
Maybe should be created right away.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior

[ ] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1542

@elfenpiff

Who is responsible for the bazel setup and takes care of additional bazel issues? @kwallner would you be willing to respond quickly to upcoming bazel issues?

That will be me.

We have at the moment no verification by the CI that this bazel setup is actually working. Could you add a bazel CI target for ubuntu-latest where everything is build.

The CI target will be added with this MR, Karl just made the intial commits ready.
We will add a sanity check job on Ubuntu that builds and test with bazel.

For which platforms do we want to provide bazel support?

Ubuntu only (20.04).

@kwallner
Regarding the open points to discuss:

Bazel version is not defined
Would be an option to set a specific bazel version in .bazelversion file.

Wouldn't this not make our project harder to integrate into other bazel workspaces?
For me it make sense to support the latest (stable) version of bazel that we should test in the CI.
According to the bazel Bazel versioning this would be currently 5.2 to use in the CI.
Support for older versions is not planned.
For now we can try to live without a bazel version file for more flexibility, if we face increased effort by maintaining multiple versions we can still fix the version.

C++-Standard is set to C++14
Used .bazelrc to set compiler flags for c++14.
Changing will require to edit .bazelrc.

For now it is ok to enforce here C++14 as we do the same in CMake. We do not change the C++ standard that often so that maintaining this file should not be a problem.

Only linux (ubuntu 20.04) tested
Extending to different operating systems would be an follow up issue.
Maybe should be created right away.

We have to consider that we already face considerable build times on the GitHub Actions with the existing jobs due to increased usage of Runners for etc.
MacOS and Windows support is mainly driven by the ROS 2 integration where Bazel is not used as build system.
The MacOS runners are already in excessive use so that i would here more rely on the community if the build on MacOS faces a problem.
Possible follow-ups on the following questions:

[ ] Code-coverage
[ ] Adress-sanitizer and friends in bazel

@kwallner You need to add the bazel-* directories to .gitignore file.

@elfenpiff
"Code Linting" is caused by failed request to https://github.com/eclipse-iceoryx/iceoryx/blob/master/BUILD .
This file will exist after the merge.
How to handle this?

@dkroenke
Don't understand checklist task "All touched (C/C++) source code files are added to ./clang-tidy-diff-scans.txt". What is the actual TODO here?

@dkroenke
Don't understand checklist task "All touched (C/C++) source code files are added to ./clang-tidy-diff-scans.txt". What is the actual TODO here?

@kwallner this check affects only the C++ code in iceoryx, since we are only touching the include paths for the internal API (and correct it) this is out of scope here.

LGTM from my side! Many thanks @kwallner for this great contribution. :clap:

Folow-up topics for Bazel are tracked here: https://github.com/eclipse-iceoryx/iceoryx/issues/1547


Projects lost from project list when multiple editor instances are running

Godot version
v3.4.1.stable.official
System information
Windows 11 Home Version: 21H2 OS build: 22000.434 Experience	Windows Feature Experience Pack 1000.22000.434.0
Issue description
I often have multiple projects open in separate editor instances. Until recently this was not a problem. Now, if I open an additional editor instance and create a new project, the new project eventually disappears from the project list. I'm assuming that one of the other editor instances is overwrites the entire project list.
Steps to reproduce
1 Open the editor on a project.
2 Open a second editor instance and create a new project.
3 Close the editor second instance.
4 Close the first editor instance.
5 Open the editor again.
6 The project created in step 2 does not appear in the project list.
Minimal reproduction project
No response

This is because project list is stored in editor settings and they are saved automatically upon exit.

Duplicate of https://github.com/godotengine/godot/issues/40968 (same cause).


Add OpenSearch container

You have implemented a new container and would like to contribute it? Great! Here are the necessary steps:

[x] You have added the new container as a module in the testcontainers directory (such as testcontainers/my_fancy_container.py).
[x] You have added any new python dependencies in the extras_require section of setup.py.
[x] You have added the extra_requires key to requirements.in.
[x] You have updated all python requirements by running make requirements from the root directory.
[x] You have added tests for the new container in the tests directory, e.g. tests/test_my_fancy_container.py.
[x] You have added the name of the container (such as my_fancy_container) to the test-components matrix in .github/workflows/main.yml to ensure the tests are run.
[x] You have rebased your development branch on master (or merged master into your development branch).

Codecov Report

Merging #276 (c2e2fcc) into master (29629e2) will decrease coverage by 18.19%.
The diff coverage is 0.00%.

:exclamation: Current head c2e2fcc differs from pull request most recent head d488cb9. Consider uploading reports for the commit d488cb9 to get more accurate results

@@             Coverage Diff             @@
##           master     #276       +/-   ##
===========================================
- Coverage   86.73%   68.53%   -18.20%
===========================================
  Files          29       30        +1
  Lines         814      839       +25
  Branches       57       58        +1
===========================================
- Hits          706      575      -131
- Misses         78      238      +160
+ Partials       30       26        -4

Impacted Files
Coverage Δ

testcontainers/opensearch.py
0.00% <0.00%> (ø)

testcontainers/mssql.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/postgres.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/compose.py
0.00% <0.00%> (-98.37%)
:arrow_down:

testcontainers/mysql.py
0.00% <0.00%> (-84.00%)
:arrow_down:

testcontainers/oracle.py
0.00% <0.00%> (-55.56%)
:arrow_down:

testcontainers/core/generic.py
77.14% <0.00%> (-8.58%)
:arrow_down:

testcontainers/core/container.py
71.13% <0.00%> (-6.19%)
:arrow_down:

testcontainers/core/waiting_utils.py
87.50% <0.00%> (-5.00%)
:arrow_down:

testcontainers/core/docker_client.py
51.16% <0.00%> (-4.66%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Flaky Test? I can't see any relation to my changes.

Thanks!


Update to di-ruby-lvm-attrib 0.0.27

Description
Update to di-ruby-lvm-attrib 0.0.27. 0.0.26 is lacking the metadata needed on Ubuntu 16.04.
Issues Resolved
#105
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD

thin tests are failing due to a different issue. non-thin tests pass.

[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Thanks


Merge styles

Merge several <style> into one. Consider if the style tag's position is significant for rendering.
@stevenvachon, thanks for the idea.

Tag's position doesn't affect anything, except perhaps while streaming the page on a very slow connection. CSS is always cascaded, so once the page is loaded, the result is the same as if they were merged.

Actually, it does if the scoped attribute is present.

Aye, didn't know about that

Done. Will be shipped in the next release (0.1.4).


Add Grumpy Visitors updates

Part of #111 ("Newsletter 9: Coordination/Tracking")

@mvlabat Cloud you please enable the "Allow edits and access to secrets by maintainers" checkbox on this PR so I could resolve the conflicts and tweak a few things before merging?

Merged, thanks for the PR!


[CKCluster retain]: message sent to deallocated instance

I am having an issue in Google Maps, sometimes when the delegate mapView:didTapMarker: is called and I access the .cluster property of the marker, I got a message and crash that the message was sent to a deallocated instance:

[CKCluster retain]: message sent to deallocated instance

Is there any reason why this might be happening and why the object has been deallocated?

The cluster property of GMSMarker is marked as weak but it's actually an assign. If you try to access it after the cluster list has changed, the cluster instance will be deallocated. Is there any reason the clusters list would change at this stage? do you have a snippet of your mapView:didTapMarker:?

I spent too much time trying to debug this issue and couldn't figure it out and needed to move on. I moved to Google Maps Utilities clustering instead.

@maxep We are experiencing the same issue, but we are actually changing the cluster list in mapView:didTapMarker:. Is there a solution for this? Thanks!


Fix duplicated cohorts not retaining the selection in combobox

Description
Prior to this change, each time cohort was opened in edit mode filters - selection were set to default values.
Now it checks if there are any previously selected values for the filter and sets the selected value if they are present. If not default value is set.
arg value is used to show the selected values in combobox.
retained arg value is only shown for below filters

PredictedYLabel,
TrueYLabel,
ClassificationError

Checklist

[x] I have added screenshots above for all UI changes.
[x] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1785 (1326644) into main (fd233b3) will increase coverage by 12.60%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1785       +/-   ##
===========================================
+ Coverage   75.72%   88.32%   +12.60%
===========================================
  Files          16       89       +73
  Lines        1141     5259     +4118
===========================================
+ Hits          864     4645     +3781
- Misses        277      614      +337

Flag
Coverage Δ

unittests
88.32% <ø> (+12.60%)
:arrow_up:

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

Impacted Files
Coverage Δ

.../databalanceanalysis/aggregate_balance_measures.py
92.85% <0.00%> (ø)

...onsibleai/responsibleai/managers/causal_manager.py
95.51% <0.00%> (ø)

...i/responsibleai/managers/error_analysis_manager.py
88.88% <0.00%> (ø)

raiutils/raiutils/common/__init__.py
100.00% <0.00%> (ø)

...onsibleai/responsibleai/serialization_utilities.py
96.55% <0.00%> (ø)

raiutils/raiutils/data_processing/__init__.py
100.00% <0.00%> (ø)

...bleai/responsibleai/_tools/causal/causal_config.py
100.00% <0.00%> (ø)

...ponsibleai/responsibleai/modelanalysis/__init__.py
100.00% <0.00%> (ø)

raiutils/raiutils/common/retries.py
100.00% <0.00%> (ø)

..._core_flask/environments/databricks_environment.py
56.25% <0.00%> (ø)

... and 63 more

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


[Feature]: Adding Engaging Visual Elements/Map in Documentation

Feature Description

Importance
4
What does this feature affect?

[ ] quantum system construction
[ ] problem setup
[ ] problem solution
[ ] problem performance
[ ] solution analysis
[ ] plotting
[X] documentation
[ ] tests
[ ] other (please specify below)

Other information
Adding schematics like this allows the beginners to get a complete overview of the package in an instant. It also makes the documentation more engaging to read without having to explore the API.

hey @Fe-r-oz sorry we are just seeing this, we had something like this before, but this is MUCH clearer, we will probably merge it in later this week

Hi @aarontrowbridge , No problem.  I would like to have your thoughts on another approach. Let's call it a docstring based approach instead of a hard coded figure based approach.
I think in the long run, a better, maintainable solution would be by using dynamic schematics created in docstring using Mermaid. This means that whenever a new functionality is added, we can just add update the code with ease instead of using hard coded schematics.
Here is a rough version with default color scheme in Mermaid attached below. As it's a screenshot attached below, it's not clear, But it will be much clearer when rendered via browser.
This approach might not be as fancy as the one above but it's maintainable and easily updateable. What do you suggest?
I can submit a polished PR of this approach later this week. Please do let me know if there is any other flowcharts we can add, refer me to the paper (if any) and I will look into it as well

Mermaid seems to flatten the hierarchical structure of the package. @Fe-r-oz Is this expected, or an artifact of the screenshot? For example, we see here that ProblemTemplate and QuantumUtils are repeated many times, but in the original post the hierarchy looks correct and easy to interpret.

Indeed, we don't want the labels to be repeated many times. Thanks for pointing that out. I have fixed it.
How about this (screenshot taken from browser)?

That looks good! Is there a way to tag what functions appear in the preview? Perhaps, a flag in the docstring parsed by the dynamic schematic that says "yes, this function should be displayed".
My reason is that not all exported functions have the same priority for users. For example, isovec_unitary_fidelity is useful to export, but most users will interact with unitary_fidelity.

Option 1

Option 2

Option 3: We can only include unitary fidelity.
Mermaid flowcharts is typically written in HTLML format
 ...
 so there is no explicit tag. Nevertheless, I have presented 3 options which are close to your requirements. Please let me know which sounds good.

I think isovec_unitary_fidelity should be treated as a unique function. This looks good though!

Thanks for your suggestion.
In the  """ [docs](url)  """,  I think we can add the href with [Preferred Title](url) similar to how we do it in .md.


Add some references

IMPORTANT: Please search among the Pull request before creating one.
Title
Add a few references
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] New feature (non-breaking change which adds functionality)

Description
See title.
How has this been tested?

Closes

I think this is uncritical - I'm merging now.


Update docker-compose to run e2e tests

Purpose
Update docker-compose, using cypress' own docker image, to start the development server and run end-to-end tests. We also added a Makefile command to do the same.
Ticks a box in automated testing in #888.
NB: as noted in the docs

This will launch the tests using cypress run. We do not provide a way to use cypress open through docker as this requires dependencies on the host. In our opinion users who need cypress open are better off just using cypress natively.

@mbenadda On the contrary, I think the fact that dependencies are required is a use case for a docker container so that we don't have to install them on our systems...

Did you read the link in the docs? It specifically needs dependencies on the host to be able to run cypress open in a docker-container. (and those are different based on the OS eg. OS X will not need the same as Linux).
IMO it's useless, might as well install cypress on the host in this case.


allow work on Windows that lacks strptime

... by using c++ get_time
fixes #55, #63

This is great. I couldn't have come up with it. I also can't test it (no Windows) but I trust that it works. Thank you!


'use-secure-random' attribute

The attribute is going to be part of the documentation table, so included in each load-balancer page. I don't believe we need a section about that parameter.

Actually... no, the tables are not copied in the LB. Fixing...

@aureamunoz fixed!


vscode az-file system upload

Does this occur consistently? Yes
Repro steps:

installed vscode azure file system extension
create new share files system from vscode

Action: azureStorage.uploadToAzureStorage
Error type: Error
Error Message: Cannot upload to Azure from an Azure resource.
Version: 0.11.0
OS: darwin
OS Release: 20.2.0
Product: Visual Studio Code
Product Version: 1.53.2
Language: en

Call Stack
extension.bundle.js:515:405950
fulfilled extension.bundle.js:515:405221
processTicksAndRejections task_queues.js:97:5

Successfully created storage account "skuchainbackups".
Error: Cannot upload to Azure from an Azure resource.

Hi @RaspiRepo
Thanks for using the Azure Storage extension.  It looks like you're trying to upload an Azure resource from an Azure resource.
If you want to transfer a resource between Azure storage accounts, you'll need to download the resource locally first, and then upload the local file to the other Azure resource.
Please let me know if that resolves your issue!

Got it Thanks for update


Test multi syscall

TITLE
Description
Description of the pull request changes and motivation.
Checklist

[ ] Linked to Github Issue
[x] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #687 (b55797e) into main (29dd9e8) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #687   +/-   ##
=======================================
  Coverage   92.51%   92.52%
=======================================
  Files          51       51
  Lines       12090    12090
=======================================
+ Hits        11185    11186    +1
+ Misses        905      904    -1

see 1 file with indirect coverage changes


enh: add tests for checkListenerPorts

What this PR does / why we need it:
It increase unit test coverage for LB file
Which issue this PR fixes(if applicable):
refers https://github.com/kubernetes/cloud-provider-openstack/issues/2400
Special notes for reviewers:

Release note:

NONE

/ok-to-test

/retest

@pierreprinetti Please check this I have made all the changes which @dulek had requested

Thank you! Please rebase and we're good :rocket:

Thank you! Please rebase and we're good 🚀

I think it's already aligned with master branch, can you please check again?

Right: I should have said “squash”, not “rebase”

There are multiple merge commits from main in this branch, squashing would
make the git history dirty due to those. Do you know how can I get over it?
On Tue, 17 Oct 2023 at 00:12, Pierre Prinetti @.***>
wrote:

Right: I should have said “squash”, not “rebase”
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/cloud-provider-openstack/pull/2405#issuecomment-1765078364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDCZVU3Q5QTBCSZOUF6CJRTX7V52XAVCNFSM6AAAAAA5XPXQTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGA3TQMZWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The problem here is that you have meged master into your branch, whereas you should have rebased your branch onto master.
You have several options, the cleanest of which would entail git fetch --all && git rebase -i origin/master. I encourage you to explore that.
If you find yourself stuck, be aware that you can cancel the rebase at any time with git rebase --abort.

If instead you just want the job done and you're not afraid of using any means necessary:
git reset origin/master --hard \
	&& git apply <(curl -sSL https://github.com/kubernetes/cloud-provider-openstack/pull/2405.diff) \
	&& git add --all \
	&& git commit

But please don't tell anyone :shushing_face:

In any case, for the next time, I strongly advise you rebase instead of merging:
git fetch origin
git rebase origin/master

Unfortunately, another PR merged and you've won a new rebase round

Or maybe I am misinterpreting the label?
/lgtm
/assign jichenjc

/approve
/hold
hold for conflict solve, then let's unhold

@jichenjc @pierreprinetti  can you please re-add the lgtm labels & merge this?

/lgtm
/hold cancel


should mention XRM

Its says "we don't provide assemblies for a specific developer experience", but as far as I can tell, the XRM SDK is exactly this. Maybe the "we" who authored this section is different from the group that developed the XRM Libraries but it would certainly be useful to many readers to at least indicate the existence of the XRM at this point.

@timrobinson33 Can you point us to the doc you're talking about, so that we can assign it to appropriate person.

Sorry I thought I clicked to leave feedback on the specific page. it's this one
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/overview
the third paragraph in the top section

@timrobinson33  The Xrm Tooling capability in our SDK is for use with the 2011 SOAP endpoint. Web API applications do not use the SDK assemblies. Thanks for your feedback.


Add a citation file

We can add a citation file for the BibTex to appear in the repo description
See here https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files

Yes! We recommend citing the paper, but we would need to republish it with new names :-D. Therefore, I think switching the citing to the repository is the most appropriate and easiest way. Your name should definitely be included as well.

In terms of Google Scholar, a repo is most likely a citable item. However, for Scopus, it is doubtful. This means that this repo will not appear in our personal Scopus profiles. It might be significant for those of us with career ambitions.


Add tags block in deployment manifest

This change adds tags block in manifest of existing as well as new
deployments. If applied, Resources will get tagged with space and org guids at
iaas level. For existing deployments manifest changes are applied after update.
tags:
space_guid: <space_guid>
organization_guid: <org_guid>

As there are 2 approvals , merging the PR.


[DE-231] deployment workflow will add new .yml files

@jitoquinto @kanelouise this seems to be working! Partially closes DE-231. We can have ymls (and yamls) deploy with the workflow now 🎉
this PR includes a trivial change to a comment in dbt_project.yml to validate that it's being updated ✨

closed this in favor of https://github.com/community-tech-alliance/dbt-cta/pull/147


/api/1.3/profiles/name/{{ profileName }}/parameters only accepts 1/0 for the secure field

When trying to POST to the above API with true/false I get the following error: parse error: decoding: json: cannot unmarshal bool into Go struct field ProfileParameterByNamePost.secure of type int. However, the /api/1.3/profiles/{{ item.profileId }} API outputs true/false for the secure field.

downgrading this as it sounds like you just have to use 1/0 instead.

1.x will soon be removed. closing.

1.x will soon be removed. closing.


add dependabot, bump and pin actions deps

Summary

Release Note

Documentation

Stuck GHAs are likely due to Pulumi being out of sync.


chore(app): added typespecs

fixed dialyzer and credo warnings

Hi @dennisxtria!
We don't use credo in this project and we have no plan to do it anytime soon. However, we'd love a PR that fixes only the dialyzer warnings 😉
Thanks!

Ok, I'm closing this request and will submit a new one.
Thanks!


[Symfony-toggle] Create DBAL Implementation Compiler pass

Epic: #97 Symfony Toggle
Package: https://github.com/pheature-flags/symfony-toggle
Description:
Create DBAL Implementation Compiler pass from existing PheatureFlagsExtension. And include the compiler pass in the extension class.
<?php

        if ('dbal' === $driver) {
            $finder->addArgument(new Reference(Connection::class));
            $repository->addArgument(new Reference(Connection::class));
        }

Checking our current configuration, I think we'll need to define connection details to register the Connection class in the container. Now, Symfony throws an exception due to there's no service called Doctrine\DBAL\Connection and if you try to define it, it throws a fatal error because the Connection class needs some configuration through the constructor :/

Yes, maybe not defining an exclusive connection for our library, but getting the Connection class identifier inside the container from config.
pheature_flags:
   dbal:
     connection_id: 'my.connection.identifier'

<?php

        if ('dbal' === $driver) {
            $finder->addArgument(new Reference($config->dbal()->connectionId()));
            $repository->addArgument(new Reference(Connection::class));
        }

or something like that?
This will allow the end-users to use their preferred DBAL connection.


Feature/multiselect attributes

Convert comma separated option_ids from multiselect Magento attributes into arrays.
You can set the attributes in config.js in the product property with a newly added property:
multiSelectAttributes
In preprocessItem in the product adapter this array is looked up, if a attribute code exists in the config array and if this attribute value contains commas it gets converted into an array.
This is necessary to enable multi selection options for attribute in layered navigation

Closed by: #70 as it presents more general solution. Thanks!


File explorer can't open files with unicode characters or spaces in it

From ccordoba12 on 2011-08-29T00:12:56Z
I can't open a file with these characteristics in 2.1. Besides, if a file is inside a directory which has unicode or spaces in its name, it won't open either.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=740

From pierre.raybaut on 2011-08-29T08:37:03Z
Any traceback?
(I can't reproduce this behavior)

From ccordoba12 on 2011-08-29T15:20:33Z
The problem doesn't happen with files that can be opened in the Editor. But if I try to open a file in an external program I'm getting this in the terminal from which I launched Spyder (translated from Spanish):
An error ocurred while showing the url: Error to show the state information of the file «/home/carlos/Im%C3%A1genes/Object_Inspector.png»: The file or directory doesn't exist. The directory with misspelled characters is called Imágenes, which is Pictures in Spanish.
The problem seems to be happening only on Linux. I just tested it on Windows and everything is fine there.
Labels: OpSys-Linux

From pierre.raybaut on 2011-08-31T00:59:50Z
Can you handle this?
The problem has to be somewhere between here: https://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/explorer.py#377 and there: https://code.google.com/p/spyderlib/source/browse/spyderlib/utils/programs.py#42 A couple of prints statements should at these locations should allow you to debug this rapidly.

From ccordoba12 on 2011-10-25T21:05:31Z
This issue was closed by revision 60892f2f85ce .
Status: Fixed

From<EMAIL_ADDRESS>on 2011-11-30T11:24:23Z
Broken again in revision fbb33f9266a9 .

From ccordoba12 on 2011-11-30T13:23:52Z
Great eye eborisch! I left detailed instructions about why we have to use setUrl instead of setPath on revision 60892f2f85ce and I corrected some problems introduced by this commit in revision 259d885f286a I'll now leave a comment on the right line so that this won't happen again and release a fix for the revision mentioned by eborisch.
Status: Started

From<EMAIL_ADDRESS>on 2011-11-30T13:04:48Z
Can anybody create a small test case that exhibits the bug? On Fedora 16 I can open .py file inside "s s" directory without problems.

From pierre.raybaut on 2011-11-30T14:15:58Z
By the way, in case like this one, when this is critical but not trivial to use one implementation instead of another, this is good to mention it in the commit message but commentaries are also welcomed. I try to do it myself to avoid this kind of regression. But I still think that I should have read carefully the history log too, of course.
Anyway, unfortunately I've just made a critical bugfix release today: this could have been the opportunity to fix this regression too. Do you think it's critical?
(anyway we should not wait too long to fix this if it affects linux platforms to not miss the next Ubuntu LTS release)

From pierre.raybaut on 2011-11-30T14:05:51Z
Oh I'm so sorry Carlos. I should have followed this and I should have read your comments!
At least I've learnt that setUrl does not work well on Windows 7. So we may probably add an if statement and use setPath on Windows platforms and setUrl on others.
What do you think?

From ccordoba12 on 2011-11-30T14:32:32Z
Sorry about that, you're right, I should have left a comment. I'll try to keep it in mind next time.
I don't think it's critical but you're right again, we have to fix it soon.
I don't know if using setPath in Windows is the best choice. It would be better to try to fix the problems that you're seeing. What are they?
The thing is that now all filenames have to be preceded by the file uri (file://), as I mentioned, but then to use setPath we should strip it just for Windows. I don't know, I don't like it too much. It should work as it is....

From pierre.raybaut on 2011-11-30T22:24:46Z
Actually I did test this quite quickly but, as I remember it, the function was just failing silently on my test machine (Windows 7): no traceback at all, nothing happened.

From<EMAIL_ADDRESS>on 2011-12-01T00:33:22Z
It looks like a bug in Qt if some function works only on Linux and the other one on Windows 7 only. If there was a simple example, I could report it upstream.

From pierre.raybaut on 2011-12-01T13:35:35Z
This issue was updated by revision ea5b5380a264 .
Status: Fixed

From pierre.raybaut on 2011-12-01T01:15:17Z
Ok, so I've just checked on XP and 7: revision fbb33f9266a9 was absolutely not necessary. I think made it together with the next revision which indeed fixed a silent fail of the "Open" action, and I must have mixed these two changes in my head.
I'm going to simply revert revision fbb33f9266a9 .
Owner: pierre.raybaut
Cc: ccordoba12


added lmgtfy function but to right branch

Denied. Please use proper pep8 conventions and add a new line between the end previous command and the decorator for the new one, and two new lines between the end of the lmgtfy command and the extension setup function.


Fallback to global for _global

In some contexts, "this" may be undefined.
Falling back to global avoids this error.
http://stackoverflow.com/questions/9822561/why-is-this-in-an-anonymous-function-undefined-when-using-strict

FWIW, this fixes an issue with using node-uuid with babeljs:
node-uuid/uuid.js:19
  if (typeof _global.require == 'function') {
                    ^

TypeError: Cannot read property 'require' of undefined

The issue I mention was previously reported here as #119. The same (or similar) issues have been reported in packages depending on node-uuid: request/request#1661, and HewlettPackard/grommet#179, the latter fixed by dropping the node-uuid dependency.

Need this!

same issue here with babel, I can confirm that the PR resolves the issue for me.

Let's get it merged?

Check out v1.4.6 and let me know if the issue is resolved.


Support for R5

Any plans for incorporating FHIR R5 resources?

+1 It would be useful to have R5 and a roadmap for R6

We've been discussing this internally, along with improving standards compliance, adding TypeScript support, and other use cases.  We'd be interested in learning more about your needs.  Could you provide some insight on the use cases you're trying to solve for?

At a high level:

Thanks for posting the picture.  That's helpful.
I'm familiar with the graphic here, but yours seems slightly different.  Mind sharing the source?
Are you trying to follow the guidelines here, the current R6 draft, or something else?

Same source, I had created the one for the ncpi draft IG.  Yes, trying to follow that IG. Only addition is: the use of the DiagnosticReport is as an alternative to Task.  We would need to have R5 support.  A commitment to support R6 if/when it becomes official is helpful.


urlSync perf issue on Chrome

Chrome has troubles updating the URL as often as it can get when typing in the searchbox, resulting in a very slow/laggy search experience.
We don't really need the URL to be updated at each keystroke (who wants to click the back button 10 times after typing a 10-letter query?), so the best solution could be to sync the URL only when the searchbox is blurred?
Or at least debounce the URL update to avoid changing it too often.

Debouncing was discussed in #776 and could be solved via #817.
Also I think typing with urlSync already updates the URL with replaceState rather than pushState which eliminates the back button problem. See http://community.algolia.com/instantsearch.js/examples/media where when you type fast this pushes only a single state in the browser history which gets replaced on subsequent characters. Only after you stop typing for a moment it would push the next characters in a new state.

@hkdobrev is right, the URL is updated but new entries in history are only created when a certain amount of time is passed. This is platform related and even not reproducible on all OS.
From our tests, UX wise, debouncing is far from perfect as it is not very predictable when you don't know the implementation. As for listening to the change or blur event, it implies that you click out of the search box to register the new entry, which is again not that great.

I think the current behavior is fine in term of UX (only pushing a new entry after 700ms). But we may have an issue because of updating the url bar at each keystroke. This is platform dependent as @bobylito said so we need to be careful here before taking a decision.
I am not sure in term of UX updating the url bar at each keystroke is the best idea, the more I use it the more it "feels" less performant because not only the whole screen is updating but also the url bar which can be confusing (== where do I need to look on my screen? urlbar? webpage?). It can be taken as "noise"
Maybe just updating the urlbar when we push a new state could be sufficient.
As for the performance problem of @olance it may be related to the replaceState at each keystroke, we need a real video comparison without any dev tool nor extension loaded of the before/after activating it @olance, thanks!

@vvo Well internally each keystroke is a new state, and a new search. Do you have ideas on how it could work with the pattern you propose?

Sorry I meant "maybe updating the url bar only when using history.pushState" which means only after the thresold.
Today we both update  it at each key stroke AND after the thresold

What about updating it only when the user focusses out of the input?
That's a predictable event, and will avoid pushing new states when its not needed.

I would prefer updating the url only after the thresold and not on every keystroke. @bobylito you implemented the on keystroke updating on the url, what do you think of removing it to only update it after the thresold?

Moved to #837


Release Google.Cloud.Datastream.V1Alpha1 version 2.0.0-alpha04

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.Datastream.V1Alpha1-2.0.0-alpha04


Use temporal data with shape: [batch_size, seq_length, n_features]

Hi! I have some data I would like to test on your model but I cant manage to train it. The dataset contains N sequences with length 100 and 10 features in each time step. How should I set the parameters / network architecture? Thank you in advance.

You should set mnist=False and input_channels=n_features when constructing the model, If you want the model to incorporate the time series component with the Markov model, you will have to train on single sequences as batches, that is, one batch would have the shape [seq_length, n_features]. I hope this helps!

Yeah, it worked! Thank you for your response!


open twitch usercard on middle mouse

Description
Opens twitch usercard on middle mouse button on a username in chat

Thanks for the contribution @gempir


fix: ensure cli handles scalar lists correctly

Fixes https://github.com/dagger/dagger/issues/7320.
Also added tests for this. cc @TomChv the typescript tests I added seem to fail, with:
$ dagger --progress=plain call --source=. test custom --race=true --pkg=./core/integration --run=TestModuleScalarType/typescript
...
    module_test.go:2989:
        	Error Trace:	/app/core/integration/module_test.go:2989
        	Error:      	Received unexpected error:
        	            	input: container.from.withMountedFile.withWorkdir.withExec.withNewFile.withExec.stdout resolve: process "dagger --debug query" did not complete successfully: exit code: 1

        	            	Stderr:
        	            	1: in dagger --debug query
        	            	1: Error: make request: returned error 400 Bad Request: failed to get schema for module "test": failed to create function "fromPlatforms": failed to find mod type for function "fromPlatforms" arg "platform" type

        	            	15:42:31 DBG frontend exporting spans=1
        	            	15:42:31 DBG frontend exporting span trace=b9c43ba0461c6e244dabbe1406b06afa id=82e27b67a024516f parent=fd0d740fbafba8a2 span="dagger --debug query"
        	            	15:42:31 DBG recording span span="dagger --debug query" id=82e27b67a024516f
        	            	15:42:31 DBG recording span child span="dagger --debug query" parent=fd0d740fbafba8a2 child=82e27b67a024516f
        	            	15:43:01 DBG frontend exporting spans=1
        	            	15:43:01 DBG frontend exporting span trace=b9c43ba0461c6e244dabbe1406b06afa id=82e27b67a024516f parent=fd0d740fbafba8a2 span="dagger --debug query"
        	            	15:43:01 DBG recording span span="dagger --debug query" id=82e27b67a024516f
        	            	15:43:01 DBG recording span child span="dagger --debug query" parent=fd0d740fbafba8a2 child=82e27b67a024516f
        	            	15:43:31 DBG frontend exporting spans=1
        	            	15:43:31 DBG frontend exporting span trace=b9c43ba0461c6e244dabbe1406b06afa id=82e27b67a024516f parent=fd0d740fbafba8a2 span="dagger --debug query"
        	            	15:43:31 DBG recording span span="dagger --debug query" id=82e27b67a024516f
        	            	15:43:31 DBG recording span child span="dagger --debug query" parent=fd0d740fbafba8a2 child=82e27b67a024516f
        	            	15:43:43 DBG frontend exporting spans=1
        	            	15:43:43 DBG frontend exporting span trace=b9c43ba0461c6e244dabbe1406b06afa id=82e27b67a024516f parent=fd0d740fbafba8a2 span="dagger --debug query"
        	            	15:43:43 DBG new end old="0001-01-01 00:00:00 +0000 UTC" new="2024-05-08 15:43:43.799920182 +0000 UTC"
        	            	15:43:43 DBG recording span span="dagger --debug query" id=82e27b67a024516f
        	            	15:43:43 DBG recording span child span="dagger --debug query" parent=fd0d740fbafba8a2 child=82e27b67a024516f
        	            	15:43:43 DBG frontend exporting logs logs=1
        	            	15:43:43 DBG exporting log span=82e27b67a024516f body="Error: make request: returned error 400 Bad Request: failed to get schema for module \"test\": failed to create function \"fromPlatforms\": failed to find mod type for function \"fromPlatforms\" arg \"platform\" type\n\n"

        	            	Error: make request: returned error 400 Bad Request: failed to get schema for module "test": failed to create function "fromPlatforms": failed to find mod type for function "fromPlatforms" arg "platform" type

        	            	Error: make request: returned error 400 Bad Request: failed to get schema for module "test": failed to create function "fromPlatforms": failed to find mod type for function "fromPlatforms" arg "platform" type

Both go and python seem to pass, not quite sure as to why typescript doesn't, any chance you could lend a hand?

Looks like the Platform[] is being registered as string[]:

I think I've worked out what's wrong - this looks wrong:
https://github.com/dagger/dagger/blob/f1aa5e117e163449208519ce6c6b1dbdb8ef5d79/sdk/typescript/introspector/scanner/utils.ts#L75-L81
Essentially, if we're trimming off the end of the list here, we should also be modifying the type arg, and descending into it's element type here. However, I'm not quite sure how to do this - are all lists in typescript EvolvingArrayType? What's the type for an array?

There's a larger issue here:
https://github.com/dagger/dagger/blob/f1aa5e117e163449208519ce6c6b1dbdb8ef5d79/sdk/typescript/introspector/scanner/utils.ts#L95-L108
This makes Platform[] produce a list of objects.

I can check that next week, I'm currently off and come back on Monday, I know where the issue come from, it's an easy fix


New alias syntax

The goal of this PR is to update the implemented alias construct to reflect its definition on the Semantics of K document.
Basically, the new syntax allows things like alias X where X = Y (where is the new part) so we need to update all data structures and functions that manipulate them accordingly.

Can one of the admins verify this patch?

Jenkins: add to whitelist

@traiansf @virgil-serbanuta thanks for the comments. I addressed the style issues, fixed the Scala parser, done some cleanup and fixed all the warnings-as-errors on Jenkins. I'll address the remaining open comments (checking sorts etc.) tomorrow.

I think I addressed pretty much everything. Please re-review if necessary and let me know if I can merge or if there are further changes needed. Thanks!


Feature Request: CSV Export #166

This integrates DataTables buttons into the project in order to enable export
as CSV functionality.
See here: https://datatables.net/extensions/buttons/examples/initialisation/export.html
(There are a couple other features, but in the interest of space, kept just the CSV)
Change to UI

Looks great - thanks!


perlPackages.XMLParser: fix cross-compilation

Motivation for this change
support cross-compilation by removing unnecessary use English;
Needed for cross-compilation of whole closures (as dependency of switch-to-configuration.pl)
Fixes https://github.com/NixOS/nixpkgs/issues/36675

@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser

Failure on x86_64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser
Partial log (click to expand)
patching ./t/00-report-prereqs.t...
Can't load module B, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the B module statically linked into it.)
 at /nix/store/17yd4dg4hn9ax5z73i6d531fjgy91v23-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/armv7l-linux/B.pm line 33.
BEGIN failed--compilation aborted at /nix/store/17yd4dg4hn9ax5z73i6d531fjgy91v23-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/armv7l-linux/B.pm line 33.
Compilation failed in require at /nix/store/17yd4dg4hn9ax5z73i6d531fjgy91v23-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/CPAN/Meta/Requirements.pm line 90.
builder for '/nix/store/agxy639274v9hychzgjg4nbpfnhn0dhq-perl5.28.0-libwww-perl-6.35-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 255
cannot build derivation '/nix/store/imzxzsyszs01x6v8nhh6dxp5484232nd-perl5.28.0-XML-Parser-2.44-armv7l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
error: build of '/nix/store/imzxzsyszs01x6v8nhh6dxp5484232nd-perl5.28.0-XML-Parser-2.44-armv7l-unknown-linux-gnueabihf.drv' failed

Failure on aarch64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser
Partial log (click to expand)
patching ./bin/lwp-download...
Can't load module B, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the B module statically linked into it.)
 at /nix/store/r11mw1l6n9khzz5qxqbhv1hnhirxzvin-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/armv7l-linux/B.pm line 33.
BEGIN failed--compilation aborted at /nix/store/r11mw1l6n9khzz5qxqbhv1hnhirxzvin-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/armv7l-linux/B.pm line 33.
Compilation failed in require at /nix/store/r11mw1l6n9khzz5qxqbhv1hnhirxzvin-perl-5.28.0-armv7l-unknown-linux-gnueabihf/lib/perl5/5.28.0/CPAN/Meta/Requirements.pm line 90.
builder for '/nix/store/rq5kmymdv1d7vdn140m6ab4ssh9nbkfk-perl5.28.0-libwww-perl-6.35-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 255
cannot build derivation '/nix/store/bcnfr970rxishnjv6b198vll92cqxmxj-perl5.28.0-XML-Parser-2.44-armv7l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bcnfr970rxishnjv6b198vll92cqxmxj-perl5.28.0-XML-Parser-2.44-armv7l-unknown-linux-gnueabihf.drv' failed

This seems to be dependent on https://github.com/NixOS/nixpkgs/pull/48241

@GrahamcOfBorg eval

Please rebase on staging.


match species to IUCN DOIs

attributes are still in google drive CSV
IUCN redlist

now duplicate of #16


Blackout with complementary shader

Version 1.20.1-fabric 0.15.6
Loader fabric (and forge with connecter mod)
Mod
Dark sky
Iris Shaders
Sodium
Shader
Complementary Shader
Continuous darkening at sunrise and sunset.
I used a translation website. Sorry if there are any strange expressions.

Fixed in 1.1.1 https://github.com/aMelonRind/dark-sky/commit/5b4babf498bd99202ea97f605210ee28a0e495d5


GeoJSON Previewer

Description
This adds a Leaflet map preview for GeoJSON files.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[x] I've added relevant test cases.
[ ] I've added relevant documentation.
[ ] I've marked translation strings.
[x] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[ ] I've NOT included third-party code (copy/pasted source code or new dependencies).

If you have added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Frontend

[ ] I've followed the CSS/JS and React guidelines.
[ ] I've followed the web accessibility guidelines.
[ ] I've followed the user interface guidelines.

Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

This looks like a good addition, once you've finished everything up. Leaflet is BSD-2 licensed, which shouldn't be an issue.


torch version issue

When I try to install by poetry:
Because eetq (1.0.0) @ https://github.com/NetEase-FuXi/EETQ/releases/download/v1.0.0/EETQ-1.0.0+cu121+torch2.1.2-cp310-cp310-linux_x86_64.whl depends on torch (2.1.2)
 and myrepo depends on torch (2.4.0), eetq is forbidden.

Any plan for torch forward compatbility or version upgrade?

New packages will be built soon.

Hello, a new version of EETQ v1.0.1 has been updated and does not depend on a specific version of pytorch.