PWN-6093, PWN-6091 - Send BottomSheets

Jira Ticket
https://p2pvalidator.atlassian.net/browse/PWN-6093
Description of Work
PWN-6093, PWN-6091 - FreeTransactionsDetailsBottomSheet.kt and SendTransactionsDetailsBottomSheet.kt bottomSheets added

screenshots please


specify input parameters in YAML file

This feature makes it easier to integrate smallfile with various test harnesses and CIs, such as Ceph Teuthology and Jenkins pipelines.  The proposed branch name is "yaml".   This will be merged soon if no objections are heard.

done


What I did in the go-explorer-hat branch is https://github.com/openaps/oref0/commit/cb41fb7b4b9565f5902a763ea02085cce52b15f7
Can you think of any good reasons to use one approach or the other?  I'm fairly agnostic.

If someone deletes or renames the 'edison' account (or installs a different Linux base that has a different (or no) default account) the passwd-based hardware-ID will break.
Unless we introduce a different HW platform than Edison & Pi, looking for ARM arch is a sure-fire way to check for Pi hardware.

I’d rather support new hardware types (we’ve already started looking into one that might be coming to market soon) than try to support people doing arbitrary unnecessary customization like changing directory or user names.

In that case your way makes sense...

Ok, I just cherry-picked cb41fb7b4b9565f5902a763ea02085cce52b15f7 and pushed it to dev.  Thanks.


[FEATURE] Add Test button to datasource creation

Description
This is the UI work for utilising the previously created Unsaved Datasources framework to be able to test datasources before they're saved.
There's a few components to this:

Work in the datasource provider to take two different types of selector. A "Saved" selector, which functions as previously - loading the datasource from the API and using that, and an "Unsaved" selector which generates datasource clients from the spec included in the selector.

This is the one I'm least sure about. A change to the datasource client api to allow us to handle both saved and unsaved datasources. Because unsaved datasources have more complicated semantics than unsaved ones (they need to package the spec, method, and request body into the body of the request), we need to be able to process the requests sent by datasource clients. To do this, we add in another argument - fetch to the query options of datasources. For saved datasources, again, this is the same. For unsaved ones, it's a wrapper around globals.fetch that allows us to intercept and repackage requests.

Adding the button and wiring it into the DatasourceStoreProvider

Screenshots
Global Datasources
https://github.com/perses/perses/assets/4386405/3ed021a9-3a08-4977-b7e2-7abcb5b17c99
Project Datasources
https://github.com/perses/perses/assets/4386405/829b740f-d4dd-4dd4-bb13-e46ae16816b7
Dashboard datasources ( + requests to saved datasources still working)
https://github.com/perses/perses/assets/4386405/83a7a293-6428-479d-b505-5b7b8a25b6dd
Checklist

[x] Pull request has a descriptive title and context useful to a reviewer.
[x] Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
[x] All commits have DCO signoffs.

UI Changes

[x] Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
[ ] Code follows the UI guidelines.
[ ] Visual tests are stable and unlikely to be flaky.
See Storybook
and e2e docs for more details. Common issues
include:

Is the data inconsistent? You need to mock API requests.
Does the time change? You need to use consistent time values or mock time utilities.
Does it have loading states? You need to wait for loading to complete.

For example I forgot why we need a custom fetch

To perhaps clarify a bit: Requests to saved datasources get proxied as is to the backing datasource, because we already have all the required metadata (datasource url etc) on the server side. This means that a request to a saved datasource is exactly as if you're fetching the datasource directly.
For unsaved datasources, we don't have that metadata already on the server side. So we need to package the spec up and send it along with the request. Because we have to send a body, this means that we have to use a POST (or at least, not a get), so we have to also include the requested method, and actual request body in the request body.
In order to make that transparent from the plugins point of view, I have a custom fetch wrapper that checks if we're calling an unsaved datasources and transparently wraps the request in the format that an unsaved datasource requires. That way, plugins can continue to make fetchs as usual and not worry about handling the case of saved vs unsaved.
Does that sort of make sense?

@sjcobb I note that we already have a fetch wrapper of sorts in https://github.com/perses/perses/blob/main/ui/core/src/utils/fetch.ts - I could piggy back off that? WDYT?

For example I forgot why we need a custom fetch

To perhaps clarify a bit: Requests to saved datasources get proxied as is to the backing datasource, because we already have all the required metadata (datasource url etc) on the server side. This means that a request to a saved datasource is exactly as if you're fetching the datasource directly.
For unsaved datasources, we don't have that metadata already on the server side. So we need to package the spec up and send it along with the request. Because we have to send a body, this means that we have to use a POST (or at least, not a get), so we have to also include the requested method, and actual request body in the request body.
In order to make that transparent from the plugins point of view, I have a custom fetch wrapper that checks if we're calling an unsaved datasources and transparently wraps the request in the format that an unsaved datasource requires. That way, plugins can continue to make fetchs as usual and not worry about handling the case of saved vs unsaved.
Does that sort of make sense?

Thank you for the explanations ! I was wondering too why we need to have another fetch wrapper.
Now I'm wondering if it is worth it.
The whole point initially was just to test the connection to the datasource, not really to use an unsaved datasource to make a timeseries query.
That's definitely interesting, I'm just worried it creates more difficulties to create a datasource plugin. But maybe I'm worried for nothing.

I think there's still value here. Working within limiting it to just health checks, and piggy-backing off of https://github.com/perses/perses/blob/main/ui/app/src/model/fetch.ts I think I could put something together


Goal window hides console

By default the Goal window shows over top of the console and covers the "Hide Goal" button. For someone who is not familiar with a Mac they might not figure out how to hide the Goal Window. There's lots of room, we should have it open beside the console.

we also call out that you can hide the window with hide goal (inlined into the goal window at the top). and you can also drag it around, which hopefully anyone who has used a window-based GUI can understand.
closing this out since i dont have any more ideas but thanks for the feedback!


Bug: Selector

When you have selected elements that already have been transformed, the new transformation doesn't work as expected.

With the last commits, I could achieve that the elements scale correctly and rotate around points quite well. By that I mean that the scale somehow gets messed up when rotating. It isn't too bad, but when intensively working with this tool, it definitely causes some inconvenience. Nevertheless, this bug is mostly fixed...


Add Script for Verifying Kubernetes and Backstage Configuration

Description:
This pull request introduces a new script check_k8s_backstage.sh that performs a series of checks on a Kubernetes cluster to verify the existence and accessibility of certain resources. This script is designed to help set up and verify the Kubernetes environment required for integrating Backstage with Kubernetes.
Changes Introduced:

Script: check_k8s_backstage.sh

Prompts the user for the following inputs:

Namespace
Service account name
Role name
Role binding name
Cluster URL
Cluster name
Backstage Kubernetes ID
Backstage label selector

Performs checks to ensure:

Namespace exists
Service account exists
Role exists
Role binding exists
Service account token and CA data are retrievable
Cluster URL is accessible
Backstage catalog-info.yaml annotations are correctly applied
Kubernetes resources with the specified label selector exist

Provides a summary of all checks performed.
Logs all activities with timestamps to check_k8s_backstage.log.

Detailed Logging:

Logs include timestamps for each action performed.
Secret items such as the service account token and CA data are partially masked in the logs to protect sensitive information.

Error Handling:

The script validates inputs and exits with an error message if any required input is missing.
Clear error messages and exit codes are provided for better troubleshooting.

Usage Instructions:

Make the script executable:chmod +x check_k8s_backstage.sh

Run the script:./check_k8s_backstage.sh

Follow the prompts to enter the required information.
Review the log file check_k8s_backstage.log for detailed information on the checks performed.

Example Output:
2024-06-27 12:00:00 - Prompting user for inputs...
2024-06-27 12:00:10 - Checking namespace...
2024-06-27 12:00:11 - Namespace fccs-ng-infra-backstage-prod exists.
2024-06-27 12:00:12 - Checking service account...
2024-06-27 12:00:13 - Service account backstage-service-account exists in namespace fccs-ng-infra-backstage-prod.
...
2024-06-27 12:00:30 - Script execution complete. Logs have been saved to check_k8s_backstage.log.

License:
This script is released under the MIT License.

Fixes #1


Upgrade Lit.dev samples/tutorials to use Lit 3 pre-release

Context
Recently lit.dev was versioned so that we could separate v2 and v3 documentation. #1108
But all playgrounds are still on Lit 2.
Completion criteria
All unversioned playgrounds/samples/tutorials/gists should be using Lit 3 by default.

Fixed


[Bug] Fix prometheus read format error #13831

Proposed changes
Issue Number: close #13831
Problem summary
fix prometheus format error
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments

Can you add some test?

Can you add some test?

This bug is found because prometheus reports an error. So the only way to test this is to deploy Doris and let Prometheus tell us if the metrics api has an error.
I'll try to add some unit tests though.

