NWM 1km LDAS rechunked dataset

NWM 1km reanalysis gridded output, rechunked for superior time series extraction

pre-commit.ci autofix

I got "push permission was denied -- perhaps the PR was made from an organization?".
Yep, it was.   I guess I'll close this PR and submit from my user account.

pre-commit.ci autofix

pre-commit.ci autofix

@rsignell-usgs based on cell [11] of your linked notebook, it looks like this variable is part of the original files, so it's just being passed through to the output dataset.
If you'd prefer to drop it, you can use a preprocessor function. A more complicated preprocessor is demonstrated here. In your case, it could be something like:

def preprocess(ds):
    return ds.drop("reference_time")

recipe = XarrayZarrRecipe(
    ...
    process_chunk=preprocess,
)

pre-commit.ci autofix

pre-commit.ci autofix

/run NWM-2.1-grid1km-LDAS-rechunked

@cisaacstern , I accepted your suggested changes (pretty cool!) and the recipe looks okay, but still failing.

pre-commit.ci autofix

@sharkinsspatial is this a recipe that your team could help out with, since it's 1) AWS, 2) NOAA ODD ?

/run NWM-2.1-grid1km-LDAS-rechunked


fix(Qwik City): Remove view-transition-name: none

To allow the browser to do its default transition without having to undo what Qwik does.
Closes #6067
Overview

What is it?

[ ] Feature / enhancement
[x] Bug
[ ] Docs / tests / types / typos

Description
Removes view-transition-name: none style. This prevents the page from doing standard crossfade unless the dev reverts this override. Can’t see a good reason to prevent standard browser behavior when you have to add a special meta tag to trigger it.
Use cases and why

You want the browser’s default view transition

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@brandonpittman I restarted the ubuntu test a few times, and it's consistently failing on scroll restoration. The weird thing is that macos is fine. Can you try running them locally? You can navigate to the e2e test page yourself to verify what's going on.

I'll just override the styles with an !important declaration.

@brandonpittman So you weren't able to adjust the tests?


Fixes Missing Reminders From Empty Caches

Blocked by python-discord/site#618.
See #1916 for more info. This PR shouldn't close that issue.
I updated the reminders cog to try and get around the issue with missing users in the cache during startup. To try and resolve that issue, I switched to fetching as a fallback if the user wasn't found. To avoid accidentally hammering the discord API with fetch requests at startup, I removed the validity checks from the init function, instead opting to only run the check during the send function. It doesn't cost much to fail the task later.

This is no longer blocked by python-discord/site#618 as its been merged!

Bumping this PR, would anyone like to take over? This is still in high priority.

In hindsight, the DB should have been modified to store the timestamp of the last send attempt rather than a count of failures. The latter approach is flawed because if the bot restarts immediately after failing, it will instantly try again rather than waiting.

Hmmm. Given #2080 should have fixed the original issue, I'm not sure what the benefit of this retry approach is any more.

Hmmm. Given #2080 should have fixed the original issue, I'm not sure what the benefit of this retry approach is any more.

It fixed it by doing away with the author check. This means it still sends the reminder even if the user left the server.

Hmmm. Given #2080 should have fixed the original issue, I'm not sure what the benefit of this retry approach is any more.

It fixed it by doing away with the author check. This means it still sends the reminder even if the user left the server.

