Add DeseasonalityTransform

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Proposed Changes

Closing issues

Closes https://github.com/tinkoff-ai/etna/issues/680.

Codecov Report

Merging #1307 (090f2e7) into master (7aa1f0b) will decrease coverage by 0.13%.
The diff coverage is 92.53%.

: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             @@
##           master    #1307      +/-   ##
==========================================
- Coverage   88.53%   88.41%   -0.13%
==========================================
  Files         193      183      -10
  Lines       11753    11510     -243
==========================================
- Hits        10405    10176     -229
+ Misses       1348     1334      -14

Impacted Files
Coverage Δ

etna/transforms/decomposition/deseasonal.py
92.30% <92.30%> (ø)

etna/transforms/__init__.py
100.00% <100.00%> (ø)

etna/transforms/decomposition/__init__.py
100.00% <100.00%> (ø)

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


Provide add-with-scalar-multiply method

Unless I'm missing something, tch does not include the full x + alpha * y interface for add and add_ that exists in the C++ API:
https://pytorch.org/cppdocs/api/classat_1_1_tensor.html#_CPPv4NK2at6Tensor3addERKN2at6ScalarERKN2at6ScalarE
I have only been able to find g_add (add a tensor) and g_add1 (add a scalar)
https://docs.rs/tch/0.4.1/tch/struct.Tensor.html#method.g_add
Could you add the version with both arguments?

That makes sense. It's not a problem for me to use two function calls (or addcmul), I just figured I would try to use the most efficient approach if available.


Converter needs an extra schema-field in the ckan-resource that is a json-object

Please note:  the converter needs an extra schema-field in the ckan-resource that is a json-object.
It is strongly recommended to use ckanext-scheming to define the necessary extra field in the default CKAN schema.

FIXED / DUPLICATE. Believe this has been fixed as part of #19


Add Windows build instructions

@hughbe,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


[stable/buildkite] Update chart - bump deployment api version to apps/v1

Is this a new chart
No
What this PR does / why we need it:
Fixes issue 20432 .
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #20432

Special notes for your reviewer:
Tested chart out on a k8s v1.17 cluster with Helm v3:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:12:17Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}

$ helm version
version.BuildInfo{Version:"v3.0.3", GitCommit:"ac925eb7279f4a6955df663a0128044a8a6b7593", GitTreeState:"clean", GoVersion:"go1.13.6"}

$ git branch
  master
* update-stable-buildkite-pr-20432

$ helm package buildkite/
Successfully packaged chart and saved it to: /home/ubuntu/charts/stable/buildkite-0.2.4.tgz

$ helm install agent ./buildkite-0.2.4.tgz --set agent.token="XXX"
WARNING: This chart is deprecated
NAME: agent
LAST DEPLOYED: Thu Jan 30 00:11:53 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
#### THIS CHART IS DEPRECATED! ####

The agent-buildkite is getting provisioned in your cluster. After a few minutes, you can run the following to verify.

To verify that agent-buildkite has started, run:

  kubectl --namespace=default get pods -l "app=buildkite,release=agent"

$ kubectl --namespace=default get pods -l "app=buildkite,release=agent"
NAME                               READY   STATUS    RESTARTS   AGE
agent-buildkite-775c7b58bb-68qv5   1/1     Running   0          65s

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[* ] DCO signed
[ *] Chart Version bumped
[ *] Variables are documented in the README.md
[* ] Title of the PR starts with chart name (e.g. [stable/mychartname])

Ping for review please! Thanks!


Get changed files

Address the issue https://github.com/yu-iskw/action-sqlfluff/issues/13

Followed by https://github.com/yu-iskw/action-sqlfluff/pull/15


KCC 6.1 on Windows | No module named 'pkg_resources.extern'

I'm having problems installing on Windows 10.  I downloaded the latest version of Python (3.12.4) and the latest version of KCC (6.1.0).
I got an error about some resource missing while installing. As well, Avast thought it was a suspicious program. I tried disabling the antivirus, but I got the same error.

Added an image of the install error:

Does the problem exist on 6.0?

Thanks for bringing this up, it's an issue with the Windows Docker GitHub runner. Use 6.0 for now.

https://github.com/pypa/setuptools/issues/4374#issuecomment-2123082242

OK apparently my fix flags KCC as a virus...

Reverting...

Thank you! It works without problems now!


woowwwww!!!

greatttttttttttttttttttt man....but the linkkkkkkkkkkkkkk???

You have to use git clone for downloading.
Installation.

hello dudeeeeee!!!what you mean my friend?I am not programmer
unfortunately...could you help me pleaseeeeeeeeee???
Στις Σάβ, 7 Δεκ 2019 στις 9:41 π.μ., ο/η Artyshko Mykola <
<EMAIL_ADDRESS>έγραψε:

Closed #32 https://github.com/artyshko/smd/issues/32.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/artyshko/smd/issues/32?email_source=notifications&email_token=ALGNIXZ3TLY6CWB45M6ZMLTQXNHSFA5CNFSM4JXCAUI2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVKVSVEA#event-2863344272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGNIX4VA4A37DHDYUMQJXTQXNHSFANCNFSM4JXCAUIQ
.

hello dudeeeeee!!!what you mean my friend?I am not programmer unfortunately...could you help me pleaseeeeeeeeee???

How to run it on Linux.
1. From your shell, install Git using apt-get:
sudo apt-get update
sudo apt-get install git

2. Clone the project to your desktop
git clone https://github.com/artyshko/smd.git
3. Install all dependencies
pip3 install -r requirements.txt
pip3 install PyQtWebEngine
sudo apt-get install python3-pyqt5.qtwebengine

4. Make files executable
chmod +x main.py
chmod +x run.sh

5. Run it

For the CLI version, use:
./main.py

For the GUI version, use:
./run.sh


Add support for etcd BasicAuth

Adding support for etcd 2.1's authentication  feature.

Why this PR is not accepted? The CI error The command "go get github.com/constabulary/gb/..." failed and exited with 1 during . is not relevant to the changes.

Seems like it was just a hiccup. I just rebooted the job and it sorted itself out.
I'm a core maintainer but as per our contributing guidelines I can only merge minor bug fixes or "stop the world" bugs. Features have to be reviewed and accepted by @kelseyhightower before being merged into master.


Revert "update Excel tutorial to use onReady"

Reverts OfficeDev/office-js-docs-pr#566

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/excel-tutorial-open-dialog.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


syslogng: add setuptools to python deps to fix build

Description of changes
see https://hydra.nixos.org/build/255284400
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks, but this has already been proposed in a slightly different version. See: https://github.com/NixOS/nixpkgs/pull/301741


Added WebGPU viewer + visual cleanup in history

Hello,
I'd like to contribute the work I've been doing on a viewer built with WebGPU, utilizing the same rasterization techniques as described in the original paper. Please let me know if any modifications should be made to my work to be accepted in this valuable resource!

Wow, really neat. Is think this is the first webgpu-based open sourced one? I will test it out tonight!
Thx for your contribution!