Can you add some test?

done

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.25 seconds
load time: 432 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221114130322_clickbench_pr_45677.html

used to compatible with the metric group by db.

To compatible with the metric grouped by the database name.


⚠ Bofrost.at has degraded performance

In f3518d0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: Bofrost.at performance has improved in 7392928 after 9 minutes.


Fractional split bug on duplicated dataframes indices

Fractional split feature of Splitter returns an undesired result when one tries to split a pandas dataframe with duplicated indices without passing any argument for id_column.
The following examples are illustrating the bug.
Let's create a dataframe with duplicated indices:
import pandas as pd

# Create separate dfs
df_1 = pd.DataFrame(np.random.normal(size=(5_000, )),
                   columns=["metric_val"])
df_1['frame'] = 1

df_2 = pd.DataFrame(np.random.normal(size=(5_000, )),
                   columns=["metric_val"])
df_2['frame'] = 2

# Concat and shuffle
dataframe = pd.concat([df_1, df_2]).sample(frac=1)

Now perform a fractional split on it:
from ambrosia.splitter import Splitter

# Create `Splitter` instance and make split based on dataframe index (no `id_column` provided)
splitter = Splitter()
factor = 0.5

result_1 = splitter.run(dataframe=dataframe,
                        method='hash',
                        part_of_table=factor,
                        salt='bug')
result_1.group.value_counts()

# Output:
# A    15000
# B    10000
# Name: group, dtype: int64

So, some of the objects after the split are duplicated and now appear in groups several times.
We can see that totally groups are bigger than the original dataframe.

This behaviour does not repeat if we try to split dataframe on the column with duplicated ids.
# Create column from dataframe indices and split on it

dataframe = dataframe.reset_index().rename(columns={'index': 'id_column'})

result_2 = splitter.run(dataframe=dataframe,
                        id_column='id_column',
                        method='hash',
                        part_of_table=factor,
                        salt='bug')

result_2.group.value_counts()

# Output:
# A    5000
# B    5000
# Name: group, dtype: int64

But if we look deeper, there is another unusual behaviour:
# Let's count objects origin dataframe frequencies in group A

result_2[result_2.group == 'A'].frame.value_counts()

# Output:
# A    2500
# B    2500
# Name: frame, dtype: int64

Objects from two original dataframes appear in the group equally, which in general is not desired.
This should be inspected further.

Bug was not checked on Spark implementation of same methods, but the care should be taken for them as well.
At the end, I want to add that duplicate indices are undesirable on the id column in the vast majority of splitting issues.
It will be nice to add duplicated id check in Splitter and warn user via logger.

Now for Splitter all objects must have unique ids.


ARROW-648: [C++] Support multiarch on Debian

On multiarch enabled Debian, we need to install libraries into
${CMAKE_INSTALL_PREFIX}/lib/${ARCH}/ instead of
${CMAKE_INSTALL_PREFIX}/lib/.
See also: https://wiki.debian.org/Multiarch/HOWTO

Sorry... The original changes have a bug... I've added a commit that fixes the bug.

@kou do you know how other projects handle this issue? We need to be able to install these libraries in a deterministic location -- when the user passes -DCMAKE_INSTALL_PREFIX it is not respected. For example, I have been installing in $HOME/lib, but now the packages are going in
/home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.so.0.0.0

This does not look right to me https://issues.apache.org/jira/browse/ARROW-680

Umm... I couldn't reproduce it.
I'm using cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/local and libarrow_io.so.0.0.0 is installed into /tmp/local/lib/libarrow_ipc.so.0.0.0.
I'm on Debian GNU/Linux.

From a clean out of source build, using gcc 4.9.2 not obtained from apt:
Install the project...
-- Install configuration: "DEBUG"
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow.so.0.0.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow.so.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow.so
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow.a
-- Up-to-date: /home/wesm/local/include/arrow/allocator.h
-- Up-to-date: /home/wesm/local/include/arrow/api.h
-- Up-to-date: /home/wesm/local/include/arrow/array.h
-- Up-to-date: /home/wesm/local/include/arrow/buffer.h
-- Up-to-date: /home/wesm/local/include/arrow/builder.h
-- Up-to-date: /home/wesm/local/include/arrow/column.h
-- Up-to-date: /home/wesm/local/include/arrow/compare.h
-- Up-to-date: /home/wesm/local/include/arrow/loader.h
-- Up-to-date: /home/wesm/local/include/arrow/memory_pool.h
-- Up-to-date: /home/wesm/local/include/arrow/pretty_print.h
-- Up-to-date: /home/wesm/local/include/arrow/schema.h
-- Up-to-date: /home/wesm/local/include/arrow/status.h
-- Up-to-date: /home/wesm/local/include/arrow/table.h
-- Up-to-date: /home/wesm/local/include/arrow/type.h
-- Up-to-date: /home/wesm/local/include/arrow/type_fwd.h
-- Up-to-date: /home/wesm/local/include/arrow/type_traits.h
-- Up-to-date: /home/wesm/local/include/arrow/test-util.h
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/pkgconfig/arrow.pc
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.so.0.0.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.so.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.so
-- Removed runtime path from "/home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.so.0.0.0"
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_io.a
-- Up-to-date: /home/wesm/local/include/arrow/io/file.h
-- Up-to-date: /home/wesm/local/include/arrow/io/hdfs.h
-- Up-to-date: /home/wesm/local/include/arrow/io/interfaces.h
-- Up-to-date: /home/wesm/local/include/arrow/io/memory.h
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/pkgconfig/arrow-io.pc
-- Up-to-date: /home/wesm/local/include/arrow/util/bit-util.h
-- Up-to-date: /home/wesm/local/include/arrow/util/logging.h
-- Up-to-date: /home/wesm/local/include/arrow/util/macros.h
-- Up-to-date: /home/wesm/local/include/arrow/util/random.h
-- Up-to-date: /home/wesm/local/include/arrow/util/visibility.h
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_jemalloc.so.0.0.0
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_jemalloc.so.0
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_jemalloc.so
-- Removed runtime path from "/home/wesm/local/lib/x86_64-linux-gnu/libarrow_jemalloc.so.0.0.0"
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_jemalloc.a
-- Installing: /home/wesm/local/include/arrow/jemalloc/memory_pool.h
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/pkgconfig/arrow-jemalloc.pc
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_ipc.so.0.0.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_ipc.so.0
-- Up-to-date: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_ipc.so
-- Removed runtime path from "/home/wesm/local/lib/x86_64-linux-gnu/libarrow_ipc.so.0.0.0"
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/libarrow_ipc.a
-- Up-to-date: /home/wesm/local/include/arrow/ipc/api.h
-- Up-to-date: /home/wesm/local/include/arrow/ipc/feather.h
-- Up-to-date: /home/wesm/local/include/arrow/ipc/json.h
-- Up-to-date: /home/wesm/local/include/arrow/ipc/metadata.h
-- Up-to-date: /home/wesm/local/include/arrow/ipc/reader.h
-- Up-to-date: /home/wesm/local/include/arrow/ipc/writer.h
-- Installing: /home/wesm/local/lib/x86_64-linux-gnu/pkgconfig/arrow-ipc.pc

this is on Ubuntu 14.04 LTS

also, in case it's relevant:
$ cmake --version
cmake version <IP_ADDRESS>

Looks like the problem is that my GNUInstallDirs.cmake is kind of old, and I have i386 enabled on my x86_64 machine, see the commit:
https://github.com/Kitware/CMake/commit/620939e4e6f5a61cd5c0fac2704de4bfda0eb7ef
I can install a newer cmake to solve this issue, but it would be unfortunate to have this failure mode out of the box on 14.04 LTS

I've created a pull request as #419 for Ubuntu 14.04.


Undo files changed through ExcalidrawImperativeAPI.addFiles

Is there a way to undo (cmd + z) files added or updated through addFiles api?

Sorry for the late answer.
There was a recent rewrite in #7348 and there might be a way of (indirectly) doing it. If your files are tied to some element, you could undo the file by undoing the element itself, but the files will stay in the cache so that they can be potentially restored with redo.
If you are aiming to undo the files, we would be curious about a bit more details about your use case. Currently, it's not supported out-of-the-box.


Correct mobster suffix

About the PR
Corrects the suffix appending of the mobster accent to correctly attach suffixes to sentences that already have punctuation.
Why / Balance
Prevents anyone with a mobster accent from appending suffixes to sentences ending with punctuation already, ie appending
, see? to test! as test!, see?
Technical details
Adds a new Regex string to search for one of two things

The last single or block punctuation, i.e. ? or ?!
The end of the sentence

It is designed in such a way to use the equivalent of an XOR expression, so it looks for one or the other, not both.
It then replaces that punctuation or end with the suffix
Media
before change

after change

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

