Failed to initialize a local spark cluster with raydp

Problem Description
I am trying to create a spark cluster with raydp, with the following code (from Ray's documentation):
ray.init(address='auto')
spark = raydp.init_spark(app_name='RayDP Example',
                         num_executors=2,
                         executor_cores=2,
                         executor_memory='1GB')

but failed with the direct error (for more details, see related logs).
py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.deploy.raydp.RayAppMaster.setProperties.
: java.lang.NoClassDefFoundError: io/ray/runtime/config/RayConfig

Configurations
System: WSL2 Ubuntu 22.04.2
JDK version: openjdk8u362-b09 (eclipse temurin) or openjdk 11.0.18 (Ubuntu package).
Python version: 3.10.10
Ray version: 2.2.0
raydp version: 1.5.0
pyspark version: 3.3.1
py4j version: <IP_ADDRESS>
Related Logs
2023-03-27 18:00:38,690	WARNING worker.py:1851 -- Traceback (most recent call last):
  File "python/ray/_raylet.pyx", line 823, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 875, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 830, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 834, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 780, in ray._raylet.execute_task.function_executor
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/function_manager.py", line 674, in actor_method_executor
    return method(__ray_actor, *args, **kwargs)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 466, in _resume_span
    return method(self, *_args, **_kwargs)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/raydp/spark/ray_cluster_master.py", line 56, in start_up
    self._gateway.jvm.org.apache.spark.deploy.raydp.RayAppMaster.setProperties(jvm_properties)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/py4j/java_gateway.py", line 1321, in __call__
    return_value = get_return_value(
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/py4j/protocol.py", line 326, in get_return_value
    raise Py4JJavaError(
py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.deploy.raydp.RayAppMaster.setProperties.
: java.lang.NoClassDefFoundError: io/ray/runtime/config/RayConfig
	at org.apache.spark.deploy.raydp.RayAppMaster$.setProperties(RayAppMaster.scala:339)
	at org.apache.spark.deploy.raydp.RayAppMaster.setProperties(RayAppMaster.scala)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: io.ray.runtime.config.RayConfig
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 13 more

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "python/ray/_raylet.pyx", line 1135, in ray._raylet.task_execution_handler
  File "python/ray/_raylet.pyx", line 1045, in ray._raylet.execute_task_with_cancellation_handler
  File "python/ray/_raylet.pyx", line 782, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 945, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 589, in ray._raylet.store_task_errors
  File "python/ray/_raylet.pyx", line 2447, in ray._raylet.CoreWorker.store_task_outputs
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/serialization.py", line 450, in serialize
    return self._serialize_to_msgpack(value)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/serialization.py", line 405, in _serialize_to_msgpack
    value = value.to_bytes()
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/exceptions.py", line 32, in to_bytes
    serialized_exception=pickle.dumps(self),
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle_fast.py", line 73, in dumps
    cp.dump(obj)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle_fast.py", line 627, in dump
    return Pickler.dump(self, obj)
TypeError: cannot pickle '_thread.RLock' object
An unexpected internal error occurred while the worker was executing a task.
2023-03-27 18:00:38,695	WARNING worker.py:1851 -- A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffff9d77052947212287a6fbd6b702000000 Worker ID: ec72451ae33b09f9c4d65e169a83b0ddd4c1e1cc985c304e60a49620 Node ID: 9c9a10476d91172e52952389c5ef92f8e39c6afa4bf5972244da1aa9 Worker IP address: <IP_ADDRESS> Worker port: 43883 Worker PID: 16545 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None.
 Traceback (most recent call last):
  File "python/ray/_raylet.pyx", line 823, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 875, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 830, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 834, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 780, in ray._raylet.execute_task.function_executor
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/function_manager.py", line 674, in actor_method_executor
    return method(__ray_actor, *args, **kwargs)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 466, in _resume_span
    return method(self, *_args, **_kwargs)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/raydp/spark/ray_cluster_master.py", line 56, in start_up
    self._gateway.jvm.org.apache.spark.deploy.raydp.RayAppMaster.setProperties(jvm_properties)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/py4j/java_gateway.py", line 1321, in __call__
    return_value = get_return_value(
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/py4j/protocol.py", line 326, in get_return_value
    raise Py4JJavaError(
py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.deploy.raydp.RayAppMaster.setProperties.
: java.lang.NoClassDefFoundError: io/ray/runtime/config/RayConfig
	at org.apache.spark.deploy.raydp.RayAppMaster$.setProperties(RayAppMaster.scala:339)
	at org.apache.spark.deploy.raydp.RayAppMaster.setProperties(RayAppMaster.scala)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: io.ray.runtime.config.RayConfig
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 13 more

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "python/ray/_raylet.pyx", line 1135, in ray._raylet.task_execution_handler
  File "python/ray/_raylet.pyx", line 1045, in ray._raylet.execute_task_with_cancellation_handler
  File "python/ray/_raylet.pyx", line 782, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 945, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 589, in ray._raylet.store_task_errors
  File "python/ray/_raylet.pyx", line 2447, in ray._raylet.CoreWorker.store_task_outputs
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/serialization.py", line 450, in serialize
    return self._serialize_to_msgpack(value)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/_private/serialization.py", line 405, in _serialize_to_msgpack
    value = value.to_bytes()
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/exceptions.py", line 32, in to_bytes
    serialized_exception=pickle.dumps(self),
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle_fast.py", line 73, in dumps
    cp.dump(obj)
  File "/home/gary/miniconda3/envs/dataproc/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle_fast.py", line 627, in dump
    return Pickler.dump(self, obj)
TypeError: cannot pickle '_thread.RLock' object
An unexpected internal error occurred while the worker was executing a task.

hi @garylavayou ,
The error shows that it cannot find a class in Ray. Can you please check if ray jar is presented under where-you-installed-ray/jars? You can check where you installed ray in python: import ray; ray.__file__

hi @garylavayou , The error shows that it cannot find a class in Ray. Can you please check if ray jar is presented under where-you-installed-ray/jars? You can check where you installed ray in python: import ray; ray.__file__

@kira-lin Did you mean jars in raydp? I found some jars in the raydp package.
-rw-r--r-- 1 gary gary 276K Mar 26 22:47 raydp-1.5.0.jar
-rw-r--r-- 1 gary gary  16K Mar 26 22:47 raydp-shims-common-1.5.0.jar
-rw-r--r-- 1 gary gary  14K Mar 26 22:47 raydp-shims-spark321-1.5.0.jar
-rw-r--r-- 1 gary gary  15K Mar 26 22:47 raydp-shims-spark330-1.5.0.jar

@garylavayou , I mean the ray package.

There are no jars in the ray package.

Then that's the problem. Your installed ray package did not built the java part. How did you install it? I think it should contain the jar if you install it via pip. You can try pip install ray[default]. If it did not work, it might be due to your WSL environment.

@garylavayou , I mean the ray package.

There are no jars in the ray package.

Then that's the problem. Your installed ray package did not build the java part. How did you install it? I think it should contain the jar if you install it via pip. You can try pip install ray[default]. If it did not work, it might be due to your WSL environment. In that case, maybe you can try to build it from source

@kira-lin I installed ray in a Conda virtual environment with the following packages.
   - polars
   - pandas
   - pandarallel
   - dask
   - ray-default==2.2
   - pylint
   - autopep8
   - ipykernel
   - rich
   - tqdm
   - watchdog

I see. Can you please try uninstall this and install it via pip, and see if the jar is presented?

I have similar error. I use both pip install on conda env or pip in the bin system but both of them can not build the java part. Is there any solution ?

Also experiencing this issue. Both the Ray image and installing ray==2.3.1 through pip does not include the jars. Will update with any progress.

I see. Can you please try uninstall this and install it via pip, and see if the jar is presented?

@kira-lin the problem is solved. I create the environment without ray and raydp (python=3.10), and then use pip to install ray[default]=2.2.0 and raydp.

the conda version is maintained by community, installing via pip is officially recommended.

Also experiencing this issue however ray_dist.jar exists in the jars directory. Running Ray 2.3.0 and raydp=1.5.0

@peterghaddad be sure to install compatible version of related packages.

From release notes of raydp 1.5:
Support Ray 2.1.0 - 2.2.0
Support Spark 3.1 - 3.3

Also experiencing this issue however ray_dist.jar exists in the jars directory. Running Ray 2.3.0 and raydp=1.5.0

Are you experiencing the NPE exception? In that case please either use ray 2.2.0 or raydp-nightly, thanks


ZEPPELIN-2137 Changed "show line chart with focus" to "zoom" so that …

https://issues.apache.org/jira/browse/ZEPPELIN-2137
Improvement
How should this be tested?
Run it, look at it (UX change)
Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

Hmm ok :)
it looks like there's an issue with the Jenkins check
[zeppelin-pull-request] $ /bin/bash -xe /tmp/hudson1411217650836319294.sh
+ '[' -f travis_check.py ']'
+ echo 'travis_check.py does not exists'
travis_check.py does not exists

@Leemoonsoo I assume this means CI tests are not actually run, correct?

Yes, Jenkins couldn't run 'travis_check.py' because of this PR is based on folk before 'travis_check.py' exists.

The change LGTM.

@samthebest could you rebase this PR to get it to run CI tests?

@felixcheung  I guess that means branch-0.7 isn't up to date with master?  Not sure what your workflow is, but it sounds like I made a mistake, and should be PRing master.  I don't think you want a small commit like this to rebase branch-0.7?! (master conflicts with branch-0.7 so rebasing would indiscriminately wipe away changes to branch-0.7)
So I created another PR from my fork straight into master https://github.com/apache/zeppelin/pull/2050

ah, yes, I didn't realize this is based of branch-0.7 - we should create PR off master instead.


[zh] sync /scheduling-eviction/assign-pod-node.md

Sync with en #39452
content/zh-cn/docs/concepts/scheduling-eviction/assign-pod-node.md

See preview

/approve


Render resampler playback for oto entry [UTAU]

Add the feature to play what an oto entry would sound like in UTAU.
SetParam has this feature, it's triggered by pressing F10 on the keyboard.
This makes it easier to tell if your oto entry is correctly configured without having to open UTAU or reload voicebanks.
As for a resampler that's crossplatform that it could use by default, macres should be ok.

@nagotown Hello, I want to know more about this idea.
What's the actual difference between the current entry playback and this thing?
It seems like resampler only changes the pitch..

mostly timing and checking for errors in the oto, like if the consonant is leaking into vowel and stuff like that.

Yes, but I wonder why you cannot do that with the current entry playback, and why you can do it with F10 in setParam.
Is it not playing the Left ~ Right range?

it does play but you can't hear how it sounds with engine noise without opening UTAU.

released in 1.0.0-beta4


Admin: Wish Curation List: Delete wish

Proposal to add delete wish to to the site.
Feature Name
delete wish
Functionality
On the wish curation list, for a logged in admin user, have a way to delete a wish
Notes
I would expect some kind of confirmation since I think it would be a rare event to delete a wish from the system. It wouldn't make sense to me to delete more than 1 wish at a time.
Looks like this is where admin would matter!

This issue depends on #22


Improve exception messages

Give more detail about what file is causing the problem.
TODO
This a work in progress, please do not merge yet.

[x] change the class so this allows injecting a mock filesystem I don't need that (it would be better but I don't need it)
[x] add some tests

This PR is ready for review :)

LGTM, let's merge this.

Thank you @greg0ire , realeased as 2.3.0


Put interfaces in main namespace

Is it possible to to make wg-netns put the interfaces in the main namespace? Or, rather, outside of all the namespaces. I want to isolate my physical network interfaces in their own namespace and leave only Wireguard interfaces outside of it. I've tried a few different things in my config and I couldn't get it to work.

That use case is currently not yet supported, but feel free to open a PR.


Return ExpressibleAs in buildables convenience initializers

Okay!
I thought that making smaller pull requests will make it easier to review than the big #331
So I started with a simple one.
I don't know why we missed this, but I think it makes sense also to use the protocol here.

@swift-ci Please test


Fix index size comparison, cannot be equal

The array is zero indexed, so it should not be equal to the size ever.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Thanks for your pull request. I apologize for leaving this project in limbo and not addressing your concerns. I have archived this project after doing a final release to make it compatible with React v16.


Lavalink gets song information but doesn't play?

Lavalink Not Playing Music
I've got Lavalink to get the song information and to play the song but when it tries to play it fails with no errors.
Lavalink Log
https://pastebin.com/fF2ZvPvp
Music Bot Code
let firstarray = fetchList.playlistArray[0].title;
let Searched = await player.search(firstarray, message.author);

if (fetchList.playlistArray) {
    player.queue.add(Searched.tracks[0]);
    if (!player.playing && !player.paused && !player.queue.size)
        player.play();
}

fetchList.playlistArray[0].title; returns the title of the song so no issues there?
Any help would be great

Update
Lavalink only plays the song requested using firstarray, after it brings in a new song.
The issue now seems that it can't play the song at first?

This is not a problem with lavalink but with your lavalink client
Reach out to the creators of the client

I've sent them an email, but in the meantime do you know what could be wrong with it?
They aren't quick to respond

Library not sending voiceUpdate op for connecting to discord voice channel

So when I play another song, it does a 'voiceUpdate' and plays the first song?
Seems like a weird way of doing it but I guess I can find a workaround for it

voiceUpdate needs send once on connecting to voice or move bot between it, how this handled in your library i dont know

Update
So, this was a surprising fix which for some reason I never found. The libary doesn't add voiceUpdate automatically so I had to solve for that.
After the music plays it connects to the voice channel and boom!
Can't believe I'm so dumb.
Thanks @Walkyst for spotting the issue and helping me resolve it


Log message behaviour strange when dealing with flushed C stdout

Description
I work on the Docker Tooling plug-ins that use docker-client.  We have support for running gdbserver in a Container to debug a C/C++ program.  When that C/C++ program has a write to stdout without adding a newline, the output may or may not appear after the program is finished.  During the program, the LogStream is reporting a single LF (line feed) character.  The problem occurs even if I fflush(stdout) in the test program.  Then, after the gdbserver is completed, the stdout message may arrive.  Our code attempts to remove the container when it is done and perhaps the message does not arrive in time.  We are using:
copyClient.logs(id, LogsParam.follow(), LogsParam.stdout(), LogsParam.stderr());
where copyClient is a copy of the DockerClient which won't cause hanging other operations.
How to reproduce
This is tricky as it requires using gdb on the client side connected to a gdbserver in a Container that is running a C program that printfs a line without a trailing newline followed by an fflush(stdout).  I would be happy if someone suggested things to try or if the issue is recognizable and fixed in a subsequent release, great, I'll try it.
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("starting\n");
printf("!!!Hello World!!!"); /* prints !!!Hello World!!! */
fflush(stdout);
return EXIT_SUCCESS;
}
What do you expect
I expect the flushed output to stdout to appear after the fflush(stdout) call is stepped over in the gdb session, but I would accept if the output appeared consistently as the program exits and before the Container exits.
What happened instead
I always fetch a single Line Feed from the LogStream (one byte) where the output line should have been output.  After gdbserver and the program completes, I sometimes get the expected output line.
Software:

docker version: 1.10.3
Spotify's docker-client version: 6.1.1

Full backtrace
N/A

I have a suspicion that what you are seeing is a symptom of how docker delivers the logs to stdout. When I observe running containers and stream their logs, I can see the should-be-steady stdout inside the container arriving to the external stdout in occasional batches. I don't know if that docker behavior explains what you are seeing, but it sounds similar to me.
Can you try to reproduce what you’re seeing but with docker-client taken out of the loop? Execute the same sequence of steps using the docker CLI, or direct to the API using curl with the docker socket. If the problem you’re seeing remains, then there may not be anything you can do from within docker-client. If the problem you’re seeing goes away, then maybe there is something we could do, and the difference in behavior between the with-docker-client and without-docker-client replications could help track it down.

Ok, I have done some testing.  I should note that I am running gdbserver without TTY or stdin supported.  When I try this with the docker cli command, I see the following:

stepping over the printf("starting\n") command results in no output to the terminal
stepping over the fflush(stdout) causes the "starting" line plus the "!!!Hello World!!!" to be
displayed - with the cursor left at the end of  "!!!Hello World!!!"
continuing the debugger displays the Child exited message (sent to stderr)

In the end, the output is correct in the right order, but the starting line should have appeared right after the printf statement was stepped over.
[jjohnstn@unused-10-15-17-187 newlib-cygwin]$ docker run -v /home/jjohnstn/runtime-New_configuration-containerbuild/hello:/home/jjohnstn/runtime-New_configuration-containerbuild/hello -p 2345:2345 --security-opt=seccomp:unconfined -w /home/jjohnstn/runtime-New_configuration-containerbuild/hello/Debug fedora26withtools:latest gdbserver :2345 ./hello
Process ./hello created; pid = 11
Listening on port 2345
Remote debugging from host <IP_ADDRESS>
starting
!!!Hello World!!!
Child exited with status 0
When I run the gdbserver with -t, the session runs exactly as expected.  Stepping over the "starting" printf shows the data immediately as does the fflush(stdout).
It is possible that I could restrict the gdbserver to run with -t, however, it does not support the timestamp feature (small price to pay) and shows in a different tab in Eclipse (Terminal instead of Console).
I think you might still be interested in the results (namely that the !!!Hello World!!! shows up before the end of the Child process in gdbserver and no LF as far as I can see).  Is there any further information you would like me to obtain?


Spanish translation

Thank you so much for translating the mod. I really appreciate it very much. ❤
P.S.: I will post an updated version with Spanish translation when 1.20.3 comes out.


new(build): upgrade to OpenSSL 3.1.1

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature
/area build

Does this PR require a change in the driver versions?
No

What this PR does / why we need it:
OpenSSL 1.x will be supported until September 7th: https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/ so we need to upgrade before next release. I'm surprised to see Falco building fine with a major version bump but we need to

make sure that it actually works and test Falco properly before release
remove deprecated APIs (you can see build warnings for those)

So it's probably better to merge this sooner rather than later. I noticed some pretty long time for compiling the new OpenSSL but that's about the only difference.
Which issue(s) this PR fixes:

Fixes #1038
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

new(build): upgrade to OpenSSL 3.1.1

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 00806dfddb3b7bcfef9555b0c59dde08196fb2a0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.12.0

/milestone 0.13.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


get selected tags as js object

Hi, there is a method for get the selected tag in the form:
[
{id:01,value:'john'},
{id:02,value:'mary'}
]

I can't find if in docs.
Your support is hightly appreciated, I mean it.

$('select').select2('data');

https://select2.github.io/examples.html#programmatic


Use reusables actions.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Seems to fail.


fix(cli): install.ps1 avoid Windows agent collision

Summary
This change is fixing the problem where, if a Windows workstation has
our agent installed and the user tries to install the Lacework CLI, the
installation script fails with:
Cannot remove item C:/Program Data/Lacework/Logs/LWData_0.log because it
is being used.

The solution is updating the installation script to avoid removing the
entire directory and instead, forcing the installation of the Lacework
CLI.
Signed-off-by: Salim Afiune Maya<EMAIL_ADDRESS>How did you test this change?
I used our Vagrant Windows 10 box and tested the script locally, also users can point
directly to this script with the following commands:
Set-ExecutionPolicy Bypass -Scope Process -Force;
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/lacework/go-sdk/0917a32a5380804883b4bdf6728addcb1e44341c/cli/install.ps1'))

With This Fix

Without The Fix

Issue
https://lacework.atlassian.net/browse/ALLY-1082

@afiune  we need to update the choco install script too


Update designs for new/edit role pages

Description
These changes came out of the 1.9 design review

make heading size l
fix indentation
make selects full width
50px between last field and button

Screenshots
Before

After

Trello card
https://trello.com/c/lWBpTkLR/235-updates-to-ui-for-new-edit-role
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

All looks good just one minor comment.


Add data migration mechanism to update elastic search data and structure regarding ver. no. #17

Migrations should be stored in separate Json files in vuestorefront-api and executed using alias like: npm run migration

Done! :)


