pipenv 2022.9.20 broken

When I run: pipenv install --system --skip-lock
it doesn't install anything.
My Pipfile is:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "data_engineering"

[packages]
"boxsdk[jwt]" = "==3.4.0"
my_utils = {version="==0.0.70", index="data_engineering"}

[dev-packages]

[requires]
python_version = "3"

If I use pipenv 2022.9.8 (the previous version), everything works fine.

@scastria We changed dependencies for the Pipfile to plette -- so far I am unable to reproduce this though -- environment variable expansion seems to work.    I am wondering if you need to make aws an environment variable as well for the expansion to work.   If you pass --versbose do you get anymore details on where the error occurs?

Unfortunately, there is no error.  It succeeds but installs no dependencies at all.  None from pypi and none from my private source.  Adding verbose doesn't add much.  I don't think it is an expansion issue because if that was the case, I should get an error stating it can't find my_utils.  Here is the output:
placer(main) > pipenv install --skip-lock --verbose
Using python: 3
Path to python: /opt/homebrew/bin/python3
Creating a virtualenv for this project...
Pipfile: /Users/shawncastrianni/GIT/placer/Pipfile
Using /opt/homebrew/bin/python3 (3.10.6) to create virtualenv...
⠙ Creating virtual environment...created virtual environment CPython3.10.6.final.0-64 in 108ms
  creator CPython3Posix(dest=/Users/shawncastrianni/.local/share/virtualenvs/placer-eL1JtOAv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/shawncastrianni/Library/Application Support/virtualenv)
    added seed packages: pip==22.2.2, setuptools==65.2.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /Users/shawncastrianni/.local/share/virtualenvs/placer-eL1JtOAv
Installing dependencies from Pipfile...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
placer(main) > pipenv run pip list
Package    Version
---------- -------
pip        22.2.2
setuptools 65.2.0
wheel      0.37.1

Hopefully, you have access to docker.  That should be a good way to allow you to reproduce since you will start with exactly the same starting point as me.  Here is the Pipfile:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"

[dev-packages]

[requires]
python_version = "3"

Here is the Dockerfile:
FROM public.ecr.aws/bitnami/python:3.7
WORKDIR /app
COPY Pipfile .
RUN pip install pipenv
RUN pipenv install --system --skip-lock
ENTRYPOINT ["pip", "list"]

If you run the docker container, it spits out the list of dependencies.  You will see it does NOT list requests as a dependency since pipenv didn't actually do anything:
placer(main) > docker run --rm pipenv:2
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Package            Version
------------------ ---------
certifi            2022.9.14
distlib            0.3.6
filelock           3.8.0
importlib-metadata 4.12.0
pip                21.3.1
pipenv             2022.9.20
platformdirs       2.5.2
setuptools         63.4.3
typing_extensions  4.3.0
virtualenv         20.16.5
virtualenv-clone   0.5.7
zipp               3.8.1

If you then change the Dockerfile to install 2022.9.8 version of pipenv, like this:
FROM public.ecr.aws/bitnami/python:3.7
WORKDIR /app
COPY Pipfile .
RUN pip install pipenv==2022.9.8
RUN pipenv install --system --skip-lock
ENTRYPOINT ["pip", "list"]

and then run that new container, it works and shows requests in the list of dependencies:
placer(main) > docker run --rm pipenv:3
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Package            Version
------------------ ---------
certifi            2022.9.14
charset-normalizer 2.1.1
distlib            0.3.6
filelock           3.8.0
idna               3.4
importlib-metadata 4.12.0
pip                21.3.1
pipenv             2022.9.8
platformdirs       2.5.2
requests           2.28.1
setuptools         63.4.3
typing_extensions  4.3.0
urllib3            1.26.12
virtualenv         20.16.5
virtualenv-clone   0.5.7
zipp               3.8.1

@scastria That first example worked for me -- meaning it actually worked and did not reproduce the issue:
matteius@matteius-VirtualBox:~/pipenv-triage/pipenv-5367$ docker build .
Sending build context to Docker daemon  3.072kB
Step 1/6 : FROM public.ecr.aws/bitnami/python:3.7
3.7: Pulling from bitnami/python
1d8866550bdd: Pull complete
4114eed3ce0d: Pull complete
Digest: sha256:a7b88ba7d9759bb1d5cf96b65bf65e6f73a3f716ed730fd972eb15c6a10f781f
Status: Downloaded newer image for public.ecr.aws/bitnami/python:3.7
 ---><PHONE_NUMBER>5d
Step 2/6 : WORKDIR /app
 ---> Running in 314403e6cd88
Removing intermediate container 314403e6cd88
 ---> 7dba8c25f337
Step 3/6 : COPY Pipfile .
 ---> 91b7332646cc
Step 4/6 : RUN pip install pipenv
 ---> Running in 5a33e6daf809
Collecting pipenv
  Downloading pipenv-2022.9.20-py2.py3-none-any.whl (3.3 MB)
Collecting virtualenv-clone>=0.2.5
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Requirement already satisfied: setuptools>=36.2.1 in /opt/bitnami/python/lib/python3.7/site-packages/setuptools-63.4.3-py3.7.egg (from pipenv) (63.4.3)
Requirement already satisfied: virtualenv in /opt/bitnami/python/lib/python3.7/site-packages (from pipenv) (20.16.5)
Collecting certifi
  Downloading certifi-2022.9.14-py3-none-any.whl (162 kB)
Requirement already satisfied: platformdirs<3,>=2.4 in /opt/bitnami/python/lib/python3.7/site-packages (from virtualenv->pipenv) (2.5.2)
Requirement already satisfied: filelock<4,>=3.4.1 in /opt/bitnami/python/lib/python3.7/site-packages (from virtualenv->pipenv) (3.8.0)
Requirement already satisfied: importlib-metadata>=4.8.3 in /opt/bitnami/python/lib/python3.7/site-packages (from virtualenv->pipenv) (4.12.0)
Requirement already satisfied: distlib<1,>=0.3.5 in /opt/bitnami/python/lib/python3.7/site-packages (from virtualenv->pipenv) (0.3.6)
Requirement already satisfied: typing-extensions>=3.6.4 in /opt/bitnami/python/lib/python3.7/site-packages (from importlib-metadata>=4.8.3->virtualenv->pipenv) (4.3.0)
Requirement already satisfied: zipp>=0.5 in /opt/bitnami/python/lib/python3.7/site-packages (from importlib-metadata>=4.8.3->virtualenv->pipenv) (3.8.1)
Installing collected packages: virtualenv-clone, certifi, pipenv
Successfully installed certifi-2022.9.14 pipenv-2022.9.20 virtualenv-clone-0.5.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 5a33e6daf809
 ---> 23c1d441e525
Step 5/6 : RUN pipenv install --system --skip-lock
 ---> Running in d149460833da
Installing dependencies from Pipfile...
Removing intermediate container d149460833da
 ---> 1a96da89af5c
Step 6/6 : ENTRYPOINT ["pip", "list"]
 ---> Running in 241b9c67e6a9
Removing intermediate container 241b9c67e6a9
 ---> 53a40e19d800
Successfully built 53a40e19d800
matteius@matteius-VirtualBox:~/pipenv-triage/pipenv-5367$ docker run 241b9c67e6a9
Unable to find image '241b9c67e6a9:latest' locally
docker: Error response from daemon: pull access denied for 241b9c67e6a9, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
matteius@matteius-VirtualBox:~/pipenv-triage/pipenv-5367$ docker run 53a40e19d800
Package            Version
------------------ ---------
certifi            2022.9.14
distlib            0.3.6
filelock           3.8.0
importlib-metadata 4.12.0
pip                21.3.1
pipenv             2022.9.20
platformdirs       2.5.2
setuptools         63.4.3
typing_extensions  4.3.0
virtualenv         20.16.5
virtualenv-clone   0.5.7
zipp               3.8.1
matteius@matteius-VirtualBox:~/pipenv-triage/pipenv-5367$ cat Dockerfile
FROM public.ecr.aws/bitnami/python:3.7
WORKDIR /app
COPY Pipfile .
RUN pip install pipenv
RUN pipenv install --system --skip-lock
ENTRYPOINT ["pip", "list"]
matteius@matteius-VirtualBox:~/pipenv-triage/pipenv-5367$ cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"

[dev-packages]

[requires]
python_version = "3"

Can you please try and see if this works with the description of how to use pipenv with docker?
https://pipenv.pypa.io/en/latest/basics/#pipenv-and-docker-containers
I believe that the --system flag is the cause for your problem. If I try this without the --system flag, it works:
 $ pipenv install -v
Using python: 3
Path to python: /usr/bin/python3
Creating a virtualenv for this project...
Pipfile: /home/oznt/Software/pypa/pipenv/test-p/Pipfile
Using /usr/bin/python3 (3.10.6) to create virtualenv...
⠋ Creating virtual environment...created virtual environment CPython3.10.6.final.0-64 in 336ms
  creator CPython3Posix(dest=/home/oznt/.local/share/virtualenvs/test-p-gqlzztUu, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/oznt/.local/share/virtualenv)
    added seed packages: pip==22.2.2, setuptools==65.2.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/oznt/.local/share/virtualenvs/test-p-gqlzztUu
Installing dependencies from Pipfile.lock (051220)...
Writing supplied requirement line to temporary file: "certifi==2022.9.14 ; python_full_version >= '3.6.0' --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516"
Writing supplied requirement line to temporary file: "charset-normalizer==2.1.1 ; python_full_version >= '3.6.0' --hash=sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845 --hash=sha256:83e9a75d1911279afd89352c68b45348559d1fc0506b054b346651b5e7fee29f"
Writing supplied requirement line to temporary file: "idna==3.4 ; python_version >= '3.5' --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"
Writing supplied requirement line to temporary file: 'requests==2.28.1 --hash=sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349 --hash=sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983'
Writing supplied requirement line to temporary file: "urllib3==1.26.12 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4' --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997"
Install Phase: Standard Requirements
Preparing Installation of 'certifi'
Preparing Installation of 'charset-normalizer'
Preparing Installation of 'idna'
Preparing Installation of 'requests'
Preparing Installation of 'urllib3'
$ /home/oznt/.local/share/virtualenvs/test-p-gqlzztUu/bin/python /home/oznt/Software/pypa/pipenv/pipenv/patched/pip/__pip-runner__.py install -i https://pypi.org/simple --no-input --upgrade --no-deps --exists-action=i -r /tmp/pipenv-m5sohegj-requirements/pipenv-uk6vnw3v-hashed-reqs.txt
Using source directory: '/home/oznt/.local/share/virtualenvs/test-p-gqlzztUu/src'
Collecting certifi==2022.9.14

  Using cached certifi-2022.9.14-py3-none-any.whl (162 kB)