With the regex string being convoluted and checking two things, technically, I could split them into two separate regex strings.
I avoided this because they are theoretically achieving the same thing, and I wanted to avoid unnecessary c# code


Create Kotlin Multiplatform (KMP) package of jpegtran (lossless JPEG transformations)

jpegtran is a library for lossless JPEG transformations, available mostly as C source code. We want to use it to implement lossless crop and other lossless transforms.
However, the app must still be easily buildable by newcomers who just have a basic Android Studio (and thus can't compile C code).
The goal of this issue is to build (or find if by chance one is already available) a package based on Kotlin Multiplatform technology embedding jpegtran, and offering JPEG transformations that can be used from a Kotlin Android app. Please create a different GitHub project for this task. Any volunteer? Thanks! :-)
Tagged "good first issue" not because it is easy, but because no knowledge of Commons is needed.

Kotlin multiplatform will let you pull the C code in and make it accessible to Kotlin/Native but I am pretty sure you will still need to use JNI and the Android NDK if you want to access the code from the main Android source-set.

@psh
The idea would be to have a separate GitHub project whose goal is to produce a library that offers these transformations.
Our Commons app would only import that library (like any other external library, presumably through build.gradle) and use the methods. Hopefully building the Commons would just require Android Studio.
Does that sound like a good plan? 🙂

The separate AAR library published as a maven/gradle dependency would definitely be easy to use & transparent to the casual developer of the commons app.  👍

Can I take on this issue? @nicolas-raoul  could you assign it to me?

@shashankiitbhu It is yours!
Please let us know about your progress once per week or so, thanks a lot! 🙂

Hi @nicolas-raoul I am having difficulty with implementing jpegtran library in KMP , also there isn't any android or KMP library already available for this. However, there is a library in java for lossless JPEG transformations - https://github.com/k3b/LosslessJpgCrop/tree/master

@shashankiitbhu I am familiar with the project you linked to, but I am not sure whether the underlying Facebook Spectrum library can be used to implement near-lossless blurring.
@shankarpriyank What do you think? 🙂

Had a quick glance, could not find anything related to blurring in the Spectrum library.
But on the good side, I was struggling a bit with the crop feature and  I am pretty sure that I am gonna  get all the help I needed from this project

@shankarpriyank
If Spectrum has a method to losslessly merge several JPEGs, then we can use it.
Please note that k3b's app is licensed under GPL, so we can't copy its code to our Apache-licensed app.

@nicolas-raoul

If Spectrum has a method to losslessly merge several JPEGs, then we can use it.

Sorry, I did not get it.

Please note that k3b's app is licensed under GPL, so we can't copy its code to our Apache-licensed app.

Yup, What I meant to say was that, k3b is a nice application which has a cropping feature, and cause it's open-source, I can take inspiration from its code to implement the cropping feature in the commons app. Some parts of the code may be quite similar but I guess that wont be an issue.

@shashankiitbhu  I unassign for now, but if you are you still working on this, please let us know. If no answer, someone else may be assigned to it. Thanks a lot. :-)


Understanding Orientdb as company and opensource contributor

Hi,
sometimes It is really hard to understand what is the goal behind a new feature, milestone or even the whole project. It would be nice if we have one place where we can discuss about all these things. I don't mean a company blog.
What do you think?

The have a google group for discussions.
https://groups.google.com/forum/#!forum/orient-database
Scott

thanks

But I don't mean a user community blog but rather what the company moved forward.

Most companies don't say much about what happens internally. But they do have a blog.
http://orientdb.com/blog/
Not much forward looking stuff in the blog, but there is info about the company, like their new president, who came over from MongoDB. It seems to me, they are trying to incorporate customer feedback into their releases. So a lot of what is planned can be seen in the Repo. But, what is visible doesn't extend past the current development branch.
Scott

@smolinari thanks for the informationen.


refactor(auth): improve queryAddresses function robustness and perfor…

Description
These changes improve code reliability and maintainability while maintaining existing functionality.
What has Changed?

Add input validation with nil checks
Improve error messages with additional context
Introduce QueryAddressesParams struct for better organization
Pre-allocate addresses slice for better memory efficiency
Add type assertion safety checks
Enhance error wrapping with detailed context information

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[x] added ! to the type prefix if API or client breaking change
[x] targeted the correct branch (see PR Targeting)
[x] provided a link to the relevant issue or specification
[x] followed the guidelines for building modules
[x] included the necessary unit and integration tests
[x] included comments for documenting Go code
[x] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[x] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Deployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.

@brilliantkid87 thanks for those changes although the wasm bindings are getting removed as they will not be used anymore, I am therefore closing this PR


Fixed Contributing Guide link (top link) within  /contributing/README.md

Why:
Closes: #30584
What's being changed (if available, include any code snippets, screenshots, or gifs):
Link to the contributing guide at the top of the README is broken
Check off the following:

[X] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

I noticed this is within the contributing directory which has been depreciated, not sure it is needed but wanted to fix the link aways. If it is not needed this can be closed.

@leabs Thanks so much for opening a PR! I'll get this triaged for review ✨

Thank you for this fix, @leabs! I'll get this merged.

Why:
Closes: #30584
What's being changed (if available, include any code snippets, screenshots, or gifs):
Link to the contributing guide at the top of the README is broken
Check off the following:

[x]  I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.


Revert "Style/remove legacy icons"

Reverts seekinternational/seek-asia-style-guide#325

As discussed, this change has not been released to npm as it had incorrect commit name from semantic release point of view. Thus change needs to be release separately regardless with correct release notes. As it's a breaking change and thus a blocker for any subsequent changes (eg. https://github.com/seekinternational/seek-asia-style-guide/pull/326), we will re-introduce it after #326


Support plotting java.time.LocalDate and java.time.LocalDateTime

I would like to be able to use java.time.LocalDate / java.time.LocalDateTime instances as my x-axis values

good idea, how about Instant as well?

Probably a good idea. I personally don't have a need for that one at the moment, but I don't think it'd hurt to add it.

I'm hoping the investigation of this issue will end up explaining the mysterious comment in XYGraphics.setX:
//        remove Java8 feature LocalDateTime, that has to wait
//        else if (x instanceof LocalDateTime) {
//          LocalDateTime date = (LocalDateTime)x;
//          ZonedDateTime zdate = date.atZone(ZoneId.of("UTC"));
//          this.xs.add(zdate.toEpochSecond() * 1000 + date.get(ChronoField.MILLI_OF_SECOND));
//        }

Whenever I see it I wonder, "What was the problem and what does it have to wait for?"

lol, sorry nothing too exciting. at at time one version of Beaker was compiled with Java 7.

https://github.com/twosigma/beakerx/pull/6275


browser support

Can we have a list of supported browsers ?

Its in the readme, I don't know the exact versions which are support but IE10 and with polyfill IE9 is also supported.
Max

thank you


Empty string in ports list in docker-compose file

trying to run docker-compose --build
and receive the following error
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.elasticsearch.ports contains an invalid type, it should be a number, string, or an object
In docker-compose there is an empty string for port
https://github.com/Open-MBEE/mmsri/blob/develop/docker-compose.yml
  - 9200:9200
  - 9300:9300
  -

this has been fixed in latest develop


changed the style.css

added a background to the page

okay

please add the screenshot of the changes of ui


MINOR: Fix broken ReassignPartitionsCommandTest test