Feature request: Configure (visual) diff tool for conflict resolution

The conflict detection is a great feature, no doubt - but cleaning up the conflicts can still be a drag.
While I'm OK with "Show in folder", combined with having Araxis Merge in my "Send to..." context menu, it would be superb if SyncTrayzor could be configured with a diff tool (Araxis, P4Diff, WinMerge, ... the user provides the command line).
The user then updates the "key" file if desired (i.e. the one not tagged "conflict").
When the tool closes, ask the user if the "conflict" files can now be deleted, and the conflict considered resolved.

I was considering this when I was implementing the conflict resolution, but never got around to it.

+1 Please let us specify a command line to open up both files in an external diff tool like WinMerge or Meld.

+1 an option to invoke WinMerge is good enough IMHO

if you don't have time fore this, perhaps can you tell how do you use diff in these situation?


Harden the tiff reader.

When trying to parse a file with the tiff reader, if it parses somewhat but reports no samples per pixel, the reader was raising a TypeError.  This caused Girder to fail to move to the next possible tile source.

Looks good to me.


[Hub Generated] Review request for Microsoft.HybridCompute to add version stable/2022-12-27

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@zizw123 I'd prefer to address your comments in an upcoming swagger change. We're trying to make this one just a straight port of the assesspatches calls from the earlier swagger version to this one, without changing anything else.
How do we rerun the readiness checks? Those were run several weeks ago and there has been a deployment since which should have addressed them