Collecting charset-normalizer==2.1.1

  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)

Collecting idna==3.4

  Using cached idna-3.4-py3-none-any.whl (61 kB)

Collecting requests==2.28.1

  Using cached requests-2.28.1-py3-none-any.whl (62 kB)

Collecting urllib3==1.26.12

  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)

Installing collected packages: urllib3, requests, idna, charset-normalizer, certifi

Successfully installed certifi-2022.9.14 charset-normalizer-2.1.1 idna-3.4 requests-2.28.1 urllib3-1.26.12

To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
$ pipenv --version
pipenv, version 2022.9.21.dev0
$ pipenv run pip list
Package            Version
------------------ ---------
certifi            2022.9.14
charset-normalizer 2.1.1
idna               3.4
pip                22.2.2
requests           2.28.1
setuptools         65.2.0
urllib3            1.26.12
wheel              0.37.1

Related : https://github.com/pypa/pipenv/issues/5340

This seems to be a regression in the --skip-lock flag.

I can confirm that :
$ pipenv install --skip-lock -v
Using python: 3
Path to python: /usr/bin/python3
Creating a virtualenv for this project...
Pipfile: /home/oznt/Software/pypa/pipenv/test-p/Pipfile
Using /usr/bin/python3 (3.10.6) to create virtualenv...
⠇ Creating virtual environment...created virtual environment CPython3.10.6.final.0-64 in 313ms
  creator CPython3Posix(dest=/home/oz123/.local/share/virtualenvs/test-p-gqlzztUu, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/oz123/.local/share/virtualenv)
    added seed packages: pip==22.2.2, setuptools==65.2.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/oz123/.local/share/virtualenvs/test-p-gqlzztUu
Installing dependencies from Pipfile...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
$ pipenv run pip list
Package    Version
---------- -------
pip        22.2.2
setuptools 65.2.0
wheel      0.37.1

@scastria If you can, please try this branch, it seemed to fix it locally and all tests passed.  We will have to release a new version of plette and vendor that in, but this branch contains those changes already for testing purposes.
https://github.com/pypa/pipenv/pull/5368

Can you provide instructions on how to test with a branch of pipenv?  I have not done that before.

Can you provide instructions on how to test with a branch of pipenv?

pip install git+https://github.com/pypa/pipenv.git@issue-5367b

I had a similar issue running:
pipenv install --dev --skip-lock
I can confirm that installing the patched version you mentioned fixed it for me.

2022.9.21 has been released to address this issue.

Hi, I hate to be the bearer of bad news, but it seems that 2022.10.9 reintroduced this bug, possibly with these PRs: https://github.com/sarugaku/plette/pull/28 + https://github.com/pypa/pipenv/pull/5366

@TurnrDev Could you provide updated reproduction steps?

Absolutely, we had two git branches we were swtiching between, one had a requirement that the other didn't. Our devs then run pipenv install --dev --skip-lock --clean (as we don't commit the lockfile, we didn't see the point in generating it)
So, basically... I guess it could also be reproduced by directly editing the Pipfile to add a new depenency in the default section.
I tested on three versions. 2022.10.4, 2022.10.8 and 2023.3.20. It only worked in 2022.10.4 Specifically, the new requirement we added was inflection, but the bug was not isolated to that requirement. On 2022.10.8 and 2023.3.10, pipenv install --dev --skip-lock --clean would appear to complete as if no requirements were changed. On 2022.10.4, it would actually install the new requirement. Using --verbose mode revealed no extra infromation on 2022.10.8 and 2023.3.10

I can run new tests and get the program outputs but I promise it's entirely useless. Just showing this regardless:
Loading .env environment variables...
Installing dependencies from Pipfile...
Installing dependencies from Pipfile...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

Any update on this?  I just tried the latest 2023.3.20 and it fails with pipenv install --skip-lock

Shawn -- please have a look at https://github.com/pypa/pipenv/pull/5653 and
help me validate if this truly fixes the problem.   Local testing seemed
good, the CI is running the unit tests now, but I'd appreciate more eyes on
it.
-Matt Davis
On Sun, Apr 16, 2023 at 7:22 PM Shawn Castrianni @.***>
wrote:

Any update on this? I just tried the latest 2023.3.20 and it fails with
pipenv install --skip-lock
—
Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/5367#issuecomment-1510516372, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVFFBX5UMYFRNENLJGGFDXBR5KZANCNFSM6AAAAAAQRQJVKQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

@matteius Sorry, I posted here by mistake as my problem is new.


Run Job after another job has been run

How would i do that - or how could i change the queue order of the jobs?

@faulander There is no queue. Toad scheduler executes scheduled jobs on a periodic basis with given cadency automatically, you just need to set the frequency.
Maybe you could explain your use-case a little bit?

Yes, i am well aware of that. I have two task, which periodically run after 24hr. They are also set to run at startup (runImmediately = true), but the first needs to run before the 2nd, which it doesn't - no matter what i do.
i have changed the script to initially call the tasks manually and set "runImmediately" to false, but i though maybe there's another way to force a task to run before another.

There is no built-in task hierarchy and no guarantee about which one executes first.
Do those tasks need to be two separate tasks? Maybe you can simply combine them into same task, if their cadence is the same.
Alternatively, you can use https://www.npmjs.com/package/redis-semaphore or just in-memory flag (if you are not running in a distributed environment) for checking if previous task already executed, and if not, either sleep, or skip the execution entirely.

true, these could actually be one task, but i like to keep my code clean and separated. they have a different purpose. I will look into the flag-solution or otherwise stick with my current one.
thanks for the reply!


Animate tabs