KAFKA-16606 (#15834) introduced a change that broke ReassignPartitionsCommandTest.testReassignmentCompletionDuringPartialUpgrade.
The point was to validate that the MetadataVersion supports JBOD in KRaft when multiple log directories are configured. We do that by checking the version used in
kafka-features.sh upgrade --metadata, and the version discovered via a FeatureRecord for metadata.version in the cluster metadata.
There's no point in checking inter.broker.protocol.version in KafkaConfig, since in KRaft, that configuration is deprecated and ignored — always assuming the value of MINIMUM_KRAFT_VERSION.
The broken that was broken sets inter.broker.protocol.version in KRaft mode and configures 3 directories. So alternatively, we could change the test to not configure this property. Since the property isn't forbidden in KRaft mode, just ignored, and operators may forget to remove it, it seems better to remote the fail condition in KafkaConfig.

Thanks for reviewing @showuon.
Only three failed tests on JDK21, all passing locally, all unrelated:

KAFKA-16919 - testNoCheckpointsIfNoRecordsAreMirrored() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationSSLTest
KAFKA-15914 - testAlterSinkConnectorOffsetsOverriddenConsumerGroupId – org.apache.kafka.connect.integration.OffsetsApiIntegrationTest
KAFKA-15961 - testTopicIdPersistsThroughControllerRestart() – kafka.controller.ControllerIntegrationTest


[NetAppFiles] Anf 4232 - CLI versionFor2019-11-01 API - Add Volume Revert to revert volume to a snapshot

Description

Updates NetAppFiles Azure CLI to API version 2019-01, adding Volume Revert operation used to revert a volume to one of its snapshots. Removes mountTargets operation as mount targets information is available as part of Volume properties.
Testing Guide

// Create a snapshot from a volume
az netappfiles snapshot create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
// Revert a volume to a snapshot
az netappfiles volume revert -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --snapshot-id 9760acf5-4638-11e7-9bdb-020073ca3333

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.
[NetAppFiles] az volume revert:  Added Volume Revert to revert a volume to one of its snapshots.
[NetAppFiles] BREAKING CHANGE: az netappfiles mount-target: Removed.
[NetAppFiles] az volume show: Added site to Active Directory Properties

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

NetAppFiles

@haroldrandom test recordings have been updated.
Can we please get this reviewed asap as customers are waiting for changes in this PR.

@haroldrandom  All tests run successfully I don't see why the pipeline should be failing now.  Can you advice ?

/azp run


ci: fix size-report

Pass PR number as input
Migrate to thollander/actions-comment-pull-request. It's most used, frequently updated and allows to pass a file directly

Hello @sxzz
For some reason, it looks like GitHub is completely skipping the pr_number input. I'm not sure why, but I believe it's due to the formatting of the tag, maybe it not being enclosed in quotes is tripping the actions interpreter.
There was also a recent update to the action that I missed that already adds the comment tag as a hidden marker, no need to enclose it in comment markers ourselves. With current workflow, a quote marker would appear below the report.
Sorry for all the hassle. I opened https://github.com/vuejs/core/pull/11204 to fix these mistakes. I have a sample run in my fork in case you want to check it as well.


Populate the :trace-redirects response field

Fix for issue #326

Thanks! I'm traveling right now but I will review this as soon as I get back

@Abhiroop thanks for submitting this!
Unfortunately, this causes a lot of test failures when running lein test :all (the integration tests) due to a NullPointerException if there are no attributes. Can you fix that so it correctly handles the null case?

Just ran into this. @Abhiroop, are you able to fixup the NPE? Thanks!

@devth I am planning to check it this weekend.

@Abhiroop Have you had any luck with this?

I believe this is closed by #341


Do not use hostport for konnectivity-server

/area control-plane
/kind  bug
What this PR does / why we need it:
If APIServerSNI is not enabled, but a shoot has konnectivity-tunnel feature flag set, the kube-api-server in the shoot namespace can not start anymore with:
shoot--pz9cjf--...            15m         Warning   FailedScheduling               pod/kube-apiserver-6f5cb7d4f-7h8rh                                            0/3 nodes are available: 1 Insufficient cpu, 3 node(s) didn't have free ports for the requested pod ports

This is the case since g/g 1.16.x and was introduced with https://github.com/gardener/gardener/pull/3267
The Reason is that the konnectivity-server sidecar is started with hostport for admin and health endpoint, which only allows one kube-api-server to be started on one seed worker node.

Thank you @majst01 for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

/invite @MartinWeindel @DockToFuture

@majst01 Could you please add corresponding changes also in pkg/operation/botanist/component/konnectivity/konnectivity_server.go (around line 262 and 280)? Those additional changes were necessary for me to make it run.

@majst01 Could you please add corresponding changes also in pkg/operation/botanist/component/konnectivity/konnectivity_server.go (around line 262 and 280)? Those additional changes were necessary for me to make it run.

Interestingly the deployments there differ from the chart, there are more ports configured as hostport. Changed all of them there

Thanks guys, this was fast !


Feature proposal - builds for arm64

Hello,
I want to propose offering official builds for arm64 architecture, as the application is written in Go, I believe it can be cross-compiled easily. In the meantime, I will try to build my own arm64 builds :)
Thanks

Sorry for the late answer, I sometimes don't keep up with my E-Mails. ARM builds should be fairly easy to do, since it's go.
Do you have any insights into how to "cross-compile" Docker containers?

Hey,
thanks for your reply! I am currently at KubeCon so I am sorry for the short reply, but here is documentation on this:
It seems to be pretty straightforward now, by just setting a --platform flag. But from what
I can tell you can only build one at a time. You can find more info in the docs: https://docs.docker.com/build/building/multi-platform/


Any solutions for audio buttons, Delete key and other keyboard issues?

I can't seem to find anyone working on a fix. Any suggestions on mapping these out? Particularly volume, brightness, keyboard backlight and the delete key.

Thanks for the help. Just set up the keyboard shortcuts and they seem to be working.

What's the likelihood of helping me get my medications and money from
Toronto which have been stollen for over two years now as an attempt to
punish me for trying to get back on my feet??
Derek Dwinnell
2899434291
On Mon., Dec. 23, 2019, 8:58 a.m. James<EMAIL_ADDRESS>wrote:

Thanks for the help. Just set up the keyboard shortcuts and they seem to
be working.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/42?email_source=notifications&email_token=AAX4IG32IU7EK7TLJMHCMGLQ2C7YPA5CNFSM4AD2LYE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHRFWEY#issuecomment-568482579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX4IG3ZL4LZXPZ3ULNNWETQ2C7YPANCNFSM4AD2LYEQ
.


Support compile-only mode in RunONNXModelZoo.py

This patch adds an option --compile-only to RunONNXModelZoo.py script, which only compiles models in the onnx model zoo.
--compile-only can be used to check compilation of the onnx model zoo for NNPA, e.g.
python RunONNXModelZoo.py  -c "-O3 --mcpu=z14 --maccel=NNPA" --compile-only

Jenkins Linux s390x Build #8293 [push] Support compile-only mod... started at 22:08

Jenkins Linux amd64 Build #8277 [push] Support compile-only mod... started at 21:08

Jenkins Linux ppc64le Build #7344 [push] Support compile-only mod... started at 22:09

Jenkins Linux amd64 Build #8277 [push] Support compile-only mod... passed after 1 hr 19 min

Jenkins Linux ppc64le Build #7344 [push] Support compile-only mod... passed after 1 hr 51 min

Jenkins Linux s390x Build #8293 [push] Support compile-only mod... passed after 2 hr 13 min


Add Free SQL Course with certificate in  README.md

please Check my contribution. Thanks.

hey 👋 there please check my Contribution 😊.

you have to also add in all course json file , please check contribution guide

you have to also add in all course json file , please check contribution guide

Hey , please check I have added in course json file. Thanks


Switching from hemingway to woolf

Changing the model demonstrated with the LSTM examples to Virginia Woolf. It might be nice to use a different one for each example just to show more variety.

great!


Add more context to logs (for example the request trace id)

Expected Behavior / New Feature
I'll be able to extend the default logging context - for example, extract trace id from the header and add it to the logs
Actual Behavior / Motivation for New Feature
This is not currently possibly
Steps to Reproduce the Problem

Any request to the ocelot gw with trace id header

Is there any way to achieve this?

And on another note - is there any way to get invitation to the slack workspace?

Hi @shahargl
Which Slack workspace are you talking about?

I guess this PR #1745 will be interesting for you because we enhance logging now. But we improve performance... it is not about extra data in logs:

#1745
Could you review the PR please?

I'll be able to extend the default logging context - for example, extract trace id from the header and add it to the logs

Have you ever heard about delegating handlers?
I recommend to develop custom delegating handler module, attach to Ocelot pipeline.
Good luck!

This is not currently possibly

This is the lie from lazy developer.


Add-on keeps giving error

Hi,
my add-on keeps giving errors
every few days the add-on stops working and i need to restart it.

Greetings Bart

I have same issue. In logs, has an access denied error:
11/07/2024 13:45:55 [120] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Access denied
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary`2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Graph.Me.Drive.DriveRequestBuilder.GetAsync(Action`1 requestConfiguration, CancellationToken cancellationToken)
   at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action`2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228
   at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action`2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399
11/07/2024 13:45:56 [120] Error: accessDenied: Access denied

I have deleted the addon and reinstalled it but same results. Hope it will be fixed soon

Same here. Last Backup 20241103 (backup every two days at 4 a.m.)

Same with me

I have the same problem on a new installation. Other install seems to be doing just fine.

Same with me

Like this comment, if you are experiencing the same issue as described above.

The same problem here.
It worked like a charm last year. I hope it will be fixed very soon.

Same here. Last Backup 20241104

Issue has been found. See details here: #247


[Meru] New naming screen

Description
Fixes #3785
Please see follow-up coms for discussable options

Risk

Deploy Plan

Error message cc @Duncid

I put the triangle warning symbol. I can use the circled info symbol if needed. The circled exclamation mark is not straightforward (less common, might be compatibility issues etc.) so unless really important
Color of the message => Sparkle says red (Input component), figma says grey. You told me sparkle wins against figma, but just wanted to check
another wording suggestion vs the figma "This handle is already taken"