/azp run

Please check Avocado CI.

@dorothyhu
OK, I can skip it once for you, but it will just show forever in all future PRs, and likely everyone is going to ask same question... @josefree for awareness.
BTW, the "API Readiness Check" still fails. Are you sure you've deployed it and get all regions online?

No, the build has not reached all regions yet. Should complete end of week.
On Mon, Apr 17, 2023 at 6:51 PM Weidong Xu @.***> wrote:

@dorothyhu https://github.com/dorothyhu
OK, I can skip it once for you, but it will just show forever in all
future PRs, and likely everyone is going to ask same question... @josefree
https://github.com/josefree for awareness.
BTW, the "API Readiness Check" still fails. Are you sure you've deployed
it and get all regions online?
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-rest-api-specs/pull/23282#issuecomment-1512321497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALECQHEX6C5TAH7FABY6DXBXXRBANCNFSM6AAAAAAWG3NRFY
.
You are receiving this because you commented.Message ID:
@.***>

OK. I can merge it now, or wait and retry this early next week.
But don't request SDK release before it get deployed to all regions.

Please fix the conflict.


sreen shareing

how we can sreeen share to other peer

https://github.com/pion/ion-app-web/blob/a2e26d13bf4e7696b8cd23ff3887cd53b3599862/src/Conference.jsx#L126

https://github.com/pion/ion-app-web/blob/a2e26d13bf4e7696b8cd23ff3887cd53b3599862/src/Conference.jsx#L126

const localVideo = document.getElementById("local-video");
    const serverUrl = "wss://dara.darademo.ir/sfu-ws";

    const signalLocal = new IonSFUJSONRPCSignal(serverUrl)

    this.clientLocal = new Client(signalLocal);
    let clientLocal = this.clientLocal
    signalLocal.onopen = () => {
      clientLocal.join("test 1")
      console.log("test")
    };
    const streams = {};

    let constraints;
    LocalStream.getDisplayMedia(constraints = {
      codec: 'vp8',
      resolution: 'hd',
      audio: true,
      video: true,
      simulcast: false,
    })

        .then((media) => {
          this.stream = media;
          localVideo.srcObject = media;
          localVideo.autoplay = true;
          localVideo.controls = true;
          localVideo.muted = true;
          clientLocal.publish(media);
        })
        .catch(console.error);

this is code i use for screen sharing but it not working can you tell me why?

LocalStream.getDisplayMedia({
codec: 'vp8',
resolution: 'hd',
audio: true,
video: true,
simulcast: false,
})

try that you don't need that constraints =


Batch Build not available in cmake project?

Is it possible, that batch build is also not available, when using a cmake project?

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

ID: 90dc0492-db3d-7312-b76c-9d94022c113a
Version Independent ID: d786a336-7b5e-89cc-7bc8-f336cdd2f919
Content: How to: Build multiple configurations simultaneously - Visual Studio
Content Source: docs/ide/how-to-build-multiple-configurations-simultaneously.md
Product: visual-studio-windows
Technology: vs-ide-compile
GitHub Login: @ghogen
Microsoft Alias: ghogen

Thanks for your question. It looks like you're working through an issue with your scenario or implementation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@TSlivede -- thank you for your question. It looks like you're having an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

As well, you might also consider using the Report a Problem tool to report the issue.

@WilliamAntonRohm Actually I have an issue with the documentation: The linked page mentions, that batch build is not available for "Windows 8.x Store apps built for Windows using JavaScript." and for "Visual Basic projects".
However, if I'm not mistaken, batch build is also not available for cmake based projects, or am I mistaken? If it actually should work, and this documentation is in fact correct, than I will ask elsewhere for a solution.

@TSlivede -- thank you for clarifying.  My apologies for the delay in responding.
@ghogen -- please look into this issue.

@TSlivede -- thank you for clarifying.
@ghogen -- please look into this issue.

@TSlivede Were you seeing an error or other problem when trying to use Batch Build on a solution that contained a CMake project?

@ghogen
Maybe, I just don't know how to do this correctly, because I never had "a solution that contained a CMake project".
I just open the folder containing the CMakeLists.txt as described here.
(This seems to work as expected - I can select any configuration listed in CMakeSettings.json using the configuration dropdown menu.)
However, the build menu does not contain a batch build entry.
As https://docs.microsoft.com/en-us/visualstudio/ide/how-to-build-multiple-configurations-simultaneously says "In that case, the command doesn't appear on the Build menu" for cases in which batch build is not supported, I assumed, that batch build is not available for cmake projects.

Note: For normal Visual Studio projects (not cmake projects) "batch build" is available in the build menu and works fine.

@TSlivede That sounds correct to me.  It might be an interesting feature request for CMake builds to support multiple configuration builds.  You could enter a request at https://developercommunity.visualstudio.com/spaces/8/index.html

I'll update the topic to say that CMake is not supported - Batch Build only works with solution file builds.

You could enter a request at https://developercommunity.visualstudio.com/spaces/8/index.html

Done: https://developercommunity.visualstudio.com/idea/1029507/batch-build-for-cmake-based-projects.html


SharePoint Online versioning retention

Hi, how much retention time (number of days) does versioning in SharePoint Online? I understand that the last 500 versions are stored, but I didn't find how long these versions are retained by default.

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