Thank you for the merge!
Well, the cvlab implementation is actually also in WebGPU, on which I based my repo.
They used standard quad rasterization though (same as the webGL viewers) where my main contribution is the compute shader based rasterization and the GPU radix sort that can run on Apple devices.
I mention other works of radix sort in WebGPU in the README as well, but they can't be run on Apple devices unforunately.

Nice insights. Do you think you can enhance the linked viewer with this background knowledge you have? I think about a short comment that specifies how these viewers differ or why the one might be more interesting over the other depending on the use case?

The most concise way I can think of right now is something like how Dylan does it in his list Where the cvlab impl. would be quad based and mine would be compute based.
Though I think it would look a bit asymmetrical if we didn't give the same attention to every entry in the list. What do you think?

I would like to give a small summary - similar to an abstract but shorter - so people know why it might be worth studying the source code. For sure it should be done for every repo linked. But maybe this is not very practical...

Yeah, thats a good idea albeit it should not appear visually cluttered.
I could advertise this on my twitter profile. I think people are happy to contribute if they can promote their source code and also give a small explanation what makes it special (or what a rather new contribution is)

If you like, you could create branch and try it out for the cases you know well?


Added X.pod to Types for p6doc to more accurately reflect what the X

package does (or, more to the point, doesn't do)
Further note: As X turns up in the list resulting from 'p6doc -l' it should probably reflect the fact that X isn't actually useful by itself, rather than just that it's a builtin type, as currently occurs.

I note that @stmuk has suggested that making 'p6doc -l' not list directories may be a better solution for this problem. So maybe that should be investigated before merging this?

As noted, having p6doc -l not list directories seems the better solution for making X needlessly turn up in the listing. This also removes the duplicate listing of Backtrace. Therefore, I've deleted X.pod and added a directory test to p6doc.

:+1:

This should be fixed in f80ef79c4b41833373cc4620cee1b0636c4df7c4
Thanks for the error report dha++


Transform failed with 1 error: ERROR: Unterminated string token

Which @angular/* package(s) are the source of the bug?
common, compiler-cli, core, zone.js
Is this a regression?
Yes
Description
ng build
`
./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Transform failed with 1 error:
C:/NodeWeb/UTSOURCE.V3.Node/OverSeas/src/app/login/login.component.scss:17:100: ERROR: Unterminated string token
at C:\NodeWeb\UTSOURCE.V3.Node\OverSeas\node_modules@ngtools\webpack\src\ivy\loader.js:81:18
at processTicksAndRejections (internal/process/task_queues.js:95:5)
./src/styles.scss.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[5].rules[0].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[5].rules[1].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[5].rules[1].use[1]!./src/styles.scss - Error: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
`
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 13.3.10
Node: 14.17.5
Package Manager: npm 8.5.0
OS: win32 x64

Angular: 13.3.12
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1303.10
@angular-devkit/build-angular   13.3.10
@angular-devkit/core            13.3.10
@angular-devkit/schematics      13.3.10
@angular/cli                    13.3.10
@schematics/angular             13.3.10
rxjs                            6.6.7
typescript                      4.6.4

Anything else?
No response

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.

Searching a related issue, I noticed some-component.scss:17:100: ERROR: Unterminated string token comes from optimized builds. It's not telling you the actual error, which might be in your stylesheets. A suggestion for debugging only, disable style optimization to force the actual error to show. Reading: https://stackoverflow.com/q/71916458/3294944


Build/deploy storybook workflow failing

See https://github.com/eyefloaters/console/actions/workflows/storybook.yml?query=created%3A<%3D2024-02-05

@suyash-naithani FYI


Installed but never loads

Server is running TFS 2017.2
JS Error in console
Potentially unhandled rejection [1] TypeError: Object doesn't support property or method 'includes'
at isDayOff (http://TFSSERVER:8080/tfs/_apis/public/gallery/publisher/yanivsegev/extension/Drop-plan-extension/1.0.46/assetbyname/scripts/DropPlanHelper.js:253:5)
at Anonymous function (http://TFSSERVER:8080/tfs/_apis/public/gallery/publisher/yanivsegev/extension/Drop-plan-extension/1.0.46/assetbyname/scripts/DropPlanHelper.js:428:21)
at getTable (http://TFSSERVER:8080/tfs/_apis/public/gallery/publisher/yanivsegev/extension/Drop-plan-extension/1.0.46/assetbyname/scripts/DropPlanHelper.js:426:17)
at process (http://TFSSERVER:8080/tfs/_apis/public/gallery/publisher/yanivsegev/extension/Drop-plan-extension/1.0.46/assetbyname/scripts/DropPlanHelper.js:99:5)
at processWorkItems (http://TFSSERVER:8080/tfs/_apis/public/gallery/publisher/yanivsegev/extension/Drop-plan-extension/1.0.46/assetbyname/scripts/DropPlanVSS.js:156:5)
at processAllWorkItems (http://TFSSERVER

I uploaded a fix, please try again.


Remove old/dead code and update parsing

Coverage increased (+6.91%) to 11.8% when pulling c3b247908f3240b4171f8fd8d7c6bdb25c26b45d on wip into 24fd7f01567e2486847700e82e266450977bfc81 on master.


Usecase without Dockerfile is broken

Environment
This issue arose while the work for https://github.com/kinu-garage/docker_vcs/pull/17 is done.
Issue
Dockerfile mustn't be a required input, but once https://github.com/kinu-garage/docker_vcs/pull/17 merges,
Log
$ docker_vcs --debug   --docker_base_img $DOCKERIMG     --workspace_on_host WORKSPACE_ON_HOST
WARNING:root:
                    Entrypoint executable not passed, nor any files with
                    commonly used names are not found. This doesn't mean the tool should fail,
                    e.g. if entrypoint is not used in Dockerfile, this won't
                    cause any error. Limitation tracked: https://github.com/noodler/docker_vcs/issues/5

DEBUG:root:Paths: [None, '']
WARNING:root:Path 'None' was not copy-able. Continuing. Exception from lower mod: 'NoneType' was passed as a path.
WARNING:root:Path '' was not copy-able. Continuing. Exception from lower mod: 'NoneType' was passed as a path.
DEBUG:root:path_dockerfile: None, base_docker_img: moveit/moveit2:humble-release, path_repos_file: None
INFO:root:Current dir before docker build: /home/nnoodler/git_repo/ROS/cws_utakata/noodler/docker_vcs, dockerfile: Dockerfile
DEBUG:docker.utils.config:Trying paths: ['/home/nnoodler/.docker/config.json', '/home/nnoodler/.dockercfg']
DEBUG:docker.utils.config:Found file at path: /home/nnoodler/.docker/config.json
DEBUG:docker.auth:Found 'auths' section
DEBUG:docker.auth:Found entry (registry='https://index.docker.io/v1/', username='dnoodler')
DEBUG:urllib3.connectionpool:http://localhost:None "GET /version HTTP/1.1" 200 818
ERROR:root:'docker build' failed: You must specify a directory to build in path
DEBUG:root:Received obj in parse_build_result_dict: None
Traceback (most recent call last):
  File "/home/nnoodler/git_repo/ROS/cws_utakata/noodler/docker_vcs/src/docker_vcs_lib/docker_builder_vcs.py", line 240, in docker_build
    raise e
  File "/home/nnoodler/git_repo/ROS/cws_utakata/noodler/docker_vcs/src/docker_vcs_lib/docker_builder_vcs.py", line 228, in docker_build
    _log = self._docker_build_low_api(
  File "/home/nnoodler/git_repo/ROS/cws_utakata/noodler/docker_vcs/src/docker_vcs_lib/docker_builder_vcs.py", line 182, in _docker_build_low_api
    responses = [line for line in docker_api.build(
  File "/usr/lib/python3/dist-packages/docker/api/build.py", line 148, in build
    raise TypeError("You must specify a directory to build in path")
TypeError: You must specify a directory to build in path

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

Looking at the lower api https://docker-py.readthedocs.io/en/stable/api.html#module-docker.api.build, there's no way to execute build without passing Dockerfile, which totally makes sense.
So...making docker_vcs purely generic (so that it can build various software where build steps differ) is a higher bar than I thought.
It should still be possible to provide default Dockerfile for the narrower context, e.g. ROS2. Aiming for that route. Usecase might have to be updated #12.


[BUG] Backfill events is not time-sequential

Describe the bug
Event timestamp is not sequential on backfill events
To Reproduce

Create an eventgen service deployment with 1 controller and 10 servers. (or create severall standalone eventgen nodes)
2 Use "backfill=-7d, perdayvlume=500" to generate events.
3 Check the timestamp from last 7 days, they were not indexed by sequential timestamp.

Expected behavior
Events that sent to splunk should be timestamp sequential.
Actual behavior
Use this spl to search bucket information: "| dbinspect index=main | table bucketId startEpoch endEpoch".
The buckets startEpoch for one index demonstrate that the events timestamp was not sequential.

Since it is using 10 servers to generate the backfill data, it is hard to keep the data generation speed as well as time sent to indexer on the same path. Currently I do not have very good solution for this. @lephino @


Random error thrown on response

Describe the bug
Sometimes, I see a stacktrace printed in the logs of my mcp server. Claude eventually succeeds to response but I think its good to investigate it.
To Reproduce
Its hard to reproduce as it does not always happen. The code in my codebase that caused it to happen is this one:
    def run_tool(self, args: dict) -> Sequence[TextContent | ImageContent | EmbeddedResource]:

        user_id = args.get(toolhandler.USER_ID_ARG)
        if not user_id:
            raise RuntimeError(f"Missing required argument: {toolhandler.USER_ID_ARG}")

        gmail_service = gmail.GmailService(user_id=user_id)
        query = args.get('query')
        max_results = args.get('max_results', 100)
        emails = gmail_service.query_emails(query=query, max_results=max_results)

        return [
            TextContent(
                type="text",
                text=json.dumps(emails, indent=2)
            )
        ]

Called in this context
@app.call_tool()
async def call_tool(name: str, arguments: Any) -> Sequence[TextContent | ImageContent | EmbeddedResource]:
    """Handle tool calls for command line run."""

    if not isinstance(arguments, dict):
        raise RuntimeError("arguments must be dictionary")

    if toolhandler.USER_ID_ARG not in arguments:
        raise RuntimeError("user_id argument is missing in dictionary.")

    setup_oauth2(user_id=arguments.get(toolhandler.USER_ID_ARG, ""))

    tool_handler = get_tool_handler(name)
    if not tool_handler:
        raise ValueError(f"Unknown tool: {name}")

    try:
        return tool_handler.run_tool(arguments)
    except Exception as e:
        logger.error(str(e))
        raise RuntimeError(f"Caught Exception. Error: {str(e)}")

The RunTime Error is NOT thrown
Expected behavior
No stacktrace?
Desktop (please complete the following information):

MAC OSX
Python 3.13
mcp 1.1.0

Additional context
Here is a full log
+ Exception Group Traceback (most recent call last):
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/stdio.py", line 83, in stdio_server
  |     yield read_stream, write_stream
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/src/mcp_gsuite/server.py", line 161, in main
  |     await app.run(
  |     ...<3 lines>...
  |     )
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/__init__.py", line 423, in run
  |     async with ServerSession(
  |                ~~~~~~~~~~~~~^
  |         read_stream, write_stream, initialization_options
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |     ) as session:
  |     ^
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 122, in __aexit__
  |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
  |     raise BaseExceptionGroup(
  |         "unhandled errors in a TaskGroup", self._exceptions
  |     )
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 235, in _receive_loop
    |     notification = self._receive_notification_type.model_validate(
    |         message.root.model_dump(
    |             by_alias=True, mode="json", exclude_none=True
    |         )
    |     )
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/pydantic/main.py", line 627, in model_validate
    |     return cls.__pydantic_validator__.validate_python(
    |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    |         obj, strict=strict, from_attributes=from_attributes, context=context
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     )
    |     ^
    | pydantic_core._pydantic_core.ValidationError: 5 validation errors for ClientNotification
    | ProgressNotification.method
    |   Input should be 'notifications/progress' [type=literal_error, input_value='cancelled', input_type=str]
    |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error
    | ProgressNotification.params.progressToken
    |   Field required [type=missing, input_value={'requestId': 20, 'reason... -2: Request timed out'}, input_type=dict]
    |     For further information visit https://errors.pydantic.dev/2.10/v/missing
    | ProgressNotification.params.progress
    |   Field required [type=missing, input_value={'requestId': 20, 'reason... -2: Request timed out'}, input_type=dict]
    |     For further information visit https://errors.pydantic.dev/2.10/v/missing
    | InitializedNotification.method
    |   Input should be 'notifications/initialized' [type=literal_error, input_value='cancelled', input_type=str]
    |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error
    | RootsListChangedNotification.method
    |   Input should be 'notifications/roots/list_changed' [type=literal_error, input_value='cancelled', input_type=str]
    |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error
    +------------------------------------

During handling of the above exception, another exception occurred:

  + Exception Group Traceback (most recent call last):
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/bin/mcp-gsuite", line 8, in <module>
  |     sys.exit(main())
  |              ~~~~^^
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/src/mcp_gsuite/__init__.py", line 6, in main
  |     asyncio.run(server.main())
  |     ~~~~~~~~~~~^^^^^^^^^^^^^^^
  |   File<EMAIL_ADDRESS>line 194, in run
  |     return runner.run(main)
  |            ~~~~~~~~~~^^^^^^
  |   File<EMAIL_ADDRESS>line 118, in run
  |     return self._loop.run_until_complete(task)
  |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  |   File<EMAIL_ADDRESS>line 721, in run_until_complete
  |     return future.result()
  |            ~~~~~~~~~~~~~^^
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/src/mcp_gsuite/server.py", line 160, in main
  |     async with stdio_server() as (read_stream, write_stream):
  |                ~~~~~~~~~~~~^^
  |   File<EMAIL_ADDRESS>line 235, in __aexit__
  |     await self.gen.athrow(value)
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/stdio.py", line 80, in stdio_server
  |     async with anyio.create_task_group() as tg:
  |                ~~~~~~~~~~~~~~~~~~~~~~~^^
  |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
  |     raise BaseExceptionGroup(
  |         "unhandled errors in a TaskGroup", self._exceptions
  |     )
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/streams/memory.py", line 242, in send
    |     self.send_nowait(item)
    |     ~~~~~~~~~~~~~~~~^^^^^^
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/streams/memory.py", line 225, in send_nowait
    |     raise WouldBlock
    | anyio.WouldBlock
    |
    | During handling of the above exception, another exception occurred:
    |
    | Traceback (most recent call last):
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/__init__.py", line 467, in run
    |     await message.respond(
    |     ...<4 lines>...
    |     )
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 58, in respond
    |     await self._session._send_response(
    |         request_id=self.request_id, response=response
    |     )
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 196, in _send_response
    |     await self._write_stream.send(JSONRPCMessage(jsonrpc_error))
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/streams/memory.py", line 248, in send
    |     await send_event.wait()
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1747, in wait
    |     await self._event.wait()
    |   File<EMAIL_ADDRESS>line 213, in wait
    |     await fut
    | asyncio.exceptions.CancelledError: Cancelled by cancel scope 1040d7c50
    |
    | During handling of the above exception, another exception occurred:
    |
    | Exception Group Traceback (most recent call last):
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/stdio.py", line 83, in stdio_server
    |     yield read_stream, write_stream
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/src/mcp_gsuite/server.py", line 161, in main
    |     await app.run(
    |     ...<3 lines>...
    |     )
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/server/__init__.py", line 423, in run
    |     async with ServerSession(
    |                ~~~~~~~~~~~~~^
    |         read_stream, write_stream, initialization_options
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ) as session:
    |     ^
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 122, in __aexit__
    |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
    |     raise BaseExceptionGroup(
    |         "unhandled errors in a TaskGroup", self._exceptions
    |     )
    | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
      | Traceback (most recent call last):
      |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/mcp/shared/session.py", line 235, in _receive_loop
      |     notification = self._receive_notification_type.model_validate(
      |         message.root.model_dump(
      |             by_alias=True, mode="json", exclude_none=True
      |         )
      |     )
      |   File "/Users/markus/experiments/claude-mvp/mcp-gsuite/.venv/lib/python3.13/site-packages/pydantic/main.py", line 627, in model_validate
      |     return cls.__pydantic_validator__.validate_python(
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
      |         obj, strict=strict, from_attributes=from_attributes, context=context
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |     )
      |     ^
      | pydantic_core._pydantic_core.ValidationError: 5 validation errors for ClientNotification
      | ProgressNotification.method
      |   Input should be 'notifications/progress' [type=literal_error, input_value='cancelled', input_type=str]
      |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error
      | ProgressNotification.params.progressToken
      |   Field required [type=missing, input_value={'requestId': 20, 'reason... -2: Request timed out'}, input_type=dict]
      |     For further information visit https://errors.pydantic.dev/2.10/v/missing
      | ProgressNotification.params.progress
      |   Field required [type=missing, input_value={'requestId': 20, 'reason... -2: Request timed out'}, input_type=dict]
      |     For further information visit https://errors.pydantic.dev/2.10/v/missing
      | InitializedNotification.method
      |   Input should be 'notifications/initialized' [type=literal_error, input_value='cancelled', input_type=str]
      |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error
      | RootsListChangedNotification.method
      |   Input should be 'notifications/roots/list_changed' [type=literal_error, input_value='cancelled', input_type=str]
      |     For further information visit https://errors.pydantic.dev/2.10/v/literal_error

Got the same on Windows:
During handling of the above exception, another exception occurred:

  + Exception Group Traceback (most recent call last):
  |   File "C:\Dev\mcp\servers\src\test-server\src\test_server\server.py", line 78, in <module>
  |     asyncio.run(serve())
  |   File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
  |     return runner.run(main)
  |            ^^^^^^^^^^^^^^^^
  |   File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
  |     return self._loop.run_until_complete(task)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
  |     return future.result()
  |            ^^^^^^^^^^^^^^^
  |   File "C:\Dev\mcp\servers\src\test-server\src\test_server\server.py", line 72, in serve
  |     async with stdio_server() as (read_stream, write_stream):
  |                ^^^^^^^^^^^^^^
  |   File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\contextlib.py", line 231, in __aexit__
  |     await self.gen.athrow(value)
  |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\mcp\server\stdio.py", line 80, in stdio_server
  |     async with anyio.create_task_group() as tg:
  |                ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 763, in __aexit__
  |     raise BaseExceptionGroup(
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Exception Group Traceback (most recent call last):
    |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\mcp\server\stdio.py", line 83, in stdio_server
    |     yield read_stream, write_stream
    |   File "C:\Dev\mcp\servers\src\test-server\src\test_server\server.py", line 73, in serve
    |     await server.run(read_stream, write_stream, options, raise_exceptions=True)
    |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\mcp\server\__init__.py", line 404, in run
    |     async with ServerSession(
    |                ^^^^^^^^^^^^^^
    |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\mcp\shared\session.py", line 122, in __aexit__
    |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 763, in __aexit__
    |     raise BaseExceptionGroup(
    | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
      | Traceback (most recent call last):
      |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\mcp\shared\session.py", line 235, in _receive_loop
      |     notification = self._receive_notification_type.model_validate(
      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "C:\Dev\mcp\servers\src\git\.venv\Lib\site-packages\pydantic\main.py", line 627, in model_validate
      |     return cls.__pydantic_validator__.validate_python(
      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | pydantic_core._pydantic_core.ValidationError: 5 validation errors for ClientNotification
ProgressNotification.method
  Input should be 'notifications/progress' [type=literal_error, input_value='cancelled', input_type=str]
    For further information visit https://errors.pydantic.dev/2.10/v/literal_error
ProgressNotification.params.progressToken
  Field required [type=missing, input_value={'requestId': 25, 'reason... -2: Request timed out'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/missing
ProgressNotification.params.progress
  Field required [type=missing, input_value={'requestId': 25, 'reason... -2: Request timed out'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/missing
InitializedNotification.method
  Input should be 'notifications/initialized' [type=literal_error, input_value='cancelled', input_type=str]
    For further information visit https://errors.pydantic.dev/2.10/v/literal_error
RootsListChangedNotification.method
  Input should be 'notifications/roots/list_changed' [type=literal_error, input_value='cancelled', input_type=str]
    For further information visit https://errors.pydantic.dev/2.10/v/literal_error
      +------------------------------------

I am facing the same error. I suppose it is related to the timeout. When the response is delayed, I get that error. Is there any way to fix it? I am on a Mac, using Claude Desktop as a client.

I've investigated the issue reported by @MarkusPfundstein in the mcp-obsidian project (https://github.com/MarkusPfundstein/mcp-obsidian/issues/3).
I was able to reproduce this issue with a minimal MCP server implementation that simply waits for a specified number of seconds:

https://github.com/7shi/mcp-wait/blob/main/py/server.py

The behavior varies depending on the client:
With MCP Inspector (10-second timeout):

Server crashes after sending results if processing takes 8-10 seconds or longer
The crash occurs regardless of the timeout setting
After crashing, the server stops responding to all requests

With Claude Desktop app (1-minute timeout):

Same behavior: server crashes after long-running operations (8-10 seconds or more)
The crash appears to be related to the processing duration rather than the timeout settings

This issue seems to be specific to the Python implementation of MCP servers. For comparison, I also implemented the same functionality in TypeScript, which continues to operate normally even after timeout events.

https://github.com/7shi/mcp-wait/blob/main/ts/src/index.ts

The crash occurs at the point where the server tries to send results back to the client after a long-running operation, making it particularly problematic for operations that involve external API calls or other time-consuming tasks.
Steps to reproduce:

Start MCP Inspector with the server:
npx @modelcontextprotocol/inspector uv run python server.py
Call wait_seconds with seconds=11

The request will timeout

Try to call wait_seconds again

The server has crashed and won't accept any further requests

The key characteristic of this issue is that the server successfully returns results for long-running operations, but crashes afterwards, preventing it from accepting any subsequent requests. This makes it particularly problematic for scenarios involving external API calls or other time-consuming tasks, as the server becomes unusable after the first long operation.

@7shi I am facing the same errors. Have you fixed them in some way?
Have you tried using SSE?

@lgesuellip I don't know how to fix it. I have not tried SSE.

Thank you for the repro. That is very useful. That is helpful. I'll take a look. Can't promise any dates.


Include unpopulated fields in the serialized data?

How difficult would this be to implement?
In the main parler package there is a hide_untranslated option for settings that can be turned off to allow untranslated fields to show in the admin. I'd like to be able to show all of the untranslated fields in an admin form that works via REST API, so I'd like to be able to incorporate this setting into the serializer.
If you have any tips please let me know but I'm working on it now and I'll submit a PR if I come up with anything...
Currently have something like this in fields.py just before return result:
Fork
if settings.PARLER_REST_SHOW_EXCLUDED_LANGUAGE_TABS:
    existing_languages = [lg_code for lg_code in result]
    settings_languages = [language[0] for language in settings.LANGUAGES]
    empty_languages = [lg_code for lg_code in settings_languages if lg_code not in existing_languages]
    for lg_code in empty_languages:
        result[lg_code] = None

This is not a great option though since there are no fields included in the resulting serialized data. Ideally there would be blank fields ready to fill in, the same way as they would appear in the django admin.

I think the best way to represent those empty translations, is by offering them as an empty dict {}.
Note that hide_untranslated and PARLER_REST_SHOW_EXCLUDED_LANGUAGE_TABS are two separate things.

The hide untranslated makes any object disappear in the listing if there is no translation. Some of my sites use that to hide untranslated pages (instead of showing them as english).
The PARLER_REST_SHOW_EXCLUDED_LANGUAGE_TABS tests if there are languages in the database which are not exposed in LANGUAGES / PARLER_LANGUAGES.


Can this be updated with the new V5 series details?

[Enter feedback here]

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

ID: ad3e8dba-4c99-47d6-ac9f-6d110ec5a43c
Version Independent ID: 308f299a-5bb2-cf20-a97d-47dd9485d574
Content: Overview of the Azure Compute Unit - Azure Virtual Machines
Content Source: articles/virtual-machines/acu.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@joeljanke
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@mimckitt
Can you please check and add your comments on this doc update request as applicable.

We are currently reevaluating how we measure ACU for the v5 series. When we have numbers, we will update the docs accordingly.
#please-close


Vault Namespace Login for Secret Sharing in non Hierarchical Relationship

Problem Description
With the release of Vault 1.13.0 it's possible to share secrets between namespaces without an hierachical relationship.
See documentation.
For Auth Methods (other than Token, e.g. Kubernetes) the Namespace is required for the login.
For importing secrets without the namespace a full path is needed.
If the namespace is set in the vault configuration the 'X-Vault-Namespace' header is set for every request.
Therefore its not possible to read secrets with an full qualified path.
Desired Solution
It would be nice to set the namespace for the login only.
  spring:
     cloud:
       vault:
          login-namespace: 'MY-DOMAIN-NAMESPACE'

So we could reference the secrets like:
 spring:
     config:
       import:
        - "optional:vault://'MY-DOMAIN-NAMESPACE/kv2/secret1"
        - "optional:vault://'OTHER-DOMAIN-NAMESPACE/kv2/other-secret"

Workaround
In order to make this possible we found following workaround:
Register a custome WebClientFactory in the Application Class:
public static void main(String[] args) throws GeneralSecurityException, IOException {
		SpringApplication application = new SpringApplication(Application.class);
		application.addBootstrapRegistryInitializer(registry -> registry.register(WebClientFactory.class, CustomVaultSupplier .getWebClientFactorySupplier("MY-DOMAIN-NAMESPACE")));
		application.run(args);
	}

Creating an CustomVaultWebClientFactory:

public class CustomVaultWebClientFactory implements WebClientFactory {

	private final ClientHttpConnector connector;

	private final Function<ClientHttpConnector, WebClientBuilder> builderFunction;

	CustomVaultWebClientFactory(ClientHttpConnector connector, Function<ClientHttpConnector, WebClientBuilder> builderFunction) {
		this.connector = connector;
		this.builderFunction = builderFunction;
	}

	@Override
	public WebClient create(@Nullable Consumer<WebClientBuilder> customizer) {

		WebClientBuilder builder = builderFunction.apply(connector);

		if (customizer != null) {
			customizer.accept(builder);
		}

		return builder.build();
	}

}

Adding an ExchangeFilterFunction (Interceptor) to the (Kubernetes) auth method:

public class CustomVaultSupplier {

	public static BootstrapRegistry.InstanceSupplier<WebClientFactory> getWebClientFactorySupplier(String loginNamespace) {
		return context -> new CustomVaultWebClientFactory (context.get(VaultReactiveAutoConfiguration.ClientHttpConnectorWrapper.class).getConnector(), (connector) -> {
			VaultEndpoint endpoint = VaultEndpoint.create(context.get(VaultProperties.class).getHost(), context.get(VaultProperties.class).getPort());
			endpoint.setScheme(context.get(VaultProperties.class).getScheme());
			return WebClientBuilder.builder().filter(getKubernetesLoginNamespaceFilter(context.get(VaultProperties.class).getKubernetes().getKubernetesPath(), loginNamespace))
					.endpointProvider(SimpleVaultEndpointProvider.of(endpoint));
		});
	}

	private static ExchangeFilterFunction getKubernetesLoginNamespaceFilter(String kubernetesPath, String loginNamespace) {
		return (clientRequest, nextFilter) -> {
			if (clientRequest.url().toString().contains(String.format("auth/%s/login", kubernetesPath))) {
				ClientRequest newRequest = ClientRequest.from(clientRequest).header("X-Vault-Namespace", loginNamespace).build();
				return nextFilter.exchange(newRequest);
			}
			return nextFilter.exchange(clientRequest);
		};
	}

}

In Spring Cloud vault, we keep a single RestTemplateFactory/WebClientFactory instance that holds all configuration. If we update the config to set default headers, then headers are applied to all RestTemplate/WebClient instances produced from our factories.
We need to come up with a proper design approach without introducing too much complexity on our end and I expect this can take a while.

@jschell96 I also need to use different namespaces in both login and vault-get in spring vault. Can you please share some ref on how did you achieve this?


ScheduledTask: Resolved inconsistent treatment of BuiltInAccount property.

Pull Request (PR) description
Fixed inconsistent treatment of the BuiltInAccount property for the ScheduledTask resource.
The Set method prefixes the "SYSTEM", "LOCAL SERVICE", "NETWORK SERVICE" account names with the "NT Authority" domain.
This results in a scheduled task that runs, but the DSC resource test will always fail on the BuiltInAccount property check. For example:
Expected = 'SYSTEM'
Actual = 'NT Authority\SYSTEM.'
Added integration test cases for the ServiceAccount Logontype/BuiltInAccount property, demonstrating the above.
This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md in resource folder.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Hi @wm-wilson - thanks for submitting this! Great submission. It looks like the tests are failing. Can you take a look at this?

@PlagueHO - sorry about that, fixed the unit test to match the current observed behaviour from Get-ScheduledTask.

Apologies if I've missed some protocol here. I submitted the test fix 12 days ago but the pull request is still labelled as "waiting for codefix". Is there something else I need to do to indicate that this is ready for further review?

Hi @wm-wilson - sorry about the delay. It is waiting on me to complete the review. I'll get onto this over the weekend. Been a bit snowed under with projects.

@PlagueHO - Hopefully I got that right.
No worries re. the delay - I suspect we've all got lots of plates spinning right now!

PEBKAC

Changelog corrected. Thanks!

Done!


[enhancement] Add lock body option

Please add an option to lock the body for the direction i am looking, its so bad when i look for the sides and my arms cover my vision, can you make this? (im in 1.18, would be glad if you implement in this version also)

Install not enough animations, it has an option for that

Not Enough animations does that part.


i don't know where the problem is.

The I2V model does not support portrait mode, or anything besides 720x480.
You can use the CogVideoX-Fun version instead, it supports a lot more resolutions and frame counts.

i see...


feat(btc|ckb|examples): Add RGBPP launch examples

Main Changes

Add RGBPP launch and batch transfer examples

Use BTC(Layer1) to create RGBPP token and related info
Use BTC(Layer1) to transfer RGBPP tokens to BTC receivers

Update the ckb_virtual_tx check of BTC package SendRgbppUtxosProps

Remove the restriction that type script cannot be all empty in CKB transaction inputs

Add BTC RGBPP launch in CKB package
Add BTC RGBPP  batch transfer in CKB package
Fix some bugs which include https://github.com/ckb-cell/rgbpp-sdk/issues/97

Note: This PR is split from #107

All comments and suggestions have been updated @Flouse @ShookLyngs @Dawn-githup

https://www.notion.so/RGBPP-launch-examples-72e7f3a8a7994cc8a61508f3c2f59940


Deprecated props are being used in the Storybook Theme/Loadingpage.

Which package has an issue?
@yamada-ui/react
Package Version
1.4.8
Description
Deprecated props are being used in the Storybook Theme/Loadingpage.
Use fontSize instead of size.
Link to Reproduction
No response
Steps to Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Browser
None
Operating System

[ ] macOS
[ ] Windows
[ ] Linux
[ ] iPadOS
[ ] iOS
[ ] Android

Do you know how to fix the issue?
None
Are you willing to participate in fixing this issue and create a pull request with the fix?
None
Additional Information
It's not needed  to fix the Storybook Components/Feedback/Loading page.

can i work this issue?
maybe I'll fix the section of code below.
https://github.com/yamada-ui/yamada-ui/blob/1473921f8aeb4e2040d0337aee3b101e78884749/stories/system/theme/loading.stories.tsx#L173

@mk0812
Hi, thanks for the comment!
Yes, pls!
That line is correct.


Validate tool activities that have pass_artifactset to True

Tool activities that have pass_artifact set to True should be validated during instantiation with an attrs validator and throw a ValueError if the tool doesn't have any ramps.

@vasinov this can be closed, right?

Yep. Closing.


IMPLEMENTATION this is a set, so have changed it from a list to a hash with the record id as the key.

I have changed the spec to note that the records resource exposes a set rather than a list.


Using esm (ES6 modules) causes failure.

Steps to reproduce
Tell us about your environment:

Puppeteer version: 6.4.1
Platform / OS version: Linux latitude 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
URLs (if applicable):
Node.js version: 10.10.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

copy example code into a new file example.js
replace const puppeteer = require('puppeteer') with ìmport puppeteer from 'puppeteer'
run with node -r esm example.js

What is the expected result?
Empty prompt, example.png in script folder.
What happens instead?
node -r esm demo.js
(node:11730) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'on' of undefined
    at Function.addEventListener (../node_modules/puppeteer/lib/helper.js:165:13)
    at new NavigatorWatcher (../node_modules/puppeteer/lib/FrameManager.js:1146:14)
    at FrameManager.navigateFrame (../node_modules/puppeteer/lib/FrameManager.js:75:21)
    at Frame.goto (../node_modules/puppeteer/lib/FrameManager.js:404:37)
    at Page.goto (../node_modules/puppeteer/lib/Page.js:579:49)
    at require (../demo.js:6:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:11730) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

I can't reproduce this. I did renamed screenshot.js into screenshot.mjs. I ran it with node --experimental-modules screenshot.mjs using node v10.10.0. It ran successfully.

I can reproduce this using Puppeteer 1.9.0 with ava using ESM import statements.

I also have this situation.When the high concurrent operation, it will report this exception from time to time, so annoying

I'm wondering why you use the esm module instead of the experimental ESM module support in node 10.12?
This works:
node --experimental-modules examples/screenshot.mjs

This does not:
npm i esm
node -r esm examples/screenshot.js

I’m using ava, which controls Node and compilation.

@Rob-pw: please use the --experimental-modules. This is the way forward with ESM in node.js
AVA users: there's avajs/ava#1810 that covers ESM support in ava.

Hi @aslushnikov!
👋 Node core and Node Module WG member here. There is no set date for when --experimental-modules will be unflagged. There's also no guarantee that what has shipped now is what will be in the future. For example, there are several discussions in the Node Module WG on how to approach implementation. One such discussion is to ship a maximally minimal implementation that would require package-maps for resolving bare specifiers (no longer using the Node module resolution algorithm).
The --experimental-modules flag really does mean experimental and shouldn't be relied on for anything beyond kicking the tires.
I'm open to digging into it from the esm side of things.
Do you have any idea what could have changed between v1.8.0 from v1.9.0?

@aslushnikov after digging into the code I noted that this does not seem to not be related to ESM but to this line into into Connection.js:
https://github.com/GoogleChrome/puppeteer/blob/d547b9d24a803c0adf923b3a821ae5f43e79bb53/lib/Connection.js#L51
which is called here into FrameManager.js:
https://github.com/GoogleChrome/puppeteer/blob/c237947b324338ece670b4f4e879880265ec6965/lib/FrameManager.js#L1146

connection._connection is undefined
connection instanceof CDPSession is true
loop starts and connection._connection which is undefined is assigned to connection
undefined is not an instance of CDPSession, "while" loop stops and undefined is returned
helper.addEventListener(Connection.fromSession(client), ..., ...) attempt to attach event on undefined and the error is fired

Replacing the following into https://github.com/GoogleChrome/puppeteer/blob/d547b9d24a803c0adf923b3a821ae5f43e79bb53/lib/Connection.js#L50 solves the issue
while (connection instanceof CDPSession && connection._connection)

But I'm not sure whether that makes "logic" sense.

@jdalton awesome, thank you for your time! Do you plan to release a new version of esm anytime soon that will include the fix?

Yes, likely within a week or so.

@jdalton is the release done?

Well that week-or-so turned into a bit longer with the US Thanksgiving holiday. I should release before I start of more aggressive perf work. I'll ping back this thread when it's released.

👋 Hello @jdalton! We have a script using puppeteer, it was working great with<EMAIL_ADDRESS>BUT, we just updated to the latest version i.e<EMAIL_ADDRESS>(released 8h ago) and well it just broke everything! 😅
We got this error:
static async create(client, target, ignoreHTTPSErrors, defaultViewport, screenshotTaskQueue) {
             ^

SyntaxError: Invalid or unexpected token
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)

Any idea? Thanks in advance! 🙏

Is ESM currently working? @aslushnikov


Mobile responsive personal details page

Notion-
https://www.notion.so/saeloun/Mobile-Responsive-Personal-details-page-f9c32af89fde472dbd412ced3e908b8c?pvs=4
What-

PR includes design elements of the mobile screen.
updated in the custom input box, custom react select(common components) for mobile view
updated routing for mobile view
common components for mobile screen

Why-

Common components need to behave responsive thus added isDesktopView flag
HOC component needed to create and add on the component level instead of the wrapper over routing thus removed that

Note:-

This PR will need changes from the API integration PR so can't be merged before that.
Verified the positive and negative scenarios same like API integration PR as both have same logic.

loom video-
https://www.loom.com/share/0739420b5fbb443198af7c233e45725b

@onkar-saeloun Please rebase

@supriya3105  to UX review on Staging
@apoorv1316  for staging functionality review


Assembler should output raw bytes

The assembler should output sequences of instructions encoded as raw byte strings in little endian format, and not ASCII binary strings.

Done.


(WIP) Preserve verification context to support thresholds

This PR is a first pass at preserving the specific rule used to verify an RSL entry / commit signature. This is required to support threshold signatures in specific subgroups in the delegation graph.

cc @JustinCappos

This needs some rebasing but it's fundamentally ready for review. I plan to rebase after #205 and #138 are merged once and for all.


No salt in 2.0

I've just noticed after creating a new Rails 3.2 app with Devise 2.0 that there is no longer a salt column by default. I've noticed the addition of the :encryptable option but shouldn't there be salt by default? I would have thought that having salt be me a more secure default.
Am I missing something i.e. is the default bcrypt inherently more secure without salt?

bcrypt by default saves the salt with the password.


Pin bayeswaveutils to matplotlib-base<3.5.0

Ths latest matplotlib release breaks bayeswaveutils, so this pins to less than that. This has been fixed upstream, but not released, see https://git.ligo.org/lscsoft/bayeswave/-/issues/115.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


US Core 3.0.0 (CIMPL6)

The CIMPL6 port of #143.  The cherry-pick was clean (no conflicts).
Once approved, I will bump the version number, merge, and publish.

Worth noting this seems like it needs a rebase

More lies from GitHub!
I see this:

But also this:


Cleaned setup.py dependencies

Issue #, if available:
Description of changes:
Cleaned setup.py dependencies
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-731-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-731/2/index.html


Autodetect Language

Currently, the draw.io interface is always "English".
By setting "lang" in InitialData, you can change the language (drawio ships locals for some languages).
It should use the same language as IntelliJ.

it this really a "must have" for the initial release?
I think we can post pone this for later. Most devs can read english.

Most devs can read english.

I'm not so sure of that :D
I think there a lot of asian devs who cannot understand english. A lot of asian devs are using the VS Code Draw.io extension!

interesting.

It seems that IntelliJ does not support localization yet:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206349009-How-to-change-the-language-of-IDE-from-english-to-german-
So, we first need to implement a settings dialog.

Interesting. However, they do seem to work on it.
In this case, I think localization may not be that important. VS Code was localized from the beginning.


Callback when all files have been successfully uploaded

On the add Callback I disable all the buttons that trigger the file upload and I'd need to enable them back when all files have been uploaded (success or fail).
I tried to do this in the always Callback but this is called for each file (so if the user selects three files to upload the buttons get back to enable status after the first file has been uploaded and not after all three).
Probably I'm missing something, any hints? :)
Thanks!

I'm also interested in firing a single callback function after all of the files in the upload queue are successfully uploaded.  My first thought would be to modify the 'done' callback that runs a check to see if the last item in the upload queue finished, and if so, it would fire the callback.  Is there any way to retrieve the length of items in the upload queue?

i think you can just listen to the progressall event:
...
progressall: function( e, data ){
if( data.loaded == data.total ){
//..... all done :)
}
}
...

Thank you for the suggestion.  I went ahead and implemented the "stop" callback as per the wiki documentation.
On Feb 4, 2012, at 4:57 PM, hansi raber<EMAIL_ADDRESS>wrote:

i think you can just listen to the progressall event:
...
progressall: function( e, data ){
if( data.loaded == data.total ){
//..... all done :)
}
}
...

Reply to this email directly or view it on GitHub:
https://github.com/blueimp/jQuery-File-Upload/issues/983#issuecomment-3814083

I tried progressall but data.loaded  is == data.total before the first always callback is called.
What I'm trying to achive is to know if the current always callback is the last one to be called.
Anyone know a way to do this?

you're right, stop works fine. Thanks to both


Adds support for providing Actor type name during runtime.

Description
Adds support for providing Actor type name during runtime.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #677
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

@rynowak it seems like this was not closed by intention... Can you reopen, and I'll address feedback mentioned here: https://github.com/dapr/dotnet-sdk/pull/680#discussion_r646191590


[cinder-csi-plugin] Add log for POST and DELETE actions

What this PR does / why we need it:
add logs so it's easier to track what we do on create/delete actions
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/retest

/test cloud-provider-openstack-multinode-csi-migration-test

/lgtm

/approve


Feature Request: support App Clip invocation URL in custom schemes

Schemes which have a binary launch target that is also an App Clip can support a new plist property:
appClipInvocationURLString

This is a single URL that will be provided to the app clip during launch. It is useful for teams to set this in their schemes so they do not need to modify the schemes every time the project is generated.

Planning on implementing this when I get some free time, if someone would prefer to take this up let me know!

Nice!
@adincebic you can take a look at this PR: https://github.com/MobileNativeFoundation/rules_xcodeproj/pull/2866 which implemented a similar change to the schemes API.
@brentleyjones if you have other suggestions to get them started

As a workaround for now: using _XCAppClipURL as an environment variable in the run section of the App Clip scheme still works in Xcode 15.x. The scheme UI in Xcode does not show it as the "App Clip Invocation URL" but the app clip still recognized that URL during launch in my testing.


Cannot install @ngx-translate/http-loader using NPM (Not found)

I am using following command to install the package (npm version 6.14.6)
npm i @ngx-translate/http-loader
Current behavior
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@ngx-translate%2Fhttp-loader - Not found
npm ERR! 404
npm ERR! 404  '<EMAIL_ADDRESS>is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-08-06T09_53_17_940Z-debug.log
Expected behavior
The package should be installed
Minimal reproduction of the problem with instructions
npm i @ngx-translate/http-loader
Environment
For Tooling issues:

Node version: v12.18.3
Platform:  Ubuntu 18.04

Now it is working fine.. should be a temp issue in npm registry. Thanks :)


pull request for e2e test at 12/28/2016 07:26:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


vscode activates conda but points to the default python

I am aware of #4434, and followed the resolution there, but it is still not resolved.
Originally posted by @praenubilus in https://github.com/microsoft/vscode-python/issues/4434#issuecomment-466600591

Thanks for the bug report, but unfortunately we need some more information from you in order to triage this issue appropriately. Please create a new bug by providing a filled-in copy of our issue template.


bigquery: use client from Airflow hook when possible

This PR makes bigquery integration for Airflow reuse hook code that provides BigQuery client.
By doing that, we use "proven" connection instead of relying on GOOGLE_APPLICATION_CREDENTIALS which are one of the few different methods of specifying BigQuery connection in Airflow - for example, providing keyfile json in UI.
Additionally, this solves issue of using proper query location that @collado-mike raised.
Closes: https://github.com/OpenLineage/OpenLineage/issues/649
Signed-off-by: Maciej Obuchowski<EMAIL_ADDRESS>

Codecov Report

Merging #691 (c07cba4) into main (26e40af) will decrease coverage by 0.96%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main     #691      +/-   ##
==========================================
- Coverage   85.84%   84.88%   -0.97%
==========================================
  Files          48       43       -5
  Lines        2600     2448     -152
==========================================
- Hits         2232     2078     -154
- Misses        368      370       +2

Impacted Files
Coverage Δ

...enlineage/airflow/extractors/bigquery_extractor.py
86.56% <87.50%> (-0.23%)
:arrow_down:

integration/dagster/openlineage/dagster/utils.py

...ntegration/dagster/openlineage/dagster/__init__.py

integration/dagster/openlineage/dagster/cursor.py

integration/dagster/openlineage/dagster/sensor.py

integration/dagster/openlineage/dagster/adapter.py

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Set up mlflow

this pr adds a jupyter notebook for easy evaluation of embedding models, mlflow ui for it with all state stored inside the repo (probably not the best idea, but fixing it would required additional infra) and embedding cache in safetensors format

closing for now, we can reopen if we decide to evaluate a smaller fine tuned model for req generation


chore(deps): update dependencies (#10013)

Co-authored-by: renovate[bot]<EMAIL_ADDRESS>
Types of changes

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

Description

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #10510 (341d647) into dev (9cc2938) will decrease coverage by 0.02%.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##              dev   #10510      +/-   ##
==========================================
- Coverage   65.17%   65.15%   -0.03%
==========================================
  Files          94       94
  Lines        4109     4155      +46
  Branches     1127     1172      +45
==========================================
+ Hits         2678     2707      +29
- Misses       1152     1169      +17
  Partials      279      279

Flag
Coverage Δ

unittests
65.15% <70.00%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

packages/cli/src/utils/generate.js
0.00% <0.00%> (ø)

packages/config/src/config/_common.js
100.00% <ø> (ø)

packages/generator/src/generator.js
82.88% <0.00%> (+0.39%)
:arrow_up:

packages/webpack/src/config/base.js
65.89% <75.00%> (+0.19%)
:arrow_up:

packages/cli/src/utils/banner.js
96.55% <100.00%> (-3.45%)
:arrow_down:

packages/cli/src/utils/index.js
87.50% <100.00%> (+0.54%)
:arrow_up:

packages/config/src/config/build.js
100.00% <100.00%> (ø)

packages/config/src/load.js
74.72% <0.00%> (-0.84%)
:arrow_down:

packages/server/src/server.js
77.19% <0.00%> (-0.46%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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

Feeling of green mark ^_^


Add caching

motivation
Serving static files with Served is painfully slow and has a terrible memory footprint.
served::response::to_buffer() seems to copy a lot.
proposed user facing changes
Add a single methode
void response::set_response(const std::shared_ptr<const std::string> &res)

possible usage
std::function<void(served::response &res, const served::request &)>
serve_file(const std::string &file_name, const std::string &file_extension)
{
	// load file in memory
	const std::string filename{file_name + "." + file_extension};
	std::ifstream	 ifs{file_name + "." + file_extension,
					  std::ios::in | std::ios::binary};
	const std::string file{(std::istreambuf_iterator<char>(ifs)),
						   std::istreambuf_iterator<char>()};

	// generate first response and cache it
	served::response my_res{};
	my_res.set_header("content-type", content_type(file_extension));
	my_res.set_body(file);
	const auto response_buffer{std::make_shared<const std::string>(my_res.to_buffer())};

	return
		[response_buffer](served::response &res, const served::request & /*unused*/) {
			res.set_response(response_buffer);
		};
}

mux.handle("/large_image.jpg").get(serve_file("large_image", "jpg"));

benchmarks
Serving a 13MB image over 100 connections 1000 times. Measured via ApacheBench 2.3.
Concurrency Level:      100
Time taken for tests:   2.357 seconds
Complete requests:      1000
Failed requests:        0
Keep-Alive requests:    0
Total transferred:<PHONE_NUMBER>0 bytes
HTML transferred:<PHONE_NUMBER>0 bytes
Requests per second:    424.24 [#/sec] (mean)
Time per request:       235.718 [ms] (mean)
Time per request:       2.357 [ms] (mean, across all concurrent requests)
Transfer rate:          6002519.76 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   1.0      0       5
Processing:   178  233  12.7    235     280
Waiting:        0    6  10.0      3      64
Total:        178  234  12.6    235     280

Percentage of the requests served within a certain time (ms)
  50%    235
  66%    236
  75%    237
  80%    237
  90%    243
  95%    243
  98%    266
  99%    273
 100%    280 (longest request)

About 6 to 7  Gbit/s on a single mobile core. That's faster than nginx in both response time and troughput on my machine, although cpu usage remains higher.

Interesting, looks good. Thanks @jonasgloning!