Doesn't fetch_user still get the user if they're not on the server, so this would do the same? If we use get_or_fetch_member then it should only (and always as it isn't reliant on cache) return the member if they're on the server, so the retry logic wouldn't be necessary.

@wookie184 Yes, actually. I guess I don't know what the point is. @HassanAbouelela ?

This PR was written before that one and opted not to do away with the checks. If we don't care about the check anymore, then this is redundant.

I'm going to close this then. I don't see any benefit to checking the user if it can't reliably know whether they're in the guild.


Capture microservice logs with Zipkin

Circular reference issue
I get the following issue after adding zipkin client and sleuth to the challenge service and starting it:
on: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'tracingFilter' defined in class path resource [org/springframework/cloud/sleuth/instrument/web/TraceWebServletAutoConfiguration.class]: Unsatisfied dependency expressed through method 'tracingFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpTracing' defined in class path resource [org/springframework/cloud/sleuth/instrument/web/TraceHttpAutoConfiguration.class]: Unsatisfied dependency expressed through method 'httpTracing' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tracing' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/TraceAutoConfiguration.class]: Unsatisfied dependency expressed through method 'tracing' parameter 6; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'zipkinReporter' defined in class path resource [org/springframework/cloud/sleuth/zipkin2/ZipkinAutoConfiguration.class]: Unsatisfied dependency expressed through method 'reporter' parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration': Unsatisfied dependency expressed through field 'extractor'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration': Requested bean is currently in creation: Is there an unresolvable circular reference?
2023-01-16 03:57:38.953  INFO [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2023-01-16 03:57:38.957  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@17.0.4/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
 java.base@17.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
 java.base@17.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
 java.base@17.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.958  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Transport thread - 0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@17.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
 app//org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:343)
 app//org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
 app//org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.958  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Transport thread - 1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@17.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
 app//org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:255)
 app//org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
 app//org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.959  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Transport thread - 2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@17.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
 app//org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:255)
 app//org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
 app//org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.960  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Transport thread - 3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@17.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
 app//org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:255)
 app//org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
 app//org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.960  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Transport thread - 4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@17.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:118)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
 java.base@17.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
 app//org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:255)
 app//org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
 app//org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.961  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [Hibernate Search - default backend - Worker thread - 0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@17.0.4/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@17.0.4/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
 java.base@17.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
 java.base@17.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
 java.base@17.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
 java.base@17.0.4/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 java.base@17.0.4/java.lang.Thread.run(Thread.java:833)
2023-01-16 03:57:38.964  WARN [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
2023-01-16 03:57:38.965  INFO [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2023-01-16 03:57:38.986  INFO [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2023-01-16 03:57:38.994  INFO [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2023-01-16 03:57:39.029  INFO [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-01-16 03:57:39.056 ERROR [openchallenges-challenge-service,,,] 5842 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   :
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
   tracingFilter defined in class path resource [org/springframework/cloud/sleuth/instrument/web/TraceWebServletAutoConfiguration.class]
      ?
   httpTracing defined in class path resource [org/springframework/cloud/sleuth/instrument/web/TraceHttpAutoConfiguration.class]
      ?
   tracing defined in class path resource [org/springframework/cloud/sleuth/autoconfig/TraceAutoConfiguration.class]
      ?
   zipkinReporter defined in class path resource [org/springframework/cloud/sleuth/zipkin2/ZipkinAutoConfiguration.class]
???????
|  org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration (field org.springframework.cloud.sleuth.zipkin2.sender.ZipkinUrlExtractor org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration.extractor)
???????
Action:
Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.
BUILD SUCCESSFUL in 22s
4 actionable tasks: 2 executed, 2 up-to-date


/germany Endpoint is down again

As mentioned in the screenshot. Endpoint is /germany

Also districts (https://api.corona-zahlen.org/districts) and states(https://api.corona-zahlen.org/states/BY) are currently having problems


Abstraction layers needed in Settings and configuration file

Currently the configuration file does not appropriately abstract the queue.
               default_settings = {
                      "nats": {"host": NATS_HOST, "port": NATS_PORT},
                      "plugins": {
                          "shell": {"config": {}},
                          "All": {"default_working_directory": os.path.expanduser("~")},
                      },
                      "zmq": {"host": HOST, "port": ZMQ_PORT},
                      "rmq": {"host": RABBIT_HOST, "port": RABBIT_PORT},
                  }

Ideally we would have something more like this:
               default_settings = {
                      "queue": {
                          "nats": {
                             "host": NATS_HOST,
                             "port": NATS_PORT
                          },
                          "rmq": {
                            "host": RABBIT_HOST,
                            "port": RABBIT_PORT
                          },
                      },
                      "plugins": {
                          "shell": {"config": {}},
                          "All": {"default_working_directory": os.path.expanduser("~")},
                      },
                      "zmq": {"host": HOST, "port": ZMQ_PORT},
                  }

The same is probably also true for the agent to python API communication, currently, ZeroMQ has been picked but it would be better to have this abstracted a bit in the case of future changes. This follows the dependency injection principle of SOLID.

Removed alternative queue methods altogether, so removing.


Use package names in generated Verilog modules

Type of issue: feature request

Impact: unknown, depending on the resulting API change
In Scala/Java land we use packages to minimize possible name clashing. However, these package names are dropped from the Verilog module names. Would be nice to keep them (e.g., module package_ClassName). This is especially useful for mixed-language projects (e.g., Chisel code is not the top-level).

Basically, reason of this issue is Chisel generated Verilog doesn't include a namespace, and neither does Verilog support namespace.
This feature can be implemented by chipsalliance/firrtl#2200.
for fast work around, can override desiredName:
    def desiredName: String = {
      /* The default module name is derived from the Java reflection derived class name. */
      val baseName = this.getClass.getName

      /* A sequence of string filters applied to the name */
      val filters: Seq[String => String] = Seq(
        ((a: String) => raw"\$$+anon".r.replaceAllIn(a, "_Anon")) // Merge the "$$anon" name with previous name
      )

      filters
        .foldLeft(baseName){ case (str, filter) => filter(str) } // 1. Apply filters to baseName
        .split("\\.|\\$")                                        // 2. Split string at '.' or '$'
        .filterNot(_.forall(_.isDigit))                          // 3. Drop purely numeric names
        .mkString("_")                                                    // 4. Use scala package name as namespaces.
    }
  }


Audio input

We could theoretically have incoming audio flow through the tree graph in the same way as output is handled now, but that means the whole path of parent voices down to the root voice need to both actually receive input, and run their subvoices inlined. While this might be useful in some advanced scenarios, it's probably not what's needed in your average application.
A much simpler approach would be to add a unit "input" or similar, which directly grabs audio from the master audio interface that the root voice outputs to. All "input" units would see the same input normally. To regain probably the most interesting feature of the "proper" design outlined above, we might want some way of inserting a master input voice somewhere, that gets to process input audio before the normal graph processing begins.

Maybe call that input unit "xinput" instead, to avoid conflict with #328.


Interactive python takes way too long to load.

Issue Type: Bug
Problem description:
When trying to use the interactive python. vscode gets stuck on "Connecting to kernel" for 15 to 20 minutes if it ever passes that step.
Steps to reproduce it:

Open Vscode
Go to the folder where you have an python file
Try to run it with python interactive.  (#%%)

Expected behaviour:
The interactive window should open and show me the result within 1 to 2 minutes at most.
Actual behaviour:

The programs get stuck in connecting to kernel for more than 15 minutes or sometimes it does not get even pass that.
My computer gets significantly slow down. Opening chrome is impossible.
Closing VSCode does not improve the behaviour of my computer it need to be restarted to go back to normal.
VSCode also seems to be much slower than normal. It normally says 'Vscode has stopped responding."

Other Notes:

This behaviour started to happen on friday (Jun 24). It did not used to be this way
I have tried to solve it by:

re-installing vscode
deleting .vscode and code in app data then re-installing vscode
re-installing python
installing previous extensions of python and jupyter.

I have managed to get it back to normal on certain occasions (not sure how I did it. Have not been able to reproduce.) But opening a new folder or a new interactive window make the problem come back.

Extension version: 2022.4.1021342353
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (9.31GB free)

Process Argv
--crash-reporter-id bc07a159-76b5-487f-a220-9cad0eaf0199

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30515787
vsclangdf:30486550

Thanks for the issue,
What versions of these extensions do you have installed?

Jupyter Extension
Python Extension
Pylance Extension

This may be a dupe of https://github.com/microsoft/pylance-release/issues/2811. At least that would show these symptoms.

Oh wait I see that you have 2022.4.1021342353. You should definitely upgrade. VS code 1.68.1 is using a completely different API for talking with notebooks. The older version of the Jupyter extension may or may not work with it.

Well, I got another error. It was a timeout!
[Error]: Unable to start Kernel 'texture (Python 3.10.4)' due to connection timeout.
log.txt
I have attached the log for you to see. What else would you like me to try?
I also got another error (before trying these but with the updated extensions) saying "The connection to the terminal's pty host process is unresponsive, the terminals may stop working."

Python: v2022.8.0
Pylance: v2022.6.30
Jupyter Notebook Renderers: v1.0.8
Jupyter Keymap: v1.0.0
Jupyter: v2022.5.1001601848

Yep: This is what I did:
      Microsoft Windows [Version 10.0.19044.1766]
      (c) Microsoft Corporation. All rights reserved.

      E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>python

      E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>python

      E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>E:/Programs/anaconda3/Scripts/activate

      (base) E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>conda activate texture

      (texture) E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>E:\\PROGRAMS\\ANACONDA3\\ENVS\\TEXTURE\\PYTHON.EXE
      Python 3.10.4 | packaged by conda-forge | (main, Mar 30 2022, 08:38:02) [MSC v.1916 64 bit (AMD64)] on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> help
      Type help() for interactive help, or help(object) for help about object.
      >>> help()

      Welcome to Python 3.10's help utility!

      If this is your first time using Python, you should definitely check out
      the tutorial on the internet at https://docs.python.org/3.10/tutorial/.

      Enter the name of any module, ......

Additional Notes:
The commands above took around 10 minutes to execute. Whenever VS code is open my computer is super slow. Again this did not use to be the case.

Can you include the output of the 'Python' tab? It's failing to activate your environment. Not sure why.

Hi, this is all that I see. I am not sure which python tab you are referring to?

Notes:
to get to activate base, I needed to first disable pylance, jupyter, jupyter keymap and jupyter Notebook as VS code was simply not able to do anything. Then I re-enable them before running "E:\PROGRAMS\ANACONDA3\ENVS\TEXTURE\PYTHON.EXE"

Sorry but this tab:

Oh maybe that needs full logging. Can you set this setting to debug and try again?

Okay, I did the change. However, I think it looks exactly the same.
E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>"E:\PROGRAMS\ANACONDA3\ENVS\TEXTURE\PYTHON.EXE"
Python 3.10.4 | packaged by conda-forge | (main, Mar 30 2022, 08:38:02) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Experiment 'pythonaa' is active
Experiment 'pythonTensorboardExperiment' is active
Experiment 'PythonPyTorchProfiler' is active
LSP Notebooks experiment is disabled -- not in treatment group
> conda info --json
Python interpreter path: E:\Programs\anaconda3\python.exe
> E:\Programs\anaconda3\Scripts\conda.exe info --json
> E:\Programs\anaconda3\python.exe ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\interpreterInfo.py
> E:\Programs\anaconda3\condabin\conda.bat info --json
> E:\Programs\anaconda3\Scripts\conda.exe info --json
> E:\Programs\anaconda3\Scripts\conda.exe run -n base --no-capture-output python ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2022.8.0/pythonFiles/printEnvVariables.py
> E:\Programs\anaconda3\envs\Texture-2\python.exe ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\interpreterInfo.py
> E:\Programs\anaconda3\envs\texture\python.exe ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\interpreterInfo.py
Starting Pylance language server.

Are there any more people reporting this error?

Are there any more people reporting this error?

No. But conda environment failure is a recurring issue. That may not be the root cause of the problem though. It looks to me like python is able to retrieve the conda information just fine.

Here it is.
I ran it in the Anaconda Prompt & in VS code command prompt.
Anaconda Prompt
(texture) C:\Users\Asus>e:\Programs\anaconda3\envs\texture\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"9a47085e-8771-441e-9f9e-821aa097e9da" --shell=9002 --transport="tcp" --iopub=9004 --f=c:\Users\Asus\AppData\Roaming\jupyter\runtime\kernel-v2-23348UsX03lVAvhe6.json
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing c:\Users\Asus\AppData\Roaming\jupyter\runtime\kernel-v2-23348UsX03lVAvhe6.json

VS code command prompt
(texture) E:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features>e:\Programs\anaconda3\envs\texture\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"9a47085e-8771-441e-9f9e-821aa097e9da" --shell=9002 --transport="tcp" --iopub=9004 --f=c:\Users\Asus\AppData\Roaming\jupyter\runtime\kernel-v2-23348UsX03lVAvhe6.json
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing c:\Users\Asus\AppData\Roaming\jupyter\runtime\kernel-v2-23348UsX03lVAvhe6.json

The reason why ask is that one of my labmates mentioned that his interactive python has also stopped working. I wonder if it is any update.

Here is the python output in VS code:
Experiment 'pythonaa' is active
Experiment 'pythonTensorboardExperiment' is active
Experiment 'PythonPyTorchProfiler' is active
[DEBUG 2022-5-29 15:8:16.990]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_E:\\DOCUMENTS\\MY WORK SPACE\\WORK\\GRADUATE SCHOOL\\SOFTWARE\\PYTHON\\SEA-ICE-TEXTURE-FEATURES"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:16.994]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_E:\\DOCUMENTS\\MY WORK SPACE\\WORK\\GRADUATE SCHOOL\\SOFTWARE\\PYTHON\\SEA-ICE-TEXTURE-FEATURES"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:16.994]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_E:\\DOCUMENTS\\MY WORK SPACE\\WORK\\GRADUATE SCHOOL\\SOFTWARE\\PYTHON\\SEA-ICE-TEXTURE-FEATURES"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:16.995]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-e:\\Documents\\My Work Space\\Work\\Graduate School\\Software\\Python\\Sea-Ice-texture-features"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:17.233]: Testing: Setting up watcher for e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features
LSP Notebooks experiment is disabled -- not in treatment group
[DEBUG 2022-5-29 15:8:17.243]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-e:\\Documents\\My Work Space\\Work\\Graduate School\\Software\\Python\\Sea-Ice-texture-features"-Arg-Separator-undefined
[INFO 2022-5-29 15:8:17.245]: [
  'Display locator refreshing progress, Class name = g, completed in 1ms, has a falsy return value, , Return Value: undefined'
]
[DEBUG 2022-5-29 15:8:17.250]: Searching for conda.
[INFO 2022-5-29 15:8:17.250]: [
  'Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[DEBUG 2022-5-29 15:8:17.936]: Probing conda binary: conda
[DEBUG 2022-5-29 15:8:17.952]: Searching for workspace virtual envs in: e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features
[DEBUG 2022-5-29 15:8:17.953]: Getting roots
[DEBUG 2022-5-29 15:8:17.953]: Found roots
> conda info --json
[DEBUG 2022-5-29 15:8:18.83]: Failed to spawn conda binary conda [Error: spawn conda ENOENT
	at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
	at onErrorNT (node:internal/child_process:477:16)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn conda',
  path: 'conda',
  spawnargs: [ 'info', '--json' ]
}
[DEBUG 2022-5-29 15:8:18.85]: Searching for workspace virtual envs in: e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features
Python interpreter path: E:\Programs\anaconda3\python.exe
[DEBUG 2022-5-29 15:8:18.475]: Getting roots
[DEBUG 2022-5-29 15:8:18.480]: Found roots
[DEBUG 2022-5-29 15:8:18.481]: Start watching root e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features for globs ["python.exe","*/python.exe","*/Scripts/python.exe"]
[DEBUG 2022-5-29 15:8:18.481]: Start watching: e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features with pattern python.exe using VSCode API
[DEBUG 2022-5-29 15:8:18.482]: Start watching: e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features with pattern */python.exe using VSCode API
[DEBUG 2022-5-29 15:8:18.482]: Start watching: e:\Documents\My Work Space\Work\Graduate School\Software\Python\Sea-Ice-texture-features with pattern */Scripts/python.exe using VSCode API
[INFO 2022-5-29 15:8:18.482]: Environments added to cache [{"name":"base","location":"E:\\Programs\\anaconda3","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\python.exe","sysPrefix":"E:\\Programs\\anaconda3","ctime":1656341834962,"mtime":1649068530000},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"ContinuumAnalytics","defaultDisplayName":"Anaconda 2022.05"},"source":["windows registry"],"id":"E:\\PROGRAMS\\ANACONDA3\\PYTHON.EXE","detailedDisplayName":"Python 3.9.12 ('base': conda)"},{"name":"Texture-2","location":"E:\\Programs\\anaconda3\\envs\\Texture-2","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\envs\\Texture-2\\python.exe","sysPrefix":"E:\\Programs\\anaconda3\\envs\\Texture-2","ctime":1656341834962,"mtime":1649068530000},"display":"Python 3.9.12 ('Texture-2')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"id":"E:\\PROGRAMS\\ANACONDA3\\ENVS\\TEXTURE-2\\PYTHON.EXE","detailedDisplayName":"Python 3.9.12 ('Texture-2': conda)"},{"name":"texture","location":"E:\\Programs\\anaconda3\\envs\\texture","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\envs\\texture\\python.exe","sysPrefix":"E:\\Programs\\anaconda3\\envs\\texture","ctime":1656339812901,"mtime":1648647532000},"display":"Python 3.10.4 ('texture')","version":{"major":3,"minor":10,"micro":4,"release":{"level":"final","serial":0},"sysVersion":"3.10.4 | packaged by conda-forge | (main, Mar 30 2022, 08:38:02) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"id":"E:\\PROGRAMS\\ANACONDA3\\ENVS\\TEXTURE\\PYTHON.EXE","detailedDisplayName":"Python 3.10.4 ('texture': conda)"}]
[DEBUG 2022-5-29 15:8:25.947]: Shell path '', base path ''
[DEBUG 2022-5-29 15:8:25.947]: Shell path identified as shell 'other'
[DEBUG 2022-5-29 15:8:25.947]: Terminal name '' identified as shell 'other'
[DEBUG 2022-5-29 15:8:25.947]: [object Object]. Shell identified as other (Terminal name is )
[DEBUG 2022-5-29 15:8:25.947]: [object Object]. Shell identified as undefined (Terminal name is )
[DEBUG 2022-5-29 15:8:25.948]: Shell path from user settings 'null'
[DEBUG 2022-5-29 15:8:25.948]: [object Object]. Shell identified as other (Terminal name is )
[DEBUG 2022-5-29 15:8:25.948]: Shell path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe', base path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell'
[DEBUG 2022-5-29 15:8:25.948]: Shell path identified as shell 'powershell'
[DEBUG 2022-5-29 15:8:25.948]: Shell path from user env 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe'
[DEBUG 2022-5-29 15:8:25.948]: [object Object]. Shell identified as powershell (Terminal name is )
[DEBUG 2022-5-29 15:8:25.949]: Shell identified as 'powershell'
[DEBUG 2022-5-29 15:8:27.144]: Probing conda binary: E:\Programs\anaconda3\Scripts\conda.exe
[DEBUG 2022-5-29 15:8:27.144]: Cached data exists getEnvironmentVariables, <No Resource>
> E:\Programs\anaconda3\Scripts\conda.exe info --json
[DEBUG 2022-5-29 15:8:30.12]: Cached data exists getEnvironmentVariables, <No Resource>
> E:\Programs\anaconda3\python.exe ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[INFO 2022-5-29 15:8:31.980]: Found interpreter for E:\Programs\anaconda3\python.exe,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[DEBUG 2022-5-29 15:8:32.273]: Shell path '', base path ''
[DEBUG 2022-5-29 15:8:32.273]: Shell path identified as shell 'other'
[DEBUG 2022-5-29 15:8:32.273]: Terminal name '' identified as shell 'other'
[DEBUG 2022-5-29 15:8:32.273]: [object Object]. Shell identified as other (Terminal name is )
[DEBUG 2022-5-29 15:8:32.273]: Shell path 'C:\WINDOWS\System32\cmd.exe', base path 'C:\WINDOWS\System32\cmd'
[DEBUG 2022-5-29 15:8:32.273]: Shell path identified as shell 'commandPrompt'
[DEBUG 2022-5-29 15:8:32.273]: Terminal shell path 'C:\WINDOWS\System32\cmd.exe' identified as shell 'commandPrompt'
[DEBUG 2022-5-29 15:8:32.273]: [object Object]. Shell identified as commandPrompt (Terminal name is )
[DEBUG 2022-5-29 15:8:32.274]: Shell identified as 'commandPrompt'
[DEBUG 2022-5-29 15:8:39.919]: conda info --json: {
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "E:\\Programs\\anaconda3\\etc\\conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://repo.anaconda.com/pkgs/main/win-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/win-64",
    "https://repo.anaconda.com/pkgs/r/noarch",
    "https://repo.anaconda.com/pkgs/msys2/win-64",
    "https://repo.anaconda.com/pkgs/msys2/noarch"
  ],
  "conda_build_version": "3.21.8",
  "conda_env_version": "4.13.0",
  "conda_location": "E:\\Programs\\anaconda3\\lib\\site-packages\\conda",
  "conda_prefix": "E:\\Programs\\anaconda3",
  "conda_private": false,
  "conda_shlvl": -1,
  "conda_version": "4.13.0",
  "config_files": [
    "C:\\Users\\Asus\\.condarc"
  ],
  "default_prefix": "E:\\Programs\\anaconda3",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CONDA_ROOT": "E:\\Programs\\anaconda3",
    "CURL_CA_BUNDLE": "<not set>",
    "GENICAM_GENTL64_PATH": "C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\GenICam\\bin\\win64_x64\\TLIs",
    "HOMEPATH": "\\Users\\Asus",
    "PATH": "C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;E:\\Programs\\Matlab\\R2020d\\runtime\\win64;E:\\Programs\\Matlab\\R2020d\\bin;E:\\Programs\\MATLAB R2020a\\runtime\\win64;E:\\Programs\\MATLAB R2020a\\bin;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;E:\\Programs\\Inkscape\\bin;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\;C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\Qt\\;C:\\Users\\Asus\\anaconda3\\Scripts;C:\\Program Files\\Git\\cmd;E:\\Programs\\CMake\\bin;C:\\Users\\Asus\\AppData\\Local\\Microsoft\\WindowsApps;E:\\Programs\\Microsoft VS Code\\bin",
    "PSMODULEPATH": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
    "PYTHONIOENCODING": "utf-8",
    "PYTHONUNBUFFERED": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>",
    "VSCODE_CODE_CACHE_PATH": "C:\\Users\\Asus\\AppData\\Roaming\\Code\\CachedData\\30d9c6cd9483b2cc586687151bcbcd635f373630",
    "VXIPNPPATH": "C:\\Program Files (x86)\\IVI Foundation\\VISA\\"
  },
  "envs": [
    "E:\\Programs\\anaconda3",
    "E:\\Programs\\anaconda3\\envs\\Texture-2",
    "E:\\Programs\\anaconda3\\envs\\texture"
  ],
  "envs_dirs": [
    "E:\\Programs\\anaconda3\\envs",
    "C:\\Users\\Asus\\.conda\\envs",
    "C:\\Users\\Asus\\AppData\\Local\\conda\\conda\\envs"
  ],
  "is_windows_admin": false,
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "E:\\Programs\\anaconda3\\pkgs",
    "C:\\Users\\Asus\\.conda\\pkgs",
    "C:\\Users\\Asus\\AppData\\Local\\conda\\conda\\pkgs"
  ],
  "platform": "win-64",
  "python_version": "3.9.12.final.0",
  "rc_path": "C:\\Users\\Asus\\.condarc",
  "requests_version": "2.27.1",
  "root_prefix": "E:\\Programs\\anaconda3",
  "root_writable": true,
  "site_dirs": [
    "C:\\Users\\Asus\\AppData\\Roaming\\Python\\Python37",
    "C:\\Users\\Asus\\AppData\\Roaming\\Python\\share"
  ],
  "sys.executable": "E:\\Programs\\anaconda3\\python.exe",
  "sys.prefix": "E:\\Programs\\anaconda3",
  "sys.version": "3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]",
  "sys_rc_path": "E:\\Programs\\anaconda3\\.condarc",
  "user_agent": "conda/4.13.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044",
  "user_rc_path": "C:\\Users\\Asus\\.condarc",
  "virtual_pkgs": [
    [
      "__cuda",
      "11.7",
      "0"
    ],
    [
      "__win",
      "0",
      "0"
    ],
    [
      "__archspec",
      "1",
      "x86_64"
    ]
  ]
}

[DEBUG 2022-5-29 15:8:39.920]: Cached data exists getEnvironmentVariables, <No Resource>
> E:\Programs\anaconda3\condabin\conda.bat info --json
[DEBUG 2022-5-29 15:8:47.110]: conda info --json: {
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "E:\\Programs\\anaconda3\\etc\\conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://repo.anaconda.com/pkgs/main/win-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/win-64",
    "https://repo.anaconda.com/pkgs/r/noarch",
    "https://repo.anaconda.com/pkgs/msys2/win-64",
    "https://repo.anaconda.com/pkgs/msys2/noarch"
  ],
  "conda_build_version": "3.21.8",
  "conda_env_version": "4.13.0",
  "conda_location": "E:\\Programs\\anaconda3\\lib\\site-packages\\conda",
  "conda_prefix": "E:\\Programs\\anaconda3",
  "conda_private": false,
  "conda_shlvl": -1,
  "conda_version": "4.13.0",
  "config_files": [
    "C:\\Users\\Asus\\.condarc"
  ],
  "default_prefix": "E:\\Programs\\anaconda3",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CONDA_EXE": "E:\\Programs\\anaconda3\\condabin\\..\\Scripts\\conda.exe",
    "CONDA_EXES": "\"E:\\Programs\\anaconda3\\condabin\\..\\Scripts\\conda.exe\"  ",
    "CONDA_ROOT": "E:\\Programs\\anaconda3",
    "CURL_CA_BUNDLE": "<not set>",
    "GENICAM_GENTL64_PATH": "C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\GenICam\\bin\\win64_x64\\TLIs",
    "HOMEPATH": "\\Users\\Asus",
    "PATH": "E:\\Programs\\anaconda3;E:\\Programs\\anaconda3\\Library\\mingw-w64\\bin;E:\\Programs\\anaconda3\\Library\\usr\\bin;E:\\Programs\\anaconda3\\Library\\bin;E:\\Programs\\anaconda3\\Scripts;E:\\Programs\\anaconda3\\bin;C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;E:\\Programs\\Matlab\\R2020d\\runtime\\win64;E:\\Programs\\Matlab\\R2020d\\bin;E:\\Programs\\MATLAB R2020a\\runtime\\win64;E:\\Programs\\MATLAB R2020a\\bin;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;E:\\Programs\\Inkscape\\bin;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\;C:\\Program Files\\STEMMER IMAGING\\Common Vision Blox\\Qt\\;C:\\Users\\Asus\\anaconda3\\Scripts;C:\\Program Files\\Git\\cmd;E:\\Programs\\CMake\\bin;C:\\Users\\Asus\\AppData\\Local\\Microsoft\\WindowsApps;E:\\Programs\\Microsoft VS Code\\bin",
    "PSMODULEPATH": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
    "PYTHONIOENCODING": "utf-8",
    "PYTHONUNBUFFERED": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>",
    "VSCODE_CODE_CACHE_PATH": "C:\\Users\\Asus\\AppData\\Roaming\\Code\\CachedData\\30d9c6cd9483b2cc586687151bcbcd635f373630",
    "VXIPNPPATH": "C:\\Program Files (x86)\\IVI Foundation\\VISA\\"
  },
  "envs": [
    "E:\\Programs\\anaconda3",
    "E:\\Programs\\anaconda3\\envs\\Texture-2",
    "E:\\Programs\\anaconda3\\envs\\texture"
  ],
  "envs_dirs": [
    "E:\\Programs\\anaconda3\\envs",
    "C:\\Users\\Asus\\.conda\\envs",
    "C:\\Users\\Asus\\AppData\\Local\\conda\\conda\\envs"
  ],
  "is_windows_admin": false,
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "E:\\Programs\\anaconda3\\pkgs",
    "C:\\Users\\Asus\\.conda\\pkgs",
    "C:\\Users\\Asus\\AppData\\Local\\conda\\conda\\pkgs"
  ],
  "platform": "win-64",
  "python_version": "3.9.12.final.0",
  "rc_path": "C:\\Users\\Asus\\.condarc",
  "requests_version": "2.27.1",
  "root_prefix": "E:\\Programs\\anaconda3",
  "root_writable": true,
  "site_dirs": [
    "C:\\Users\\Asus\\AppData\\Roaming\\Python\\Python37",
    "C:\\Users\\Asus\\AppData\\Roaming\\Python\\share"
  ],
  "sys.executable": "E:\\Programs\\anaconda3\\python.exe",
  "sys.prefix": "E:\\Programs\\anaconda3",
  "sys.version": "3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]",
  "sys_rc_path": "E:\\Programs\\anaconda3\\.condarc",
  "user_agent": "conda/4.13.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044",
  "user_rc_path": "C:\\Users\\Asus\\.condarc",
  "virtual_pkgs": [
    [
      "__cuda",
      "11.7",
      "0"
    ],
    [
      "__win",
      "0",
      "0"
    ],
    [
      "__archspec",
      "1",
      "x86_64"
    ]
  ]
}