ID: 6080b47a-816c-8bc8-94c0-506d040ae9bd
Version Independent ID: c06f1880-827d-1d0b-c0fc-601432749411
Content: Versioning in SharePoint
Content Source: Community/versioning-basics-best-practices.md
Service: sharepoint-online
GitHub Login: @PatD
Microsoft Alias: daisyfeller

@natlims18 - Versions are stored perpetually unless you decide to delete them. Retention policies you might put in effect can change that default behavior, but out of the box, its the case.


Connecting to django postgres database service using cli

Hi. How do I connect to my Django-app linked postgres database? I have a local django development app set up with connections to a local dev postgres database. I have now hooked that up to a railway app (with railway postgres service) for production and want to migrate the database there as well as add a superuser. I can connect to the app using railway cli and can see my railway and postgres variables listed. But when I try and do anything, e.g. railway run python manage.py makemigrations it only tries and runs this against my local dev database. How do I therefore get my production database up and running?

By production database, do you mean the database service setup inside of a Railway project?

Did you check your connection URL for your PostgreSQL service on Railway?


Update kind-projector to 0.9.10

Updates org.spire-math:kind-projector from 0.9.9 to 0.9.10.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.spire-math", artifactId = "kind-projector" }]

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   97.72%   97.72%
=======================================
  Files          15       15
  Lines         176      176
  Branches        2        2
=======================================
  Hits          172      172
  Misses          4        4

Continue to review full report at Codecov.

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


FIX: some TFR examples seem broken on master

stockwell and multitaper.
cc @agramfort @Eric89GXL

No idea what's wrong here ... might be a blocker. We need to understand what's wrong.

Yeah we should definitely make sure all examples work and the doc builds, and not release until they do so. Hopefully we can take care of this and #1780 in the same pass.

broken? crash or weird output?

The outputs look wrong, see dev exapmles on webpage.
2015-04-20 12:58 GMT+02:00 Alexandre Gramfort<EMAIL_ADDRESS>
broken? crash or weird output?
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/1986#issuecomment-94422318
.

we have a blocker here. Something went wrong maybe when refactoring
baselining or something

Any idea when it last looked okay? What is it supposed to look like? Is it supposed to look like the non-dev-docs version? If so, I can probably find time tomorrow to bisect and find the problem.

@Eric89GXL maybe before your cuda refacoting? Also didn't you also recently refactor some of this code. Maybe let's git praise (blame).

Can you describe briefly what it's supposed to look like?

for the stockwell roughly

I think this was one original screenshot from the example:

Here some info on the original MTM implementation, also plots.
https://github.com/mne-tools/mne-python/pull/1639

bisected the offending commit, naturally it's mine :)
https://github.com/dengemann/mne-python/commit/a19a954b3fbd5a38f5659ba5d294064129c2ea0a
working on it now

We're not good yet ... TF examples are stil broken down here.

This is what I get for stockwell...?

Damn it. I don't get that.
What about multi-taper?
2015-05-06 0:57 GMT+02:00 Eric Larson<EMAIL_ADDRESS>
This is what I get for stockwell...?
[image: figure_1]
https://cloud.githubusercontent.com/assets/2365790/7484607/6874ad20-f33f-11e4-960e-bad10bec7ddd.png
[image: figure_2]
https://cloud.githubusercontent.com/assets/2365790/7484609/6b1be8fe-f33f-11e4-9d22-49aee79f4659.png
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/1986#issuecomment-99255055
.

rebuilding after cleaning all.
2015-05-06 0:58 GMT+02:00 Denis-Alexander Engemann<EMAIL_ADDRESS>
:

Damn it. I don't get that.
What about multi-taper?
2015-05-06 0:57 GMT+02:00 Eric Larson<EMAIL_ADDRESS>
This is what I get for stockwell...?
[image: figure_1]
https://cloud.githubusercontent.com/assets/2365790/7484607/6874ad20-f33f-11e4-960e-bad10bec7ddd.png
[image: figure_2]
https://cloud.githubusercontent.com/assets/2365790/7484609/6b1be8fe-f33f-11e4-9d22-49aee79f4659.png
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/1986#issuecomment-99255055
.

plot_time_frequency_multitaper_sensors I assume you mean:

we're good. apologies for the nois, a make clean wa missing.


Add APIs to client to expose the internal storages so that they may be consulted directly.

Issues:
Resolves #99
Description of changes:
#94 made the API for storage simply expose Vecs which is perfect for importing and exporting data. Unfortunately, there is no current way to access the underlying storage of the group other than setting a storage directly on the config builder, which requires a use of clone and most importantly, that the group storage being set have some kind of internal mutability. This PR adds APIs to the Client which expose the storages.
Call-outs:
While only access to group state storage is needed for this feature, it seems prudent to expose the other storages in case they are needed in the future. I'm happy to revert those changes if we prefer however.
Testing:
The change simply exposes some internal values, It does not therefore add any tests.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 89.45%. Comparing base (2d92710) to head (b0055a5).

Files
Patch %
Lines

mls-rs/src/client.rs
0.00%
16 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
- Coverage   89.51%   89.45%   -0.07%
==========================================
  Files         173      173
  Lines       31261    31277      +16
==========================================
- Hits        27983    27978       -5
- Misses       3278     3299      +21

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


Fixed #32893 -- Fixed serialization of models.Model class in migrations.

…when serializing models.Model

it returned an empty set earlier.

Thanks Jaap Joris Vens for the report.
ticket-32893

buildbot, test this please.

buildbot, test this please.

buildbot, test this please.

buildbot, test this please.

buildbot, test this please.

buildbot, test this please.


[Feature Request] wants the rate component to support custom minimum scores

Existing Component
Yes
Component Name
Rate
Description
希望rate组件支持自定义最小分值

Sorry, we have no plan to support this. Basically you can have a computed property to do this.


linja with --to_axiom option failed

Note that I have the following .project file at library folder. I was in the process of generating .olean files for Lean.JS.
+ *.lean
- flycheck*.lean
- .#*.lean
- theories/

linja --to_axiom failed with the following error messages. Mainly the errors are from https://github.com/leanprover/lean/blob/master/library/data/hf.lean file.
[151/163] "/Users/soonhok/work/lean/bin/lean" --to_axiom /Users/soonhok/work/lean/library/data/hf.lean -o "/Users/soonhok/work/lean/library/data/hf.olean" -c "/Users/soonhok/work/lean/library/data/hf.clean" -i "/Users/soonhok/work/lean/library/data/hf.ilean"
FAILED: "/Users/soonhok/work/lean/bin/lean" --to_axiom /Users/soonhok/work/lean/library/data/hf.lean -o "/Users/soonhok/work/lean/library/data/hf.olean" -c "/Users/soonhok/work/lean/library/data/hf.clean" -i "/Users/soonhok/work/lean/library/data/hf.ilean"
/Users/soonhok/work/lean/library/data/hf.lean:27:0: error: definition 'of_finset' is noncomputable, it depends on 'finset.finset_nat_equiv_nat'
/Users/soonhok/work/lean/library/data/hf.lean:30:0: error: definition 'to_finset' is noncomputable, it depends on 'finset.finset_nat_equiv_nat'
/Users/soonhok/work/lean/library/data/hf.lean:40:1: error: type mismatch at definition 'to_finset_of_finset', has type
  ∀ (s : finset hf),
    equiv.inv (finset ℕ) (equiv.to_fun ℕ s) = s
but is expected to have type
  ∀ (s : finset hf),
    to_finset (of_finset s) = s
/Users/soonhok/work/lean/library/data/hf.lean:43:1: error: type mismatch at definition 'of_finset_to_finset', has type
  ∀ (s : hf),
    equiv.to_fun ℕ (equiv.inv (finset ℕ) s) = s
but is expected to have type
  ∀ (s : hf),
    of_finset (to_finset s) = s
/Users/soonhok/work/lean/library/data/hf.lean:52:0: error: definition 'empty' is noncomputable, it depends on 'hf.of_finset'
/Users/soonhok/work/lean/library/data/hf.lean:58:0: error: definition 'insert' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:62:0: error: definition 'mem' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:70:9: error: invalid 'unfold', 'hf.insert' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:80:9: error: invalid 'unfold', 'hf.insert' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:88:2: error: type mismatch at definition 'decidable_mem', has type
  Π (a : ?M_5) (s : ?M_6),
    decidable (finset.mem a (to_finset ?M_8))
but is expected to have type
  Π (a : ?M_1) (s : ?M_2),
    decidable (?M_3 ∈ ?M_4)
/Users/soonhok/work/lean/library/data/hf.lean:92:30: error: invalid 'unfold', 'hf.insert' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:96:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:99:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:102:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:105:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:108:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:112:41: error: type mismatch at application
  finset.ext h
term
  h
has type
  ∀ (a : hf),
    a ∈ s₁ ↔ a ∈ s₂
but is expected to have type
  ∀ (a : hf),
    finset.mem a (to_finset s₁) ↔ finset.mem a ?M_1
/Users/soonhok/work/lean/library/data/hf.lean:117:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:122:3: error: type mismatch at application
  finset.induction h₁