Wording "Handle"
I would not use a complex term when a simple one ('name') does 95% of the job. I get there is a redundancy with the "Naming", but "handle" is a little raise on the learning curve to use dust (new vocabulary, painful, technical, geeky) with a limited benefit. Think of Claudine de la compta.

Avatar: no title in modal from figma?
(fine by me, just checking)


Bold font can't be loaded correctly in version 2.6h

Description
Bold font can't be loaded correctly after the new version.
Check/indicate

[x] Relevant for XeTeX
[x] Relevant for LuaTeX
[x] Issue tracker has been searched for similar issues?
[ ] Links to <tex.stackexchange.com> discussion if appropriate

Minimal example demonstrating the issue
\documentclass{article}
\usepackage{fontspec}

\setmainfont{texgyretermes}[
  Extension      = .otf,
  UprightFont    = *-regular,
  BoldFont       = *-bold,
  ItalicFont     = *-italic,
  BoldItalicFont = *-bolditalic
]
\setsansfont{texgyreheros}[
  Extension      = .otf,
  UprightFont    = *-regular,
  BoldFont       = *-bold,
  ItalicFont     = *-italic,
  BoldItalicFont = *-bolditalic
]

\begin{document}

{Test}                    \par
{\bfseries Test}          \par
{\itshape Test}           \par
{\bfseries\itshape Test}  \par
{\sffamily Test}          \par
{\bfseries\sffamily Test} \par
{\itshape\sffamily Test}  \par
{\bfseries\itshape\sffamily Test}

\end{document}

Further details
It seems to due to the modification in https://github.com/wspr/fontspec/commit/ee5d480e69f1714102f094fdaabaa1409078b444:
% Near Line 210 in fontspec-keyval.dtx:

    \seq_if_empty:NT \g_@@_bf_series_seq
     {
      \tl_gset:Nx \g_@@_curr_series_tl {\bfdefault}
-      \seq_put_right:Nx \g_@@_bf_series_seq {\bfdefault}
+      \seq_gput_right:Nx \g_@@_bf_series_seq {\bfdefault}
     }

\seq_gput_right:Nx become global recently, so once some value were put into \g_@@_bf_series_seq, \g_@@_curr_series_tl will be empty and the bold font will not be set.

Oops, thank you very much for the quick analysis of the problem. Sorry for the inconvenience.
Clearly this code was too clever for its own good.
I'll try to fix this in the morning and re-release — with some more test files!

I just stumbled upon the same problem, see https://tex.stackexchange.com/questions/443899/possible-bug-bold-sans-not-working-with-fontspec
Looking forward for the fix – keep up the good work!

Hi Will,
could you say when the debugged re-release will come: I'm in great trouble with my work in MikTeX and I didn't find a older version of Fontspec for MikTeX (and I cant build it by myself) ...
Regards, Matthias

It was submitted to CTAN yesterday I saw that it was announced today. Sorry for the inconvenience :(


Getting error trying to Speed up EIP-1559 transaction "replacement transaction underpriced" on Goerli

Enable EIP-1559
Send ERC20 on Goerli with low gas price
Speed up and confirm transaction and it shows "replacement transaction underpriced"

Running f99b39735966ee3a05006224dd997d6a97e17962

facing the same with disabled EIP-1559


Update oneDNN version for AArch64 builds

Builds on AArch64 with --config=mkl_aarch64 will now pickup
oneDNN version 2.5 rather than 2.4.

HI @penpornk
Here is the patch to update the oneDNN version for mkl_aarch64 builds.


the huggingface thing's queue needs to be cleared, it's stuck processing something endlessly

true thanks i fixed it

huggingface froze again


version 3.32 being listed as Retired

3.32 is producing a console warning as being retired. Unfortunately this also triggers an error warning for my codebase as there's an exception thrown (Sentry). Do you need a PR to update the hardcoded version?

+1

It would be great to be able to pass the version as a property.

+1

+1

@Charmatzis ? 👍

I think that defining the version as parameter is good option.
However, I would also change the default value to "quarterly" instead of "3.32".
https://developers.google.com/maps/documentation/javascript/versions
What do you think, guys? @Charmatzis


Multiple entry selection

Selecting multiple entries at a time and then having functions to perform on all entries would be quite useful.
In GMail, you can tap the sender's photo on each entry to highlight it, so I figure that each of our extension svgs can double as "checkboxes".

@ZombieHippie Not sure if you checked out Google Drive recently, but I like they way they mimic a file selection rectangle from Windows.

Selection like this would be specific to desktop I assume.

I could see it working on mobile too, but it'd probably hard to get right with the touch events.
I just checked out GDrive on my phone and was pretty disappointed that they don't even offer an HTML5 interface, and their native App doesn't even have the notion of selection. I'd have expected better from Google.

Hi silverwind,
any news about implementing this feature? thanks!

Not forgotten, just haven't found time to do it yet.

+1


Delete docs/events-explorer directory

🚀 Deployed on https://65f871e4cac91395a052fa07--cozy-fox-0defec.netlify.app


<EMAIL_ADDRESS>decompress error

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=chatgpt%400.12.0%3A+decompress+error

PS C:\...> scoop install chatgpt
Installing 'chatgpt' (0.12.0) [64bit] from extras bucket
ChatGPT_0.12.0_windows_x86_64.msi (5.7 MB) [==================================================================] 100%
Checking hash of ChatGPT_0.12.0_windows_x86_64.msi ... ok.
Extracting ChatGPT_0.12.0_windows_x86_64.msi ... done.
Linking ~\scoop\apps\chatgpt\current => ~\scoop\apps\chatgpt\0.12.0
Creating shortcut for ChatGPT Desktop (ChatGPT.exe)
'chatgpt' (0.12.0) was installed successfully!

I installed it normally, can you provide me with the result of running the command scoop config?


i18n(es): update render

Description (required)
Updates render

Related issues & labels (optional)

Closes # N/A
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

es
guides/deploy/render.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Developing Docs

Looking at running Docs in development mode.
Getting some sort of run time error? I'll narrow it down later.
TypeError: Cannot read properties of undefined (reading 'value') config.ts 10
@VividLemon How have you been a to run Docs Dev and if so what steps did you take?

Looking at running Docs in development mode.
Getting some sort of run time error? I'll narrow it down later.
TypeError: Cannot read properties of undefined (reading 'value') config.ts 10
@VividLemon How have you been a to run Docs Dev and if so what steps did you take?

When I was making the pnpm transition, I attempted to open the docs, and the same issue occurred. I was confused so I reverted back before those commits and was facing the same issue. I attempted to work out a fix, but could not figure it out. Oddly, building and publishing the docs works just fine.

Yeah I tried to remove everything except for the bare basics. No luck. Might be a path resolving issue. Attempted to run the command through several of the project directories without success.

You could try to look on their github if there's any issue like it, or post an issue

Didn’t see anything but I’m go to rebuild the directory structure like you said and go from there


May I request for training code used for omeganet?

Hello,
I have some doubts in creating a training file, can I request you for then train.py file!

@AlessioTonioni  any update on this thread??


remove haskell-language-server

This is best installed via ghcup, which is not supported.

@mason-org/triage notify(Reason::NewPullRequest)
This comment ensures a notification is delivered to maintainers.
 🤖 This is an automated comment.    📖 Source code


How do you fix max_steps of adaptive solver ?

Hello,
I am trying to understand the inner workings of the code, more specifically how you handle the maximum number of steps in a bounded while loop for an adaptive solver.
I understand that you bound the number of step with the length of the time array, hence: max_step = int((t1-t0)/min_step_size)
https://github.com/patrick-kidger/diffrax/blob/2c538af25d403d64df0361e254e85a85fed71246/diffrax/integrate.py#L311
Is my understanding correct ? That this is the maximum number of steps that can be performed ?
If yes, why is this the case ? I don't know what the right upper bound is, but I can imagine that this one might not work. For example if many steps are rejected, we could require more steps than max_step.
Thank you very much for any input !
Best

Hey there. So the code you've highlighted actually does something else: this part is just about saving the output of the model, and is unrelated to the number of integration steps taken.
The actual maximum number of integration steps is the value passed as diffeqsolve(..., max_steps=...). By default this is 4096, but you can change this value.
As a general rule you should use the smallest value of max_steps that works for your problem. For technical reasons, the cost of the differential equation solve increases every time max_steps passes a power of 16. The default 4096=16^3. (If you want you can also pass max_steps=None, but this disables backpropagation.)
Does that make sense?

Hey there. So the code you've highlighted actually does something else: this part is just about saving the output of the model, and is unrelated to the number of integration steps taken.

Oops ok , thanks for the clarification !

Does that make sense?

It does, thank you !
I have a follow up question if that's ok. In the case of DiscretiseThenOptimise, for an adaptive solver, you use a bounded while loop that you bound with 4096 by default (the maxstep value passed in diffeqsolve).
And for the case of OptimiseThenDiscretise, how do you do it exactly ? Do you also use a bounded while loop ? I would say there is no need to bound the loop since we are already defining the backward in the vjp. But it would definitely be useful to bound it and have some guarantee on the execution time, no ? I admit I am a bit confused here.
Thank you very much for the help :)