[DEBUG 2022-5-29 15:8:47.110]: Found conda via filesystem probing: E:\Programs\anaconda3\Scripts\conda.exe
[DEBUG 2022-5-29 15:8:47.111]: Cached data exists KeyPrefix=Cache_Method_Output_y.getInfoImpl-Args="E:\\Programs\\anaconda3\\Scripts\\conda.exe"
[DEBUG 2022-5-29 15:8:47.111]: Searching for conda environments using E:\Programs\anaconda3\Scripts\conda.exe
[DEBUG 2022-5-29 15:8:47.111]: Cached data exists KeyPrefix=Cache_Method_Output_y.getInfoImpl-Args="E:\\Programs\\anaconda3\\Scripts\\conda.exe"
[DEBUG 2022-5-29 15:8:47.111]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-5-29 15:8:47.111]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-5-29 15:8:47.111]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-5-29 15:8:47.112]: Looking into conda env for executable: {"prefix":"E:\\Programs\\anaconda3","name":"base"}
[DEBUG 2022-5-29 15:8:47.112]: Cached data exists getEnvironmentVariables, <No Resource>
[DEBUG 2022-5-29 15:8:47.112]: Cached data exists getEnvironmentVariables, <No Resource>
[DEBUG 2022-5-29 15:8:47.112]: Has Custom Env Vars
[DEBUG 2022-5-29 15:8:47.112]: Activating Environment to capture Environment variables, E:\Programs\anaconda3\Scripts\conda.exe run -n base --no-capture-output python c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py c:/Users/Asus/.vscode/extensions/ms-python.python-2022.8.1/pythonFiles/printEnvVariables.py
> E:\Programs\anaconda3\Scripts\conda.exe run -n base --no-capture-output python ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2022.8.1/pythonFiles/printEnvVariables.py
[DEBUG 2022-5-29 15:8:47.141]: Found executable within conda env {"prefix":"E:\\Programs\\anaconda3","name":"base"}
[DEBUG 2022-5-29 15:8:47.141]: Found conda executable: E:\Programs\anaconda3\python.exe
[DEBUG 2022-5-29 15:8:47.141]: Looking into conda env for executable: {"prefix":"E:\\Programs\\anaconda3\\envs\\Texture-2","name":"Texture-2"}
[DEBUG 2022-5-29 15:8:47.142]: Executable does not exist within conda env, assume the executable to be `python` {"name":"","prefix":""}
[DEBUG 2022-5-29 15:8:47.143]: Found executable within conda env {"prefix":"E:\\Programs\\anaconda3\\envs\\Texture-2","name":"Texture-2"}
[DEBUG 2022-5-29 15:8:47.143]: Found conda executable: E:\Programs\anaconda3\envs\Texture-2\python.exe
[DEBUG 2022-5-29 15:8:47.143]: Looking into conda env for executable: {"prefix":"E:\\Programs\\anaconda3\\envs\\texture","name":"texture"}
[DEBUG 2022-5-29 15:8:47.143]: Cached data exists KeyPrefix=Cache_Method_Output_y.getEnvList-Args=true
[DEBUG 2022-5-29 15:8:47.144]: Found executable within conda env {"prefix":"E:\\Programs\\anaconda3\\envs\\texture","name":"texture"}
[DEBUG 2022-5-29 15:8:47.144]: Found conda executable: E:\Programs\anaconda3\envs\texture\python.exe
[DEBUG 2022-5-29 15:8:47.234]: Cached data exists getEnvironmentVariables, <No Resource>
> E:\Programs\anaconda3\envs\Texture-2\python.exe ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[DEBUG 2022-5-29 15:8:47.279]: Cached data exists KeyPrefix=Cache_Method_Output_y.getEnvList-Args=true
[INFO 2022-5-29 15:8:47.339]: [
  'Get Conda File from interpreter, Class name = d, completed in 197ms, has a truthy return value, Arg 1: "python", Arg 2: "", Return Value: "E:\\\\Programs\\\\anaconda3\\\\Scripts\\\\conda.exe"'
]
[DEBUG 2022-5-29 15:8:47.343]: Cached data exists getEnvironmentVariables, <No Resource>
> E:\Programs\anaconda3\envs\texture\python.exe ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[INFO 2022-5-29 15:8:49.578]: Found interpreter for E:\Programs\anaconda3\envs\texture\python.exe,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[INFO 2022-5-29 15:8:49.969]: Found interpreter for E:\Programs\anaconda3\envs\Texture-2\python.exe,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\get_output_via_markers.py,c:\Users\Asus\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\interpreterInfo.py
[INFO 2022-5-29 15:8:49.970]: Environments added to cache [{"name":"base","location":"E:\\Programs\\anaconda3","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\python.exe","sysPrefix":"E:\\Programs\\anaconda3","ctime":1656341834962,"mtime":1649068530000},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"ContinuumAnalytics","defaultDisplayName":"Anaconda 2022.05"},"source":["windows registry"],"id":"E:\\PROGRAMS\\ANACONDA3\\PYTHON.EXE","detailedDisplayName":"Python 3.9.12 ('base': conda)"},{"name":"Texture-2","location":"E:\\Programs\\anaconda3\\envs\\Texture-2","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\envs\\Texture-2\\python.exe","sysPrefix":"E:\\Programs\\anaconda3\\envs\\Texture-2","ctime":1656341834962,"mtime":1649068530000},"display":"Python 3.9.12 ('Texture-2')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"id":"E:\\PROGRAMS\\ANACONDA3\\ENVS\\TEXTURE-2\\PYTHON.EXE","detailedDisplayName":"Python 3.9.12 ('Texture-2': conda)"},{"name":"texture","location":"E:\\Programs\\anaconda3\\envs\\texture","kind":"virt-conda","executable":{"filename":"E:\\Programs\\anaconda3\\envs\\texture\\python.exe","sysPrefix":"E:\\Programs\\anaconda3\\envs\\texture","ctime":1656339812901,"mtime":1648647532000},"display":"Python 3.10.4 ('texture')","version":{"major":3,"minor":10,"micro":4,"release":{"level":"final","serial":0},"sysVersion":"3.10.4 | packaged by conda-forge | (main, Mar 30 2022, 08:38:02) [MSC v.1916 64 bit (AMD64)]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"id":"E:\\PROGRAMS\\ANACONDA3\\ENVS\\TEXTURE\\PYTHON.EXE","detailedDisplayName":"Python 3.10.4 ('texture': conda)"}]
[INFO 2022-5-29 15:8:49.970]: [
  'Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[INFO 2022-5-29 15:8:54.382]: [
  'Starting language server, Class name = d, completed in 4391ms, has a falsy return value, , Return Value: undefined'
]
Starting Pylance language server.
[DEBUG 2022-5-29 15:8:54.386]: [object Object]. Shell identified as undefined
[DEBUG 2022-5-29 15:8:54.386]: Shell path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe', base path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell'
[DEBUG 2022-5-29 15:8:54.386]: Shell path identified as shell 'powershell'
[DEBUG 2022-5-29 15:8:54.386]: Terminal shell path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' identified as shell 'powershell'
[DEBUG 2022-5-29 15:8:54.386]: [object Object]. Shell identified as powershell
[DEBUG 2022-5-29 15:8:54.387]: Shell identified as 'powershell'
[DEBUG 2022-5-29 15:8:54.387]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-5-29 15:8:54.387]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_E:\\DOCUMENTS\\MY WORK SPACE\\WORK\\GRADUATE SCHOOL\\SOFTWARE\\PYTHON\\SEA-ICE-TEXTURE-FEATURES"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:54.387]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_E:\\DOCUMENTS\\MY WORK SPACE\\WORK\\GRADUATE SCHOOL\\SOFTWARE\\PYTHON\\SEA-ICE-TEXTURE-FEATURES"-Arg-Separator-undefined
[DEBUG 2022-5-29 15:8:54.388]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-e:\\Documents\\My Work Space\\Work\\Graduate School\\Software\\Python\\Sea-Ice-texture-features"-Arg-Separator-undefined
[INFO 2022-5-29 15:9:1.399]: [
  'parseEnvironmentOutput, Class name = I, completed in 0ms, has a truthy return value'
]
[INFO 2022-5-29 15:9:1.400]: [
  `getActivatedEnvironmentVariables, Class name = I, completed in 43442ms, has a truthy return value, Arg 1: undefined, Arg 2: {"id":"E:\\\\PROGRAMS\\\\ANACONDA3\\\\PYTHON.EXE","sysPrefix":"E:\\\\Programs\\\\anaconda3","envType":"Conda","envName":"base","envPath":"e:\\\\Programs\\\\anaconda3","architecture":3,"sysVersion":"3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]","version":{"raw":"3.9.12","major":3,"minor":9,"patch":12,"build":[],"prerelease":["final","0"]},"companyDisplayName":"ContinuumAnalytics","displayName":"Python 3.9.12 ('base')","detailedDisplayName":"Python 3.9.12 ('base': conda)","path":"e:\\\\Programs\\\\anaconda3\\\\python.exe"}, Arg 3: false`
]
[DEBUG 2022-5-29 15:18:8.465]: Cached data exists KeyPrefix=Cache_Method_Output_S.ensureEnvironmentContainsPython-Args="E:\\Programs\\anaconda3\\python.exe"