term
  h₁
has type
  P ∅
but is expected to have type
  P (of_finset ?M_1)
/Users/soonhok/work/lean/library/data/hf.lean:150:0: error: definition 'union' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:156:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:162:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:168:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:207:0: error: definition 'inter' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:213:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:216:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:219:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:256:0: error: definition 'card' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:260:0: error: type mismatch at definition 'card_empty', has type
  card ∅ = card ∅
but is expected to have type
  card ∅ = 0
/Users/soonhok/work/lean/library/data/hf.lean:263:0: error: tactic failed
s : hf,
n : ℕ
⊢ card s = succ n → s ≠ ∅
/Users/soonhok/work/lean/library/data/hf.lean:263:0: error: failed to add declaration 'hf.ne_empty_of_card_eq_succ' to environment, value has metavariables
remark: set 'formatter.hide_full_terms' to false to see the complete term
  ?M_1
/Users/soonhok/work/lean/library/data/hf.lean:266:0: error: definition 'erase' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:270:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:273:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:276:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:279:0: error: type mismatch at definition 'erase_empty', has type
  ∀ (a : hf),
    erase a ∅ = erase a ∅
but is expected to have type
  ∀ (a : hf),
    erase a ∅ = ∅
/Users/soonhok/work/lean/library/data/hf.lean:285:13: error: invalid 'unfold', 'hf.erase' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:288:23: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:300:9: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:306:9: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:312:0: error: definition 'subset' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:318:13: error: invalid 'unfold', 'hf.empty' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:321:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:324:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:327:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:330:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:337:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:340:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:349:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:352:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:355:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:358:13: error: invalid 'unfold', 'hf.erase' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:370:9: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:383:8: error: type mismatch at term
  λ (s₂ : ?M_1) (this : ∅ ⊆ ?M_2),
    zero_le ?M_3
has type
  ∀ (s₂ : ?M_1) (this : ∅ ⊆ ?M_2),
    0 ≤ ?M_3
but is expected to have type
  ∀ (s₂ : hf),
    ∅ ⊆ s₂ → ∅ ≤ s₂
/Users/soonhok/work/lean/library/data/hf.lean:400:0: error: definition 'image' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:404:0: error: type mismatch at definition 'image_empty', has type
  ∀ (f : hf → hf),
    image f ∅ = image f ∅
but is expected to have type
  ∀ (f : hf → hf),
    image f ∅ = ∅
/Users/soonhok/work/lean/library/data/hf.lean:407:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:413:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:416:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:427:13: error: invalid 'unfold', 'hf.image' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:431:13: error: invalid 'unfold', 'hf.image' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:434:13: error: invalid 'unfold', 'hf.subset' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:437:13: error: invalid 'unfold', 'hf.image' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:440:0: error: definition 'powerset' is noncomputable, it depends on 'hf.to_finset'
/Users/soonhok/work/lean/library/data/hf.lean:446:0: error: type mismatch at definition 'powerset_empty', has type
  𝒫∅ = 𝒫∅
but is expected to have type
  𝒫∅ = insert ∅ ∅
/Users/soonhok/work/lean/library/data/hf.lean:449:13: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:457:18: error: invalid 'unfold', 'hf.mem' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:478:0: error: definition 'of_list' is noncomputable, it depends on 'list.list_nat_equiv_nat'
/Users/soonhok/work/lean/library/data/hf.lean:481:0: error: definition 'to_list' is noncomputable, it depends on 'list.list_nat_equiv_nat'
/Users/soonhok/work/lean/library/data/hf.lean:485:1: error: type mismatch at definition 'to_list_of_list', has type
  ∀ (s : list hf),
    equiv.inv (list ℕ) (equiv.to_fun ℕ s) = s
but is expected to have type
  ∀ (s : list hf),
    to_list (of_list s) = s
/Users/soonhok/work/lean/library/data/hf.lean:488:1: error: type mismatch at definition 'of_list_to_list', has type
  ∀ (s : hf),
    equiv.to_fun ℕ (equiv.inv (list ℕ) s) = s
but is expected to have type
  ∀ (s : hf),
    of_list (to_list s) = s
/Users/soonhok/work/lean/library/data/hf.lean:496:0: error: definition 'nil' is noncomputable, it depends on 'hf.of_list'
/Users/soonhok/work/lean/library/data/hf.lean:500:0: error: type mismatch at definition 'empty_eq_nil', has type
  ∅ = ∅
but is expected to have type
  ∅ = nil
/Users/soonhok/work/lean/library/data/hf.lean:502:0: error: definition 'cons' is noncomputable, it depends on 'hf.to_list'
/Users/soonhok/work/lean/library/data/hf.lean:508:0: error: tactic failed
a l : hf
⊢ a :: l ≠ nil
/Users/soonhok/work/lean/library/data/hf.lean:508:0: error: failed to add declaration 'hf.cons_ne_nil' to environment, value has metavariables
remark: set 'formatter.hide_full_terms' to false to see the complete term
  ?M_1
/Users/soonhok/work/lean/library/data/hf.lean:511:13: error: invalid 'unfold', 'hf.cons' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:514:13: error: invalid 'unfold', 'hf.cons' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:520:0: error: definition 'append' is noncomputable, it depends on 'hf.to_list'
/Users/soonhok/work/lean/library/data/hf.lean:526:13: error: invalid 'unfold', 'hf.nil' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:529:13: error: invalid 'unfold', 'hf.cons' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:532:13: error: invalid 'unfold', 'hf.nil' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:535:13: error: invalid 'unfold', 'hf.append' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:538:0: error: definition 'length' is noncomputable, it depends on 'hf.to_list'
/Users/soonhok/work/lean/library/data/hf.lean:542:13: error: invalid 'unfold', 'hf.length' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:545:13: error: invalid 'unfold', 'hf.length' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:548:13: error: invalid 'unfold', 'hf.length' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:551:13: error: invalid 'unfold', 'hf.length' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:554:13: error: invalid 'unfold', 'hf.length' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:557:0: error: definition 'head' is noncomputable, it depends on 'hf.to_list'
/Users/soonhok/work/lean/library/data/hf.lean:561:13: error: invalid 'unfold', 'hf.head' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:565:9: error: invalid 'unfold', 'hf.nil' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:573:9: error: invalid 'unfold', 'hf.nil' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:578:0: error: definition 'tail' is noncomputable, it depends on 'hf.to_list'
/Users/soonhok/work/lean/library/data/hf.lean:582:13: error: invalid 'unfold', 'hf.tail' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:585:13: error: invalid 'unfold', 'hf.tail' is not a definition
/Users/soonhok/work/lean/library/data/hf.lean:589:9: error: invalid 'unfold', 'hf.nil' is not a definition
[151/163] "/Users/soonhok/work/lean/bin/lean" --to_axiom /Users/soonhok/work/lean/library/data/rat/order.lean -o "/Users/soonhok/work/lean/library/data/rat/order.olean" -c "/Users/soonhok/work/lean/library/data/rat/order.clean" -i "/Users/soonhok/work/lean/library/data/rat/order.ilean"
ninja: build stopped: subcommand failed.

@leodemoura, please ignore this one if you plan to eliminate --to_axiom option.

Getting rid of --to_axiom is not an option at this point. The lean.js version would be too big.
I will try to fix the issue above and/or implement a better mechanism for eliminating proofs from the standard library.

@leodemoura, I see. FYI, I built lean.js without using --to_axiom last night. Its size was around 22MB (without theories directory).

@leodemoura, I see. FYI, I built lean.js without using --to_axiom last night. Its size was around 22MB (without theories directory).

This is a 7Mb increase in the file that has to be downloaded.
The memory requirements would also increase. Right now, I assume we consume around 25Mb to run Lean in the browser. If we include the proofs, it will probably double.


[Catalog] Design snapshots are not showing in dark mode

Description

Expected Behavior

Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@aabidsofi19 @MUzairS15 this is a defect in the Meshery extension (frontend) or elsewhere?


Create Poker Logic (4 pts)

Create the logic for the game of Texas Hold 'Em poker

No longer relevant


some nits for advanced audit document

NOTE: Please check the “Allow edits from maintainers” box (see image below) to
allow reviewers to fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.

This change is

One nit. Otherwise, lgtm.

/lgtm


feat(HLS): Re-add TS support to Safari

It appears that the problems we previously had with TS content
on Safari have been fixed. We no longer need the workaround where
we transmuxed TS on that platform.

I tried out a bunch of different TS assets on Safari, with native HLS disabled of course, and I didn't see any problems. Unless the original problem was the kind of thing that only showed up 1 out of every 100 plays or something, I think it's fixed by now.

It looks like we still need to stub the abort function on Safari, though. I tried without it being stubbed, and sometimes things go wonky when you seek.


probably bug for typeof 'udefined' => 'undefined' ?

thanks

Well, it is not a bug. This is how you determine is variable is not set. This is the older syntax that works in old browser, such as IE5.5. I have move to a different one, but this one still works.


