Poetry fails with space in working directory

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Windows 10
Poetry version: 0.12.9
Link of a Gist with the contents of your pyproject.toml file: N/A

Issue
Similar to #199, I'm unable to use Poetry if there is a space in my path. I can't even begin using Poetry enough to create a venv. The full path to the working directory is C:\Users\FirstName LastName\code\. When I try running poetry new or poetry init, I get the following error:
~\code\poetry-test> poetry init -vvv
(null): can't open file 'C:\Users\FirstName': [Errno 2] No such file or directory

The issue occurs even if I create a working directory at the root C:\poetry-test\. Poetry seems to have an issue if it is installed inside a directory that contains a space:
C:\poetry-test> where.exe poetry
C:\Users\FirstName LastName\.poetry\bin\poetry

This has been fixed in commit a920b38. However this will not be fixed for you until you install a new version.
To fix this now, in the C:\Users\FirstName LastName\.poetry\bin\poetry.bat file, just change this line:
python %USERPROFILE%\.poetry\bin\poetry %*

to
python "%USERPROFILE%\.poetry\bin\poetry" %*

(Note the quotes)


Landing page text for Fecundity and Atresia

The combination of egg production estimates and fecundity data from fish sampled at appropriate time periods is important to the estimation of spawning stock biomass used in fish stock assessments. Fish fecundity data have been collected for a long time in the ICES area, during international ichthyoplankton surveys. The fecundity and atresia database, aims to be a platform where the wider scientific community can share, store and retrieve data, in a standardized format.
Some of the surveys that make up the database are:
The Mackerel and horse mackerel egg surveys (MEGS, 1992-present)
The survey existed since 1968. It is carried out every 3 years in the north eastern Atlantic and in the North Sea. The survey creates a basis for the stock assessment of Atlantic and North Sea mackerel and management plan for Atlantic horse mackerel. The database contains information about the surveys conducted since 1992. The group responsible for the survey is WGMEGS.

Keep it more general, not describe the surveys in details, but keep this for the metadata record.


Prevent the automatic “source” command from being saved to history

Per fish’s release notes, bash, zsh, and fish all suppress saving a command to history if it starts with a space. It would be awesome to add that leading space to automatically generated commands (such as the source one that is automatically run when using a venv).

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Won't be a problem with https://github.com/microsoft/vscode-python/issues/11039 if that is done for all environment types.

Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.


DependsOn not triggering with polymorphic when creating a resource from the relationship page

Steps to replicate:

Setup polymorphic relationship such as Documents.
Setup a folder resource that relates to documents.
Setup a field that depends on the polymorphic relationship.
If you create a document from the Folder resource
The dependant fields do not evaluate.

It seems that when the dropdown changes the dependency is evaluated,  but when you create through a resource those fields are hidden and the polymorphic dropdown is read-only/disabled and cannot be changed

I changed it to a dependsOnNot(), and it works for our purposes.


Add ClusterEnvironment CRD and Controller

Includes support for connection to an external cluster provided a secret with a kubeconfig embedded in it. Resource status is updated in reconciliation loop wrt connection result.
Scripts are provided to test single and multi-cluster scenarios with minikube+docker.
Signed-off-by: Francesco Ilario<EMAIL_ADDRESS>

Please rebase before merging.


JWST imagery updated through August 2023

Up through M57 and including Westerlund 2

Great, thanks! Have you uploaded the updated WTML and/or the search data?


OpenSSL 1.1.1q: When use a custom engine, the SSL handshake cannot work (no suitable signature algorithm).

Introduction
I am integrating an OpenSSL engine libsuola (https://github.com/romen/libsuola) into TLS application (unbound, https://github.com/NLnetLabs/unbound) and find that the DNS over TLS (DoT) of unbound cannot work due to an SSL_handshake error.
The libsuola engine essentially only implements the X25519 and Ed25519 algorithms.
Without the libsuola engine, unbound works fine.
The SSL_handshake error reported by unbound is as follows.
error: ssl handshake failed crypto error:14201076:SSL routines:tls_choose_sigalg:no suitable signature algorithm

OpenSSL version: OpenSSL 1.1.1q
Ubuntu 20.04
How to reproduce this issue?
I find that this issue can be reproduced by using openssl s_server and s_client. Maybe the bug can be reproduced in about ten minutes.
build libsuola
apt-get install git pkg-config cmake build-essential
apt-get install libssl-dev libsodium-dev
git clone https://github.com/romen/libsuola
cd libsuola
mkdir build
cd build
# Note that you should change the ${OPENSSL_ROOT_DIR} to your own path
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR} ..
make
make test
make install