When using optimise-then-discretise. From an algorithmic standpoint, we use a while loop that may or may not have a bound, depending on whether or not max_steps=None or max_steps=<some integer>. So indeed the bound isn't necessary, but nonetheless the max_steps setting is respected if it passed.
From a JAX-code-standpoint, we use a jax.lax.while_loop, rather than a diffrax.misc.bounded_while_loop. (With a max step condition if necessary.) Since reverse-mode autodifferentiation directly through the loop isn't required, then compilation is more efficient using a plain while_loop.

Understood ! Thanks a lot for the clarification !


Adding a document with default data

Discussed in https://github.com/tinacms/tinacms/discussions/2230

Originally posted by tbenbow November 11, 2021
How should I define default data when creating a new document with the "Add Document" modal?
I tried using the defaultItem property in my template but my new markdown document for my post only has a single property "_template: post" - it doesn't add the defaultItem data I define.
Here is my schema...
export default defineSchema({
  collections: [
    {
      label: "Posts",
      name: "posts",
      path: "content/posts",
      templates: [ post ]
    },
  ],
});

And here is the post template I am importing...
export const post: TinaTemplate = {
    name: "post",
    label: "Post",
    ui: {
      defaultItem: {
        title: "The Title",
      },
    },
    fields: [
      {
        type: "string",
        label: "Title",
        name: "title",
      }
    ]
}
```</div>

For collections with multiple templates will need to include the _template key:
              ui: {
                defaultItem: {
                  posts: [
                    {
                      _template: "blog_post",
                      image: "http://placehold.it/300x200",
                      title: "Hello, World",
                      desc: "Lorem ipsum dolor sit amet, ",
                    },
                  ],
                },
              },

Still relevant

Now that adding documents has been moved from the contextual editing view, to the "CMS" view, is this still important to users? (I'm not aware of this type of functionality in other CMS'). If they want to create a page with some prefilled content, they might instead just duplicate an existing page.
Previously, it was a hard requirement for us, (because the contextual page-preview would blow up without any required fields).


Honeybee_Schedules_Creation

@AntonelloDN you don't need to send a pull request. Once you update it on your fork Hydra will pick it up and updates it in the main page. It's already there!

Hi @mostaphaRoudsari ,
I'm sorry about that. Thanks for your explanation.
Best
Antonello


Migrate "Lifecycle: Data Plane - GA SDK Release Readiness" to Eng Hub

https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/693/Lifecycle-Data-Plane-GA-SDK-Release-Readiness

Completed.

@ladonnaq you still need to delete the content from the previous wiki and at the top include a link to the new wiki. See as an example: https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/10/Welcome-Service-Partners!
Also, the wiki has an aka.ms link that needs to be updated to the new documentation site
Reopening until that is done

Done - https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/693/Lifecycle-Data-Plane-GA-SDK-Release-Readiness


NIFI-11789: Support setting fragment.count on last FlowFile when Output Batch Size is set in ExecuteSQL processors

Summary
NIFI-11789 This PR changes AbstractExecuteSQL in order to attempt to try to set the fragment.count attribute on the "last" FlowFile to be committed to the session in onTrigger.  It introduces some extra concepts that aren't consistent with the intended design of ProcessSession, and currently doesn't work when the query returns multiple result sets. That would require the DB driver to support a handful of methods and configurations that not all of them do (notably Derby).
Perhaps it is too much outside the Process Session design principles to try and make this work. I a user NEEDS Output Batch Size it's because they have too much data to send downstream at once, which makes a downstream Merge seem like a moot point as the bottleneck would presumably show up there. Perhaps someone will do some performance metrics on how the two types of flows perform, one with Output Batch Size set and one without.
Until more discussion and pathfinding is done, this PR is in draft status.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[x] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@mattyb149 Can you elaborate on how this doesn't align/work with ProcessSession concepts?


Made thumbnail map zoomable, added map_observation action

Coverage decreased (-0.03%) to 90.594% when pulling 234bac0c589dafe9e64faf0d221c8e8108d4f240 on pellaea:zoom-thumbnail-map into 248019bfc2f37b00302d5fb133290c13d9a21138 on MushroomObserver:master.


🕴 0.5.1

Blocked by https://github.com/ashleygwilliams/cargo-generate/pull/205 for now.
@EverlastingBugstopper Is there an open discussion to know why those changes imply new alpha version, and not a fix version (for example 0.5.1, as you made before)?

Since https://github.com/ashleygwilliams/cargo-generate/pull/237 has been merged into master, I think that we can officialy launch 0.6.0 now.
https://github.com/ashleygwilliams/cargo-generate/pull/205 could be merged and used in another tag version.

sgtm!

i've pushed an update that removes #205 and adds #237 to the changelog - let me know if we think this should be 0.5.1 instead

@EverlastingBugstopper I would say that, as #237 introduces new versions of existing libraries, we are not safe from spotting bugs inherent to these libraries, which may introduce weird behavior(s) for cargo-generate...
Tag those changes can be a chance for us to debug in asking to reproduce in older version, and check the difference.
What do you think about this idea?

Tag those changes can be a chance for us to debug in asking to reproduce in older version, and check the difference.

im not sure what you mean here

Just a thing, should I update each MR merged with a milestone tag to 0.6.0 (or 0.5.1) to include them in the changelog?
To be honest, I don't really know how this works... is this automatic or do you have to update it by hand?

Tag those changes can be a chance for us to debug in asking to reproduce in older version, and check the difference.

im not sure what you mean here

I misunderstood your question actually... sorry.
I am ok with 0.5.1 :+1:

closing in favor of #246


EOL for cloud edition

This has reached the EOL and we no longer exist.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Plz review this.

since it's EOL, I turned off the whole section, rather than this one page.


fixed conf getUserInfo

What's the fix? There's technically no change, you just switched the quotes.

The Quotation from the Response lead to a wrong evaluation of the String, which lead to  an error message.

The Quotation from the Response lead to a wrong evaluation of the String, which lead to an error message.

Can't get it...
$ python
Python 3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> def get_user_info():
...     return {"email": "lalalaa"}
...
>>> f'You are using the development Server with your default account: {get_user_info()["email"]}'
'You are using the development Server with your default account: lalalaa'
>>> f"You are using the development Server with your default account: {get_user_info()['email']}"
'You are using the development Server with your default account: lalalaa'
>>>


Is bolthold practical for time series?

Hi, I'm considering using bolthold for time series data. Ideally, with a time series database, you can filter data by a time range and quickly pull out the data you want with having to query over the entire bucket. If I was building on boltdb directly, I could do something like create separate buckets for each week of the year or something. Do you have any thoughts if it is practical to store time series data using bolthold?
The application for this is simple setups where we are storing data from a handful of sensors over the course of years on an embedded Linux system, where we can't justify something heavier like influxdb. I think there is also an application for some http://simpleiot.org installations where someone wants to set up an instance to log data from a handful of sensors without messing with a separate DB.

Whether your in Bolt or BoltHold, if your Key value is time.Time, it should allow you to query ranges without having to read the entire bucket, as Bolt supports Seeking, and BoltHold utilizes that in range queries.

@timshannon thanks for the information -- that sounds like a good fit then for what I need.

I ran into problems using a Gob encoded Time.time for key, as it does not seem like they were always sequential with time. A bolt Seek does not always take me to where I want to go in the data sequence. I did not have time to investigate the reason, but ended up dropping down into bolt for this task and used a time.UnixNano int64 as the key -- that seems to be working fairly well.
I do have a question -- does bolthold encode int64's using the default gob encoder, or does it do a simpler big-endian conversion to bytes. The later might be useful in cases like this.

Bolthold encodes the data however you want.  Be default it's Gob encoding, but you can use JSON, or MSGPack or your own custom binary encoding.

I ended up encoding the time in the key using:
tNano := t.UnixNano()
b := make([]byte, 8)
binary.BigEndian.PutUint64(b, uint64(tNano))

This encodes the time in big endian format so will be sequential as time increases in the DB, then bolt naturally sorts the time for you and Seek() works.
I then just used gob encoding for the sample value, so ended up using different encoding for key and value.
This is very simple and allows bolt to be used as a low end time series database. My interest in TSDs are not system that can scale out to billions devices with 100,000 writes/sec, but rather easy to install systems that can be run on IoT edge devices (Embedded Linux), or simple IoT backend apps that can service several thousand devices.


Visualization of Spherical Descriptors on Mesh

Hi,
I was trying to visualize the spherical descriptors on a mesh. I tried to only visualize spherical descriptors with l >= 10 (higher frequency descriptors) by mapping the vertex to neighboring spherical samples and then normalize the sum of the weights over all vertices for frequencies l >= 10. Is it possible for you to confirm if what I am getting is in line to what you would expect?
[I am running the descriptor code with standard parameters and --noCQ]

I'm afraid it is unclear to me what you are doing so I can't really say if the results seem reasonable.

Hi,
Sorry if it seems confusing but I was trying to map out the SHT coefficients I get to the actual mesh. I try to take the sum of only higher frequency SHTs so as to map which portion of actual mesh has more detail and which has lower detail (running hypothesis being - higher frequency SHTs will have a higher sum where the geometry has more detail)

Still somewhat confused. Given a shape, you obtain a representation of it a spherical function. How do you get the mapping from mesh vertices to the sphere (where I am assuming you then sample the function)?

Oh I get the confusion now. So, I take the distance of the vertex from the shape's bounding box's center and then using this radius I try to identify between which spheres it lies. Say during our calculation we took 32 spheres, we know all of them have their center at the center of the bounding box and each spherical sample's radius. I use this information and identify the closest sphere.
A point x lies between sphere sample 11 and 12. I then use linear interpolation using distance of x from 11th and 12th sphere's surface and calculate the spherical harmonic weight for the vertex x.

I think I see.
In that case, I'm not sure the visualization makes sense.
The implicit representation is a GEDT -- a function in 3D that is one at the surface and falls off (as a Gaussian) with distance.
If you sample it at points on the surface, you should get a function that is constantly equal to one.

Hi,
Thank you for bearing with me till this point. I think I might be making the wrong impression, I am not trying to sum the SHT itself rather the weight of the SHTs that is given by the code assuming higher detailed surface will have higher weights for higher order SHTs. I then do something that is drawn below. I don't think it will be constantly one then right? given SHTs are GEDT not the weight itself.

What does "the weight of the SHT" refer to?
Also, the spherical harmonic coefficients are not associated with any particular point in space, so how do you assign values to individual vertices based on the  coefficients?

I was assuming that the descriptors produced by ShapeDescriptor.cpp, which I refer to as weights, can be evaluated based on their radius. Although the coefficients may not correspond to a specific point on the mesh, the features of each vertex contribute to the nearest sphere. Therefore, if I map these coefficients back onto all the vertices within the sphere’s radius, I can gain a positional understanding of how the descriptors vary across the mesh.
Am I wrong in assuming the above?

It doesn't really make much sense to me.
If I understand correctly, two vertices at the same distance from the origin will be assigned the same weights.
So what the visualization is (mostly) encoding is the distance of vertices from the origin.
It sounds like you want more (e.g. something about the frequency of the geometry) but that's not really being captured. (And certainly not in a localized sense in that the frequency is an integrated quantity over the entire sphere so that you would be encoding the frequency content at that radius, not at that vertex.)

Makes sense. Thank you for bearing with me on this!

No problem.
It may be the case that what you're looking is per-vertex estimation of curvature. Packages like LibIGL may compute that for you.


fix: dont populate user namespaces in authz in migrations

Fixes the long-running migrations by moving the data loading in the background jobs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

68 of 80 (85.0%)  changed or added relevant lines in 8 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 90.694%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bases/renku_data_services/background_jobs/config.py
6
7
85.71%

components/renku_data_services/namespace/orm.py
7
8
87.5%

components/renku_data_services/authz/authz.py
7
11
63.64%

bases/renku_data_services/background_jobs/utils.py
32
38
84.21%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/crc/db.py
1
87.05%

components/renku_data_services/crc/blueprints.py
2
89.17%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
8128

Relevant Lines:
8962

💛  - Coveralls

Deployed over at https://github.com/SwissDataScienceCenter/renku/pull/3649


didSelectDate not called when tapping on selectedDate

I need a way to call a segue when didSelectDate is called. This works fine for all dates except for when I need to tap on the day that is currently the selectedDate. Seems didSelectDate is not called in this circumstance.
Thank you

Why can't you call a segue when the date is selected for the first time

I have a VC that segues over to the FSCalendar VC. I set the selectedDate during that segue so that the new date is selected. However, I need a way to allow the user to go back to the same day. Makes sense that they should be able to tap and select that day too.

You are right about this. I'll fix this.

Fixed this in '1.1.2'

Fantastic job!


Added numeric literal support for bounded ints.

Minor usage in integer_test.

Stack:

#5457
#5455 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

corelib/src/test/integer_test.cairo line 1925 at r1 (raw file):

    type OneMinusPToZero = BoundedInt<ONE_MINUS_P, 0>;

    fn bi_const<const V: felt252>() -> SingleInt<V> {

Why is this function needed?
Code quote:
bi_const


When preset is to the current preset, if still asks me to delete

start with microshift preset
change to openshift preset
answer 'cancel' to the preset changed dialog
change back to microshift
still get the change dialog while this is the same as the current (running) preset

I guess
https://github.com/crc-org/crc-extension/blob/f975968de77c148687b4165332c7e2d244b0ff73/src/preferences.ts#L147-L148
let needRecreateCrc = false;
is not properly set.

Added:
  // check for recreate need based on current status too
  if (currentStatus.Preset !== newConfig.preset) {
    console.log("Preset doesn't match. Need to recreate");
    needRecreateCrc = true;
    needRefreshConfig = true;
  }
  else {
    console.log("Preset matches. No need to recreate");
    needRecreateCrc = false;
    needRefreshConfig = true;
  }

but experienced issues with a crashing VM/sshd inside the VM.

Fixed in v1.0.3


Improve policy_governance_info metric RBAC tests

In newer versions of Kubernetes, tokens are not automatically created
for all service accounts. Therefore, the tests might need to manually
create the tokens for the service accounts it uses.
There is also a new test for users that should not have access to the
endpoint, whereas previously we only tested unauthenticated access.
Refs:

https://github.com/stolostron/backlog/issues/24075

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/hold still actually checking this on OCP 4.11

/unhold
Ok, now it should work on OCP 4.11 - I didn't realize that tokens don't automatically get added to the account's secrets list. We don't need it there anyway, we can just always create and use our own token.

/unhold

/cherry-pick release-2.5


chart-diff: Getting 'UNKNOWN -- REPORT THIS' flag in a chart-diff session

This is the chart-diff session: http://staging-site-unodc-2024/etl/wizard/chart-diff?show_all=
The charts didn't come up unless I selected 'Show all charts', so maybe something weird is going on?

Thanks for reporting this @spoonerf, it was indeed an UI bug. Could you please merge with master and try again?

Thanks @Marigold, that worked! I'll close this now.


Dev registry and custom-templates

Together with @JonSchapiro we discover a bug affecting the dev registry when running non-base templates
version used: 0.42 (I guess that this will affect all the version released after #710)
to reproduce:

oc init test-component oc-template-react
oc dev . 3030
navigate to http://localhost:3030/test-component/~info <= All should be ok here
it the component endpoint on the registry http://localhost:3030/test-component will result in an error claiming that oc-template-react was not found

Can you please include node version and npm version. This definitely doesn't happen with me

I can confirm with
node v6.11.3
npm v3.10.10
oc v0.42.1

as well as with
node 8.9.0
npm v4.6.1
oc v0.42.1

Both env resulting in the following error on step 4 of the mentioned steps to reproduce
{
  "code": "INTERNAL_SERVER_ERROR",
  "error": "Error requiring oc-template: \"oc-template-react\" not found",
  "name": "test-component",
  "requestVersion": ""
}

@nickbalestra is this still happening? I think our acceptance tests suite now covers this scenario. Should we close?


Release/0.1

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: sakthiskumar sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hey @sakthiskumar, we don't actually want to merge master into this release branch. Our plan for the release branch numbers is to bump the version whenever the VSCode version we depend on changes. There are changes in master that require 1.28, so to release these, we will update the version to 0.2 and create a new branch.


Front-end: Add to cart as a guest or a logged-in user

[ ] Able to add to cart as a logged in user with a previous cart
[ ] Able to add to cart as a logged in user with no previous cart
[ ] Able to add to cart as a guest

Bug: Refreshing browser makes set the store to an empty array


updated events flyout ui, unskip jest tests

Signed-off-by: Shenoy Pratik<EMAIL_ADDRESS>Description
Updated UI components of events flyout breaking due to eui update in 2.0
Unskipped panel jest tests
Issues Resolved
#630
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #638 (dd166dd) into main (c1138d0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #638   +/-   ##
=========================================
  Coverage     76.60%   76.60%
  Complexity      283      283
=========================================
  Files            38       38
  Lines          2154     2154
  Branches        228      228
=========================================
  Hits           1650     1650
  Misses          363      363
  Partials        141      141

Flag
Coverage Δ

opensearch-observability
76.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 c1138d0...dd166dd. Read the comment docs.


direct_space_state returns null when using godot 3d physics

Godot version:
3.2.1_stable
also in branch 3.2 - pulled from 56a513d70d 11 May 2020 at 08:55
OS/device including version:
MacOSX
Issue description:
get_world().direct_space_state
returns null when using godot 3d physics instead of bullet physics
Steps to reproduce:
Minimal reproduction project:

Create a 3D scene
Change 3d physics engine to Godot
Add the following script

extends Spatial

func _ready():
	print("ready")
	pass

func _process(delta):
	var space_state = get_world().direct_space_state
	var result = space_state.intersect_ray(Vector3(0, 0, 0), Vector3(50, 100, 0))

Script halts on a null pointer

As stated in the documentation the direct_space_state is only available in the _physics_process() loop.
That been said, for consistency, Bullet physics should be returning null too.

You're right. My bad, thanks for the help.

This might be relevant again, I'm getting null but only when I use Godot physics even if i try to get the direct space from _physics_process

@MightyPrinny Are you referring to  #38909?


Update from 4.0.0

Code looks good. I think we should add a section to the README which explains the Hive version support. You can probably just copy the header and first two bullet points from https://github.com/klarna/HiveRunner#hive-version-compatibility and then add this section inbetween "Maven Dependencies" and "JUnit5".

Something along these lines?


minimum and maximum keys are generated for ipv4 format property

value:
type: string
default: <IP_ADDRESS>
format: ipv4
minimum: 0
maximum:<PHONE_NUMBER>
When length is set on a property which format is ipv4 and type string the bundler is generating minimum and maximum keys.

length key shall be ignored in bundler for the formats ipv4, ipv6, mac and hex as it would cause an issue in snappi and gosnappi validation.
For string type the length shall be converted to minLength and maxLength

The bundler should enforce no length keywords (minLength, maxLength, minimum, maximum) on ipv4, ipv6 formats and fail accordingly with an appropriate error message for all invalid types at the end of generation.


Extension freezes when using Pylint and WSL

Note: A previous issue I made regarding this issue here was closed, and aeschli requested that I re-posted it here.
Since posting the original issue, I've disabled pylint and similar options which solves the freezing. I've recently enabled the PyLance extension to gain back the ability to follow references in large files using CTRL + CLICK and some basic syntax checking/auto importing. This seems to run fine, but enabling the default pylint functions results in freezing again.
I've also since upgraded VSCode a few times and I'm currently running the latest version:
[Window Title]
Visual Studio Code

[Main Instruction]
Visual Studio Code

[Content]

Version: 1.51.1 (user setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:34:32.027Z (2 days ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

[OK] [Copy]

I've since also upgraded to use Python 3.8 instead of Python 2.7, not sure if that matters but that might narrow down the search.
Original issue information:
Hard to reproduce, some days it freezes after a few seconds, sometimes after a few minutes, and sometimes it never freezes.
When i say freeze, I mean I can still edit, but I can't use the debugger (start/stop/jump in code), use git (extensions), type in the terminal/console window. Saving a file, depending on the size, takes a very long time (>5/10 seconds). Search in workspace/folders/files completely stops working, search in current/opened file(s) still works.
Rebooting PC does not help usually. It's very, very random and sometimes it can last an entire day (even with pc/vscode restarts), other times it can be gone after a few freezes, or sometimes it never happens.
Extension version: 0.42.4
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.4.0-19041-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (19.06GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.4.0-19041-Microsoft

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3701)

Memory (System)
31.93GB (19.06GB free)

VM
0%

Hi @TomGrobbe, thank you for reaching out.
Do you happen to know which pylint features cause the freeze? Which version of pylint do you use?
Could you also copy here the content of the Python Output panel?
Thanks!

As for the settings, default settings after installing VSCode and the Python extension, then enabling:
"python.linting.enabled": true causes this after a short while.
It's mainly when editing files with >10k lines of code. it works fine for a few edits and saves, but starts to lag and finally freeze completely after editing and saving each edit for a few minutes.
I believe it was worse when "python.linting.lintOnSave": true, is enabled.
It's hard to provide proper repro steps because it seems to be a somewhat random issue, that just "happens" after some time.
And the code I work with is private, so I'm not able to share the code unfortunately.
The Outline panel seems to load forever (usually a few minutes of just idling makes it finally load, but as soon as you edit some code and save it, it re-scans the document and it's gone again).

Python output panel
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaa'
Error 2020-11-18 17:44:38: stat() failed for "/mnt/c/WINDOWS/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps" [NoPermissions (FileSystemError) (FileSystemError): Error: EACCES: permission denied, stat '/mnt/c/WINDOWS/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps'
	at _handleError (/home/tom/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/out/vs/server/remoteExtensionHostProcess.js:755:259)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async b.pathExists (/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:9:154647)
	at async Promise.all (index 32)] {
  code: 'Unknown',
  name: 'NoPermissions (FileSystemError) (FileSystemError)'
}
> conda --version
> pyenv root
> python3.7 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
Error 2020-11-18 17:44:40: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://wsl+ubuntu-20.04/home/tom/.config/Code/User/settings.json' (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/home/tom/.config/Code/User/settings.json')
	at _handleError (/home/tom/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/out/vs/server/remoteExtensionHostProcess.js:754:838)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async y.readText (/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:9:152841)
	at async p.doesFileNeedToBeFixed (/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:39:469606)
	at async /home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:39:468733
	at async Promise.all (index 0)
	at async p.getFilesToBeFixed (/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:39:468679)
	at async p.updateTestSettings (/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/out/client/extension.js:39:468306)] {
  code: 'FileNotFound',
  name: 'EntryNotFound (FileSystemError)'
}
Python interpreter path: /usr/bin/python3
Starting Jedi Python language engine.
> conda --version
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/dashboard/crafter/crafter/models/models.py
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/dashboard/crafter/crafter/models/models.py
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import pylint"
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import pylint"
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import pylint"
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py -c "import pylint"
Error 2020-11-18 17:44:41: stderr jediProxy Error (stderr) /home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Linter 'pylint' is not installed. Please install it or select another linter".
Error: Module 'pylint' not installed.
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py autopep8 --diff --line-range 11794 11804 ~/dashboard/crafter/crafter/models/models.py
cwd: ~/dashboard
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/pyvsc-run-isolated.py autopep8 --diff --line-range 11794 11804 ~/dashboard/crafter/crafter/models/models.py
cwd: ~/dashboard
Error 2020-11-18 17:46:14: stderr jediProxy Error (stderr) /home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(
/home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2020-11-18 17:46:33: stderr jediProxy Error (stderr) /home/tom/.vscode-server/extensions/ms-python.python-2020.11.367453362/pythonFiles/completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

If you need anything else just let me know, and I'll try to get it for you.

It's mainly when editing files with >10k lines of code.

Sound like more of a performance issue with the extension than anything else, and sadly there's no quick fix for it, since the cleaner solution would be to refactor how we call external tools (https://github.com/microsoft/vscode-python/issues/14085, feel free to upvote it to help us prioritize it).
A couple of workarounds you can try could be to either change linter, or try running pylint separately in a terminal (although I suspect this might take a while too).
Closing in favour of #14085.

Sounds good. Using Pylance I've got the majority of the features that I was looking for anyway, so it's not a really big deal anymore. Thanks for looking into it though.

I have found the default Python helper experience in VS Code quite laggy and non-functional as well, and the scripts I'm working with are much shorter than 10k lines. It happens for me for scripts of all sizes, even only 100 lines or so. I am up to date with the main VS Code releases, running Remote Development on a local WSL2 distro. But the Python lag has been happening basically since I started using VS Code last year, with lots of different scripts, modules and environments.
So I suggest bearing in mind that this issue may affect many VS Code users who code in Python. It doesn't slow down actual editing operations, it just makes many nice VS Code features appear broken, like Ctrl-Click to go to definition, or auto-completing function names, or quick lookup of function parameters.
Switching to Pylance has made the experience much snappier, so it is now similar to the default VS Code JavaScript experience. Thanks @TomGrobbe for that recommendation!

Hi @yellowtailfan,
Glad to hear that Pylance works for you, especially since our team's development efforts have shifted to support it.

running Remote Development on a local WSL2 distro

Is there a reason why you're not using the Remote WSL extension?

Glad to hear that Pylance works for you, especially since our team's development efforts have shifted to support it.

Yes that’s great! I didn’t notice that Pylance was a Microsoft extension, and I found the extension description a bit confusing. But then I googled it and found the blog post saying it’s going to replace the default Python extension. Good news!

running Remote Development on a local WSL2 distro

Is there a reason why you're not using the Remote WSL extension?

Oh sorry, yes that’s what I’m doing. It works nicely, I’m very impressed with that extension.