Failing while starting django server on tablib deps (djnango-import-export 1.2.0)

I am using

django 1.11
djnango-import-export 1.2.0

When I am installing deps, have no errors. But when I ran server occur error like
ModuleNotFoundError: ... xlrd
I am suggesting to create a patch for version 1.2.1 (last witch supports django 1.11).
in setup.py (https://github.com/lerdem/django-import-export/blob/1.2.0/setup.py#L29)
install_requires = [
    'diff-match-patch',
    'django>=1.8',
    'tablib[all]',
]

tarlib doc installation
https://tablib.readthedocs.io/en/stable/install/#installing-tablib

I think the solution for you is to pin tablib to an older version in your project (until you upgrade to a more recent Django version).

Just reopen if the tablib pinning explained above didn't fix your issue.


automatically detect entrypoint in multiproject module development

Codecov Report
Patch coverage has no change and project coverage change: -0.67 :warning:

Comparison is base (9cc4c53) 81.70% compared to head (5491949) 81.04%.

:exclamation: Current head 5491949 differs from pull request most recent head 7140e81. Consider uploading reports for the commit 7140e81 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #668      +/-   ##
==========================================
- Coverage   81.70%   81.04%   -0.67%
==========================================
  Files          27       19       -8
  Lines         656      575      -81
  Branches      120      109      -11
==========================================
- Hits          536      466      -70
+ Partials      120      109      -11

Impacted Files
Coverage Δ

bootstrap/src/component/Main.jsx

bootstrap/src/saga/context.js

bootstrap/src/selector/index.js

bootstrap/src/component/Globalisation.jsx

bootstrap/src/reducer/runtime.js

bootstrap/src/component/Entrypoint.jsx

bootstrap/src/store/index.js

bootstrap/src/saga/bootstrap.js

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Figma-org] Kickoff - How we work in Polaris with Spark

### Tasks
- [ ] Polaris ZeroHeight (mathieu + turo)
- [ ] Key Screens (madison + imène)
- [ ] Covers (imène)
- [ ] Tokens (joachim)
- [ ] Workshop figma org (clemence + eli)

Kickoff done on Tuesday
Slack channel to track progress: #adv-polaris-figma-org


fix logic around creating or selecting a site

No site configured in the netlify.toml, fetching your existing sites.
Choose a site to deploy to or 0 to create a new site.
[0] Create a new site
[1] ryan-support-testing
[2] statistician-audits-34073
=> Which site? (default: 0)

fixes #24

LGTM


Parameterizing message decoders

Prepare for likafka migration
Allows message decoders to take in either byte[] or IndexedRecord

Codecov Report

Merging #1871 into master will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1871      +/-   ##
==========================================
+ Coverage   70.11%   70.13%   +0.02%
==========================================
  Files         813      813
  Lines       38906    38906
  Branches     5136     5136
==========================================
+ Hits        27278    27288      +10
+ Misses       9841     9824      -17
- Partials     1787     1794       +7

Impacted Files
Coverage Δ

...e/realtime/impl/kafka/KafkaJSONMessageDecoder.java
0% <0%> (ø)
:arrow_up:

...e/realtime/impl/kafka/KafkaAvroMessageDecoder.java
0% <0%> (ø)
:arrow_up:

...in/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
:arrow_down:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
82.22% <0%> (-6.67%)
:arrow_down:

...impl/dictionary/DoubleOnHeapMutableDictionary.java
68.88% <0%> (-6.67%)
:arrow_down:

...e/operator/dociditerators/BitmapDocIdIterator.java
60.71% <0%> (-3.58%)
:arrow_down:

...inot/core/operator/docidsets/AndBlockDocIdSet.java
55.17% <0%> (-2.07%)
:arrow_down:

.../com/linkedin/pinot/common/data/TimeFieldSpec.java
94.73% <0%> (-1.32%)
:arrow_down:

...pby/NoDictionarySingleColumnGroupKeyGenerator.java
91.91% <0%> (-1.02%)
:arrow_down:

...filter/SortedInvertedIndexBasedFilterOperator.java
78.37% <0%> (ø)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


Add the NAMESPACE regex to mysql encrypted volume.

The new build is underway.

The reboot test passed
http://<IP_ADDRESS>:8080/view/torpedo/view/all/job/torpedo-reboot-tests/15/console


Missing Packages.gz in testing branch

opkg update
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
wget: note: TLS certificate validation not implemented
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading https://toltec-dev.org/testing/Packages.gz
wget: note: TLS certificate validation not implemented
wget: server returned error: HTTP/1.1 404 Not Found
*** Failed to download the package list from https://toltec-dev.org/testing/Packages.gz
Collected errors:

opkg_download: Failed to download https://toltec-dev.org/testing/Packages.gz, wget returned 1.

Hi,
this is a still ongoing transition problem. We added multiple architectures on testing, changing the path https://toltec-dev.org/testing to https://toltec-dev.org/testing/rmall, https://toltec-dev.org/testing/rm1 and https://toltec-dev.org/testing/rm2 (depending on model) while adding those as new architectures to /opt/etc/opkg.conf.
Please try running the bootstrap script from testing and running this with the env toltect_branch=testing. It should do the migration for you. This command should do that:
wget -qO- https://raw.githubusercontent.com/toltec-dev/toltec/testing/scripts/bootstrap/bootstrap | toltec_branch=testing bash

wget -qO- https://raw.githubusercontent.com/toltec-dev/toltec/testing/scripts/bootstrap/bootstrap | toltec_branch=testing bash
wget: note: TLS certificate validation not implemented
INFO:  Toltec is already installed
INFO:  To re-enable Toltec after a system upgrade, run 'toltecctl enable'
INFO:  To reinstall Toltec, run 'toltecctl uninstall' first
toltecctl uninstall
-sh: toltecctl: command not found

If toltecctl doesn't work after a re-login to ssh, try ./local/bin/toltecctl. Otherwise try to install the package toltec-bootstrap.

still no luck. I suppose you meant .local/bin/toltecctl ? toltec-bootstrap is allready installed and the latest version. I even removed toltec-bootstrap and reinstalled it opkg remove toltec-bootstrap
Package toltec-bootstrap (0.0.1-3) installed in root is up to date.

This version probably doesn't include the toltecctl tool. The latest version should be 0.0.6-1.

toltec-bootstrap_0.0.1-3_armv7-3.2.ipk.zip here is the build of that file. You can install that manually.

I must be doing something wrong....
opkg install toltec-bootstrap_0.0.6-1_rmall.ipk
`Unknown package 'toltec-bootstrap'.
Collected errors:

pkg_hash_fetch_best_installation_candidate: Packages for toltec-bootstrap found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package toltec-bootstrap.
`


kubectl logs --follow shouldn't timeout or exit non-zero otherwise

What happened?
kubectl logs -f pod

with a pod silent for a while, say 10 mins, after a while it gets disconnected.
What did you expect to happen?
The logs are streamed indefinitely.
Alternatively, if a timeout is the cause of the interruption, exit with non-zero status.
How can we reproduce it (as minimally and precisely as possible)?
Run a pod which does something like
date
sleep 3600
date

and watch its logs with logs -f
Anything else we need to know?
No response
Kubernetes version

$ kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.6", GitCommit:"ff2c119726cc1f8926fb0585c74b25921e866a28", GitTreeState:"archive", BuildDate:"2023-01-19T00:00:00Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.5", GitCommit:"804d6167111f6858541cef440ccc53887fbbc96a", GitTreeState:"clean", BuildDate:"2022-12-11T00:17:11Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider

Azure AKS

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

/triage accepted
We would like to implement a non-zero exit code for a timeout/failure for sure, we will investigate the ability to ignore timeouts due to inactivity.

Hey, would this be a good issue for a new contributor? If so, I would like to try and give it a shot.

So I actually think that the root of the error here is that we have an --ignore-errors flag, but it defaults to true all the time. I haven't checked further than just skimming through the logs code really quick, however if we look here we see the definition of the flag itself, and I'm pretty sure it defaults to true, meaning that the only way to not ignore errors would be passing --ignore-errors=false I believe. Needs more investigation, but hopefully should be relatively straight forward if you want to give it a shot.

@mpuckett159 sure, I'll give it a try, thanks!
/assign

@mpuckett159 do you still think worthwhile to do some research if it's possible to workaround timeouts?

Hey @mpuckett159 I had a small query, should I open the PR with the fix in this repo or in the main k8s one?

Yes, all PRs for fixing code in kubectl should be opened in the main kubernetes/kubernetes repo, and code changes should be done in the staging directory. Also be sure to sign the CLA. You can find more details on contributing and your first contribution here.

Thanks @mpuckett159 for letting me know! Opened a PR fixing the same.

Excellent I'll take a look.

By the way, I don't think --ignore-errors actually defaults to true, unless I am reading this wrong:
$ kubectl logs --help | grep -A1 ignore-errors
    --ignore-errors=false:
	If watching / following pod logs, allow for any errors that occur to be non-fatal