Until now, the engine file (libsuola.so) has been installed into ${OPENSSL_ROOT_DIR}/lib/engines-1.1 path.
We should prepare two files related to server certification using ed25519: ed25519.key and ed25519.pem.
ed25519.key
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIEWe5/ocBujfOrLwaRo/S7uss6XrhmUBobBdCHYc1NaP
-----END PRIVATE KEY-----

ed25519.pem
-----BEGIN CERTIFICATE-----
MIIBCDCBuwIUXuaVHjfIZVO/k0LXAOtAetQm40owBQYDK2VwMCcxCzAJBgNVBAYT
AkRFMRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20wHhcNMjIwOTI0MTMxNDI0WhcN
MjQwODI0MTMxNDI0WjAnMQswCQYDVQQGEwJERTEYMBYGA1UEAwwPd3d3LmV4YW1w
bGUuY29tMCowBQYDK2VwAyEAGBergZh9WOfO2YslSTBUsroDBf3qSroVqSGDw0yU
p2YwBQYDK2VwA0EAzo7HVwomZ8LMUYnrEHjqo5BXrY4v1O6pnDWk63E5vIVlgLIv
I68cpfQbVUSlPZ5xZXkOpuO9wXTRbz8N4zuoAA==
-----END CERTIFICATE-----

run without libsuola engine
openssl s_server -port 853 -cert ed25519.pem -key ed25519.key -debug -tls1_3
openssl s_client -connect <IP_ADDRESS>:853 -debug -tls1_3

No issues.
run with libsuola engine
env OPENSSL_CONF="libsuola_path/libsuola/test/unit/libsuola.cnf" openssl s_server -port 853 -cert ed25519.pem -key ed25519.key -debug -tls1_3
env OPENSSL_CONF="libsuola_path/libsuola/test/unit/libsuola.cnf" openssl s_client -connect <IP_ADDRESS>:853 -debug -tls1_3