Now I'm back for an advice. I want to animate the tabs the first time the app is executed to let the user know that he has many options, more than he can see.
This is an example: https://imgflip.com/gif/tb9hb
I want to do this programatically (I thought to emulate swipe but I think it's not the right way to do it). I want to displace the tabs left to right just once. It will be an optical indicator for the user.
how can I do it?
Thanks in advance.

Hi, @denebchorny
I am sorry for the late answer.
Already solved?
SmartTabLayout inherits the HorizontalScrollView.
So, I think that it should I call the scrollTo(xxx) with the animation.


feat: Relay profitable batches only (re-check batch fees before relaying)

This PR closes #40.
For this to work fully as intended we'll need to modify x/peggy to make the RequestBatch endpoint available only to validators. If not, we'll still be susceptible to an attack as simple as creating batches too cheap to relay.
Here I also introduce something called relayTimeout which at the moment I arbitrarily decided to make it 2 x orch-loop-duration. This enables:

Validators who took the decision to relay cheaper-than-average batches will be able to do so.
Safely skipping batches created by mistake. e.g. A misconfigured orchestrator that is creating cheap batches and then refusing to relay them
Avoid losses to validators in case of a sudden drop in the value of a given token. The txs in the current batch will be put back to the OutgoingTxPool so they can be in the next batch.
Add fair competition among validators and incentivize fair prices. So validators who have their orchestrator configured for a too-high minimum batch fee will relay fewer batches than those that have a smaller fee requirement.

I think relayTimeout should be based on the Ethereum confirmation delay blocks instead of the loop's duration.
If the batch was created over "3 x Eth delay blocks" ago we can safely consider that no one is relaying this transaction and that we should move on to the next block to keep the bridge working.

For this to work fully as intended we'll need to modify x/peggy to make the RequestBatch endpoint available only to validators.

This is not possible unfortunately and tbh, seems like a codesmell in terms of not the optimum design.

The comments above are invalid.


fix(subgraph): ABI file typo

might be this, I got it when building in a Docker container locally

Nice 👍


DataGrid problem with editing the first column

Describe the bug
The cells of the first column do not allow you to fully edit the text. If you open the cell editor and click once more inside this editor, the editor will lose focus, but the editor will remain visible. You will no longer be able to print or change the text.
To Reproduce
I used the example from here: https://docs.avaloniaui.net/ru/docs/reference/controls/datagrid/
Make sure that in the DataGridTemplateColumn in the first cell the CellEditTemplate is a TextBox
Expected behavior
The editor should not reset its focus when clicking inside a cell
Avalonia version
11.0.10
OS
Windows
Additional context
https://github.com/AvaloniaUI/Avalonia/assets/80700375/2f2ae3a6-1d92-4055-bb6e-9e568e42c640

Yes you are right. 11.1 beta does not have this problem. Should we wait for version 11.0.11? Or wait for the full release of 11.1?


Search Extensions: run from template and pass back the results

A user provided a use case of wanting to include the open tasks with a given @mention in a template: -- e.g. for a weekly 1:1 meeting, pull the open items for that person.
https://discord.com/channels/763107030223290449/963950027946999828/1100905844708741332
I would like to request a general solution that allows for search commands (e.g. searchForOpenTasks) to be run via template and return the results in-line (either as synced lines or converted to bullets so as to not duplicate tasks). I would like to be able to search for open, checklist or both.

I would consider working on this, would just need to spike it to see scope of work


[Docs]: Create/extend private dependencies instructions

Type
Improvement idea
What do you want to report?
We haven't covered how to manage dependencies from private repositories from Semaphore
See private dependencies
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Review links:

https://storage.googleapis.com/sem-docs/main/index.html#/docs/using-semaphore/workflows
https://storage.googleapis.com/sem-docs/main/index.html#/docs/using-semaphore/secrets%23private-dependencies
https://storage.googleapis.com/sem-docs/main/index.html#/docs/using-semaphore/github-sso


provide: Clone 'this' without touching the object prototype

Hi @timbur!
I have recently started a project in React Native and I wanted to use react-redux-provide for state handling, to avoid all the boilerplate involved in react-redux.
I ran into an issue though:

As the message states, this happens when the fauxInstance is being created by cloning the provided wrapper component (?) and merging in the component props.
My patch was to adjust the cloning code so it only copies enumerable properties and leaves the prototype behind. I am not sure this is the best approach, but my application is running without errors now and I can get back to application development.
Could there be some edge case where the prototype would need to be cloned to the fauxInstance as well, or would utilisation of the prototype be an anti-pattern altogether?
What are your thoughts?
By the way, it is great to see that this project is still evolving after having been away for it for a while! Great job! 🎉

Interesting that react-native doesn't like assigning prototype.  Makes sense for performance though, probably due to how the react-native binds an object/function to the native view.
We should be able to merge this without any issues, but let me take a quick look and run a couple of tests to double check.

By the way, it is great to see that this project is still evolving after having been away for it for a while! Great job!

Thanks.  😄  I'll use this thread to kind of update folks on the status of this library.  Hope you don't mind.
Marketing is definitely not my strong suit, and it probably doesn't look like much is happening with this library, but it is still being used (very successfully) on a daily basis.  Both our backend CMS and our public facing sites (w/ millions of "users" per day) were built from the ground up with it.  The decoupled nature of providers allows us to reuse/share many of the same packages throughout, which of course significantly reduces development time, maintenance time, and keeps everything extremely predictable/reliable.
Beyond that, there hasn't been much need to update this library.  Only some small feature additions here and there.  I would however like to do a refactor of this fauxInstance stuff at some point and move the query handling stuff into its own package as it is probably unnecessary for most cases.  I may also separate the context management portion into its own library so that other might be able to more easily manage context and application state with something other than redux.  At the very least, this would improve the overall architecture.

Looks good!  Thank you!!


[Feature Request] Add import date

While the magnet link dumps don't contain dates, adding an import date (first seen) is a reasonable alternative, especially if you're using daily/hourly updates. It would at least get the dates more-or-less correct from the time you start using the application.

Of course! I need to update the ui a tad to squeeze it in but I think it would be very useful to sort by import date. I imagine 2 sorting modes, by seeders and by most recently imported.
I think I can add this later today.

The import time is stored. I'll make an issue for ui updates, and hopefull get around to it soon.


Querying index outputs lots of unnecessary info

When I query the index with CustomLLM and embeddings, I am getting a lot of unnecessary output, such as:
"""
Context information is below.

....

Given the new context, refine the original answer to better answer the question. If the context isn't useful, return the original answer.
.....

Given the context information and not prior knowledge, answer the question:
....
"""
Any help to turn this off would be much appreciated - thank you! I've tried setting logger to CRITICAL level

Ok, I figured I didn't cut the custom LLM response the right way. closing this, sorry


Highlighting by Occurrence number is not working for 2nd and 3rd occurrences

Highlighting by Occurrence number is not working for 2nd and 3rd occurrences.
It works for occurrence 1 and -1(highlights all occurrences), but for 2nd or 3rd occurrences it highlights the first occurrence of the word.

@jincypjose please estimate this. It was working in TSV9. Is this the same problem as with the -1 occurrence?

@birchamp this is the issue @Joel-C-Johnson is looking into.Sure i will take a follow up on this and update you for the same.

This issue is almost connect to https://app.zenhub.com/workspaces/tc-create-workspace-5f049cdbfa88090016bf043e/issues/gh/unfoldingword/tc-create-app/1491 as the focusing area is same and i think this also should be added to the same release(1.9.1)

Verified in  - v1.10 build 228-f43ba9b. Highlighting by Occurrence number is working fine for 2nd and 3rd occurrences as well as for -1.


feature: add movie name to movie provider

This PR adds the below method to the existing movie provider:

new Faker().movie().name();

Functionality has been validated and tested locally.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.25%. Comparing base (562ceed) to head (b8a7921).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1442      +/-   ##
============================================
- Coverage     92.26%   92.25%   -0.02%
  Complexity     3166     3166
============================================
  Files           320      320
  Lines          6182     6183       +1
  Branches        593      593
============================================
  Hits           5704     5704
  Misses          338      338
- Partials        140      141       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Nice one, thanks!


chore(sca): #PLC-764 Implement scan_diff command

Like in SCA scan all, the output_handler is not implemented yet.

Codecov Report

Merging #620 (c836c96) into main-sca (94d0ffb) will decrease coverage by 0.53%.
The diff coverage is 83.63%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff              @@
##           main-sca     #620      +/-   ##
============================================
- Coverage     93.76%   93.24%   -0.53%
============================================
  Files           108      109       +1
  Lines          4909     5061     +152
============================================
+ Hits           4603     4719     +116
- Misses          306      342      +36

Flag
Coverage Δ

unittests
93.24% <83.63%> (-0.53%)
:arrow_down:

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

Impacted Files
Coverage Δ

ggshield/cmd/hmsl/api_status.py
100.00% <ø> (ø)

ggshield/cmd/hmsl/quota.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/docset.py
67.74% <0.00%> (-1.01%)
:arrow_down:

ggshield/cmd/secret/scan/path.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/pypi.py
94.87% <ø> (-0.13%)
:arrow_down:

ggshield/iac/output/iac_json_output_handler.py
97.61% <50.00%> (-2.39%)
:arrow_down:

ggshield/cmd/sca/scan.py
59.37% <59.37%> (-24.63%)
:arrow_down:

ggshield/cmd/main.py
89.33% <75.00%> (-1.98%)
:arrow_down:

ggshield/iac/output/iac_output_handler.py
90.00% <77.77%> (-3.55%)
:arrow_down:

ggshield/secret/repo.py
95.45% <80.00%> (-1.32%)
:arrow_down:

... and 27 more

... and 1 file with indirect coverage changes

I think we lack some testing for now. We should add an "end-to-end" test from the command with a CliRunner. I did not manage to make it work from my shell.
Also all of the the different mods (pre-commit, pre-push, ...) should all be tested once, at least to verify that we get the right content files in each cases in the tar. We can patch the scan calls to avoid them and catch the tar to verify that the expected information is sent to the backend for example.


Add Reconcile Interval check

What this PR does / why we need it?:

Error Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference at: https://github.com/application-stacks/runtime-component-operator/blob/2650f9d4b76308c253a5995236f94bb1de6d2e17/utils/reconciler.go#L212
It happens when api error occurs and we exit out of the reconcile loop without updating the status field and tries updating the reconcile interval: https://github.com/application-stacks/runtime-component-operator/blob/2650f9d4b76308c253a5995236f94bb1de6d2e17/utils/reconciler.go#L297
Will need to add a check if the reconcile interval is in place

Does this PR introduce a user-facing change?

[ ] User guide
[ ] CHANGELOG.md

Which issue(s) this PR fixes:

Fixes #

Build running: https://cloud.ibm.com/devops/pipelines/tekton/729b3aea-0a81-4b4d-bd42-7e5811980010/runs/3d1fd142-898e-4702-a71c-75ce4a7a06e2/code-ci-start/start?env_id=ibm:yp:us-south


Support specific the klog device

if the /dev/kmsg is not exists, users can create it manually by mknod <device_path> c 1 11
This PR make users can pass the actual kmsg device

@tiann LGTM, except for one minor neat-pick. Please consider the comment.

@tiann LGTM, except for one minor neat-pick. Please consider the comment.

thank you, i've fixed it :)


Fix Nginx and Apache2 format to parse access log without http-version

Some hardwares such as LoadBalancer access to http servers without http-version in Request-Line. It's like following:
$ telnet localhost 80
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
GET /index.html

The access generates a log for Nginx and Apach2 servers.
# for Nginx
<IP_ADDRESS> - - [10/Jan/2015:17:52:50 +0900] "GET /index.html" 200 612 "-" "-"
# for Aapache2
<IP_ADDRESS> - - [10/Jan/2015:19:17:08 +0900] "GET /index.html" 200 11510 "-" "-"

Embedded parser format for Nginx and Aapach2 cannot parse these logs. This request fixes the regexps to parse correctly.

Good catch!

cherry-picked to v0.10


add ja.json & fix typo

Japanese locale!
and i found some typo on other locale file :P

Thank you!


Webpack: Using Component specific css render different in html?

Ref: http://stackoverflow.com/questions/34827147/webpack-using-component-specific-css-render-different-in-html

Forget I have resolved the issue.


Potentially incorrect barrier in Game of Life example

Bevy version
git (but any that contain the game of life example have the issue)
What you did
The game_of_life.wgsl compute shader example uses a barrier in an attempt to synchronize all threads before writing to the storage texture:
https://github.com/bevyengine/bevy/blob/42098192c228bd1329ff9ff1a4848c030ec171ec/assets/shaders/game_of_life.wgsl#L63-L65
This synchronization is needed because all threads also read from the same texture (from various pixels that are written to by other invocations).
What went wrong
To my knowledge, GPU barriers only affect threads within a single workgroup, but not those in different workgroups (that would require running an unbounded number of threads until they reach the barrier, saving their state, and then resuming them later). The shader uses 8x8 threads per workgroup, but runs on a texture that is much larger.
The potential impact of this is that a workgroup might read from pixels that were already written to by a different workgroup (outside of its 8x8 pixel block), leading to incorrect simulation results. Not the end of the world, but an example meant for teaching should probably get this right.
AFAIK the only way to correctly implement game of life in a compute shader is by using two textures and flipping between them every simulation step. That implementation wouldn't need a barrier at all, which is by far the simplest barrier to reason about :)

Yes, barriers only synchronize the IO and execution from within the same workgroup. We'll need to double buffer the textures like you said.


Detect @use, not @import in svelte.config.js

Fixes https://github.com/svelte-add/svelte-add/issues/176
Prior to this change, I also ran tests in svelte-add with const addersToTest = ["scss","bulma"]; in one-adder.js. Confirmed that:

Prior to change, tests failed
After the change, tests passed.

So it really is just a one line fix.
Let me know if I'm missing any additional testing/organizational points - haven't used pnpm in a complex project before and I wouldn't be surprised if I'm missing something.

Perfect, thank you!

Awesome, appreciate the project and great communication, @babichjacob

Published in 2<IP_ADDRESS>


Added more feature to the home page

Which typ of feature you want to add .... Kindly explain

More transition, colour contrast, text decoration and more
On Thu, 17 Oct 2024, 10:41 pm Vivek Prajapati, @.***>
wrote:

Which typ of feature you want to add .... Kindly explain
—
Reply to this email directly, view it on GitHub
https://github.com/codervivek5/VigyBag/issues/2291#issuecomment-2420074940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7SRZ6E5IJJ72UVPPE4U233Z37VTZAVCNFSM6AAAAABPYCNLTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGA3TIOJUGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update algorithms methods to match proposal

[x] Sequence/Collection constraints
[x] @escaping/rethrows closures
[x] split parameters
[x] More exhaustive testing
[ ] ~Documentation comments~ Coming in a separate PR

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test


Add missing form control widths

Adding these allows us to set form control widths equal to all the main grid widths. I've also set the two smallest widths to work like the others and flip to 100% at mobile. 12.5% width at mobile width may well be too small for the intended input. If there's a known character width people can use those styles instead (see pull request #81).
Not sure if .form-control-1-1 is the right way to specify 100% width. We need it though, for when form controls are used in columns.

Hi @timpaul, is this any better?
By default, .form-control is set to 100% width, to fill the full width of the grid column it sits in.
This will remove the need for .form-control-1-1 and will mean a .form-width class only needs to be set for widths smaller than 100%.

Yeah - I prefer that as well. Does this constitute a breaking change? In that it's going to ping a lot of people's fields from 50% to 100%?.

I don't understand the use case for these.
In nearly all cases we know the expected length of the data users will be provided. Our own guidance says the boxes should be sized to suggest the correct length. Thus boxes in general should have a fixed width, not percentage based off of the grid.
My preference would be to multiples of the gutter margin or something. so 1x, 2x, 4x, 8x, 16x (60px, 60px, 120px, 240px, 480px, etc)

Closing this PR in favour of #86.
The missing widths were added in #85 and will be replaced in #86.
Please add comments there.


3D Slicer basic exploration

Hi.
Here is a resumé of some explorations I did on 3DSlicer platform to see if it would be worth to use as a software for massive segmentations in different datasets (instead of fsleyes for instance).
Overview: I think 3DSlicer is promising (e.g. to run manual_correction script and open the last(or next) image viewed on the next startup. More details on this basic repository (see readme) : https://github.com/maxradx/slicer_exploration_basic

Thank you for these investigations @maxradx ! Maybe you could propose a simple prototype based on Slicer to see how manual-correction could be adapted to use Slicer instead of FSLeyes?

Ok great! Yes. Because in basic exploration, I was able to run a basic script in 3DSlicer that open a specific images, I will look forward directly to integrate the manual_correction script by Neuropoly into Slicer.

Very cool exploration, @maxradx! I like your demonstration videos! Looking forward to your prototype!


Package updates

Due to some IE11 issues I've recently opened:
https://github.com/alphagov/accessible-autocomplete/pull/310
https://github.com/alphagov/accessible-autocomplete/pull/316
Thanks to @babel/preset-env we can now add automatic polyfills using browserslist 👍
But, due to the webpack + babel build in this project it will undo some of these new tweaks.
So… I've applied the same fixes here as well 😊

We'll still need to do a version bump for https://github.com/alphagov/accessible-autocomplete and roll it into this pull request

Super - this looks good and works as expect in IE8 - 11, plus the other required browsers.
We just need to wait for this pull request (https://github.com/alphagov/accessible-autocomplete/pull/316) to be published before we can bump the accessible-autocomplete dependency here. ⏳

@injms Progress, https://github.com/alphagov/accessible-autocomplete/pull/316 has been merged now just waiting for a new npm release.

Added updates from the last week including<EMAIL_ADDRESS>This is now ready @injms

Superduper! Thanks for doing this @colinrotherham - very much appreciated 🥇

Brill thanks @injms.
Can you please version, tag and publish to npm please? Thanks


BUG: Website is down

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
UniCollab website is down and is shown blank

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC'24 contributor
[ ] I want to work on this issue

@Contributors who want to work on this please tell.

Also the fix is of some lines but I would give level 3 since it is quite urgent and if response is late then level will go on decreasing

@SUGAM-ARORA as of now, if we remove content from firebase.js, then the website is working perfectly fine.

@SUGAM-ARORA  as of now, if we remove content from firebase.js, then the website is working perfectly fine.

For proper fixation of this code, you need to obtain the Firebase configuration from your end and paste it as attached.

Now, how should I proceed with this issue?

@AkshitGarg24 Great work . Actually you helped me in finding the firebase.js file which I was somehow not to find as maybe I didn't thought that file is in src

Moreover I have completed solved this issue

It's my pleasure, @SUGAM-ARORA!

It's my pleasure, @SUGAM-ARORA!

@AkshitGarg24 If you want I can change level of any of your old merged PR as a reward for this.

It's purely your decision @SUGAM-ARORA, whatever you feel right, you can do that.
Moreover, if you decide to reward me, I have recently opened PR #495, so you can reward me there if you want.

@AkshitGarg24 Great work . Actually you helped me in finding the firebase.js file which I was somehow not to find as maybe I didn't thought that file is in src

You should have texted me , I would immediately replied you , bcoz I only had integrated firebase in the website, instead of struggling so much 😅


docs and examples updates. #112

Adds a few new examples, and brings docs up to date with code in master.
fixes #112

Issue number: #112


Make sure the expire time we get back from the

refresh api has a timezone so we are consistent for other
comparisons

@snjoetw I have access token refreshes working from home assistant with this branch https://github.com/bdraco/august/tree/test_pyaug_token_refresh and this fix

Found another issue.  Going to resubmit shortly


Smoldot integration

Smoldot Light client (and the integration with it) should not be treated as a provider - rather as a full node. To explain, comparing the light client, to any other provider that may use a url to connect to, smoldot requires time to start up before start responding to rpc requests. Sync is needed for specific requests but some rpc calls can receive a response even prior to full sync of the light client.
The approach here is mainly a "migration" (if I may say) from the substrate-connect code and logic. Tests in smoldot.test.ts file are 3 simpleones that covers the main cases of AddChain, AddWellknownChain and Add a Parachain.
In assets directory exist 4 chainspecs of the WellKnown Chains. These could/should be updated - meaning update the lightSyncState field of the existing chain spec with the value of spec that's been downloaded with CI script (following the logic of Substarte-connect), every X days (normally every one day). This process, updates the 'light client checkpoint' that exists inside the chainspec, giving the capability to Smoldot, to sync from that point and not not from an older one (the older the checkpoint - the more time smoldot needs to wrap sync).
TODO:

Discuss what else we may need to export/use from Smoldot;
Ask about use cases that may not be too familiar to me concerning CAPI and smoldot;
Clarify (with bold strong words) that testing is just experimental and "setTimeout" is not a permanent solution;

Closing this as smoldot integration is done


Capture Score of a CompletionItem.

LSPServer (like clangd) can send Score of a CompletionItem as a result
of textDocument/completion.
Store it to avoid crashing while interacting with such servers.

Hi,
Thanks for the PR.
Do you have an example for this? I don't see score in the official spec (https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_completion).
Thanks

Although not part of LSP, this is a clangd extension.
The main idea is to support client-side re-ranking of completion items.
Some background and history: https://github.com/Microsoft/language-server-protocol/issues/348
Clangd returns score as described in https://github.com/llvm/llvm-project/blob/master/clang-tools-extra/clangd/Protocol.h#L1025

Ping!

Hi,
sorry, I didn't get the chance to look into it before.
Looks good to me.


Php redis

Could you guys add the php-redis extension to the Dockerfile?

Hi @JoaoGabrielAlves it's done! Thanks for suggesting

Thank you!


Write a short and descriptive title!

Description
how to write
Use Case
#show math.frac: it => {
  it.num = h(1cm) + it.num + h(1cm)
  it
}

$1/(2+x)$

This should go to discussion, or on the discord


[Bug] Failed to get entities from store: could not resize shared memory segment

Bug report
Hello, i am trying to run graph node locally, and i have deployed a uniswap forks subgraph. When i try to fetch entities i get the following issue: Failed to get entities from store: could not resize shared memory segment
I am wondering if there is a workaround to fix the above one? Or if i just should modify postgres docker to increase shared memory?
Relevant log output
No response
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
Linux

Hi @eldimious can you please provide more information about your local graph node config

Hello @azf20 i just use docker compose file from https://github.com/graphprotocol/graph-node/blob/master/docker/docker-compose.yml to run graph node locally and also run an ethereum node using ethereum/client-go:stable img in the same docker-compose file

ok - does it fail in the same way for any subgraph you deploy?

Nope, mostly for uniswapv2 / pancakeswap, i suspect is related to amount of tokens / liquidityPools that these platforms have.
My flow is to try to fetch all liquidity pools for uniswapv2, and when try to execute graphql with skip, fails at some point because of above message

try using first and id_gt https://thegraph.com/docs/en/querying/graphql-api/#example-using-first-and-id_ge

Ok thanks for the hint, i will try it and let u know

Hey @azf20 indeed seems that using lastid instead of skip is more performant and i have not received the above error. Thanks for the help!


What is the label to use for associates degrees under the Degree column?

I put an A, but that renders as a UNK on http://datascience.community/colleges.

A is correct. I updated the website. Thanks for the tip.


Monitor App usage time

Hi Daniel,
from my point of view the duration of the app usage is a very useful metric.
What is your recommendation to measure that in the code?
So I don't know whether this tis is a question or a feature request.
Kind regards
Frank

Right now you can query the first and last page view in a session. But it will not give you any exact value. But I plan to add duration to page views and after that is done you will be able to get more exact session times.


bug: adblock is not working again

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version:<IP_ADDRESS>0.g242057a2
- Spicetify version:flake of https://github.com/Gerg-L/spicetify-nix/blob/5a4a301de746e16851165b0da8ab6d38ed37b8dd/pkgs/extensions.nix#L149

📦 Extension name
adblock
📝 Description
not working still
📸 Screenshots
i don't have one for now

You're not on latest version then. It changes the experimental feature because I can see that so the issue is in your end

You're not on latest version then. It changes the experimental feature because I can see that so the issue is in your end

i don't think i can get more latest version then that

read means it's in override state which is set to false. It works just fine. I'm pretty sure you're not on latest then. I already know that the adblock extension doesn't even load because you have Explore Premium button in the topbar which should disappear.

 Red means it's in override state which is set to false. It works just fine. I'm pretty sure you're not on latest then. I already know that the adblock extension doesn't even load for you because you have Explore Premium button in the topbar which should disappear.

i'm on nixos unstable may be nixos dont have latest spotify version

i'm on nixos unstable may be nixos dont have latest spotify version

Why would it matter? This extension works on many spotify versions. I'm saying that you do not have adblock applied to spotify, at all.

i'm on nixos unstable may be nixos dont have latest spotify version

Why would it matter? This extension works on many spotify versions. I'm saying that you do not have adblock applied to spotify, at all.

but i have this is my config
{ config, pkgs, inputs, ... }: {
  programs.spicetify =
    let spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
    in {
      enable = true;
      enabledExtensions = with spicePkgs.extensions; [
        adblock
        lastfm
        fullAppDisplay
        hidePodcasts
        betterGenres
        shuffle # shuffle+ (special characters are sanitized out of extension names)
      ];
      theme = spicePkgs.themes.catppuccin;
      colorScheme = "mocha";
    };
}

I don't know anything about nix packages and how they work. I'm just saying that it doesn't load for you

I don't know anything about nix packages and how they work. I'm just saying that it doesn't load for you

sad


Namespace inconsistencies

Consider using only a single namespace for all classes. As it currently is, the Trustee class is located in the System.Messaging namespace, while MessageQueue exists in Experimental.System.Messaging.
This can result in conflicts when using both the experimental nuget and the original library in the same project.

I posted a new version of the package as I solved your issue. There will be a package available that fixes the problem in version 1.1.0. Thank you for registering your issue. 👍

You can now install the new package with this command - dotnet add package Experimental.System.Messaging --version 1.1.0
https://www.nuget.org/packages/Experimental.System.Messaging


[improve][offload]keep topic/ns set-offload-policies consistent behavior logic

This PR is for running tests for upstream PR

closed for upstream merged.


Lost 1000 honor, downgraded from 1 dan to 1 kyu

Describe the bug
I have completed 693 katas and was rewarded more than 12400 honors. For some reason, my account lost about 1000 honors.
Screenshots

Additional context
Account name: vietanh101003
Checking the site events, the number of completed katas is 687, while on the profile page it was 693.

Did you spot, more or less, the point in time when the drop occurred? Was this some time recently, or you just logged in after some inactivity and noticed points are different than the last time?

The last time I completed a kata is on the last Saturday afternoon, and the next morning, the drop occurred.

@VietAnh1010 two cheats have been found in your older solution, you got a penalty for that.


Switch integration tests to use internal types

What changed?

Why?

How did you test it?

Potential risks

Coverage increased (+0.6%) to 60.305% when pulling 2da1be39ae39aed4eb26dceb43fa5d2b23292642 on vytautas-karpavicius:integration-tests-internal-types into c324af8ca4b03b37c658c101f40dfeb205726eed on uber:master.


Autosharding section in doc

Sorry , autosharding section in the last documentation is not present.
It is a error ? or is changed the orientdb setting ?

With Distributed cfg, the sharding is up to the developer. OrientDB will select the cluster local to the server node where the client is connected. Look at "Cluster Locality" in http://www.orientechnologies.com/docs/last/Distributed-Sharding.html. In the next releases we'll provide auto-sharding strategies in bundle.


bump up

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for new/updated/fixed functionality.
[ ] I have updated/added dartdoc comments with ///.

Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Related Issues

Codecov Report

Merging #899 (8dce721) into main (33419db) will increase coverage by 9.98%.
The diff coverage is n/a.

:exclamation: Current head 8dce721 differs from pull request most recent head 2daf528. Consider uploading reports for the commit 2daf528 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #899      +/-   ##
==========================================
+ Coverage   82.35%   92.33%   +9.98%
==========================================
  Files         256       30     -226
  Lines        3224      574    -2650
==========================================
- Hits         2655      530    -2125
+ Misses        569       44     -525

see 226 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Track CKV2_AZURE_41 issue

Describe the bug
Take CKV2_AZURE_41 out from the suppressed checks list for Azure once bridgecrewio/checkov#6140 is fixed. Then apply the remediation for the check.

Thank you for reaching out. We're working on it.


Native shell

Pull Request Test Coverage Report for Build 120

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
19 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-2.7%) to 90.765%

Files with Coverage Reduction
New Missed Lines
%

.tox/py2/lib/python2.7/site-packages/friendlyshell/base_shell.py
19
86.27%

Totals

Change from base Build 116:
-2.7%

Covered Lines:
1104

Relevant Lines:
1204

💛  - Coveralls


⚠ GitLab Server has degraded performance

In 5b61b32, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 2674 ms

Resolved: GitLab Server performance has improved in 0da10bd.


Handle no child data when calculating aggregation features with multiple arguments

This pull requests updates how we handle calculating aggregation features when there is no child data. We fixed this for aggregations with where features in #258, but this fixes it for when there are multiple arguments to the agg feature.
This PR fixes the second issue reported in #252

Codecov Report

Merging #264 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
+ Coverage   94.14%   94.15%   +<.01%
==========================================
  Files          71       71
  Lines        7638     7643       +5
==========================================
+ Hits         7191     7196       +5
  Misses        447      447

Impacted Files
Coverage Δ

...turetools/computational_backends/pandas_backend.py
94.13% <100%> (+0.06%)
:arrow_up:

...tests/computational_backend/test_pandas_backend.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Deprecate operator dispatch in Var

Operator dispatch is a too high-level feature for spox. Also it is currently clunky to use from a user standpoint as it essentially "monkey-patches" the dispatcher in spox.
A more appropriate way to access this behaviour is by using ndonnx.
Checklist

[X] Added a CHANGELOG.rst entry

I doesn't make a big difference, but technically we want to be sure that we warn users if they do anything that will break in the future. If we remove operator_overloading in the future any from spox._future import operator_overloading will already break regardless of usage. As such, we would ideally already warn on that level. One way to do so is to rename the function to _operator_overloading and then define a getattr function in the module to return it if a user imports "operator_overloading". We may then raise the warning from getattr rather than when the user actually calls the function. This comes with the added benefit that it would already remove the function from the documentation, too.

I think it should now work as described here^
Note: These are how the different situations get handled after the change, using the developer mode:
# warning
from spox._future import operator_overloading

# no warning
import spox._future as sf

# warning
sf.operator_overloading

# no warning
from spox._future import set_type_warning_level

# ImportError
from spox._future import non_existant_function


Filter box disappear after date filter applied

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.28.1
Expected results
Filter box stays after date filter applied.
Actual results
Got error message: Uncaught TypeError: Cannot read property 'map' of undefined. Filter box also disappear after date filter applied. However, charts successfully filtered within date range.
Steps to reproduce

Create dashboard
Add filter to dashboard
Apply date filter

Looks like similar bug was found in #3649 with different case

Same issue here after the last release update!

Same Issue here

Same for me.

This issue is so weird. Only some laptops/browsers seem to be affected. For instance I cannot reproduce it on my browser but people sitting next to me can, with the exact same version of chrome.

I get the error everytime and ask some of my colleagues to try and they got the same error. However, if I try on Firefox (I usually use Chrome), the error is 'TypeError: "t is undefined"' (on Chrome, on the same dashboard, I also have "Uncaught TypeError: Cannot read property 'map' of undefined.") .
Moreover on some dashboards the filter box shows up and disappear when I use it, on others I have the error straight away.

Same error with Firefox. The error is "[3016]/E</<.value</</<@http:///static/assets/dist/filter_box.885b5b9fd31f4d3caa48.chunk.js:2:364709
[3016]/E</<.value</<@http:///static/assets/dist/filter_box.885b5b9fd31f4d3caa48.chunk.js:2:364605
[3016]/E</<.value</<@http:///static/assets/dist/filter_box.885b5b9fd31f4d3caa48.chunk.js:2:365980
Qi@http:///static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1384795
Xi@http:///static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1384639
to@http:///static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1387239
Ro@http:///static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1401252
No@http:///static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1401598"

We had this issue in production at Lyft and I fixed it with this patch. From what I understand the bug should not exist in master or in 0.28.x:
https://github.com/lyft/incubator-superset/commit/57410671fb90aa86433274eb6dd644b134b92dbe

The issue is with version 0.28.1, do you mean it's fixed on next versions ? I tried to reproduce your fix  in superset/static/assets/coverage/lcov-report/src/visualizations/filter_box.jsx.html but the issue is still there.

Thanks !

Is there a quick fix for this one? Something like 'add X to the slice's properties?'

I am facing the same issue. Also using the latest version of superset 0.28.1. I tried it on Chrome and Safari browsers.

Facing the same issue still. Tried it on Chrome and Safari browsers as well.

I am also having issues with this with Superset version 0.28.0 and 0.28.1.  0.27.0 does not have the same problem.  In terms of future releases, I haven't been able to get superset running using the Dockerfile, and am relying on pip install superset, so the latest release I can use is 0.28.1.

@abhijitghate

+1 to prior comment, we run into this issue with 0.28.1

Same issue @nuria
@mistercrunch Can you re-open this issue?

Same issue @nuria :(
Is there a quick fix for this one?

Hi,
is it possible to backport to 0.28, or to give an estimate date for the release of 0.29 ?
It's a severe issue.
Thanks

We're currently recommending running 0.29.0rc7 where this issue is fixed. We're held up on releases until we can spend cycles sorting out LICENSE related documentation to comply with the ASF for official releases.

@mistercrunch how long will it take for v0.29 to release?

Same issue here..


added xtraits for future simple specialization

Added std::is_* traits proxy so they could be easily specialized for user classes without touching std namespace and causing UB

Thanks, this is neat!


New functions/methods + some fixes

Edit: now that I look at it, this is a huge PR... if you'd like me to break it up into smaller ones, please let me know.
Fixes:

Fixed swapped parameters to Vec4 in multiple places (1cf1e86)
Fixed a division by 0 crash in integrations/glfw (173d8bb)

Additions:
Drawlists:
DrawList:
    add_line
    add_rect
    channels_split
    channels_merge
    channels_set_current

get_overlay_draw_list

Styling:
get_style

GuiStyle:
    from_ref
    color

Cursor functions:
get_cursor_pos
set_cursor_pos
set_cursor_screen_pos

Mouse functions:
is_mouse_down
is_mouse_clicked
is_mouse_released
get_mouse_pos

Misc:
plot_lines
get_time

In addition, I added some aliases. ImGui always shortens "position" to "pos", but we have both get_window_position() and get_cursor_pos(). It would be nice to settle on one and use it consistently. In the meantime, I added aliases from *_pos to *_position. (998d03e, b5b165a)

Coverage decreased (-0.4%) to 46.49% when pulling ed7a9f73b358524bf8fd8f0c2f5775cba6638dfe on lubieowoce:patch-1 into a10a6e4dc32c7107c6c16869b7104f7598b862fd on swistakm:master.

Yes it fails on python 2.7 but it's completely unrelated. It's old issue and I'm fixing it right now.

I have added fix for Python 2.7 builds so this should be resolved now. It would be nice to rebase this PR.
Good point with this pos/position inconsistency. I would prefer to have "position" as default name for these Python bindings. Maybe it would be nice to have "pos" aliases marked somehow with warning that this is an alias but it isn't that critical.
There is still ongoing problem with builds on Windows. They are hanging in queued state without any reason. I have submitted issue to Appveyor but if we won't get any fix we may try to use Windows builds on Travis as they are now available. That would greatly simplify the build pipeline.

That's great, I prefer "position" too :) I rebased the branch, not sure how to make CI run again.

We don’t have any explicit tests yet but we have some usage examples in docstrings that are used to generate visual examples in the dosctrings. So there is a small pytest plugin that uses autodoc feature of Sphinx to generate tests out of these examples. That’s how we measure coverage. It’s rather doc-coverage than real test-coverage.
I know that’s kinda kludgy but it works. I was even thinking about making some reference images so we could compare these “tests results” with some reference images but I didn’t researched yet how we could do off-screen rendering on Travis/Appveyor.

I’m merging it. There are still some issues on Appveyor builds but these should be now fine as I have merged some CI fixes just recently.

how we could do off-screen rendering on Travis/Appveyor

AFAIK OpenGL doesn't care if there's an actual screen – you just draw to a buffer. So we could just copy its contents and save that! It'd require a bit of work (getting a GLContext without a window?), but it should be possible.

This Stackoverflow answer talks about testing a GUI app on Travis.
The linked repo's travis.yml sets up a virtual screen with a DISPLAY env var. It also references this link: Travis CI: GUI and headless browsers which sounds relevant.

Released as 1.0.0


ResourceManager::cluster_nodes

ResourceManager::cluster_nodes does not support filtering nodes by state and healthy as the underlying API does not support filtering

The API changed several times, so I think it is true to some extend.
Latest version of Hadoop currently supports only one parameter states, and it even its name doesn't match the one we have.
https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Nodes_API
However as of version 2.7.3, it will worked with state/healthy parameters.
https://hadoop.apache.org/docs/r2.7.3/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html
I'm not exactly sure what would be the best approach for this. Supporting two different APIs with different methods? (aka additional _legacy method, and change current to follow latest Hadoop version APIs)

@kevin-bates @lresende any suggestions how to handle updated APIs? Are we keeping stuff compliant only to latest YARN stable version? If so, this mentioned API has to be updated

Not sure I'm up on the various Hadoop versions.  However, 0.3.4 is DOA on my system with the following error:
[W 2019-06-06 13:37:48.524 EnterpriseGatewayApp] Query for kernel ID '609c46bb-c98a-41b1-a334-d9a748491348' failed with exception: <class 'TypeError'> - 'request() got an unexpected keyword argument 'startedTimeBegin''.  Continuing...

This PR (https://github.com/toidi/hadoop-yarn-api-python-client/pull/31) adjusted the parameters to the request() call.  The parameters (https://github.com/toidi/hadoop-yarn-api-python-client/blob/master/yarn_api_client/resource_manager.py#L125-L134) appear YARN related, while this issue is more about the request() method itself - so I'm inclined to think this is a bug.
@dimon222 - do you have any ideas?

I think the issue is that the calls in resource_manager that take **params should instead take params=params.  Then these will appear on the requests() call as the params keyword - which then gets passed along to YARN.
Will test this now (sorry for the diversion here).

Closing via #44


Update byte-buddy, byte-buddy-agent to 1.14.11

About this PR
📦 Updates

net.bytebuddy:byte-buddy
net.bytebuddy:byte-buddy-agent

from 1.14.2 to 1.14.11
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.14.2).
You might want to review and update them manually.
website/yarn.lock

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "net.bytebuddy" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "net.bytebuddy" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #777.


Implement the title page and update styling to match designs

The two variable manifests (feasibility study and project summary) have been updated with the new title section. The main title is the project name and the document name. The subtitle is the "title section" text.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2921  👈
#2920
#2919
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Jul 31, 1:53 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


API call to check/set Run Status

Need a new API call that allows a user to check to the status of a run or set the status of a run.
Note for 'queue' status, changing a run to queue should also add it to PEGR's queue and changing it from 'queue' to 'analyzing' should also remove it from PEGR's queue.

Related to #239


Added two new Vue Books

Added my two published Vue books to the list.

Vue.js 3 Cookbook: Discover actionable solutions for building modern web apps with the latest Vue features and TypeScript by Heitor Ramon Ribeiro, Packt. (September, 2020)
Building Vue.js Applications with GraphQL: Develop a complete full-stack chat app from scratch using Vue.js, Quasar Framework, and AWS Amplify by Heitor Ramon Ribeiro, Packt (January, 2021)

Please Read
Link Submission
Please submit your link(s) to the official Vue.js Awesome List repository (read first their contributing guide).
If they merge your pull request there, it will also be updated in this repository.
But if you really want to add it here, I would still review it.
Bug Fix or New Feature
For bug fixes or new features to this repository, delete this template text and proceed to provide information about the changes introduced in this pull request.
Contribution Agreement
By submitting a pull request to this repository, you are accepting this contribution agreement:

I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

Thank you @bloodf 🎉


N20: pGLOWrpg

Also, there are a couple of formatting issues being flagged up by the linter:
content/posts/newsletter-020/index.md:76:81 MD013/line-length Line length [Expected: 80; Actual: 87]
content/posts/newsletter-020/index.md:76 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- Reformatting a printing inte..."]

Are links still broken? I can only open my own Twitter link...

Ah, I was misremembering the syntax - to use reference-style links, you need square brackets on both parts:

[pGLOWrpg](pglowrpg-github) should be [pGLOWrpg][pglowrpg-github].
[Twiter](pglowrpg-twitter) should be [Twitter][pglowrpg-twitter].

#531


GenericJpaRepository to enable/disable the sequence number generation

Enhancement Description
It would be nice to have an option in the GenericJpaRepository to enable/disable the sequence number generation.
Current Behaviour
That is now automatically enabled when using an Event Store.
Wanted Behaviour
I would want to delete the state stored aggregate from the repository (SQL) and to create another instance with the same identifier/id sometime in the future. This is not possible (out of the box) at the moment. Axon Server event store will complain that you are providing a wrong sequence of 0, and it is expecting 1.
Possible Workarounds
Axon will only generate DomainEvents when it detects that the EventBus that the repository uses implements "DomainSequenceAware". The Event Store does that. So what you could do, is implement the Event Bus interface and have that implementation delegate all calls to the Event Store. That way, they become "plain" events, not referring to their aggregate

Removed the milestone for now, as we will not be able to resolve this issue within release 4.6.0.
We will adjust this ticket accordingly once we pick it up again.


Setup sp as Verified Fail Over for git

Story
As a user I want a highly available site that is never down so that my work is never interrupted.
Notes
The sp server is currently setup as a partial backup of the git server.  After #78 , we need to finish setting up sp so that it is a fully fail over capable backup solution.  Many pieces are already  in place but we need to finish the setup and test it.

Outmoded by #110


Task 1: Add the Cflat Compiler to Compiler-explorer

Is your feature request related to a problem? Please describe
We are still stuck on how to display the output. We found the output file dir, but we don't know why it doesn't write the output on the browser from the dir.
Describe the solution you'd like
Final version will be that users can run Cflat compiler on compiler explorer (CE) on local machines.
Describe alternatives you've considered
N/A
Additional context
Not applicable

@maemre We still need help with displaying the output.

I'm not available to meet until next Wednesday (except our weekly meeting), so we need to figure things out over GitHub issues. Please describe:

What have you tried?
What errors are you getting on the server-side logging console? What error is the lirc binary giving?
What are the arguments you're passing to the compiler?

You will probably need to override the exec or runCompiler methods in your compiler class to add logging to see this. The one from the C3 compiler doesn't work because it expects different arguments.

Where are the input and output file locations, does the input file have the right contents?

Then, we can figure out how you can shuffle the arguments around to give the compiler binary exactly two arguments: the input file and the output file in that order.
Also, the documentation for adding a new compiler mentions how to get the output file name, that may be handy. Try calling it and log & inspect its output.

“Also, the documentation for adding a new compiler mentions how to get the output file name, that may be handy. Try calling it and log & inspect its output.” -> We can get the output file name as string now, we tried inserting some “console.log” in BaseCompiler, and figured out the way to get it.

“What errors are you getting on the server-side logging console? What error is the lirc binary giving?” -> The error we are getting is that the correct usage of the lirc command was not followed.

“What are the arguments you're passing to the compiler?” ->
The expected argument should look like below:
/Users/yinhu2/Desktop/farrago/target/debug/lirc [lir-file] [output-file]
But now, we can only pass something like below:
/Users/yinhu2/Desktop/farrago/target/debug/lirc [output-file] [lir-file]
We are unable to inverse the order of output-file and lir-file.

“Where are the input and output file locations, does the input file have the right contents?” ->
Input file location:
/var/folders/87/cd_m04yx2nqfk8k9ljzt2xc80000gn/T/compiler-explorer-compiler2023530-21393-1k9l64d.5g6bk/
Output file location: /var/folders/87/cd_m04yx2nqfk8k9ljzt2xc80000gn/T/compiler-explorer-compiler2023530-21393-1k9l64d.5g6bk/
This is the result after we ran ”make dev EXTRA_ARGS="--debug --language cflat"”.

“What have you tried?” -> We have tried to modify cflat.ts (as shown below). After we added some “console.log”, we found out that the compiler was called correctly, but the order of the calling command is incorrect. We need to shuffle the arguments around to give the compiler binary exactly two arguments: the input file and the output file in that order. We tried to override the OptionForFilters()/ optionsForBackend() because it returns the output file dir first, and then the input file dir. So, we tracked back functions and found out where the order was made: prepareArugments() and orderArguments() also as the screenshot shown below. But we don’t think those are something we should override.

Also, we are unable to push this "cflat.ts" version to this branch due to some technical issue.

This is really helpful.
Also, don't screenshot code in issues (it's text, not image, and it has
issues around accessibility, people using email-based flows, etc.). Link to
the relevant code and put it relevant bits as a code block instead.
You can override prepareArguments to give the input file as the first
option. I think overriding it makes sense (it's where you specify an order
of arguments for this particular compiler).
What's the technical issue you are having when trying to add cflat.ts?
On Fri, Jun 30, 2023, 11:44 PM Yin Hu (Eva) @.***>
wrote:

Also, we are unable to push this "cflat.ts" version to this branch due to
some technical issue.
—
Reply to this email directly, view it on GitHub
https://github.com/maemre/compiler-explorer/issues/2#issuecomment-1615562602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEJNXVEENCNHVGAJEMYD4LXN7BLHANCNFSM6AAAAAAZSZSPYU
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have solved the previous issue, but now there is a new error.
So as shown below, I have passed correct arguments to the command, but then it said that it was expecting to find a local_ident but found a "}" instead. But my input lir file's content is as same as the "branch.lir" file, so I don't know why and how to fix it. @maemre
debug: Execution {"args":["/Users/yinhu2/Desktop/compiler-explorer/examples/lir/default.lir","/Users/yinhu2/Desktop/compiler-explorer/examples/lir/output.asm"],"command":"/Users/yinhu2/Desktop/farrago/target/debug/lirc","result":{"code":101,"execTime":"13","okToCache":true,"stderr":"thread 'main' panicked at 'Syntax error:   --> 14:1\n   |\n14 | }\n   | ^---\n   |\n   = expected local_ident', cflat/src/bin/lirc.rs:27:27\nnote: run with RUST_BACKTRACE=1 environment variable to display a backtrace\n","stdout":"","timedOut":false},"type":"executed"}

Can you try adding a new line at the end? lir files need to end with a new
line.
On Tue, Jul 4, 2023, 11:54 PM Yin Hu (Eva) @.***> wrote:

I have solved the previous issue, but now there is a new error.
So as shown below, I have passed correct arguments to the command, but
then it said that it was expecting to find a local_ident but found a "}"
instead. But my input lir file's content is as same as the "branch.lir"
file, so I don't know why and how to fix it. @maemre
https://github.com/maemre
debug: Execution
{"args":["/Users/yinhu2/Desktop/compiler-explorer/examples/lir/default.lir","/Users/yinhu2/Desktop/compiler-explorer/examples/lir/output.asm"],"command":"/Users/yinhu2/Desktop/farrago/target/debug/lirc","result":{"code":101,"execTime":"13","okToCache":true,"stderr":"thread
'main' panicked at 'Syntax error: --> 14:1\n |\n14 | }\n | ^---\n |\n =
expected local_ident', cflat/src/bin/lirc.rs:27:27\nnote: run with
RUST_BACKTRACE=1 environment variable to display a
backtrace\n","stdout":"","timedOut":false},"type":"executed"}
[image: Screenshot 2023-07-04 at 23 46 30]
https://user-images.githubusercontent.com/97008773/251060619-a6f80f0d-d231-4c00-b180-1fdf00f5e22c.png
—
Reply to this email directly, view it on GitHub
https://github.com/maemre/compiler-explorer/issues/2#issuecomment-1621136178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEJNXT4J3KXXNQWECIVONDXOUFRFANCNFSM6AAAAAAZSZSPYU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Problem solved! Thanks!


Is there a recommended way of restricting input length?

First off, thanks for creating such a simple, useful plugin!
I find myself needing to limit the length of text a user may enter into the pell editor. I'm tempted to tack on an event listener and call preventDefault on the event object if the length of the pell editor's value is longer than N. Though, that seems like a kludge and like I'm working against the editor.
So, is there a recommended way of limiting the amount of text a user may enter into the pell editor? I'm looking at the source now and don't see any obvious solutions. Perhaps the event object could be passed to settings.onChange from within content.oninput?

I think you don't have to restrict input. What worked is just to show the remaining characters and when it's in a negative area you show a hint.
Something like this:

Look at this thread, it's quit interesting: https://ux.stackexchange.com/questions/13055/character-limits-on-fields-pros-and-cons-and-best-practices
UX Max Input length for pell
Append automatically the counter element after the pell container. I have a more complicated version implemented, but here is my approach.
Add a data-target and adata-max attribute to your pell container.

in onChange of pell init
onChange: function(html) {

      var element = $(this.element);
      var target = element.data('target');
      var max = element.data('max');
      var counterEle = $('.text-counter[data-target="'+target+'"]');

      var lengthWithoutTags = $(html).text().length;
      var counter = parseInt(max) - lengthWithoutTags;

      // create counter element after pell container if not present
      if (!counterEle[0]){
        console.log("create new");
        counterEle = $('

')
        element.after(counterEle);
      }

      if (parseInt(counter) < 0) {
        counterEle.html(`<span>Please use only ${max} characters.</span><span>${counter}</span>`);
        counterEle.addClass('text-counter--invalid');
      } else {
        counterEle.html(counter);
        counterEle.removeClass('text-counter--invalid');
      }
      return true; // dont know if needed
},

Give your text-counter-element a bit of styling
.text-counter
  font-size: 1rem
  width: 100%
  display: flex
  justify-content: flex-end

  & > *:last-child
    margin-left: auto

.text-counter--invalid
  color: $colorNegative

Thanks, for following up @simonfranzen. That thread is an interesting read. I also wound up doing something similar to your approach in the application I was working on.

I am also looking for something like this to be implemented. I want to restrict the user from typing more than a number of characters. I have gone through the comments here and seems like I will also have to do make do with a hack. I request the author to implement this as a feature or provide more hooks, so a preventDefault() maybe called on the original event.

@siva-bathula This type of feature will likely never be a part of pell's core code, which is designed to be as minimal as possible. This is a perfect example of a great plugin idea.

I will make do with a hack. Thanks for responding.


How can I make a property value depend on the value of another property?

Using ajv is it possible to get a validation error if minPrice is bigger than maxPrice in this schema?
{
  "type": "object",
  "properties": {
    "minPrice": {
      "type": "number"
    },
    "maxPrice": {
      "type": "number"
    }
  }
}

I think you can look into the $data keyword. It allows you to refer to the actual validated values of other parts of the data in your validation rules.
https://ajv.js.org/guide/combining-schemas.html#data-reference


How to implementate the weighted sum operation using Conv1D?

The authors mention using Conv1D to implement the weighted sum operation in the paper,  but do not provide a specific implementation in the code (or I may have overlooked it).
Based on my understanding, using Conv1D to implement the weighted sum operation contains the following steps:
x = weight1 * x + weight2 * S3(x) # weight1 and weight2 are learnable parameters.
x = CNN1D(x)
preditions = mymodel(x) # mymodel is the task-specific model.

Are these steps correct?
Looking forward to your feedback.

Thank you for your interest!
If you look at the lines below, the weighted average using Conv1D has already been implemented. You need to set use_conv_w_avg=True when creating the S3 layers.
initialization: https://github.com/shivam-grover/S3-TimeSeries/blob/main/S3/S3.py#L100
Usage: https://github.com/shivam-grover/S3-TimeSeries/blob/main/S3/S3.py#L261
We first transform the two sequences to be in a single tensor of shape (b * t * c, 2, 1). When you send this through a Conv1D with kernel_size=1, and in_channels=2, out_channels=1, it essentially performs a weighted average and outputs a tensor of shape (b * t * c, 1, 1) which can be reshaped back to the original tensor's, i.e. (b, t, c).
The other way to do this is using a simple linear layer with 2 weights.
https://github.com/shivam-grover/S3-TimeSeries/blob/main/S3/S3.py#L105
While using a Linear layer or a Conv1D layer for this should not have any difference since the operations are exactly the same, experiments show otherwise. Below is a good StackOverflow thread to read on this. The answer by Hanchen (the second answer from what I can see) shows that the outputs can vary, especially with deeper networks, and the gradient backpropagation updates also differ.
https://stackoverflow.com/questions/55576314/conv1d-with-kernel-size-1-vs-linear-layer


Fixes issue #1384

Fixes  #1384
Checklist:

[x] I have checked for PMD and check-style issues
[x] I have read the Contribution & Best practices Guide and my PR follows them.
[x] My branch is up-to-date with the Upstream development branch.

Changes: Now the FAB will disappear while scrolling the attendees' list and will reappear as soon as scrolling is stopped.
Screenshots for the change:

Follow commit guidelines for a proper commit message. You can refer to this documentation
https://chris.beams.io/posts/git-commit/

Still not following commit guidelines

@sridharjajoo Can you suggest changes?

Should it be "Add spaces at relevant places"?

Squashed the PRs into one.

Squashed the commits into one.

Still not according to commit guidelines

@iamareebjamal Can you please guide me regarding what needs to be done so that it follows the commit guidelines?

Read sridharjajoo's comment above

@iamareebjamal I had read that documentation.

But you still didn't change the PR title

Changed.

Not according to guidelines

Now?

Should be imperative:
fix: Show Scan QR FAB when scrolling stops


vscode autocomplete problem

Is there any reason why you choose the name
TextField instead of CnTextField
Switch instead of CnSwitch.
Same name as in Flutter creates lots of issues in the vscode autocomplete.
and why Basic instead of  ListTile or CnListTile

I personally don't like additional prefixes in front of the class name, the package aims to replace the entire material design system, so there's no reason to use TextField from flutter anymore (it uses material design). However, you can use library prefix when importing to avoid conflict if you still want to use some part of the material design system.

and why Basic instead of ListTile or CnListTile

ListTile's purpose is to be used inside a List view, Basic's purpose is just to provide basic content layout. Those are two diff widget tho has similar layout.


Stop timer when field slip PDF job is done

Our Stimulus controller that updates the UI for field slip jobs needs to disconnect itself when it's done updating the UI.
Otherwise, currently the timer will keep running.

coverage: 93.429%. remained the same
when pulling f48f9a1ae6da90218376028b38b10c9a7a2d1c7b on disconnect-field-slip-job-stimulus-controller
into 69eef8d0304f8c73729f12367719ff241c02675e on main.


[SHOWCASE] The Private Dashboard

Title
The Private Dashboard
Screenshot

Would you like your name/ username included?
Yes
Link to your Website/ Profile/ Twitter (optional)
No response
Description (Optional)
There's so many things on my dashboard that I can't even fit it all in the screenshot. I use it every day and it works great! It holds my links for quick and easy access, check if my servers are up and looks neat while doing so!

Ay, I figured you'd like it when you said that I have some great apps there. I really like Dashy and your privacy checklist a lot. I have donated a little before and might do it some more in the future, you do some great stuff with the power of caffeine!

Thank you Dylan 💖
Your dashboard is added in ce4acc1
Feel free to reach out if you need anything :)

Title
The Private Dashboard
Screenshot

Would you like your name/ username included?
Yes
Link to your Website/ Profile/ Twitter (optional)
No response
Description (Optional)
There's so many things on my dashboard that I can't even fit it all in the screenshot. I use it every day and it works great! It holds my links for quick and easy access, check if my servers are up and looks neat while doing so!

HI
Love the Dashboard would be happy to share your conf.yml file  (redacted if needed)  with me?
I would love to see have you have structured it
Cheers


Execution window length check

It's possible to schedule contract with any values without validation. This feature adds the check for reservedWindowSize in claiming decision process.
This should be default to 10 blocks or 150s and visible in CLI and DApp for users to set.

Pull Request Test Coverage Report for Build 1915

8 of 9 (88.89%)  changed or added relevant lines in 2 files are covered.
25 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.9%) to 74.932%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/EconomicStrategy/EconomicStrategyManager.ts
6
7
85.71%

Files with Coverage Reduction
New Missed Lines
%

src/Scanner/ChainScanner.ts
1
52.78%

src/EconomicStrategy/EconomicStrategyManager.ts
1
80.58%

src/TxPool/Txpool.ts
2
61.46%

src/Util.ts
3
79.75%

src/TimeNode.ts
3
90.32%

src/WsReconnect/index.ts
15
6.15%

Totals

Change from base Build 1911:
-0.9%

Covered Lines:
809

Relevant Lines:
1039

💛  - Coveralls


Default pearai server models should be in model list no matter what

Context
So, after processing config.json, we add pearai server models there if they arent in config.json
This allows it to work for old versions of pearai
bonus points if on activate.ts , we poll the server for the mandatory models. that could be a part 2 tho. HIGH PRIO!

I'll take a look at this

@Hi-Van AMAXING, we need this really bad

by 8pm est before code freeze

if its 8pm tonight, no promise. I'm FTE so I don't have much time during the weekdays

Issue is fixed in Pr #181 in submodule repository


Ch-configure-Badges-#29

What does this PR do?
it shows the mantainability badge and Test coverage badge and CI/CD badge
Description of Task to be completed?
mantainability badge / Test coverage badge and CI/CD badge must be shown on repository

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@15bafde). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #31   +/-   ##
==========================================
  Coverage           ?   14.31%
==========================================
  Files              ?       54
  Lines              ?      587
  Branches           ?      132
==========================================
  Hits               ?       84
  Misses             ?      449
  Partials           ?       54

Continue to review full report at Codecov.

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


Added new video on the list

Talk about Enhancing Responsiveness With Flexbox by Zoe M. Gillenwater

Great! Thanks :+1:


[swift-api-digester] Put command-line flags in their own category

Previously, swift-api-digester -help would print a bunch of unrelated
LLVM and SIL command-line flags. Putting these in their own category
limits the help output to the specific set of flags swift-api-digester
recognizes.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 9c7df2ade67065301766afbc9b320ee6a0060a27

@swift-ci please smoke test macOS


[docs][joy-ui] Refine the Email, Teams and Files templates

[x] I have followed (at least) the PR section of the contributing guide.

Part of https://github.com/mui/material-ui/issues/38582
Refining the templates, aiming to remove most of the custom styles and overrides, making it as close as possible to the default theme.

https://deploy-preview-39579--material-ui.netlify.app/joy-ui/getting-started/templates/team/
https://deploy-preview-39579--material-ui.netlify.app/joy-ui/getting-started/templates/files/
https://deploy-preview-39579--material-ui.netlify.app/joy-ui/getting-started/templates/email/

@zanivan I pushed a commit for fixing the write email window in https://github.com/mui/material-ui/pull/39579/commits/8f0ef7b457e0bb458df94b1098dfaf0a9b3a3e59. I follow the non-modal dialog from https://mui.com/material-ui/react-dialog/#non-modal-dialog
One nit I noticed & fixed is the name of the exported component. We want the file name to reflect the exported default component name.

Hey @mnajdova, thanks so much for the help! I'll add a demo for non-modal dialog at the Joy UI docs afterward 🙌

I am sorry I misclicked 😀

Hey @mui/design I'd really appreciate your input on these 😉  Are there any bugs we must fix, or improvements we can add?

@zanivan Can you remove the unused theme variable from
/tmp/material-ui/docs/data/joy/getting-started/templates/team/App.tsx
  141:14  error  'theme' is defined but never used  @typescript-eslint/no-unused-vars

✖ 1 problem (1 error, 0 warnings)


test

Product and Version [VS/VSCode]:
OS Version [macOS/Windows]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:

Closing due to this being a test issue (as far as I can tell 😁). Please re-open if there’s an issue we should investigate. Thanks!


Where query on connections

If I had a schema where I had a post and I wanted to check if the title of the post equals some text string, or the content of a comment had some specific text, how would I go about doing that? This is not my actual use case and it's a bit of a convoluted example, but basically I want to also check a where on a connection, but the connection does not appear as an option in the query.
Here's a basic example of this kind of code in MikroORM for comparison
      $or: [
               { title: { $like: likeText } },
               { description: { $like: likeText } },
               { comments: { $or: [{ title: { $like: likeText } }, { content: { $like: likeText } }] } },
            ],

And I want to do the equivalent. However, the "comments" part does not show up and I'm trying to figure out how. The closest thing I've seen in the documentation is only in regards to select, which does do this same thing.

This is the closest thing I've seen in the select.
await db.post
            .select('id', 'title', 'description', {
              author: (q) => q.author.select('id', 'firstName', 'lastName'),
              tags: (q) => q.postTags.pluck('tagName'),
              lastComments: (q) =>
                q.comments
                  .select('id', 'text', {
                    author: (q) =>
                      q.author.select('id', 'firstName', 'lastName'),
                  })
                  .order({ createdAt: 'DESC' })
                  .limit(commentsPerPost),
            })
            .order({ createdAt: 'DESC' });

You can use whereExists (also there are orWhereExists, whereNotExists, orWhereNotExists):
const posts = await db.post
  .where({ title: { contains: 'x' } })
  .or({ description: { contains: 'x' } })
  .orWhereExists('comments', (q) =>
    q.where({ title: { contains: 'x' } }).or({ content: { contains: 'x' } })
  );

contains is using ILIKE and will add '%' to the beginning and the end of a string, here are the docs for it.
select  will not add where conditions, it is only selecting data. So with select you can select post comments filtered by title, but this won't filter posts. To filter posts by comments use whereExists, I'll try to make it more convenient in the future, but for now that's it.


Added DeepSource Static Code Analysis

Fixes #9
Added .deepsource.toml file in root

We need a Configuration for Python as well, because the Backend would be on Flask.

We need a Configuration for Python as well, because the Backend would be on Flask.

Updated with Python as well, pls review @HarshCasper

Updated with Python as well, pls review @HarshCasper

Push your Commits into an atomic one. Let me know if you face any blockers 👍

Push your Commits into an atomic one. Let me know if you face any blockers 👍

how to do this? what is atomic / ? pls explain

how to do this? what is atomic / ? pls explain

ohh, i just wanted to close this PR and create a final PR for merging all commits in single !!

ohh, i just wanted to close this PR and create a final PR for merging all commits in single !!

Let me explain how:
So, lets say: there were 5 commits in total:
git reset --soft HEAD~5 will soft reset the last 5 commits.
Then, you can make a single commit by doing the standard git add and git commit.
And after that, git push -f origin HEAD will force push the single commit. I will review the PR right now after which you can make all the changes and push the changes to one commit.

Let me explain how:
So, lets say: there were 5 commits in total:
git reset --soft HEAD~5 will soft reset the last 5 commits.
Then, you can make a single commit by doing the standard git add and git commit.
And after that, git push -f origin HEAD will force push the single commit. I will review the PR right now after which you can make all the changes and push the changes to one commit.