I'm pretty sure cobra uses whatever the value of the variable is, and o.IgnoreLogErrors appears to be an uninitialized bool when this runs:
	cmd.Flags().BoolVar(&o.IgnoreLogErrors, "ignore-errors", o.IgnoreLogErrors, "If watching / following pod logs, allow for any errors that occur to be non-fatal")

@dkarlovi.  Can you provide more details on this?
I am trying to reproduce and am unable.  I am using my own cluster and not Azure AKS, so maybe there is something provider-specific.  I am also using a newer client and server, so that could be a factor too.
Here is what I've tried:
$ kubectl run bb --image=busybox --command -- /bin/sh -c "date; sleep 3600; date"

$ kubectl logs -f bb
Fri May 12 23:20:56 UTC 2023

... and it runs for over 15 minutes, and I finally decided to try to make it exit, so I ran kubectl edit pod bb and changed the image to busybox:1.35, then my kubectl logs command exits with exit code 0.  It terminated normally because the pod stopped (restarted).

Now, if I force request timeout to something short, I get a timeout error and a nonzero exit code...
$ kubectl logs -f bb --request-timeout=5
Fri May 12 23:37:28 UTC 2023
error: net/http: request canceled (Client.Timeout or context cancellation while reading body)
$ echo $?
1

...but I don't think this is what this issue is referring to.
Any additional info would be welcome.

@brianpursley maybe something in the release fixed it in the meantime, let me retry and update this issue, will get back to you here on Monday. Thanks!

@brianpursley you're right, I can't reproduce it any longer either, it streamed the empty log for 1h correctly. Closing here, thanks for looking into this!

BTW if anyone ends up finding this issue, kubectl 1.25.0 did have this issue for me, but 1.29 did not, everything else being equal. It was fixed at some point after 1.25.0 but before 1.29.0, I don't know how.


gen mode extended does not work

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
I ran sonobuoy run --mode=extended and the sonobuoy pod immediately crashed.
What you expected to happen:
I expected to run the extended e2e tests.
How to reproduce it (as minimally and precisely as possible):
Get sonobuoy and a cluster, run sonobuoy run --mode=extended.
Anything else we need to know?:
./sonobuoy version
v0.11.1
Environment:

Sonobuoy tarball (which contains * below)

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.5", GitCommit:"f01a2bf98249a4db383560443a59bed0c13575df", GitTreeState:"clean", BuildDate:"2018-03-19T15:50:45Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration:

OS (e.g. from /etc/os-release):

Kernel (e.g. uname -a):

Closing this -- it will have to be tested when we re-enable extended mode when sonobuoy-plugins gets open sourced.


Migrate to py36-npy114 as primary test environment

Change the primary test environment from py36-npy113 to py36-npy114. This mainly implies updating all the doctests to be compatible with numpy array representation changes.

Not urgent, but would be good to do at some point.

Superseded by #308.


Swift 3 Support

Hi,
I installed the latest Xcode with Swift 3.0, and AEXML generates numerous errors. Would appreciate a new release which supports.
Thanks much,
Brian.

My fork should support Swift 3.0; use tag 3.0.0.