Note that you should change the path "libsuola_path" to your own path.
The outputs reported are as follows.
Using default temp DH parameters
ACCEPT
read from 0x55e8d07cd100 [0x55e8d07d94b3] (5 bytes => 5 (0x5))
0000 - 16 03 01 00 d2                                    .....
read from 0x55e8d07cd100 [0x55e8d07d94b8] (210 bytes => 210 (0xD2))
0000 - 01 00 00 ce 03 03 ca de-45 f8 b3 76 90 b2 29 4b   ........E..v..)K
0010 - 88 3f 78 ae 47 ab 63 98-0e da ae 7e aa 38 ce 3d   .?x.G.c....~.8.=
0020 - 71 44 b2 20 6c ce 20 39-cc bd 1e fd a1 54 c9 14   qD. l. 9.....T..
0030 - 21 e9 8c 97 21 f0 39 dc-7d ea 4e 42 03 c0 97 f3   !...!.9.}.NB....
0040 - 6d 7f 0d 1c b7 33 5d 00-08 13 02 13 03 13 01 00   m....3].........
0050 - ff 01 00 00 7d 00 0b 00-04 03 00 01 02 00 0a 00   ....}...........
0060 - 0c 00 0a 00 1d 00 17 00-1e 00 19 00 18 00 23 00   ..............#.
0070 - 00 00 16 00 00 00 17 00-00 00 0d 00 1e 00 1c 04   ................
0080 - 03 05 03 06 03 08 07 08-08 08 09 08 0a 08 0b 08   ................
0090 - 04 08 05 08 06 04 01 05-01 06 01 00 2b 00 03 02   ............+...
00a0 - 03 04 00 2d 00 02 01 01-00 33 00 26 00 24 00 1d   ...-.....3.&.$..
00b0 - 00 20 29 32 dd 56 82 6e-86 0d e6 1d d6 6c d3 d0   . )2.V.n.....l..
00c0 - ea d7 08 4d 73 e8 fb 5e-9d 98 c0 7a e0 4e 8f 25   ...Ms..^...z.N.%
00d0 - 2c 5b                                             ,[
write to 0x55e8d07cd100 [0x55e8d07e26d0] (7 bytes => 7 (0x7))
0000 - 15 03 03 00 02 02 28                              ......(
ERROR
140096331294528:error:14201076:SSL routines:tls_choose_sigalg:no suitable signature algorithm:ssl/t1_lib.c:2759:
shutting down SSL
CONNECTION CLOSED

@t8m Do you have any suggestions or opinions? I'm trying to read the source code related to OpenSSL ENGINEs, but it's too complicated.

Thanks for your crystal clear reproduction instructions. Using the information above I was able to replicate this issue.
The problem occurs when we are trying to find a suitable signature algorithm to use. The Ed25519 sig alg is being considered and then being rejected as unsuitable. The Ed25519 algorithm within TLS uses the "pure" variant (see RFC8032). This means that input to the algorithm is not prehashed using some hashing algorithm.
When considering the suitability of the algorithm one of the checks that libssl performs is to confirm whether we have a suitable certificate and associated key that uses this algorithm. Some of the checks can be seen here:
https://github.com/openssl/openssl/blob/748df1874f0488ce0c86b6d2d083921abb34b1e3/ssl/t1_lib.c#L2595-L2612
In this code sig represents the signature algorithm we are considering (i.e. Ed25519). Since we are using the "Pure" variant there is no associated hash algorithm and sig->hash is NULL.
pkey represents the private key that we want to check is suitable. We call EVP_PKEY_get_default_digest_nid to determine if there is a "default" digest associated with this key. A return value of 2 not only indicates that a "default" digest exists for this key - but also that it is mandatory, i.e. you must use the specified digest in signature operations using this key.
It turns out that when using the libsuola engine this function call is returning 2 and specifying a digest to be used. Since the sigalg under consideration is Pure Ed25519 and sig->hash is NULL, this check is failing and Ed25519 is rejected.
The function EVP_PKEY_get_default_digest_nid works by issuing the ASN1_PKEY_CTRL_DEFAULT_MD_NID ctrl to the underlying implementation. This is implemented in libsuola here:
    case ASN1_PKEY_CTRL_DEFAULT_MD_NID:
        debug("nid: %d, op: ASN1_PKEY_CTRL_DEFAULT_MD_NID, ret: %s\n",
                nid, OBJ_nid2sn(nid_data->default_md_nid) );
        *(int *)arg2 = nid_data->default_md_nid;
        return 2;

https://github.com/romen/libsuola/blob/c055fd0f546b8a257293e7794055886081deddfd/meths/suola_asn1_meth.c#L208-L212
So this "2" return value ultimately leads to the rejection of the pkey and Ed25519 and so the connection fails.
Perhaps @romen or @bbbrumley might comment further here.

Thank you very much for your prompt reply. When I change the return 2 to return 1, no issues happened.
The EVP_PKEY_get_default_digest_nid() function returns 1 if the message digest is advisory (that is other digests can be used).
I don't know if return 1 will cause other errors.


CI 3 session getting destroyed automatically.

Hi
After redirecting from Payment Gateway the session get automatically destroyed. I have upgraded CI 3.1.9 to 3.1.12. But the issue was still there in each version.

I have the same issue in PHP7.4, does anyone know how to fix this ?

I have the same issue in Codeigniter 3.1.13.

This is not a CodeIgniter issue. The browser keeps track of the session using cookies (as defined in the config/config.php file). After you redirect to the payment gateway you obviously need the visitor to return with the same cookie so that the server can identify the session. I recommend moving this to the CodeIgniter Forum to request assistance with your code.

Read https://web.dev/samesite-cookies-explained/


Syntasic error highlighting broken

This Syntastic commit breaks the error highlighting  https://github.com/scrooloose/syntastic/commit/adf899f1ba863b1e
I am not sure if this a Syntastic issue or elm-vim issue.

I've been having this problem too :(
I just figured out how to turn syntastic back on: let g:syntastic_elm_checkers = ['elm_make']
The problem is that now I get the location list and the quickfix list.  I'played around with some combinations of the linting settings to try to fix it.  The best option I have is to turn off any location list population and auto opening and to use syntastic for highlighting, but if I want to get error details I need to compile and use the quickfix.
I like the quick fix window, but I want syntastic to work, which I think needs location window.

For what it's worth, I've stopped using syntastic all together and am just using ale, which works really really well (except I want it to show the full error details on requesthttps://github.com/w0rp/ale/issues/225).  And it does require vim 8.  But the live linting is worth it :).


trouble with bcwallet for python<3, >=2.7 (issue with pip)

When I run the following command, I'm running into permission issues:
pip install bcwallet

So I ran this instead:
pip3 install bcwallet

When doing this, I get the following error message:
Could not find a version that satisfies the requirement python<3,>=2.7 (from bcwallet) (from versions: )
No matching distribution found for python<3,>=2.7 (from bcwallet)

I'm using a Mac, El Capitan.

Sorry about that @ShaunHoyes and thanks for the bug report.
Can you try installing with python2?:
pip2 install bcwallet
I've had some problems with forcing python version 2 on OSX since El Cap came out. That's certainly not a helpful error message :(

Thanks @mflaxman
After trying
pip2 install bcwallet

I got the following:
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/commands/install.py", line 317, in run
    prefix=options.prefix_path,
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_set.py", line 726, in install
    requirement.uninstall(auto_confirm=True)
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_install.py", line 746, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/var/folders/c4/xrzlmzws1h370r3pj057d13w0000gn/T/pip-bZdJet-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

Thanks @ShaunHoyes !
Hmm, that seems tricky.
Can you try?:
pip2 install bcwallet --ignore-installed six
Sorry, I would just do it on my machine but something about the config on mine is different and I don't get the error you're getting.
Thanks.
I think this open issue with pip and el cap is the problem IYC:
https://github.com/pypa/pip/issues/3165

I still get that same error message:
Could not find a version that satisfies the requirement python<3,>=2.7 (from bcwallet) (from versions: )
No matching distribution found for python<3,>=2.7 (from bcwallet)

I see the ongoing, unresolved issue. Definitely seems like a Capitan issue. I will try doing it on another machine.
Thanks

Thanks @ShaunHoyes  and sorry for the trouble :(
How about this?:
python2 pip install blockcypher
If that doesn't work, try appending --ignore-installed six at the end.

After trying it both ways, I get the same message:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'pip': [Errno 2] No such file or directory

Aaaaah, sorry @ShaunHoyes :(
One last idea. I didn't want to suggest this because it's an ugly solution.
What about adding sudo to the front of those commands (starting at the beginning of the thread and working down to the most recent if necessary).

It's the same situation even with the sudo.

Fail! Sorry @ShaunHoyes :(
Do you have python2 installed at all? Do you get anything if you type this:
which python2

With which python2, I get /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
I downloaded the Python 3.5.1 package a few days ago, but I haven't used the command line with it. Could that be the issue here? Would I have to delete the Python 3.5?

Hmmmm, sorry @ShaunHoyes I'm not sure what's going on :(
I wish I could duplicate your environment.
My hope is that something is messed up about your python installation, I'd bet if you re-install python/pip it will work. I'm going to leave this open and see if anyone else says this is happening for them, too.

I'm getting the same error message when I try to uninstall. There's definitely something wrong on my side. How should I go about uninstalling the pip/python package?

The version I'm currently using is pip 8.1.1

Which error? Usually $ pip uninstall packagenamehere works fine.
Note that in some circumstances you may need to specify pip2 or pip3 and in some crazy edge case you may need to sudo first.

Silly question: how do I find the package name?

Not 100% sure what you're asking, try $ pip freeze.

I factory reset my computer, and started fresh. The pip install bcwallet worked and I was able to download it. There must have been a problem with something I installed previously.
I think this issue is solved for me. Sorry for the inconvenience.
Thanks

Glad you got it working!
I'll mark this as closed for now.


Discourse fix

https://ucsc-cgl.atlassian.net/browse/SEAB-1135
Cherry-picked for the hotfix.

@denis-yuen I think an update must have changed it, because it was working before. Looks like it stopped working something around April 20 or so.


WIFI-14155: Add Sonicfi RAP7110C-341X support

RAP7110C-341X

CPU: Qualcomm IPQ5322
RAM: 1GB DDR4
Storage:  4GB eMMC
Ethernet: 10 GbE
WLAN: 2.4GHz: IPQ5322,  5/6 GHz:  QCN6274
3x LED-s R/G/B PWM control

@jaspreetsachdev
Got it, and the another PR #729 , It is stuck for the same reason?

wait for new qsdk dirver


[Bug] text not visible in footer

Is there an existing issue for this?

[X] I have searched the existing issues

Bug Description?
The Med Space text in footer is not clearly visible due to gradient effects
Also the disclaimer is not visible
Add Screenshots

What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue (Optional)
[X] I'm willing to provide further clarification or assistance if needed.

work is going on


Additions on "what is supported"

Potentially a few things to add to the what is supported excel (giving from my list of common operations in pandas)
https://docs.google.com/spreadsheets/d/1GwBvGsqZAFFAD5PPc_lffDEXith353E1Y7UV6ZAAHWA/edit
Pandas:

pd.concat()
pd.cut / Series.cut
pd.get_dummies()

Series:

value_counts()
Common functions: min / max / argmin / abs / corr / cov / cummin / cumprod / cumsum
all / any
clip
fillna
Operations: eq / isin / lt / le / gt / ge / isna / isnull

pd.options:
Options should be considered at some point.
For example, I use with pd.option_context('mode.use_inf_as_null', True): with data = data[[colname]].dropna() to drop both INFs and NAs from a dataframe.
These should be documented as not implemented right now as they do change results
Indexes:
And I had a question as I see set_index and reset_index in the excel right now.
Is the plan that this library will implement the indexing logic on top of Spark ? (As Spark DataFrames dont have indexing)
i.e. will the index be tracked in koala and it will be a normal column in sparkDF but all index functionality will work ?

@AbdealiJK thank you for your comments. I created a task for publishing documentation, which will answer some of your questions.
Regarding pd.options: this is a good point, it would be great to understand which flags are the most useful for you so that these get prioritized.
Regarding the indexes: this is explained in a bit more details in the tutorial notebook in #34 . There is a lightweight indexing logic that covers the common use cases in pandas (and you recover this index when calling .to_pandas()). One part that has been explicitly left out is auto-alignment of series based on indexes, because this operation has a big cost in Spark (shuffling).

Closing as i think the excel has been updated and no further questions on index


Return partially validated data when validation error occurs

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
Pydantic v1 supported returning partially validated data from a model if a ValidationError occurred via the API validate_model:
https://github.com/pydantic/pydantic/blob/0454fabbc116ea78df0e29756a122cdbeba631d8/pydantic/v1/main.py#L1032
i.e. that method would return a tuple of:
values, fields_set, ValidationError
This useful feature (to me at least :)) seems to be missing from v2
Is there any possibility this could be re-implemented?  Thanks!
Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Selected Assignee: @dmontagu

just to clarify, the v1 behaviour was to return in values the data that had been validated up to the first validation error
so if some fields passed validation and were cleaned e.g. an int going from "12" -> 12, those values would be included in the partially validated result

I think this is a reasonable feature request, but I think given the way model validation works it's less likely that we'd guarantee behavior of something that would short circuit after partial model validation.
I think it might be possible to do something interesting with pydantic core to return a dict of passing fields and failing fields, but I can't think of a good way to do this now.
I'd be curious what the other maintainers think, but my suspicion is that this is not likely to be a priority soon because it would probably involve significant work in pydantic-core and be hard to use existing code without adding overhead to the validation process. (And if it doesn't use existing code, it would be a lot of additional code to add to get a new method that has this behavior.)

Thanks for this and understand your thought process, if it helps I don't think the v1 API needs to be replicated, but perhaps the "state" of partially validated data can be passed out as an attribute on ValidationError?

This might be what you're looking for.
from typing import Any, Type, Optional

from pydantic import BaseModel, ValidationError, field_validator, model_validator

SENTINEL = object()

def validate_model(
    model: Type[BaseModel], input_data: Any
) -> tuple[dict[str, Any], set[str], Optional[ValidationError]]:
    """Pydantic V2 implementation of the core bits of Pydantic V1's `validate_model`"""

    class Model_(model, PartialModel):
        pass

    model_ = Model_.model_validate(input_data)
    fields_set = model_.model_fields.keys() - set(model_.invalid_fields)
    values = model_.model_dump(exclude=model_.invalid_fields)
    return values, fields_set, model_._validation_error

class PartialModel(BaseModel):
    _validation_error: Optional[ValidationError] = None

    @model_validator(mode="before")
    @classmethod
    def missing_fields_as_sentinels(cls, data: Any) -> Any:
        if not isinstance(data, dict):
            return data
        return data | {
            field: (SENTINEL, data)
            for field, field_info in cls.model_fields.items()
            if field_info.is_required() and field not in data
        }

    @field_validator("*", mode="wrap")
    @classmethod
    def gracefully_handle_validation_errors(cls, v, handler, info):
        if isinstance(v, tuple) and v and v[0] is SENTINEL:
            error = dict(type="missing", loc=(info.field_name,), input=v[1], ctx=info.context or {})
            return (SENTINEL, error)
        try:
            return handler(v)
        except ValidationError as ex:
            return (SENTINEL, ex.errors()[0] | dict(loc=(info.field_name,)))

    @model_validator(mode="after")
    def build_model_validation_error(self) -> "PartialModel":
        if self.invalid_fields:
            self._validation_error = ValidationError.from_exception_data(
                title=type(self).__bases__[0].__name__,
                line_errors=[getattr(self, field)[1] for field in self.invalid_fields],
            )
        return self

    @property
    def invalid_fields(self) -> list[str]:
        return [
            k
            for k in self.model_fields
            if (v := getattr(self, k)) and isinstance(v, tuple) and v[0] is SENTINEL
        ]

There will be a few minor differences in the ValidationError i'm sure, but it should do the trick.
from datetime import datetime

class Model(BaseModel):
    a: datetime
    b: int
    c: bool
    d: str

data = {
    "a": "2024-06-27",
    "b": "satoshi",
    "c": "on",
    # "d": 10
}

a, b, c = validate_model(Model, data)

print(a)
print(b)
print(c)

try:
    Model.model_validate(data)
except Exception as ex:
    print(ex)

{'a': datetime.datetime(2024, 6, 27, 0, 0), 'c': True}
{'a', 'c'}
2 validation errors for Model
b
  Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='satoshi', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/int_parsing
d
  Field required [type=missing, input_value={'a': '2024-06-27', 'b': 'satoshi', 'c': 'on'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
2 validation errors for Model
b
  Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='satoshi', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/int_parsing
d
  Field required [type=missing, input_value={'a': '2024-06-27', 'b': 'satoshi', 'c': 'on'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing


Some tasks to be done

Here are a few general topic issues from my personal TODO list (randomly ordered):

Document how to utilize HW (rotary) events on watch devices - WIP
Apps should rebuild only when necessary (code change, ...) - WIP
Check if Flutter apps can be registered on the TV app store - WIP
Diagnose launching-time performance issues (#57)
Design a VS Code extension (how to implement: contribution, fork, from scratch, ...)
Document how to integrate Firebase features within Tizen apps
A guide to OAuth 2.0 authentication and authorization in Tizen apps
A guide to writing app UI for small and non-square (watch) devices
Investigate why I need to click back button twice to quit 2d-inc apps (example) on Tizen devices
Articles on flutter-tizen (showcase, internal architecture and etc.)
Test if DevTools debugger's variable inspection works
Document how to set up IoT devices (rpi)
Plugin-related tasks

Estimate the amount of work to be done to enable C#-based plugins
~Migrate Dart plugins for null safety~
Implement new plugins (candidates: permission_handler - done, audioplayers - WIP, lottie, ...)
Document limitations of ffi-based plugins (may not work properly on secondary isolates)
Document how to create a new plugin from scratch

If interested, you can create a dedicated issue for each and assign yourself. Please let me know if you need any details.

Great tasks! I'm quite interested in flutter-tizen. Actually, we've been developing flutter-embedded-linux for Flutter use in embedded Linux, and we are going to create a tool for this embedder to build and run Flutter apps such as flutter run -d linux-embedded. Allow me to use this approach as a reference in our tasks. Thank you in advance.

@HidenoriMatsubayashi Hi. I actually knew about the project since you open sourced it and I was really impressed by your work!
I know that you eventually want your embedder (and maybe the tool as well) to be merged to the official flutter repo, and if so, another option for you is to fork the flutter repo itself. In our approach, as you might know, we cannot modify the flutter_tools code itself so we had to use many workarounds which introduced extra complexity to implement even simple things, although the commit history looks "cleaner" in return. Anyway, I don't mind whichever approach you choose, and I look forward to seeing good tooling for your beautiful embedders!

Thank you for your comment!


Show branch ancestry

Would an output like this be overkill in git town config? There's no mechanism to see the ancestry of my branches other than poking around .git/config.
master
├── aw-breathing
├── aw-eating
└── aw-walking
        └── aw-jogging
                └── aw-running

I really like it

Yay! :+1:


⚠ ClamAV has degraded performance

In 857f930, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 5098 ms

Resolved: ClamAV performance has improved in aca61e9.


New package: SoleLogics v0.2.0

Registering package: SoleLogics
Repository: https://github.com/aclai-lab/SoleLogics.jl
Created by: @giopaglia
Version: v0.2.0
Commit: 18d7d236e8aed90fe8869d0f02c938ed43cd27f5
Reviewed by: @giopaglia
Reference: https://github.com/aclai-lab/SoleLogics.jl/issues/14#issuecomment-1459844359
Description: Sole (SymbOlic LEarning) Logics Module

This can be closed, since this updated issue has been opened #79244


Steam on seperate workspace acting as if being passed input from another?

Already reported ? *

[x] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
<Hyprland 0.45.2 built from branch  at commit  dirty ().
Date:
Tag: , commits:
built against aquamarine 0.4.4

flags set:
debug

System Information:
System name: Linux
Node name: localhost.localdomain
Release: 6.11.8-1-default
Version: #1 SMP PREEMPT_DYNAMIC Thu Nov 14 12:54:01 UTC 2024 (099023b)

GPU information:
2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6900 XT] [1002:73af] (rev c0) (prog-if 00 [VGA controller])

os-release: NAME="openSUSE Tumbleweed"
# VERSION="20241211"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20241211"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
# CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20241211:*:*:*:*:*:*:*"
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse:tumbleweed:20241211"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

plugins:

======Config-Start======

Config File: /home/kbazz/.config/hypr/hyprland.conf: Read Succeeded

# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#autogenerated = 1 # remove this line to remove the warning

# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# Please note not all available settings / options are set here.
# For a full list, see the wiki

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

#windowrulev2 = allowsinput on, class:^(discord)$, xwayland:0
##Env

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-3, 3440x1440@144, 0x0, 1

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

# Set programs that you use
$terminal = foot
$fileManager = dolphin
$menu = wofi --show drun

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
#exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = [workspace 3 silent] /home/kbazz/opt/WebCord-4.10.2-x64.AppImage
exec-once = hyprshade auto
#exec-once = [workspace 3 silent] discord
exec-once = firefox
exec-once = waybar
exec-once = swaync
exec-once = /usr/libexec/polkit-kde-authentication-agent-1
exec-once = hypridle

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
#env = HYPRCURSOR_SIZE,24
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = HYPRCURSOR_SIZE,24

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 3
    gaps_out = 20

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = true

    layout = dwindle

}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 8

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 0.9

#    drop_shadow = true
#    shadow_range = 4
#    shadow_render_power = 3
#    col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = true

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
    vrr = 2
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = no
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 2

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = razer-razer-viper-ultimate-dongle-1
    sensitivity = -0.3
    accel_profile = flat
}

device {
    name = razer-razer-viper-ultimate-dongle-keyboard
    sensitivity = -0.3
    accel_profile = flat
}

device {
    name = razer-razer-viper-ultimate-keyboard
    sensitivity = -0.3
    accel_profile = flat
}

device {
    name = razer-razer-viper-ultimate-1
    sensitivity = -0.3
    accel_profile = flat
}

device {
    name = razer-razer-viper-ultimate-dongle
    sensitivity = -0.3
    accel_profile = flat
}
###################
### KEYBINDINGS ###
###################

#Slurp
#bind = $mainMod SHIFT, P, exec, vlc

#Discord?
#bind = alt_l, ,pass, ^(discord)$
#bind = , alt_l, exec, vlc

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, return, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, D, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, P, exec, hyprshot -m region --clipboard-only
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-

# Brightness?
bind = $mainMod SHIFT, page_up, exec, ddcutil setvcp 10 + 20
bind = $mainMod SHIFT, page_down, exec, ddcutil setvcp 10 - 20
bind = $mainMod SHIFT, home, exec, ddcutil setvcp 10 100
bind = $mainMod SHIFT, end, exec, ddcutil setvcp 10 0

# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
windowrule = float, ^(org.corectrl.CoreCtrl)$
windowrule = float, ^(QjackCtl)$
windowrule = float, ^(steam)$
#windowrule = stayfocused, title:^(World of Warcraft)$

windowrule = workspace 4 silent, ^(steam)$
#windowrule = suppressevent activatefocs, ^(steam)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*

# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^(REAPER)$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0

windowrulev2 = immediate, class:^(gamescope)$

#windowrulev2 = immediate, class:^(Ready Or 2ssNot)$

======Config-End========>

Description
Occasional odd behavior from steam:
With the steam library window open on one workspace,  while playing a windowed steam game on another work space, I might find myself checking the steam workspace and find that it is in the process of logging out, switching users or prompting me for confirmation to uninstall a game, without having checked the steam workspace in 30+ minutes.
Seems like inputs are being passed through to steam on a different workspace, somehow?
This is on the non-flatpak steam beta. Today it happened quite consistently (3 times within maybe 1-2 hours). It has happened before, but I can't recall under which circumstances
How to reproduce
Keep a main steam client window open (where you check the store, library etc) on one workspace, while playing a windowed steam game (possibly something where you use a cursor and keybinds - unsure if relevant) on another workspace.
Crash reports, logs, images, videos
No response

That's... odd.

I have the same issue, after a while steam has most of its windows closed and it keeps trying to uninstall something.
Maybe as a hint, steam might be experimenting with gamescope. Whenever I click any steam window or a game, the steam logs gets these two lines:
GameScope focus changed to appID 0
Window title set to

googling yielded nothing, but someone in a thread i posted elsewhere are reporting similar issues on gnome so i guess this isn't hyprland related? apologies!

I think it's a Steam issue.
Try turning off Enable Hardware Video Decoding


"install the solution" link is broken

broken
https://azuremarketplace.microsoft.com/marketplace/apps/Microsoft.KeyVaultAnalyticsOMS?tab=Overview
correct
https://azuremarketplace.microsoft.com/en-usrketplace/marketplace/apps/Microsoft.KeyVaultAnalyticsOMS?tab=Overview

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

ID: a89eef66-45f1-2bf3-f49d-cba309fd1256
Version Independent ID: 9e55d55c-8434-7fea-43b1-a8ab7f4e3968
Content: Azure Key Vault solution in Azure Monitor
Content Source: articles/azure-monitor/insights/azure-key-vault.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

@takekazuomi
Thanks for your feedback! We will investigate and update as appropriate.

Thanks @takekazuomi
I made a pull request to add this to the document. Changes should go live in 24 hours.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/83844


runserver_plus no longer accepts IP:PORT parameter?

Python 3.5.2, OS X 10.11.6, Django 1.10.0rc1, also happens in Docker container under boot2docker:
$ python manage.py runserver_plus <IP_ADDRESS>:8000
usage: manage.py runserver_plus [-h] [--version] [-v {0,1,2,3}]
                                [--settings SETTINGS]
                                [--pythonpath PYTHONPATH] [--traceback]
                                [--no-color] [--ipv6] [--noreload] [--browser]
                                [--adminmedia ADMIN_MEDIA_PATH]
                                [--nothreading] [--threaded]
                                [--output OUTPUT_FILE] [--print-sql]
                                [--cert CERT_PATH] [--extra-file EXTRA_FILES]
                                [--reloader-interval RELOADER_INTERVAL]
                                [--pdb] [--ipdb] [--pm]
                                [--startup-messages STARTUP_MESSAGES]
                                [--nostatic] [--insecure]
manage.py runserver_plus: error: unrecognized arguments: <IP_ADDRESS>:8000

RUNSERVERPLUS_SERVER_ADDRESS_PORT also seems to be ignored.
$ export RUNSERVERPLUS_SERVER_ADDRESS_PORT='<IP_ADDRESS>:6000'
$ env | grep RUNSERV
RUNSERVERPLUS_SERVER_ADDRESS_PORT=<IP_ADDRESS>:6000
$ ./manage.py runserver_plus
 * Running on http://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)
 * Restarting with stat
Performing system checks...
System check identified no issues (0 silenced).

please check with the latest version on github

That works!  When will the next point release be as this is a real showstopper in Docker containers where <IP_ADDRESS> != <IP_ADDRESS> at all.

Has the issue with RUNSERVERPLUS_SERVER_ADDRESS_PORT being ignored also fixed?

Please test to see if RUNSERVERPLUS_SERVER_ADDRESS_PORT is still an issue and if so open a new issue (and PR ? :) for it.
As for a new release (and this is a general note) we really need two things:

better test coverage, so anybody that wants to assist with writing more and better tests is very much welcome !

more people can test the django-extensions github version and report back on any errors as well as it's stability.

With Django 1.10 now out I would really like to make a new release that supports it soon but I also don't want to break things.

I'm hesitant to produce pull requests on projects that have a bunch pending.  It's very frustrating to go to the trouble, making sure it passes tests, etc. then see it languish until it is no longer a clean merge.  I'd much rather see pull requests either merged, or rejected and closed, than see a bunch of "pending" ones without resolution.  Not criticizing, just telling you what I look at when deciding whether to expend effort creating a pull request on a project.

This one, in particular, gives me pause...#649 opened on Mar 25, 2015 by BertrandBordage .  Well over a year old without resolution.


Challeng always showing incorrect

Describe the Issue
A2 English for Develpers
Small Talk - category
level -15
answer- on computers ---> showing the answer is wrong.
Affected Page
https://www.freecodecamp.org/learn/a2-english-for-developers/learn-conversation-starters-in-the-break-room/task-15
Your code

issue

Expected behavior
should be completed without any errors
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Just checked
The answer for task 15 is : games on computers

Please use the forum for help with the challenges.
As this is not an issue with the challenge, I will close this issue.