Okay that makes it look like ipykernel is installed and your environment looks okay AFAICT.
In your conda terminal, can you run this code and report on the result?
import ipykernel
print(ipykernel.__version__)
import IPython
print(IPython.__version__)

Okay that looks like it should work.
Can you try setting the log level for jupyter too and then reproing the issue:

It could actually be the failure of us activating the conda environment that is preventing the kernel from running correctly. We need to figure that out that first.

Oh no wait I was just looking through the replies you made above.
You said this:

The commands above took around 10 minutes to execute. Whenever VS code is open my computer is super slow. Again this did not use to be the case.

That would definitely cause the problem. This would be a fault of anaconda. Keras can sometimes cause this.

Hi rchiodo.
Number 1 worked. However, it still had some issues. Despite activating conda outside, it still took around 10 minutes for interactive python to work. During the 10 minutes, twice VS code stopped responding. Furthermore,  when trying to run some lines of code an error popped up saying "actual command NOT FOUND".
I am going to try number 3 again. However, I already tried it and it did not do anything.
This is what jupyter displayed if it helps.
[I 14:14:36.949 NotebookApp] Serving notebooks from local directory: C:\Users\Asus
[I 14:14:36.949 NotebookApp] Jupyter Notebook 6.4.12 is running at:
[I 14:14:36.951 NotebookApp] http://localhost:8888/?token=32dadaf195069c31fe8e4ababdfe545ffae2da2a91dbc630
[I 14:14:36.951 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=32dadaf195069c31fe8e4ababdfe545ffae2da2a91dbc630
[I 14:14:36.960 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:14:36.969 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/Asus/AppData/Roaming/jupyter/runtime/nbserver-27744-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=32dadaf195069c31fe8e4ababdfe545ffae2da2a91dbc630
     or http://<IP_ADDRESS>:8888/?token=32dadaf195069c31fe8e4ababdfe545ffae2da2a91dbc630
[I 14:22:44.197 NotebookApp] Creating new notebook in
[E 14:23:25.946 NotebookApp] Uncaught exception GET /api/kernels?1656699773790 (<IP_ADDRESS>)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels?1656699773790', version='HTTP/1.1', remote_ip='<IP_ADDRESS>')
    Traceback (most recent call last):
      File "E:\Programs\anaconda3\envs\texture\lib\site-packages\tornado\web.py", line 1704, in _execute
        result = await result
      File "E:\Programs\anaconda3\envs\texture\lib\site-packages\tornado\gen.py", line 234, in wrapper
        yielded = ctx_run(next, result)
      File "E:\Programs\anaconda3\envs\texture\lib\site-packages\notebook\services\kernels\handlers.py", line 36, in get
        kernels = yield maybe_future(km.list_kernels())
      File "E:\Programs\anaconda3\envs\texture\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 384, in list_kernels
        model = self.kernel_model(kernel_id)
      File "E:\Programs\anaconda3\envs\texture\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 372, in kernel_model
        "last_activity": isoformat(kernel.last_activity),
    AttributeError: 'IOLoopKernelManager' object has no attribute 'last_activity'
[W 14:23:26.044 NotebookApp] Unhandled error
[E 14:23:26.054 NotebookApp] {
      "Host": "localhost:8888",
      "Accept": "*/*",
      "User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
    }
[E 14:23:26.055 NotebookApp] 500 GET /api/kernels?1656699773790 (<IP_ADDRESS>) 109.110000ms referer=None
[I 14:23:26.069 NotebookApp] Kernel started: e6f137ee-8b73-4926-b075-435369283fdd, name: python3
[W 14:23:26.115 NotebookApp] delete /Artificial_Image.py-jvsc-b928fa2b-7ea8-4383-be1f-ab1873ac62dc9e9645fa-3a1b-4787-b288-7dd8fb989ecd.ipynb

I re-installed anaconda as well. It did not help or fix the issue.

@Fernando961226 apologies for not getting back to you for a while.
Please could you:

Export the conda environment into a yml file using the command conda env export > environment.yml

Please do this after you have activated your conda environment in the temrinal

AttributeError: 'IOLoopKernelManager' object has no attribute 'last_activity'
[W 14:23:26.044 NotebookApp] Unhandled error

This seems to be related to https://github.com/jupyter/notebook/issues/5345
You might want to update the version of Jupyter Notebook on your machine.

Try to find the thing in anaconda that makes it take so long.

I'd like to get to the bottom of this, hence the request for the conda environment to be exported to a yml file.

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.

For whahever it is worth !
I had similar issues for long time two things that took care of this slow running for me are here

update the vscode  and disable github-copilot, and gitlens.
For some weird reason it was having using python interpreter stored in c:\Users<myUsername>\AppData\Python\Python38...; I deleted that whole directory

And to my surprise its loads packages properly plus it runs without delay now... lol after gettiing frustrated for more than 6 months...

if it's running too long for installing dependency like ipykernel,
you can try to maunally open the terminal and run the pip install,
then you can try to rerun the job


Enable builtin metrics and add default ServiceMonitor

Towards https://github.com/kyverno/reports-server/issues/118
Enables the default unauthenticated endpoint for scraping the built-in apiserver and go metrics. Also adds a ServiceMonitor to have the metrics scraped by Prometheus.

Looks like the ServiceMonitor CRD doesn't actually exist in e2e tests. Happy to proceed however the maintainers like

I realized that the main kyverno project does not enable the ServiceMonitor by default, so I've kept that behavior for this project.

The codecov failure is due to rate limiting, which I think is unrelated to these changes


Add support for esp32c2

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

awesome!

let's support it in get_model:
https://github.com/atomvm/AtomVM/blob/ceedd61dda984938751209034bca8184b11b63ec/src/platforms/esp32/components/avm_sys/sys.c#L469

add spi_host (https://docs.espressif.com/projects/esp-idf/en/v5.1.4/esp32c2/api-reference/peripherals/spi_master.html):
https://github.com/atomvm/AtomVM/blob/ceedd61dda984938751209034bca8184b11b63ec/src/platforms/esp32/components/avm_builtins/spi_driver.c#L65

add to release builds:
https://github.com/atomvm/AtomVM/blob/ceedd61dda984938751209034bca8184b11b63ec/.github/workflows/esp32-mkimage.yaml#L45

✅ check bootloader offset https://github.com/atomvm/AtomVM/blob/ceedd61dda984938751209034bca8184b11b63ec/src/platforms/esp32/tools/CMakeLists.txt#L34

Thanks.
HSPI is debatable but that's ok with me. New code probably shouldn't use this name but use spi2 instead.
I tested get_model with an updated version of benchmark code. Using this branch, with the same version of esp-idf (it says 5.2. dirty).
AtomVM init.
I (668) sys: Loaded BEAM partition main.avm at address 0x210000 (size=1048576 bytes)
Starting application...
Platform: esp32
Chip info: #{cores => 1,features => [ble,bgn,emb_flash],model => esp32_c2,revision => 100}
Reconfigured esp32 watchdog timer
Running tests:
pingpong_speed_test: 63261257
prime_speed_test: 33703618
prng_test: 2064144
pi_test: 83811252
sudoku_solution_test: 10698649
sudoku_puzzle_test: 529800173
AtomVM finished with return value: ok
I (724118) AtomVM: AtomVM application terminated.  Going to sleep forever ...

To be compared with ESP32C6 which is between 2 and 6 times faster:
AtomVM init.
I (681) sys: Loaded BEAM partition main.avm at address 0x210000 (size=1048576 bytes)
Starting application...
Platform: esp32
Chip info: #{cores => 1,features => [ble,bgn],model => esp32_c6,revision => 1}
Reconfigured esp32 watchdog timer
Running tests:
pingpong_speed_test: 9955409
prime_speed_test: 24628710
prng_test: 601765
pi_test: 33219106
sudoku_solution_test: 6268356
sudoku_puzzle_test: 260983314
AtomVM finished with return value: ok
I (336401) AtomVM: AtomVM application terminated.  Going to sleep forever ...

I don't know how to check bootloader offset except that it currently works (I created an image with mkimage.sh).

LGTM!
agree on HSPI (though my opinion might change once I learn about SPI for SD card usage) - and bootloader offset was already set, so just ✅checklisting it..

HSPI is debatable but that's ok with me. New code probably shouldn't use this name but use spi2 instead

Absolutely, those definitions were originally added to support newer devices, with older versions of IDF 4.x. But I believe with 4.4 all devices can now just use SPI1_HOST and SPI2_HOST.


Data dump is unclear

Dumping data to strings is very bad. It is often not clear at all what type you are printing out.

Numbers: "2" and 2 are printed the same (2). This is fine when writing the value directly in print, but not when it is part of a more complex data structure such as an array or dictionary.

Dictionaries: Format isn't terrible, but it is completely different than the code to create it for no reason. e.g. {"fish": "frog", "cheese": "pie" } = (fish:frog), (cheese:pie)

Arrays: Format isn't terrible, but it is completely different from code, which makes it very ambiguous. e.g. printing 1, [1] and ["1"] all give the same output.

Other examples of ambiguity:
{ "cheese": "pie", "fish": "frog" } =  (cheese:pie), (fish:frog)
[{"fish": "frog"}, {"cheese": "pie" }] =  (cheese:pie), (fish:frog)
Color(1, 1, 1) = 1, 1, 1, 1
[1, 1, 1, 1] = 1, 1, 1, 1
[[1, 1], [1, 1]] = 1, 1, 1, 1
Vector2(1, 2) = 1, 2
[1, 2] = 1, 2
["1", "2] = 1, 2
"1, 2" = 1, 2
["1, 2"] = 1, 2
I suggest one of two options:

Following the Python standard (and any other language that outputs complex types as strings):

Printing string, int, real directly (so no quotes around strings).
Printing Array, Dictionary, in a meaningful way, exactly the same as they'd be written in code, with nested
Printing Vector2, Vector3, Color in a meaningful way related to the class, e.g. Vector(22.2, 4), Color(0.1, 0.2, 1, 1)

Currently, this is the output provided by Variant::get_construct_string(), but that is only used in the editor hints. For some reason, elsewhere only the

As an alternative, how about a repr() function, as in Python, that gives us the get_construct_string() output, rather than the mostly useless (for non-basic types) String() operator output...

(I'm happy to implement this stuff; just want to see which you want or will accept).

there is a function that works better for this kind of conversions to code,
but i'm not sure if it's available to script, will leave this open until i
can check issues and make sure it's there and documented.
On Tue, Feb 10, 2015 at 1:18 PM, Bil Bas<EMAIL_ADDRESS>wrote:

Dumping data to strings is very bad. It is often not clear at all what
type you are printing out.

Numbers: "2" and 2 are printed the same (2). This is fine when writing
the value directly in print, but not when it is part of a more complex data
structure such as an array or dictionary.

Dictionaries: Format isn't terrible, but it is completely different
than the code to create it for no reason. e.g. {"fish": "frog", "cheese":
"pie" } = (fish:frog), (cheese:pie)

Arrays: Format isn't terrible, but it is completely different from
code, which makes it very ambiguous. e.g. printing 1, [1] and ["1"] all
give the same output.

Other examples of ambiguity:
{ "cheese": "pie", "fish": "frog" } = (cheese:pie), (fish:frog)
[{"fish": "frog"}, {"cheese": "pie" }] = (cheese:pie), (fish:frog)
Color(1, 1, 1) = 1, 1, 1, 1
[1, 1, 1, 1] = 1, 1, 1, 1
[[1, 1], [1, 1]] = 1, 1, 1, 1
Vector2(1, 2) = 1, 2
[1, 2] = 1, 2
["1", "2] = 1, 2
"1, 2" = 1, 2
["1, 2"] = 1, 2
I suggest one of two options:

Following the Python standard (and any other language that outputs
complex types as strings):

Printing string, int, real directly (so no quotes around strings).
Printing Array, Dictionary, in a meaningful way, exactly the same as
they'd be written in code, with nested
Printing Vector2, Vector3, Color in a meaningful way related to the
class, e.g. Vector(22.2, 4), Color(0.1, 0.2, 1, 1)

Currently, this is the output provided by Variant::get_construct_string(),
but that is only used in the editor hints. For some reason, elsewhere only
the

As an alternative, how about a repr() function, as in Python, that
gives us the get_construct_string() output, rather than the mostly useless
(for non-basic types) String() operator output...

(I'm happy to implement this stuff; just want to see which you want or
will accept).
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1348.

@reduz: Variant::get_construct_string() does it nicely, as I'd want to see data printed out.

And it isn't available to script (it is only ever used in one place, in auto-completion hints)

will try to add this to gd_functions when i get back home
On Tue, Feb 10, 2015 at 1:34 PM, Bil Bas<EMAIL_ADDRESS>wrote:

And it isn't available to script (it is only ever used in one place, in
auto-completion hints)
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1348#issuecomment-73732278.

Thanks. That will be great - mainly asking for it today because json parser isn't giving me the data I expect and it is almost impossible to accurately find out what it has actually given me :confounded:

Oh, is there an equivalent of str()/unicode()/repr() for user classes? Because that would be useful too.

user classes can't be serialized, but there is a function to convert them
to and from a dictionary
On Tue, Feb 10, 2015 at 2:17 PM, Bil Bas<EMAIL_ADDRESS>wrote:

Oh, is there an equivalent of str()/unicode()/repr() for user
classes? Because that would be useful too.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1348#issuecomment-73740940.

In Python, str()/unicode()/repr() allow you to choose the string representation that is created by a class when it is converted to a string. Nothing to do with serialization.
I think that is an answer to my other issue regarding serializing user objects to json, not this about converting things to strings . The problem with that is that it converts to a dict fine, but doesn't do it recursively (so, if I have an array of other objects in the object I inst2dict, then they aren't themselves converted to dicts so on to_json() they just turn into "[Reference:1234]", which means the data structure can't be jsonified anyway - if I have to inst2dict recursively myself when using inst2dict, then I would damage the data inside the object).

yeah don't expect JSON to convert datatypes not supported by JSON, It might
convert them to text in the worst case, but there would be no way to
convert them back afterwards due to the limitation of the format.
are you looking for a specific way of serializing data to text?
On Tue, Feb 10, 2015 at 2:47 PM, Bil Bas<EMAIL_ADDRESS>wrote:

In Python, str()/unicode()/repr() allow you to choose the string
representation that is created by a class when it is converted to a string.
Nothing to do with serialization.
I think that is an answer to my other issue regarding serializing user
objects to json, not this about converting things to strings . The problem
with that is that it converts to a dict fine, but doesn't do it recursively
(so, if I have an array of other objects in the object I inst2dict, then
they aren't themselves converted to dicts so on to_json() they just turn
into "[Reference:1234]", which means the data structure can't be jsonified
anyway - if I have to inst2dict recursively myself when using inst2dict,
then I would damage the data inside the object).
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1348#issuecomment-73746739.

I have a Level object filled with Tile objects (these are just data objects, not nodes in the world). Wanted to serialize the level and the tiles it contains too in one operation (currently I do this manually, which works fine, but seems cumbersome). This is what I'm trying to ask for in #1349 - this output of strings issue is just for debugging data structures (and has nothing to do with serialization).

The new var2str() suits me very well. Thank you!

Dumps of dictionary have superfluous parentheses in them.
var2str({"fish": 2, "frog": 3}) => '{("fish":2),("frog":3)}'


Any way to keep interface property in the same order

Hey,
We commit the generated API code to follow change through our stories. It's good but the order of each interface change at each generation.
First generation:
interface A {
  b: string;
  c: string;
}

second generation:
interface A {
  c: string;
  b: string;
}

There is a way to keep order? Something like alphabetical order?
Thx.

Hi @RoXuS
Do you use swagger-typescript-api via NodeJS generateApi() ?

yes, we have a script inside our monorepo.

I think it happens because of prettier use alphabetical order, you can override some prettier rules

oh ok! Do you have an idea of what rules I can override?

@RoXuS I have the same problem, currently I don't know why this happened :)
But I will try to fix that

ohhh sorry misunderstanding, ok thx for your job!!

@RoXuS Do you use tslint or eslint ?

If tslint try to disable this rule object-literal-sort-keys

If eslint try to disable this rule https://eslint.org/docs/rules/sort-keys#require-object-keys-to-be-sorted-sort-keys

hum we use eslint but not on our "generated" folder?

In my case keys were swapped randomly and this couldn't be linter/prettier issue, it was actually unstable OpenAPI output. The solution was to fetch and sort spec object before feeding it to generateApi. Could be a feature as it's useful.


[MFMA][Dot] Swizzle mfma dot operands

This PR supports swizzling in MFMA dot operands.

This PR is based on #241


Unmarshaling string to enum produces empty value

Unmarshalling a string to an enum currently unmarshals an empty string because the value is never set and persisted internally.
This MR fixes two issues:

UnmarshalJSON never updated the internal value after unmarshaling.
Methods must have a pointer receiver for updates to take effect.

Can you please run all of the tests and add all of the changed templates (generated or not) so that the checks can pass? Thanks!

I ran go generate ./... to update the generated schema. All tests seem to be passing already.


Add more human-friendly info to serializations?

I don't actually expect this to be merged as-is -- this is my first foray into Rust, and I'm sure that I'm being quite boneheaded about how I'm going about this.  I'm mostly putting this out here as a proof-of-concept.  (As an aside, JWP has been an absolutely invaluable tool for making mods for Borderlands 3, so many thanks for the project!)
Anyway: I think it'd be nice if the JWP serializations included a bit more information which could be useful to humans looking at the dumps.  For instance, here's the default serialization of an object from Borderlands 3: https://gist.github.com/apocalyptech/1d78a45e5f37c0927ca36084e646c80b
Easy enough, certainly, but with my hacked-up code, I'm generating a serialization like this: https://gist.github.com/apocalyptech/f34013bdb14cde48d5fedd909c754b9d
Specifically, adding in the is_asset and object_name vars from FObjectExport helps make it pretty clear which is the "main" export in the .uasset file (though is_asset isn't always a help there).  Explicitly enumerating the exports helps to follow the links through each export, too...  For instance, the main UsabilityData_Resonator export has an EnabledCondition which chains over to export 3.  With the exports explicitly numbered (and the linked types enumerated in the export stanza as well), it's pretty trivial to glance through and get a feel for the structure of everything in there.
Obviously that can be done without all the extra info as well, but it's kind of nice to have it all laid out in front of you.  Even if this kind of info isn't available by default, perhaps it'd make sense to have a CLI argument which could add it in?  Complicating this slightly is that I'm not sure if Fortnite assets would find this useful at all -- as I say, I've been using it on BL3, which may be structured differently.
Anyway, let me know if it's something you'd be interested in; I could certainly have a go at patching it up a bit more sensibly, too.

Oh, looks like I'd accidentally also commited a change which lets JWP read from .umap files in there.  In BL3, at least, they package map assets as .umap but they seem to be the exact same format as .uasset.

Happy to add something like this, although maybe not the export index since that's just the order that the array is in, and not much else.
Serializing umaps is fine, it works that way in Fortnite as well, just with some extra data at the end that so far hasn't meant much.
With that said, I'm not comfortable adding so many unsafe blocks just for serializing extra fields, nor using static containers to keep some state around.

Yeah, I'd been assuming that my methods here were pretty terrible - as I say, I didn't expect this to actually get pulled in.  More just a proof-of-concept than anything else.  I wasn't really sure how else to propagate the object refs around, honestly, without passing pointers all over the place, but that's likely my Rust inexperience showing through.  :)


Fix tap by element coordinates

The same fix as for https://github.com/appium/appium-uiautomator2-driver/pull/163

I'm confused. Why is the ability to set an element and the offset being removed?

Because such feature is not supported by the bootstrap server itself:
  @Override
  public AndroidCommandResult execute(final AndroidCommand command)
      throws JSONException {
    if (command.isElementCommand()) {
      try {
        final AndroidElement el = command.getElement();
        el.click();
        return getSuccessResult(true);
      } catch (final UiObjectNotFoundException e) {
        return new AndroidCommandResult(WDStatus.NO_SUCH_ELEMENT,
            e.getMessage());
      } catch (final Exception e) { // handle NullPointerException
        return getErrorResult("Unknown error");
      }
    } else {
      final Hashtable<String, Object> params = command.params();
      Point coords = new Point(Double.parseDouble(params.get("x").toString()),
          Double.parseDouble(params.get("y").toString()) );

      try {
        coords = PositionHelper.getDeviceAbsPos(coords);
      } catch (final UiObjectNotFoundException e) {
        return new AndroidCommandResult(WDStatus.NO_SUCH_ELEMENT,
            e.getMessage());
      } catch (final InvalidCoordinatesException e) {
        return new AndroidCommandResult(WDStatus.INVALID_ELEMENT_COORDINATES,
            e.getMessage());
      }

      final boolean res = UiDevice.getInstance().click(coords.x.intValue(), coords.y.intValue());
      return getSuccessResult(res);
    }
  }

As you can see here it can only perform click on element or click by absolute coordinates.

Ok. That makes sense, then.

It's still possible to do what we purport to do (element with offset) by converting to absolute coordinates (i.e., finding the coordinates of the element and then adding the offset). Since this is what is purported to be done.

@imurchie I think we could merge this solution for now, since it is not ideal, but fixes the original problem, so clients could properly run their tests with Appium@beta. In the meantime one could refactor the code and present something better. Same for https://github.com/appium/appium-uiautomator2-driver/pull/163

@imurchie the code above is already applied in https://github.com/appium/appium-android-driver/blob/20c9e4a64626897eb74d47852f62fbccf7cba663/lib/commands/touch.js#L196 method.


Mobile issue

Menu not work, template not suit

#262 partially resolves this but the homepage still isn't perfect with the top margin, will fix soon hopefully :)


Add take and drop enumeratees, etc.

Current coverage is 98.49%

Merging #62 into master will decrease coverage by -0.65% as of 100de26

@@            master     #62   diff @@
======================================
  Files           17      17
  Stmts          466     531    +65
  Branches        38      54    +16
  Methods          0       0
======================================
+ Hit            462     523    +61
  Partial          0       0
- Missed           4       8     +4

Review entire Coverage Diff as of 100de26

Powered by Codecov. Updated on successful CI builds.


feat: removeIndent util for CSS code blocks

Added a removeIndent utility which will calculate the number of extraneous spaces from the tagged template literal of the CSS code, and remove that number of spaces from the indent for each line of CSS.

Before

After

We don't need that in the new version. Anyway, thanks you, @ndom91 👍


CLASSPATH for dll/psm1

Summary
In Java/JVM world you can use classpath to add dependencies (jars), instead of packaging it with your own project. e.g.:
java -cp "myProject.jar:./dependencies/*." MyClass
Or it could discover jars in CLASSPATH env variable if set
Loading types from dlls and psm1 (powershell classes) using similar approach might be very beneficial for powershell too.
This could be a simple way to decouple dependencies (external dlls) from shared PS scripts/modules and make powershell classes defined in psm1 files reusable (without hacking). Latter is pretty cumbersome at the moment, especially if mixing with imported .net types
example
# this should make types from dll/psm globally available in that session
pwsh [-f ./myscript.ps1] -cp ./dep/*.dll, ./config.psm1

# this might be nice too
$env:PSCLASSPATH += ":~/dependecies/*"
pwsh -f ./myscript.ps1

Proposal to put PowerShell classes to special files already was in our discussions.
It is large area for discussion and right way to continue is to create RFC in PowerShell-RFC repository.


Please specify license in js file and in README.Md

Your code is undistributable for debian due to lack of license.
Could you please add a license ?
Bastien

https://github.com/Yuffster/npm-string-ansi/blob/master/LICENSE
There you go, have fun!


[fix][tests] TieredStorageConfigurationTests - clear system properties

Motivation:
This PR https://github.com/apache/pulsar/pull/15710 introduced a new test case that set some system properties without clearing them.
Modification:
clean up the env, in order to not pollute the execution of the other tests

/pulsarbot rerun-failure-checks


Internal: Optimize test suite

Baseline
Base test time on WSL2 Ubuntu on my Workstation on a Linux filesystem is just under 20 seconds
Profiling
Run 1
Top 10 slowest tests:
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type wit 0.11s
Hyde\Framework\Testing\Feature\HydeServiceProviderTest > provider is constructed                               0.11s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type tha 0.07s
Hyde\Testing\Hyde\HydeCLITest > can show hyde console                                                          0.07s
Hyde\Framework\Testing\Feature\YamlConfigurationFeatureTest > hyde namespace can be empty                      0.07s
Hyde\Framework\Testing\Feature\Support\ProjectFileTest > can construct                                         0.06s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type tha 0.05s
Hyde\Framework\Testing\Feature\YamlConfigurationFeatureTest > setting site name sets rss feed site name when u 0.05s
Hyde\Framework\Testing\Feature\GlobalMetadataBagTest > site metadata adds config defined metadata              0.05s
Hyde\Framework\Testing\Feature\YamlConfigurationFeatureTest > can define multiple config settings in hyde yml  0.05s
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                (3.81% of 18.42s) 0.70s

Run 2
Top 10 slowest tests:
Hyde\Testing\Hyde\HydeCLITest > can show hyde console                                                          0.11s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type wit 0.11s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type tha 0.08s
Hyde\Framework\Testing\Feature\HydeServiceProviderTest > provider is constructed                               0.07s
Hyde\Publications\Testing\Feature\PublicationFieldDefinitionTest > can instantiate class                       0.07s
Hyde\Framework\Testing\Unit\BuildOutputDirectoryCanBeChangedTest > site output directory can be changed for si 0.06s
Hyde\Publications\Testing\Feature\MakePublicationCommandTest > media input selects the right file              0.06s
Hyde\Framework\Testing\Unit\RelativeLinksAcrossPagesRetainsIntegrityTest > relative links across pages retains 0.06s
Hyde\Framework\Testing\Feature\HydePageTest > show in navigation returns false for markdown post               0.05s
Hyde\Framework\Testing\Feature\Support\ProjectFileTest > can construct                                         0.05s
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                (4.07% of 17.53s) 0.71s

Run 3
Top 10 slowest tests:
Hyde\Framework\Testing\Feature\HydeServiceProviderTest > provider is constructed                               0.11s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type wit 0.09s
Hyde\Testing\Hyde\HydeCLITest > can show hyde console                                                          0.09s
Hyde\Framework\Testing\Unit\RelativeLinksAcrossPagesRetainsIntegrityTest > relative links across pages retains 0.06s
Hyde\Framework\Testing\Feature\HydePageTest > base source directory                                            0.06s
Hyde\Framework\Testing\Feature\PaginatorTest > next number returns the next page number when there is one      0.06s
Hyde\Framework\Testing\Feature\YamlConfigurationFeatureTest > can define hyde config settings in hyde yml file 0.06s
Hyde\Publications\Testing\Feature\MakePublicationCommandTest > command with boolean input                      0.06s
Hyde\Framework\Testing\Feature\Foundation\FilesystemTest > get base path returns kernels base path             0.06s
Hyde\Publications\Testing\Feature\StaticSiteBuilderPublicationModuleTest > compiling with publication type tha 0.05s
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                (3.84% of 18.79s) 0.72s

Interesting, when I ran with Junit reporting it finishes in under 14 seconds...
$ vendor/bin/pest --log-junit report.xml


[Day 11] - Add ace logic

https://github.com/Ostronkex/100-Days-of-Code-The-Complete-Python-Pro-Bootcamp-Solutions/blob/38d4bb20d46ed804c8a6ce147bcf7894ff7118f1/Day11/Blackjack.py#L97-L98
Currently only generates 2 to 10, add logic for handling ace as both 1 and 11.

Added basic ace logic in 4b99cf1. Now it can generate the value 11 and if the hand goes over 21 and the number 11 exists in the cards it will subtract 10, essentially turning the 11 into a 1. However only the logic is working, the cards will still show 11 as a card instead of turning it into a 1.

Fully solved in 365516a. Instead of subtracting 10 from the total, it now replaces the 11 in hand by 1 if the total is > 21 and then calculates the new total.


Inference takes too much time

i am running on rtx 3060 with 12Gb vram and it takes ages to give me results. do you have any idea how to optimise

I use RTX 3090 with 24GB VRAM and it has taken over 35 minutes and has not given me any result yet.

Same issues for me !

Same issues, too slow


Python bindings of CallbackVerbose + integrated in the SolverAbstract - [merged]

In GitLab by @cmastalli on Aug 6, 2019, 23:17
Merges topic/cpp-callback -> cpp_devel
This PR tackles the issue #184. It additionally renames the class to CallbackVerbose, instead of CallbackDDPVerbose.

In GitLab by @cmastalli on Aug 6, 2019, 23:17
merged

In GitLab by @cmastalli on Aug 6, 2019, 23:17
mentioned in commit 6a1050fb6291d70e135d866130c9ef7070d7178e


populate should set provider to null

Steps to reproduce

Setup a hook on a service (ie. messages) that should only be run when isProvider('external').
Populate entities from the service (ie. a channel's messages)

I believe it is this line that needs to be changed.
Expected behavior
External only hooks should not run
Actual behavior
They do run
System configuration
<EMAIL_ADDRESS>

The legacy populate hook executed its find's in the same context as itself. If the legacy populate was transported by socketio, then its find's were called as if my socketio. This allowed the hooks for the find's to run properly.
The new populate did not do this originally; it did what you propose. But people started to run into this as a problem and the new populate was changed to act as the old.
Your change would therefore be a breaking change.
Can you do one of:
(a) add a hook before the populate hook that changes hook.params.provider?
(b) clone the hook, modify hook.params.provider can then do populate(...)(clonedHook).

I opted for option "a" thus far.

I think this issue is resolved, so I'm closing it. Feel free to reopen it.

But people started to run into this as a problem and the new populate was changed to act as the old.

Do you recall what the problem was that people had? Was it just that populate sensitive data is not getting removed (ie. password when populating a user)? It still seems like a hack to have to put the a hook in front to change the provider.
I don't know what the right solution is here. It is an internal call but as @daffl mentioned here it does have implications. Might be worth re-opening but waiting until we can update the feathers-hooks and bring it into core.

I think the biggest issue with changing it, is if you are populating data from a service and some of that data shouldn't make it to the client we don't have an easy way to ensure the sensitive data is removed. A developer needs to sanitize their data again, which is redundant.
On the flip side having hooks not run because it's not properly being flagged as an internal call might even be worse. Many times we'll be calling services that are not available publicly and have guards preventing external action, but you want to be able to populate from them and certain hooks need to be run for those internal populate calls. In that case it will just straight up error. Lookup tables are a perfect example.
Maybe an updated version of populate should always run with params.provider not being proxied to the other services, but have an exclude key in the schema that allows the developer to specify what they want removed during the populate?

The problem with setting provider null on calls populate makes is that people have hooks on the called services which depend on the provider. An issue was posted within a day or two of populate being released, so a change would be a breaking one.
populate sets hook.params._populate === 'skip' before calling another service. Perhaps your existing hooks can check for that as a quick fix. Would that work for you?
populate was not meant to sanitize the data. You yourself came up with the nice idea that populating and sanitizing should be separate, and that's why we have the sanitize hook. Perhaps a more systematic approach would expect populate to be followed by a sanitize hook.

populate was not meant to sanitize the data. You yourself came up with the nice idea that populating and sanitizing should be separate, and that's why we have the sanitize hook. Perhaps a more systematic approach would expect populate to be followed by a sanitize hook.

Agreed. Which is why I think it should be calling other services without hook.params.provider being set and if you need to prune sensitive data out of the hook.result object then you should do that before you send data out to the client.
You may not even want the service you are populating from to prune data automatically, because you may need to use that data to make other decisions internally on the server side before the response is sent out (I've had this use case), so I think triggering hooks that are meant for external calls is a mistake.
I think the rule should be:
Any service call originating from the same server should be treated as internal. If it doesn't originate from the same server side application instance then it is external. So, if you are populating from services on the same app instance then they are internal. If you are populating from a remote instance then it would be an external call.

An issue was posted within a day or two of populate being released, so a change would be a breaking one.

I think that's ok. I tend to be more bullish here, but I don't see issues with breaking changes so long as we:

version properly
can explain why there is a breaking change
and give people an adequate migration path

I'm going to re-open this because, although we have a decent temporary solution I think this is something that we should address. Would love to hear thoughts, feelings, impressions from other members of the @feathersjs/core-team.

I think a better investment of our time right now is to ship the
much-delayed Auk.
On Wed, Mar 29, 2017 at 1:43 PM, Eric Kryski<EMAIL_ADDRESS>wrote:

Reopened #134
https://github.com/feathersjs/feathers-hooks-common/issues/134.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/feathersjs/feathers-hooks-common/issues/134#event-1020891204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeznwc9QEUNum7wUzeTkeUK_-hjyG7Pks5rqpgxgaJpZM4MO2yF
.

@ekryski I remember reading something you wrote and realizing that it was the likely solution to this issue.
The schema can now be
const schema = { include: [
  service: ...
  parentField: ...
  childField: ...
  provider: undefined, // new
]};

The provider prop defaults to hook.params.provider. Setting it to undefined makes the join method call look like its from the server.
Does this work?

I went ahead with this as its useful in any case (plus wanting to finish with populate for a while). The schema can now be
const schema = { include: [
service: ...
parentField: ...
childField: ...
provider: undefined, // new
]};
hook.params.provider for the .find call resulting from the join is here set to undefined, hence hooks will process the .find as being made by the server.
By default the provider is set to that of the call to the base record.
Fixed in https://github.com/feathersjs/feathers-hooks-common/pull/172 which will be published as v3.3.0.

Sorry it took me a while but yes that is perfect! Thanks @eddyystop 😄