I installed the Xcode beta with Swift 3.0 as well. Swift 3 is incompatible with Swift 2 (we cannot write a library that works in both environment. Currently I am working to convert it to provide Swift 3.0 support elsewhere. You can also try this branch from @raumfeld.

Ok I finished my work. Add this to your dependencies to use it:
.Package(url: "https://github.com/franklinyu/AEXML.git", Version(stringLiteral: "3.0.0-rc1"))

This seems long because it is still a release candidate. Once stable Swift 3 is released, I will bump to 3.0.0 and this will work:
.Package(url: "https://github.com/franklinyu/AEXML.git", majorVersion: 3)

Rather than asking users to point to @franklinyu's fork, can we create a branch on @tadija's repository for swift3 support?

@michaellindahl That would be the best, after @tadija decides to fully migrate to Swift 3. I guess he is waiting for Swift 3 to be stable (probably this fall).

I attached a version which is Swift 3 and iOS10 compatible. NSXMLParser became XMLParser, and other changes.
AEXML.swift.zip

The new iOS10 beta 6 hs new issues, specifically with property:
public private(set) children [AEXMLElement] = AEXMLElement
Has anyone else tried beta 6 as yet. I can upload my AEXML image or if a branch could be created...
To date I was able to workaround other issues, though this one's a showstopper.

Update:
I was able to workaround by dropping the 'private(set) and some other tweaks; I will upload .zip file later today for others to use in the interim.

There are already two pull requests for it: #77 and #84.

ok, thanks.

On Aug 19, 2016, at 3:56 PM, Franklin Yu<EMAIL_ADDRESS>wrote:
There are already two pull requests for it: #77 https://github.com/tadija/AEXML/pull/77 and #84 https://github.com/tadija/AEXML/pull/84.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tadija/AEXML/issues/79#issuecomment-241155183, or mute the thread https://github.com/notifications/unsubscribe-auth/AIFFGSUE4Dz4eztuvHuHGMoHP_P4D3G_ks5qhjSIgaJpZM4I4s2T.

@tadija is this project still active?

If you require ios10 support check the two pulls recommended by franklinyu. Original author waiting for swift 3 dust to settle

Hey people, sorry because it took me so long, but Swift 3 support is finally here in AEXML 4.0.0, and thanks all for your help in this 'waiting' period!

Is there a reason xcode is still asking me to convert AEXML 4.0.0 to swift 3?

My Xcode 8.0 (8A218a) on El Capitan does not ask me to do any conversion.

Hi all,
I've followed the above, replaced my AEXML.swift file with the one posted by appsird above and I'm still getting errors (pictured). New to development so would appreciate layman's terms and simplified suggestions.
I'm updating my Swift 2.3 source code after being forced to convert it by Xcode. Now running Swift 3 or 4 (not sure) on Xcode 8.3.3.
Thanks for your help!

@TahiG Which version of AEXML are you using? Latest version doesn't seem to have the file AEXML.swift.

Hi Franklinyu,
I did a pod install of the latest FolioReader which installed AEXML with it. When all the AEXML-related errors popped up I downloaded the zip file by appsird (above): https://github.com/tadija/AEXML/files/345138/AEXML.swift.zip and replaced the existing AEXML.swift with this one. There were fewer errors but largely the same. Any suggestions?

@TahiG That is super weird. Latest FolioReader requires AEXML 4.0 onward which does not have AEXML.swift. Would you like to check your Podfile.lock? If you have difficulty understand the Podfile.lock syntax, I'm glad to help.
In addition, latest AEXML already support Swift 3.0. There should be no need to use the version by appsird (which I don't think is maintained by anyone, not even himself).

Yes, If you could tell me what to look for in the podfile.lock that would be awesome. I assume any text editor will open?

Yes. It's plain text. There should be a line with AEXML (4.0.0) or something similar.

Thanks Franklinyu, it turned out I had FolioReader v0.94 and AEXML v3.0.0 so I updated FolioReader to v1.2.0 and AEXML to v4.0 by manually downloading the zips from Github (as opposed to using Terminal) and now when I build there's just one error that reads:
:0: error: no such file or directory: '/Users/Destina/Downloads/globe-app-code 2/Pods/AEXML/Sources/AEXML.swift'
Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
I've tried searching for answers but most just say cleaning works for them. Unfortunately its not working for me.

Is there any other dependencies that you don't want to upgrade? If you feels lucky, maybe you can just pod update and everything will be latest. Then try cleaning and rebuild everything. (It's a good idea to keep everything latest anyway.)

I've tried pod update , cleaning and rebuilding but still getting multiple errors:

Any advice would be appreciated.

@TahiG Among the errors in this case, is there any one related to AEXML? If the errors are related to FolioReader, then their developers may give better advice.

@franklinyu I'm trying to import AEXML on my Swift 4 Xcode 9.2, but it's giving an error.
Could you help me?
The error is this: "Value of type '[AEXMLElement]' has no member 'compactMap'"
Thank you in advance!

Ok, I'll have to update Xcode even, so I'll update and test with 4.3.0 version. Thank very much for the answer.


Property can have Expression as its key.

At the document, Property has only Identifier or Literal as its key like bellow.
interface Property {
    type: 'Property';
    key: Identifier | Literal;
    computed: boolean;
    value: AssignmentPattern | Identifier | BindingPattern | FunctionExpression | null;
    kind: 'get' | 'set' | 'init';
    method: false;
    shorthand: boolean;
}

But, in this case
var x = {a:10, [b=10] : 20}

we can get AssignmentExpression type as Property.key.
So, document should be edited like that.
interface Property {
    type: 'Property';
    key: Expression;
    computed: boolean;
    value: AssignmentPattern | Identifier | BindingPattern | FunctionExpression | null;
    kind: 'get' | 'set' | 'init';
    method: false;
    shorthand: boolean;
}

Thank you @DaramG, I'll have it fixed shortly.


Add LINQ like interface for iterable

Use it in DB, CommandResult and other places where iterable can be used

Should be able get slice specified by offset, limit
Should be able to filter by predicate

See https://github.com/nikic/iter

Use https://github.com/nikic/iter when necessary.


Low-Mach correction for HLLC solver

Includes the low-mach correction for the pressure in the Riemann solver. Does not include carbuncle fix. Based on Minoshima & Miyoshi (2021).
New version of https://github.com/parthenon-hpc-lab/athenapk/pull/57.

@pgrete @forrestglines I'd like to get this merged in, so I can run my precipitator simulations with upstream AthenaPK and Parthenon. Please let me know what you need from me to do this.

This is not the full implementation of the LHLLC solver, i.e., it just contains the fix for the pressure at the contact surface and not the shock fix (based on the velocity divergence), isn't it?

This is not the full implementation of the LHLLC solver, i.e., it just contains the fix for the pressure at the contact surface and not the shock fix (based on the velocity divergence), isn't it?

Yes, that's right.

Given that this boils down to a 5 line change (with regard to the HLLC solver), I'm wondering if there's a smart (constexpr if way?) around this to reduce the code duplication.
Otherwise, it'd be great if

the current version is mentioned in the docs (with a note that it includes only one part of the solver described in the paper)
there's a Changelog entry

Given that this boils down to a 5 line change (with regard to the HLLC solver), I'm wondering if there's a smart (constexpr if way?) around this to reduce the code duplication.

The template metaprogramming to do this while keeping it as a runtime parameter is not trivial. For instance, this is the AMReX implementation: https://github.com/AMReX-Codes/amrex/blob/b78849057c0f533466da6b517a59d2eddc99c1a8/Src/Base/AMReX_CTOParallelForImpl.H#L143
I can add it to CHANGELOG + docs.

Given that this boils down to a 5 line change (with regard to the HLLC solver), I'm wondering if there's a smart (constexpr if way?) around this to reduce the code duplication.

The template metaprogramming to do this while keeping it as a runtime parameter is not trivial. For instance, this is the AMReX implementation: https://github.com/AMReX-Codes/amrex/blob/b78849057c0f533466da6b517a59d2eddc99c1a8/Src/Base/AMReX_CTOParallelForImpl.H#L143

Interesting. Might be worth to keep that in mind for the futures.

I can add it to CHANGELOG + docs.

Yes, that'd be great.
And then also a tiny test case (I suggest one more here https://github.com/parthenon-hpc-lab/athenapk/blob/main/tst/regression/test_suites/convergence/convergence.py#L37 and one more here https://github.com/parthenon-hpc-lab/athenapk/blob/main/tst/regression/test_suites/riemann_hydro/riemann_hydro.py#L27C28-L27C69 mirroring the "fiducial" VL2/PLM case).


Rename AStar to AStar3D

I think it's not a bad idea to do. Closes https://github.com/godotengine/godot-proposals/issues/4247

Thanks!


Create Hello.inf

Hello World in Inform 6

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


olac_grabber does not allow downloads with more than one xml per wav

the command
python olac_grabber.py  --metadata "/home/mfily/Documents/diagnoSTIC_XP/03_make_corpus/metadata_pangloss.xml" --languages "Lataddi Narua"
exits in error ("pandas.errors.MergeError: Merge keys are not unique in right dataset; not a one-to-one merge"). I suspect that this is due to multiple xml files for one wav. Can't it download all xmls attached to one wav file ?

are you sure that the program downloads all the annotations: IMHO, it will only download the first annotation file it finds (followings annotations will have the same file name and  the file will not be overwritten). I'm not aware of situations where there may be several annotation files, but you need to check that this is what we want to do


Improve test runner voice commands

Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

Ok this one is ready for another review @AndreasArvidsson @josharian

I lifted a cleanup of launch.json and tasks.json out of #2256 and added them to this PR because they change the names of our launch configs. Feel free to merge if this looks good to you @AndreasArvidsson

I also incorporated some of the changes from #2424 to avoid a merge conflict


CLI is broken with v6.2.1 on my mac right now

pipenv install --three
Sat Sep  9 23:02:15 2017
Traceback (most recent call last):
File "/Users/erin/.local/bin/pipenv", line 7, in
from pipenv import cli
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/init.py", line 13, in
from .cli import cli
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 82, in
project = Project()
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/project.py", line 33, in init
os.chdir(self.project_directory)
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/project.py", line 49, in project_directory
return os.path.abspath(os.path.join(self.pipfile_location, os.pardir))
File "/Users/erin/.local/venvs/pipenv/bin/../lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Same here on Ubuntu 16.04

fix already landed in master

deployed


Used this theme in a free ASP.NET Core & Angular startup project

I just wanted to inform everyone looking for an adaptation of this theme for ASP.NET Core & Angular. I have just released a startup project based on this: https://github.com/aspnetboilerplate/module-zero-core-template
Thank you @gurayyarar for your wonderful work!

Thanks for your supporting and kind opinion,
If you need a help, please don't hesitate the contact with me
Thanks again @hikalkan

Thank you both for the wonderful work.  I like the full demo page. https://gurayyarar.github.io/AdminBSBMaterialDesign/index.html
@gurayyarar, is this possible to have same demo page using your framework "ASP.NET Core & Angular". I tried to use some features mentioned from AdminBSB ie. datetimepicker but I got some difficulty to get it work on the "ASP.NET Core & Angular" project.


Update jQuery.append, prepend, before and after

The below test shows jQuery.append accepts DocumentFragment.
https://github.com/jquery/jquery/blob/99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea/test/unit/manipulation.js#L2614
As prepend, before, and after handle the arguments in the same manner, they should also accept  DocumentFragment.
https://github.com/jquery/jquery/blob/99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea/src/manipulation.js#L330

@johnnyreilly

Thanks for the contribution. This PR contains merge conflicts and can not be merged at the moment. Please refresh this PR and address the merge conflicts.

@mhegazy Updated.


fix: CI build failed on main

Which issue does this PR close?

Closes #13639.
Rationale for this change
There is a logical conflict between #13611 and main.
indexmap::IndexSet was replaced to common::IndexSet in #13611, but there's still code using it on the main.

What changes are included in this PR?

Are these changes tested?
Yes

Are there any user-facing changes?
No

Thanks @Weijun-H for the review.


stellar-core: 17.0.0 -> 18.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/stellar/stellar-core/releases.
meta.description for stellar-core is: "Implements the Stellar Consensus Protocol, a federated consensus protocol"
meta.homepage for stellar-core is: "https://www.stellar.org/"
meta.changelog for stellar-core is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/ibgh9qbnglpb01b554xsk6rlbyrd8dn5-stellar-core-18.3.0/bin/stellar-core had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 18.3.0 in filename of file in /nix/store/ibgh9qbnglpb01b554xsk6rlbyrd8dn5-stellar-core-18.3.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
stellar-core

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ibgh9qbnglpb01b554xsk6rlbyrd8dn5-stellar-core-18.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A stellar-core https://github.com/r-ryantm/nixpkgs/archive/65f586702063de00a04286e49f0cf6e843d995ca.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ibgh9qbnglpb01b554xsk6rlbyrd8dn5-stellar-core-18.3.0
ls -la /nix/store/ibgh9qbnglpb01b554xsk6rlbyrd8dn5-stellar-core-18.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
 This has been fixed starting from stellar-core 18.4.0 through an update to the catch2 dependency. I'm working on an updated PR for 18.5.0 (latest version).

Superseded by #167749


Potential bug in File getUid

getUid can return an empty string when relative pathname is empty!

[ ] Write Test to reproduce
[ ] Amend code to pass test.

I think that this only happens in testing because I haven't been setting the relative path of the SplFileInfo before passing to the File.


Ember 2.16

My company is stuck on ember-data 2.12 but I figured it is still good to keep this up to date. Upgraded to ember 2.16 and ran codemod for new module imports. Also remove old array.map polyfill.

Looks good! It's wonderful that there is a codemod for modules.

Can you give me one more day. I'm sorry for the delay. I have time tomorrow to review it.

@workmanw no rush at all :) I can't upgrade to this anyways

Did you use the migration tool to do this work? Seeing it in the wild like this, I really like like the ES6 imports.

@workmanw sorry about the late response. I used https://github.com/ember-cli/ember-modules-codemod for the conversion.

Cool. Well this looks good to me. I'm also unable to test this in my application because of ember-data issues. But 👍 Thanks!


Title: WhatsApp Chat Analyzer(Data Analysis)

Is your feature request related to a problem? Please describe.
This Project  analysis your WhatsApp Chats and provide valuable data and statistics.
It comes under Data visualization Project with python.
Describe the solution you'd like.
This Project  analysis your WhatsApp Chats and provide valuable data and statistics.
We need to export chat of either group or one -one person chat ..save it in text file .....the app will ask to upload a file and thereafter all the statistics and analysis will be shown.
The app is running on Stream Lit.
Describe alternatives you've considered.
na
Add any other context or screenshots about the feature request here.
No response

Kindly assign this issue to me under GSSOC22 .I would like to work on it .