add operator info to Kubeflow documentation

This PR creates the documents for using Kubeflow Operator to install and uninstall Kubeflow. Kubeflow Operator was introduced in kfctl since version 0.7.0. This document will help users understand the Kubeflow Operator and adopt it for the deployment and management.

cc @animeshsingh @Tomcli

/lgtm
/approve


Add py.typed support for type-hinting

[ ] I have added the tests to cover my changes.
[X] I have updated the documentation and CHANGELOG accordingly.
[X] I have read the CONTRIBUTING document.

As noted in PEP 561, a py.typed file is needed in order for others to use type-checking with the package, like with mypy. I added that here.

@kessler-frost seems like all tests passed in this PR but merged develop is failing in.

There's never too simple a PR to break things it seems. 😅

There's never too simple a PR to break things it seems. 😅

There's never too simple a PR to break things it seems. 😅

Usually it's because there are certain tests which are not run on PR creations in order to facilitate faster development. And when they are run, say during the creation of a pre-release or merge to develop, they show what is broken if Covalent was used as a package from PyPi as pip install covalent instead of the development mode of pip install -e . 😄 .

@kessler-frost seems like all tests passed in this PR but merged develop is failing in.

I'm looking into it, it's the validate distribution test that's failing. So any new non-python related file added to the repo - if it also needs to be added to the packaged tar, will either need to be ignored (which isn't the case for this one), or added to the MANIFEST.in, similar to requirements.txt. That said, we should've also mentioned it in the contributing guide where it doesn't seem to have a mention of.

Of course, that makes perfect sense. Don't worry -- it was not a critique of you all :)
Ah okay, that makes sense re: the distribution. I am not 100% sure where it should be added (mypy was just complaining to me that Covalent didn't have it, so that's why I added it).

Don't worry -- it was not a critique of you all :)

Haha, thanks 😄 ! But please don't hesitate to critique tho, it's part of open source development 😉 . I think you've added it in the right place, it just needs to be included in the MANIFEST.in.

it just needs to be included in the MANIFEST.in.

Makes sense! I think I saw the recursive-include commands in the MANIFEST.in file and assumed that it covered the covalent directory. I see that was not the case now!


i am using parrot as boot s.o and i am running cmake ..

-- No build type specified; using Release
-- Couldn't locate ccache, disabling ccache...
-- Using supported compiler GNU-10.2.1
-- Checking for module 'libuv'
--   No package 'libuv' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
cmake/common/utils.cmake:87 (pkg_check_modules)
cmake/modules/FindLibUV.cmake:9 (find_package_impl)
cmake/libpoly.cmake:51 (find_package)
CMakeLists.txt:49 (include)
-- Configuring incomplete, errors occurred!
See also "/home/saga23/Downloads/polybar/build/CMakeFiles/CMakeOutput.log".
See also "/home/saga23/Downloads/polybar/build/CMakeFiles/CMakeError.log".

Did you install all the required software listed on the wiki? In particular libuv1-dev


MAINT Fix linalg example to use PyO3 0.7

Looks like this may have been left out from https://github.com/rust-numpy/rust-numpy/pull/96
Without this change I wasn't able to build the linalg example.

Thanks!


server: fixed crash in server properties cache

Commit Message:
fix for crash in server properties cache
Additional Description:
Reported the crash to<EMAIL_ADDRESS>and got green light to proceed in public. The issue is that key_value_store_ used in cache may be NULL, so it should be checked before each use.
Risk Level: Low
Testing: Converted to parameterized tests to run each test with valid and NULL key_value_store_.
Docs Changes: No
Release Notes: No

@botengyao Fix for the crash I reported to envoy-security group.

Thanks @cpakulski and @KBaichoo!

Thanks for reviewing @KBaichoo !

Marked it for backport. I can do the actual work.


wayland framebuffer format mismatch followed by segfault

Describe the bug
When trying to connect to a remote machine, I get some messages that my local framebuffer format differs from the remote one, then a segfault
[17:00:28:297] [5188:5188] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRA32
[17:00:28:297] [5188:5188] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
zsh: segmentation fault  wlfreerdp /u:USER /v:IP

To Reproduce
Steps to reproduce the behavior:

connect to a remote machine with wlfreerdp + credentials
have PIXEL_FORMAT_BGRA32 locally and PIXEL_FORMAT_RGB16 remotely

Expected behavior
normal connection, a new window popping up probably (never used freerdp before now)
Application details

FreeRDP version (xfreerdp /version)
This is FreeRDP version 2.0.0-rc4 (n/a)
Command line used
zsh
Output of xfreerdp /buildconfig

This is FreeRDP version 2.0.0-rc4 (n/a)
Build configuration: BUILD_TESTING=ON BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DIRECTFB=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=OFF WITH_GSTREAMER_1_0=OFF WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=ON WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=OFF WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          RELEASE
CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-format -Wimplicit-function-declaration -Wredundant-decls -g -DWINPR_DLL
Compiler:            GNU, 7.5.0
Target architecture: x64

OS version connecting to (server side)
I'm not sure. It's a VM created for a coursera course. Most likely Windows 10.

Environment (please complete the following information):

OS: [e.g. Linux/Windows/Android/..]
GNU/Linux
Version/Distribution: [e.g. Debian 10, Windows 2008, Android 10]
Guix System
Architecture: [amd64, arm]:
amd64

edit: and I'm using Sway as my Wayland compositor

Please update and retry with current versions.
Closing until then.


verificationBuilder Slow

Hi All,
I have implemented the verificationBuilder function and it works great, thank you.  I have however noticed that about every 3 minutes, it takes 10x the time to complete this function.
So my normal lambda function takes about 400ms to run, but on first run and approximately once every 3 minutes, on the 3 minute mark, it goes to 4000.
Does anyone know about this issue / able to shed any light on it?
Thanks very much!

Hi @jrburcher , I believe we sorted this out. It's due resolving  did:ethr's, which require querying the smart contract. The intermittent behavior is due to the default cache time.
I expect this issue can be closed now.


RemoveExtraSemicolons produces no changes but reports it does - fails build when failOnDryRunResults is set

With FU.java:
package pzrep;
import java.io.*;
public class FU {
    public static void copyFile(File src, File dst) throws IOException {
        try (var fis = new FileInputStream(src); var fos = new FileOutputStream(dst)) {
        }
    }
}

and maven configured with pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>pzrep</groupId>
    <artifactId>openrewrite-semicolons</artifactId>
    <version>1-SNAPSHOT</version>

    <properties>
        <maven.compiler.release>11</maven.compiler.release>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.10.1</version>
                </plugin>

                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>3.2.0</version>
                </plugin>

                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.2.2</version>
                </plugin>

                <plugin>
                    <groupId>org.openrewrite.maven</groupId>
                    <artifactId>rewrite-maven-plugin</artifactId>
                    <version>4.37.0</version>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.openrewrite.maven</groupId>
                <artifactId>rewrite-maven-plugin</artifactId>
                <configuration>
                    <activeRecipes>
                        <recipe>org.openrewrite.java.cleanup.RemoveExtraSemicolons</recipe>
                    </activeRecipes>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <profiles>
         <profile>
            <id>rewrite</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.openrewrite.maven</groupId>
                        <artifactId>rewrite-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>dryRunNoFork</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <failOnDryRunResults>true</failOnDryRunResults>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>

running with mvn rewrite:run gives
[INFO] --- rewrite-maven-plugin:4.37.0:run (default-cli) @ openrewrite-semicolons ---
[INFO] Using active recipe(s) [org.openrewrite.java.cleanup.RemoveExtraSemicolons]
[INFO] Using active styles(s) []
[INFO] Validating active recipes...
[INFO] Project [openrewrite-semicolons] Resolving Poms...
[INFO] Project [openrewrite-semicolons] Parsing Source Files
[INFO] Running recipe(s)...
Warning:  Changes have been made to src/main/java/pzrep/FU.java by:
Warning:      org.openrewrite.java.cleanup.RemoveExtraSemicolons
Warning:  Please review and commit the results.

but
$ git status && git diff
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

running with mvn -P rewrite verify gives
[INFO] --- rewrite-maven-plugin:4.37.0:dryRunNoFork (default) @ openrewrite-semicolons ---
[INFO] Using active recipe(s) [org.openrewrite.java.cleanup.RemoveExtraSemicolons]
[INFO] Using active styles(s) []
[INFO] Validating active recipes...
[INFO] Project [openrewrite-semicolons] Resolving Poms...
[INFO] Project [openrewrite-semicolons] Parsing Source Files
[INFO] Running recipe(s)...
Warning:  These recipes would make changes to src/main/java/pzrep/FU.java:
Warning:      org.openrewrite.java.cleanup.RemoveExtraSemicolons
Warning:  Patch file available:
Warning:      /home/runner/work/openrewrite-semicolons/openrewrite-semicolons/target/rewrite/rewrite.patch
Warning:  Run 'mvn rewrite:run' to apply the recipes.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

but
$ hexdump -C target/rewrite/rewrite.patch
00000000  0a                                                |.|
00000001

https://github.com/pzrep/openrewrite-semicolons
https://github.com/openrewrite/rewrite/issues/2220

Hi @pzygielo, thank you for reporting the issue - taking a look!

@pzygielo thanks again for reporting the issue, I appreciate your example as it helped to track down the root cause!


Bring back CSE

I broke this sometime last year.  It would be nice to have back.

I brought back CSE as its own pass, --cse.  It has some limitations.  First, it only deals with basic-typed expressions.  Second, it is fairly naive (canot tell that x+1 and 1+x is the same thing).  Third, it does not really remove the bindings, but just creates copy-propagating bindings, which are then removed by the simplifier.  Thus, it ought to be run in a loop with the simplifier.
On the upside, it works on both Basic and ExplicitMemory representations.


Make resource lifecycles consistent

At present our different kinds of resources have subtly different lifecycles for no good reason.  We should go through all the types and make everything consistent, or have a good reason for exceptions.  Proposed guidelines:

Resources should not have an active vs inactive state unless there is a good reason.

For host, the scheduler uses this to decide which ones are eligible
For apiKey, keys can be deactivated as a test/safety net to see if you will break your clients by deleting that key.
Many other types have an inactive with no clear need (#361, #363).
Or have an inactive but no activate or deactivate action (#394).

Resources that are asynchronously 201 created/202 accepted should go into state=error if they fail to successfully create.

state=error, transitioning=error, transitioningMessage=The reason why it failed
machine now does this.
But deploying a bad container does not (#282).
Resouces in state=error should not be able to be restored, because they were never really created.  (#1050)

Users should be able to delete a resource at any time.

A DELETE request should be accepted from any state (except removing, purging and purged) for any resource and move the resource to state=removed.
Currently some types allow this and some don't (#349, #275, #220)

No data should be irrevocably lost at state=removed.

All resources should have a restore action to move from state=removed back to a relevant state (e.g. inactive or stopped).
All resources should have a purge action to move from state=removed to state=purged.
machines are currently deleting VMs at state=removed (#337).

This might be an exception because it's an external resource costing actual money to a third party, but should probably be an exception to the auto purge policy, not the lifecycle.

Once a resource is in state=purged, all sensitive (e.g. credential.secretValue, SSL keys) and/or significant disk space consuming things (volumes, containers, etc) should be actually deleted.

Small, non-sensitive database entries may continue to exist ("the database only scales up™")
No transitions are possible out of state=purged.
state=removed resources get automatically purged after a configurable amount of time.
Relevant child resources should be purged as well, like hosts & machines when purging a project (#340).

Resources in state=purged should never be returned in the API.

This is broken for ?include= (#297, #218).

Resources in state=removed should not normally be returned in the API.

There should be a configurable option, disabled by default, to show resources that are in state=removed to only admin users or to all users.
This allows providers to use the deleted vs purged states to enforce a data-retention policy.

No data should be irrevocably lost at
What if object O2 was removed as a part of O1 removal? Should restore for O1 handle restore for O2?

What if object O2 was removed as a part of O1 removal? Should restore for O1 handle restore for O2?

Since removed resources would become invisible to normal users, I think it's fine if the restore action only changes the given resource and does not cascade to children.

Currently you can get a resource by id (/v1/things/:id) even after the resource is purged.  (This is a feature because it allows a user to save and poll the links.self link even if it no longer exists, and provides removed date and other info that a 404 would not).
For requests from a user who cannot see state=purged resources, this will leak information about whether the actual state is removed vs purged.  This should be addressed somehow, e.g. by having the response "lie" and say state=removed for purged resources for such users.  The updated date may leak info too, if so it should be === removed date.

I agree to all of the above.  After we did the auth changes awhile back the number of types in the core API shrunk quite a bit.  I think it is reasonable to go through and review the lifecycle of each resource.
Regarding delete from any state.  It's harder to implement than just adding a transition.  There needs to be a framework change.  The problem is that most resource logically have an up and down action.  For example start and stop.  when you delete from and up state you really want to bring down and then remove.  You don't just want to remove.  Remove usually does nothin except set a timestamp.  In order to not have to duplicated logic I think a framework change could be made such that if you delete in an up state it knows how to bring it down first.

Excellent, @will-chan and I will hunt you down on Wednesday to go through types as a first-step.
I could be convinced to not have delete from any state, but it would be nice to select several resources, click delete, see one "are you sure" confirm, and then have them be gone.  (Also the api-spec has no way to say it delete isn't availble per-individual-resource)

@ibuildthecloud @vincent99 @will-chan  Darren, have a question about removal process. You said "Remove usually does nothing except set a timestamp", but I can think of the cases when mapped objects have to be updated with removed flag as well (service.remove triggers service's instances destroy; lb.remove - targets maps destroy). Otherwise unremoved mapped objects will result referencing removed entries, and displayed to an end user. But I also see downsides of this approach - restore logic becomes more complicated. What would be your suggestion on how we should handle it?

We met on 4/20 to discuss this issue. Here are the notes from that meeting:
Resources should not have an active vs inactive state unless there is a good reason.

get rid of states that dont make sense
Follow up meeting to discuss concrete states and resources

Resources that are asynchronously 201 created/202 accepted should go into state=error if they fail to successfully create.

some operation and the operations fails, just use transitioning message
for instance, change the startOnCreate + error == remove logic
Services are very weird. Some or all containers can fail.

exponential back off
cleanup failed containers at beginning of loop, not end. to keep 1 interval of failed around
If x out 5 fail to start, stay in activating for ever

Generally, we should do exponential process.

Make configurable per process type?
exponential backoff based off of processType (“service.activate”)
next_run field in process_instance table

Users should be able to delete a resource at any time.

Agreed. Implementation will move through the necessary processes to get to removed.

Why do resources have active and inactive?

Because create is just putting in the database.

No data should be irrevocably lost at state=removed.

For container, commit the image so that it can be restored from there. We really delete  the container at the time of remove. When purge container happens, we delete the archive. or do we rename it? We’ll decide on implementation later

docker container gets remove on remove

Aside from containers, most everything is metadata, so do we need purge?

Basic flow is when you delete, it goes straight to removed.
Where needed, we stop at “archived” before going to removed.
Only resources with the archive process have a restore process.

Once a resource is in state=purged, all sensitive (e.g. credential.secretValue, SSL keys) and/or significant disk space consuming things (volumes, containers, etc) should be actually deleted.

Yes.
Credentials, machines, certs, etc
“removed” not “purged"
May eventually need a pluggable HSM solution.

Should look at Cloud HSM.

Resources in state=purged should never be returned in the API. & Resources in state=removed should not normally be returned in the API.

Dont have purged anymore, so:

include shouldnt cause purged/removed to show up in list
get by id needs to still work
Showing removed for certain time:

On by default header to turn off

Document in the spec

And we'll have a follow up meeting to review all states of current resources and determine what needs removed/added/standardized

One more... Once all the above stuff is done, remove the create, update and remove actions from the schema.  They should always be available via POST, PUT, and DELETE.
This will require coordination with the UI as I currently use their presence to show/hide actions since they are not always available.

Most of this that's ever going to get done is in 2.0...


Declared generic types are not available inside generic functions

How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Annotations, Type Checking
Expected Behaviour
The generic parameter types used to declare a generic function are usable within the body of the function they're annotating, e.g. to decorate return values or types of variables created in the function. In this case, this functionality is intended to be used to provide automatically-defined constructors for a class creation factory.
For this use-case, I simply need to annotate a function or variable inside of a generic-typed function (ideally supporting all of @type, @param and @return) using one of the generic types of the functions, rather than limiting it to simply the comment block where the generic was defined.
Actual Behaviour
"Undefined type or alias T" diagnostic when attempting to use ---@return T or ---@type T inside a function annotated with ---@generic T.
Reproduction steps
---@generic T
---@param name `T`
utils.class = function (name, baseClass)
	---@type T -- fails with "Undefined type or alias"
	local new_class = utils.inherits(baseClass, name)

	---@type fun(...): T -- fails with "Undefined type or alias"
	---@return T -- fails with "Undefined type or alias"
	new_class.New = function(...)
		local instance = setmetatable( {}, new_class.meta )

		---@type T -- fails with "Undefined type or alias"
		return instance
	end

	return new_class
end

--- ...

-- Eventual usecase - expected behavior is that MyClass.New() is deduced as `fun(...): MyClass`
---@class MyClass
local MyClass = utils.class("MyClass")

Additional Notes
No response
Log File
No response

I am also running into this problem. Is there any workaround? Because not even declaring the return type of the function will work, seems the inference has preference.

Dose not support generic class for now.

#1532

@sumneko it does not work for plain functions either, not only class methods.

Plain functions will not be supported.


Sidebar Not Showing in New Docs if doc id is not "doc*"

🐛 Bug Report
When adding new documents to the documentation, the sidebar does not show up if the id of the new document isn't doc1, doc2, ..., doc*.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
(Write your steps here:)

Create a new document
Write an id different to doc*
Witness how the sidebar doesn't show up.

Expected behavior

The sidebar should be present in any new document created.
Actual Behavior

The sidebar doesn't show up.
Reproducible Demo
(Paste the link to an example repo, including a siteConfig.js, and exact instructions to reproduce the issue.)

I dont think this is true. Pls provide reproducible repository. Even https://docusaurus.io own doc id is not always doc*.
There is no sidebar for newly added doc because you didnt add it to your sidebars.json

Hey @endiliey, I just took a look at another issue and found my answer: https://github.com/facebook/Docusaurus/issues/1296
I was trying to have the sidebar showing in documents which are not in the sidebar, and it's a built in feature that the sidebar doesn't show up in documents not present in the sidebar.
Therefore, I'm closing this ticket. Thanks!


Update npm package in order to make it compatible with Angular 4

Version available in npm repository doesn't support Angular 4 and it would be great to have it updated

Done!. update to v1.5.2. Now it support both Angular 2.x and Angular 4.x


Do not skip installing postgres server if postgres client is installed (common/scripts/{architecture}/{OS}/remote/installDb.sh)

https://github.com/Shippable/pm/issues/10310

this is done, closing


Format of user@host should accept 'DOMAIN\username'@host

Hello,
We use a AD domain group for our administrators to connect to our NetApp NAS. This implies that the format or the user is domain\username. This works perfectly fine in PuTTY, iTerm2, openssh.
The user@host verification should include following forms as valid:

'domain\username'@host
domain\username@host

Thank you very much in advance for your consideration of my request,
Patrice

I have loosened the requirements to allow forward slashes in user names with pull request #209. I do not know if that is sufficient to solve the problem, but it is what we are able to do in the short term. I'm going to mark this as closed for now, but please feel free to open it again if there are issues of this sort in the future.

as a note, this will not be available in the next release (should be 0.6.0), but it can be found in the main github branch until then


uiflow?

How I flash uiflow onto this, i just received a batch of them :). And I wanted to migrate my core2 projects to this?

Hi @d4rkdpg , cores3 uiflow support is not fully ready, and we develop new uiflow to support esp32-s3 chips device, you can check here but still in alpha version, cores3 support almost ready.

how can I add to apha version, I dont see how?

how can I add to alpha version, I dont see how?

CoreS3 FW is not release yet.

also alpha version looks to be missing a lot of stuff like remote+, lorawan intergration etc.

Yeah, uiflow 2.0 has big change, module and unit we are supporting now, we will support all module and unit ASAP.

Can I asked when this will be? I need the asap for production.  also atoms3 lite I need all features of uiflow1.

I haven't see much progress here thanks for uiflow 2 support, but we need some ui buttons, sliders, remote plus support, lora module support etc.  it's really unusable

will it include 8encoder module too?

will it include 8encoder module too?

confirming this is now fixed in V2.00 Alpha 19 thanks

will it include 8encoder module too?它会包括 8 个编码器模块吗？

confirming this is now fixed in V2.00 Alpha 19 thanks确认这在 V2.00 Alpha 19 中已修复，谢谢

Closed.


Update references to arbitrary in README.md

Arbitrary is a static property now

That change will occur when swift-develop is merged into master. I believe I already updated the README on that branch.  If not I recommend re-targeting this pull request.

Indeed, indeed. One must love this github UI.


Add a port for https://github.com/graphql/libgraphqlparser

The latest release of this library doesn't support building on Windows, so I included a patch which feeds the paths to win_flex, win_bison, and python2 from vcpkg_find_acquire_program into the build and adds them to the CMAKE_PROGRAM_PATH. I've tested this on Windows and Linux (with WSL).

Thanks for the PR!


Git extension not working anymore

I have used git flawlessly for a while now in & out of VScode. It stoped working recently (I think  before I applied 1.20.1 and was hoping the update would actually fix this issue).
It is the exact same issue as this one --> https://github.com/Microsoft/vscode/issues/35741
I already tried almost all the fixes recommended there. (including update to 1.20.1

VSCode Version: Version 1.20.1
Commit f88bbf9137d24d36d968ea6b2911786bfe103002
Date 2018-02-13T15:33:21.935Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture ia32

OS Version: Windows 10

Git version -> git version 2.10.2.windows.1

Steps to Reproduce:

open a folder that has a git repository
Do a change on a file
Try to commit (Not git repository).

Does this issue occur when all extensions are disabled?: Yes
The git.path setting was set to null. I tried filling as recommended in https://github.com/Microsoft/vscode/issues/35741  but it didn't fixed my issue.
Here is my users settings:
{
    "terminal.integrated.shell.windows": "C:\\Windows\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
    "workbench.iconTheme": "vscode-great-icons",
    "editor.fontSize": 16,
    "files.defaultLanguage": "powershell",
    "files.autoSave": "on",
    "files.associations": {
        ".config": "xml"
    },
    "window.zoomLevel": 0,
    "workbench.colorTheme": "PowerShell ISE",
    "python.pythonPath": "C:\\Program Files (x86)\\Python36-32\\python.exe",
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    },
    "explorer.confirmDragAndDrop": false,
    "git.path": "C:\\Program Files\\Git\\cmd\\git.exe",
}

I also tried to set the git.path to the git folder location
"git.path": "C:\\Program Files\\Git\\cmd\\git.exe",

None of this worked for me.
Answers some other questions you might ask:
Yes, I do have have .git hidden folder (I have been working on that project for months).
Yes, I tried to open other projects with git folder.
Git works fine in an external console prompt.

I reinstalled git and it worked afterwards.


add SolanaEgg token

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Please read the SPL-token README, and ensure your SPL-token info uses the correct Uniswap format.

#4441 add solanaegg and approve maintainer

#4441 approve it

#4441 add solanaegg and approve maintainer

#4441   add solanaegg and approve maintainer
start please

#4441  add solanaegg and approve maintainer
start please

#4441  add solanaegg and approve maintainer
start please

#4441 add solanaegg and approve maintainer
start please

#4441 1 add solanaegg and approve maintainer
start please

Please follow the token-list README and ensure your token details adhere to the Uniswap Token Specification

#4441 1 1 add solanaegg and approve maintainer
start please

#4441 approve it please

#4441  approve it and add token

approve #4441

open


Add flag --read-data-sample to restic check

What is the purpose of this change? What does it change?
Add a new flag to restic check to allow test a random sample of given sample size of pack files
instead of all pack files (with --read-data) or a very specific subset (with --read-data-subset)
Was the change discussed in an issue or in the forum before?
See forum discussion where I got the idea.
closes #2186
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
I have not added tests for all changes in this PR
[x] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

I would love something like this.
Related issue - #2186

@cfbao Thanks for mentioning the issue - I added it to the PR description an to the changelog.
Feel free to use this PR. Worked pretty well in my tests.

I'm closing this as the same topic is tackled in #3038.


[Update|Architecture Content|Design pattern] Fix typos

No functional changes
Just typo fixes

#sign-off @jamarw

What are next steps here @mattbriggs and @jamarw?  Still need another review by someone?

@meganbradley Would to be posisble to merge? Thanks! Matt


Locale Selector as a Service

james-dow created the following on Sep 10:
User Story

As a [user role below]:
As a dotcom developer/adopter

I need a:
service to make calls to get the most up to date and supported locale information

so that I can:
can properly set the translation for my users

Additional information
I'm not sure if this is a single service, or maybe 2 or 3 (we might want to consider breaking this down further?), but I see us needing some sort of service around the locale selector as we begin to develop the component/pattern out.

Locale Selector API
User Locale API

Acceptance criteria

[ ] Make call to get list of all available locale's
[ ] global AddEventListener to check the user is on the correct locale
[ ] Set the user's current locale

Original issue: https://github.ibm.com/webstandards/digital-design/issues/1642

@jeffchew @annawen1 Is this currently being worked on?
https://github.com/carbon-design-system/ibm-dotcom-library/pull/526

@photodow this might be a duplicate to work we've already identified for the Locale Selector, so we can probably close this.
cc: @RobertaJHahn

Yeah I think we can close this

This work is being managed in the locale selector MVP Issue #252


web: Clean up web UI for deleted users.

This Aims to clean up the web UI for deleted users.
Some of the issues fixed:

Displaying the deleted users in "Settings/users" in the deactivated users tab.
Showing the deleted users in right sidebar in buddy_list.
In appropriate user_card for deleted users.
Reactivate button for deleted users in admin edit human modal. Since deleted
users cannot be reactivated, it's useless.

Command to delete a user (from terminal): python manage.py delete_user -u<EMAIL_ADDRESS>-f
This PR is preparatory for working on #24920.

Screenshots:

Usercard

Group DM with a deleted user

Hidden deleted user from deactivated users tab

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@zulipbot add "buddy review" "area: api" "area: popovers" "area: right-sidebar" "area: settings (admin/org)"

@sujalshah-bit this is ready for review!

Also, some couple of things I noticed while playing with PR. @adnan-td let me know if you have any questions about it.

The message "This user has been deleted." is not visible in light mode.

Bot Deletion on User Deletion: Currently, we deactivate a bot when its owner is deactivated, but we don’t delete the bot when the owner is deleted. Since the user is entirely removed from Zulip, it makes sense to also delete the associated bot. What are your thoughts on this, @alya? Additionally, accessing the bot profile of a deleted user results in an error

There’s no live update when a user is deleted; it still shows that the user is deactivated, leading to misinformation.

There’s no live update when a user is deleted; it still shows that the user is deactivated, leading to misinformation.

This is something I'm currently working on in a separate PR.

The message "This user has been deleted." is not visible in light mode.

Fixed this bug. Thanks!

@adnan-td kindly remove the conflicts

Is this PR ready for mentor review?

when I click on bot owned by deleted user in  manage bot tab. it still shows this error. @alya  just in case you forgot comment .
If this is isn't important than yeah it's look good to me!

@zulipbot add "mentor review"

@zulipbot remove "buddy review"

Oh, sorry I lost track of that comment. Let's proceed with reviews, but we should have a #design discussion about what to do with bots owned by deleted users. Deleting them with a warning in the confirmation modal might be the right approach, but let's check to see what others think.

@adnan-td To keep this moving forward, please ping @sahil839 for review once the tests pass.


Can I use number for defaultCountry?

Can I use number for defaultCountry?
For example, I put '1' or '+01' for defaultCountry, and the deafult will be usa.

Probably not, because +1 is also the dial code for Canada :)

I’m closing this issue because it has been inactive for a long time. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch. :)
Thank you!


Dynamic element list of a tag?

The situation:
Let's say I need to create pages about cars, every car page needs to include a list of the car's features. However, the number  of car features is dynamic, some cars have 3 features or n features.
I can set the car's page layout as:
{{ cms:page:feature_1:string }}
{{ cms:page:feature_1:string }}
{{ cms:page:feature_1:string }}
...

The problem is, that doesn't work for me. I need to be able to set the field as a dynamic field so that in the page's form I can add n elements of that type.
Is there a way to do this? (I've read the docs but I haven't found accomplish this).
Thanks.

Dynamic list of things is something that comes up often, but there's no way to natively do that. I usually create a separate custom CRUD, like CarFeatures or something. Then I link to them via {{cms:helper}} or {{cms:partial}}.

While not possible in 1.12. CMS 2.0 has support for parsing block-like tags. Basically something like that is parseable:
{{cms:block feature}}

{{ cms:text title }}

      {{ cms:markdown description}}

{{cms:end}}

While it's parceable, we don't have a way to store and manage that data just yet. I added it as a TODO in the 2.1 project: https://github.com/comfy/comfortable-mexican-sofa/projects/2


Can I use it on specific page only?

Details
So, I dont like to add the script on the home page,, but I like my ads to only display on blog pages. not my home page.

Hi, the og:images will only appear for the pages you use the composables or the component.


[BUG] {std::bad_alloc exception in dai::getLazyTarXzFunction when StereoDepth node is used }

Hello, i am using an OAK-FFC 4P with an OAK-SoM Pro S3. I have two OV9282 cams attached. I have written a minimal program with just two MonoCameras, a StereoDepth and an XLinkOut node. The program crashes after 10-150 disparity frames with an std::bad_alloc expetion inside the dai::getLazyTarXzFunction function. I am not able to run it without any crash.
I am using the latest rvc3_support branch (commit 3793172) and LuxonisOS 1.2. The same code runs on my OAK-FFC 3P with an OAK S2 and depthai-core v2.20.2.
This is the code:
#include <iostream>
#include <depthai/depthai.hpp>

int main()
{
    dai::Pipeline pipeline;
    auto monoLeft = pipeline.create<dai::node::MonoCamera>();
    auto monoRight = pipeline.create<dai::node::MonoCamera>();
    monoLeft->setBoardSocket(dai::CameraBoardSocket::CAM_B);
    monoLeft->setResolution(dai::MonoCameraProperties::SensorResolution::THE_800_P);
    monoRight->setBoardSocket(dai::CameraBoardSocket::CAM_C);
    monoRight->setResolution(dai::MonoCameraProperties::SensorResolution::THE_800_P);

    auto depth = pipeline.create<dai::node::StereoDepth>();
    depth->setDefaultProfilePreset(dai::node::StereoDepth::PresetMode::HIGH_ACCURACY);
    depth->initialConfig.setMedianFilter(dai::MedianFilter::KERNEL_7x7);
    depth->setLeftRightCheck(false);
    depth->setExtendedDisparity(false);
    depth->setSubpixel(false);

    monoLeft->out.link(depth->left);
    monoRight->out.link(depth->right);

    auto xoutLeft = pipeline.create<dai::node::XLinkOut>();
    xoutLeft->setStreamName("depth");
    depth->disparity.link(xoutLeft->input);

    dai::Device device(pipeline, dai::UsbSpeed::SUPER);
    auto qLeft = device.getOutputQueue("depth", 2, false);

    std::cout << "Spinning around!" << std::endl;
    int cnt = 0;
    while(true)
    {
        auto camImage = qLeft->get<dai::ImgFrame>();
        if(camImage == nullptr) continue;

        std::cout << "Its a frame! " << ++cnt << std::endl;
    }

    return 0;
}

This is the output:
[2023-02-20 08:08:39.377] [debug] Library information - version: 2.19.1, commit: 37931723ca523f6ebdd8c7f85269847b483e9643 from 2023-02-03 00:01:12 +0100, build: 2023-02-17 13:41:46 +0000
[2023-02-20 08:08:39.382] [debug] Initialize - finished
[2023-02-20 08:08:39.605] [debug] Device - OpenVINO version: 2022.1
[2023-02-20 08:08:39.605] [debug] Device - BoardConfig: {"camera":[],"emmc":null,"gpio":[],"logDevicePrints":null,"logPath":null,"logSizeMax":null,"logVerbosity":null,"network":{"mtu":0,"xlinkTcpNoDelay":true},"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"maxSpeed":4,"pid":63035,"vid":999},"usb3PhyInternalClock":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 0f b9 05 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 b9 02 00 01 ba 00 be be bb 00 bb 00 be be be
0020: be be be be bb 00
[2023-02-20 08:08:39.615] [debug] OS version: 1.2, Gate version: 0.0.10
[2023-02-20 08:08:39.615] [debug] DeviceGate createSession: {"fwp_version":"0.0.1+696421aaa5a47fe03df3b695854d6dd112b30927","library_version":"2.19.1","name":"depthai_session","protected":true}
[2023-02-20 08:08:39.627] [debug] DeviceGate createSession response: {"connection_information":"","create_datetime":"2022-07-29T15:27:01.277241","destroy_datetime":null,"fwp_checksum":null,"fwp_exists":false,"fwp_version":"0.0.1+696421aaa5a47fe03df3b695854d6dd112b30927","id":"13","library_version":"2.19.1","name":"depthai_session","owner":"","protected":true,"start_datetime":null,"state":"CREATED","stop_datetime":null}
[2023-02-20 08:08:39.779] [debug] Resources - Archive 'depthai-device-fwp-b511dc1a23aa9016007f7d6e9979a5a322bcefbe.tar.xz' open: 5ms, archive read: 395ms
[2023-02-20 08:08:40.556] [debug] DeviceGate upload fwp successful
[2023-02-20 08:08:41.063] [debug] DeviceGate start fwp successful
[2023-02-20 08:08:41.479] [debug] Schema dump: {"connections":[{"node1Id":2,"node1Output":"disparity","node1OutputGroup":"","node2Id":3,"node2Input":"in","node2InputGroup":""},{"node1Id":1,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"right","node2InputGroup":""},{"node1Id":0,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"left","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"xlinkChunkSize":-1},"nodes":[[3,{"alias":"","id":3,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","parentId":-1,"properties":{"maxFpsLimit":-1.0,"metadataOnly":false,"streamName":"depth"}}],[2,{"alias":"","id":2,"ioInfo":[[["","debugDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","outConfig"],{"blocking":false,"group":"","name":"outConfig","queueSize":8,"type":0,"waitForMessage":false}],[["","confidenceMap"],{"blocking":false,"group":"","name":"confidenceMap","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispCostDump"],{"blocking":false,"group":"","name":"debugDispCostDump","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedRight"],{"blocking":false,"group":"","name":"rectifiedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","depth"],{"blocking":false,"group":"","name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedLeft"],{"blocking":false,"group":"","name":"rectifiedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedRight"],{"blocking":false,"group":"","name":"syncedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedLeft"],{"blocking":false,"group":"","name":"syncedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","pixelDescriptors"],{"blocking":false,"group":"","name":"pixelDescriptors","queueSize":8,"type":0,"waitForMessage":false}],[["","disparity"],{"blocking":false,"group":"","name":"disparity","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","left"],{"blocking":false,"group":"","name":"left","queueSize":8,"type":3,"waitForMessage":true}],[["","right"],{"blocking":false,"group":"","name":"right","queueSize":8,"type":3,"waitForMessage":true}]],"name":"StereoDepth","parentId":-1,"properties":{"depthAlignCamera":-1,"enableRectification":true,"enableRuntimeStereoModeSwitch":false,"focalLengthFromCalibration":true,"height":null,"initialConfig":{"algorithmControl":{"customDepthUnitMultiplier":1000.0,"depthAlign":1,"depthUnit":2,"disparityShift":0,"enableExtended":false,"enableLeftRightCheck":false,"enableSubpixel":false,"leftRightCheckThreshold":5,"subpixelFractionalBits":5},"censusTransform":{"enableMeanMode":true,"kernelMask":0,"kernelSize":-1,"threshold":0},"costAggregation":{"divisionFactor":1,"horizontalPenaltyCostP1":250,"horizontalPenaltyCostP2":500,"verticalPenaltyCostP1":250,"verticalPenaltyCostP2":500},"costMatching":{"confidenceThreshold":200,"disparityWidth":1,"enableCompanding":false,"invalidDisparityValue":0,"linearEquationParameters":{"alpha":0,"beta":2,"threshold":127}},"postProcessing":{"bilateralSigmaValue":0,"decimationFilter":{"decimationFactor":1,"decimationMode":0},"median":7,"spatialFilter":{"alpha":0.5,"delta":0,"enable":false,"holeFillingRadius":2,"numIterations":1},"speckleFilter":{"enable":false,"speckleRange":50},"temporalFilter":{"alpha":0.4000000059604645,"delta":0,"enable":false,"persistencyMode":3},"thresholdFilter":{"maxRange":65535,"minRange":0}}},"mesh":{"meshLeftUri":"","meshRightUri":"","meshSize":null,"stepHeight":16,"stepWidth":16},"numFramesPool":3,"numPostProcessingMemorySlices":-1,"numPostProcessingShaves":-1,"outHeight":null,"outKeepAspectRatio":true,"outWidth":null,"rectifyEdgeFillColor":0,"useHomographyRectification":null,"verticalStereo":false,"width":null}}],[1,{"alias":"","id":1,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","parentId":-1,"properties":{"boardSocket":2,"cameraName":"","fps":30.0,"imageOrientation":-1,"initialControl":{"aeLockMode":false,"aeRegion":{"height":0,"priority":0,"width":0,"x":0,"y":0},"afRegion":{"height":0,"priority":0,"width":0,"x":0,"y":0},"antiBandingMode":0,"autoFocusMode":3,"awbLockMode":false,"awbMode":0,"brightness":0,"chromaDenoise":0,"cmdMask":0,"contrast":0,"effectMode":0,"expCompensation":0,"expManual":{"exposureTimeUs":0,"frameDurationUs":0,"sensitivityIso":0},"frameSyncMode":0,"lensPosAutoInfinity":0,"lensPosAutoMacro":0,"lensPosition":0,"lowPowerNumFramesBurst":0,"lowPowerNumFramesDiscard":0,"lumaDenoise":0,"saturation":0,"sceneMode":0,"sharpness":0,"strobeConfig":{"activeLevel":0,"enable":0,"gpioNumber":0},"strobeTimings":{"durationUs":0,"exposureBeginOffsetUs":0,"exposureEndOffsetUs":0},"wbColorTemp":0},"numFramesPool":3,"numFramesPoolRaw":3,"resolution":1}}],[0,{"alias":"","id":0,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","parentId":-1,"properties":{"boardSocket":1,"cameraName":"","fps":30.0,"imageOrientation":-1,"initialControl":{"aeLockMode":false,"aeRegion":{"height":0,"priority":0,"width":0,"x":0,"y":0},"afRegion":{"height":0,"priority":0,"width":0,"x":0,"y":0},"antiBandingMode":0,"autoFocusMode":3,"awbLockMode":false,"awbMode":0,"brightness":0,"chromaDenoise":0,"cmdMask":0,"contrast":0,"effectMode":0,"expCompensation":0,"expManual":{"exposureTimeUs":0,"frameDurationUs":0,"sensitivityIso":0},"frameSyncMode":0,"lensPosAutoInfinity":0,"lensPosAutoMacro":0,"lensPosition":0,"lowPowerNumFramesBurst":0,"lowPowerNumFramesDiscard":0,"lumaDenoise":0,"saturation":0,"sceneMode":0,"sharpness":0,"strobeConfig":{"activeLevel":0,"enable":0,"gpioNumber":0},"strobeTimings":{"durationUs":0,"exposureBeginOffsetUs":0,"exposureEndOffsetUs":0},"wbColorTemp":0},"numFramesPool":3,"numFramesPoolRaw":3,"resolution":1}}]]}
[2023-02-20 08:08:41.479] [debug] Asset map dump: {"map":{}}
Spinning around!
[1B52B016838860C6] [<IP_ADDRESS>] [1659108425.440] [StereoDepth(2)] [warning] No calibration data provided!
Its a frame! 1
Its a frame! 2
Its a frame! 3
Its a frame! 4
Its a frame! 5
Its a frame! 6
Its a frame! 7
Its a frame! 8
Its a frame! 9
Its a frame! 10
Its a frame! 11
Its a frame! 12
Its a frame! 13
Its a frame! 14
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

@PFrieling thanks - we'll take a look

@themarpe hi, do you have any updates? If there is something i can test to help you, it would not cause any trouble for me.

Sorry, i did not mention to close the issue. Wrong button... 😃

I did try the rvc3_develop branch in debug mode and it does not crash anymore, but after 11 up to 15 depth frames it sometimes stopps receiving more, without an error (feels similar to where it crashed before).
I did some testing: If i use the code above, it stopps working before i got 15 depth frames in 7 out of 20 cases. If i enable extended disparity it stopps working in 9 of 20 cases. If i enable left right check, it stopps in 10 out of 20 cases. If i enable both, it stopps in 15 of 20 cases.
I did one more test: If i remove the StereoDepth node and stream both camera images directly, it also sometimes stopps after roughly 22 frames from both cams. My code is still running, but the DataOutputQueue stops returning valid ImgFrames.
Could it be my modified ffc-4p? It originally came with an rvc2 and i used Luxonis-Davids post on Discord to change some resistors, so that it is compatible with rvc3. Otherwise, maybe my UC-789 Rev B cams are not 100% compatible? By the way, i have tested this on windows 10 and ubuntu 22.04, both behave the same.

I have updated to LuxonisOS 1.8 and fip-oak-ffc-4p-rvc3-1.3.0, pulled the latest commits on the rvc3_develop branch, but the issue still exists.

Hi @PFrieling , We have since updated the FFC-4P FIP (1.5.0) and also OS (1.9). Could you try again with these latest versions?

@Erol444 Somehow I am unable to ssh into my FFC-4P using my Windows pc, so i switched to another pc that runs Ubuntu. The FFC-4P is now updated to FIP 1.5.0 and OS 1.9, I am using depthai-core rvc3_develop from 24. May 2023. I do now get between 92 and 237 frames with my example code. Afterwards it freezes and says: ping was missed, closing device connection.  I guess the std::runtime_error or std::bad_alloc is thown because I am still trying to get new frames, even if the device is closed.
In some attempts, i even get no frame at all and the ping was missed before the arrival of the first frame. In such cases, simply restarting my executable works.
Is it okay that I run the StereoDepth node without any extrinsic or intrinsic calibration data? On my other FFC-3P and RVC2 I only configure the StereoDepth node and upload a custom mesh for rectification, because i only need a disparity map and no depth.

I finally found the solution! While no more frames were received, lsusb showed that the FFC-4P was missing, indicating that it did a reboot/reset. After adding an additional power supply, besides the USB 3.0 connection, i was able to run my example code without any problems. So it was only caused because my USB 3 ports were unable to provide enough current.


Track temp files and delete them in the end

Pivotal story: 95561156
Adds a function to the end of the pipeline that cleans up temporary files created during a run (download, extracted files, generated XML), so as to take some pressure off the OS from doing it itself.

LGTM


Code refactoring for server package

Summary

It closes #34

How to Review?

Please refer to my self-review submitted as the review.

Images
Further Work

And if you do closes #34, issue 34 is closed even if the rest of the PR is not completed.
You must use Related to #34.


Branch 2.5: Visualizing imputed Wang data, mapped to renamed files

@thomaslchan : I think you said this was ready to go, it was only "Branch 3" that still needed work?


error ocurred when using function cwt

Hi:
I met some problems when I ran some simple codes. Here is my code:
     import pywt
     import numpy as np
     import matplotlib.pyplot as plt
     x = np.arange(512)
     y = np.sin(2*np.pi*x/32)
     coef, freqs=pywt.cwt(y,np.arange(1,129),'db3')
     plt.matshow(coef)
    plt.show()

Then some errors ocurred:

File "C:\Users\admin\Anaconda3\lib\site-packages\pywt_cwt.py", line 78, in cwt
if wavelet.complex_cwt:
AttributeError: 'pywt._extensions._pywt.Wavelet' object has no attribute 'complex_cwt'

when I changed the wavelet to ' mexh', it can run well. I looked into the _cwt file, it's true that there is no
attribute called 'complex_cwt' in the class 'Wavelet'.
I wonder if there is a mistake in the source code or I don't understand the theory of CWT well.
Hoping you will answer my question soon and thank you very much!

I tried the same matlab code：
x = 1:1:512; y = sin(2*pi*x/32); coefs = cwt(y,1:1:129,'db3');
and it worked. So I guess it might be some errors in the source code.

The CWT currently only supports the wavelets shown on this documentation page:
https://pywavelets.readthedocs.io/en/latest/ref/cwt.html#continuous-wavelet-families
In PyWavelets, the 'db3' wavelet is only available for the discrete wavelet transforms.  We should add a type check in CWT to raise a more informative error message to avoid confusion on this.
In general, Matlab's cwt has a number of additional features which are not currently available in PyWavelets.

The CWT currently only supports the wavelets shown on this documentation page:
https://pywavelets.readthedocs.io/en/latest/ref/cwt.html#continuous-wavelet-families
In PyWavelets, the 'db3' wavelet is only available for the discrete wavelet transforms. We should add a type check in CWT to raise a more informative error message to avoid confusion on this.
In general, Matlab's cwt has a number of additional features which are not currently available in PyWavelets.

Thank you very much!  In the morning I found the matlab func cwt had changed too,  the old cwt si not recommended. Thank you for your answer!

The CWT currently only supports the wavelets shown on this documentation page:
https://pywavelets.readthedocs.io/en/latest/ref/cwt.html#continuous-wavelet-families
In PyWavelets, the 'db3' wavelet is only available for the discrete wavelet transforms. We should add a type check in CWT to raise a more informative error message to avoid confusion on this.
In general, Matlab's cwt has a number of additional features which are not currently available in PyWavelets.

Thank you very much!  In the morning I found the matlab func cwt had changed too,  the old cwt si not recommended. Thank you for your answer!

The CWT currently only supports the wavelets shown on this documentation page:
https://pywavelets.readthedocs.io/en/latest/ref/cwt.html#continuous-wavelet-families
In PyWavelets, the 'db3' wavelet is only available for the discrete wavelet transforms. We should add a type check in CWT to raise a more informative error message to avoid confusion on this.
In general, Matlab's cwt has a number of additional features which are not currently available in PyWavelets.

Thank you very much!  In the morning I found the matlab func cwt had changed too,  the old cwt si not recommended. Thank you for your answer!


Add Dockerfile for an Alpine Linux based image.

I've been using a small (65Mb) elastalert Docker image for basic monitoring on our test EFK stack (Elasticsearch-Fluentd-Kibana). The image clones the Yelp/elastalert repo and builds everything from source. To build it:
docker build --no-cache=true -t elastalert:onbuild .
The resulting image can be the base for an environment specific image: a new Dockerfile (below) must reference it, and the config.yaml and rules (inside a /rules folder) would be added as a new layer.
FROM elastalert:onbuild
The image can also be executed with a mounted config.yaml and rules folder. First step is creating the ES index for elastalert:
docker run --rm -v /opt/elastalert/config.yaml:/opt/elastalert/config.yaml -v /opt/elastalert/rules:/opt/elastalert/rules elastalert:onbuild bash -c "elastalert-create-index"
and then run a container:
docker run -d --name elastalert -v /opt/elastalert/config.yaml:/opt/elastalert/config.yaml -v /opt/elastalert/rules:/opt/elastalert/rules elastalert:onbuild
Although my current approach is mounting rules and config from a local volume, some additional ENV variables could be added to customize it (i.e. retrieve config.yaml from a remote URL, ES url, etc)
Might be a starting point for a small, official image in the future. Thoughts?
Gerardo

Anything blocking this besides the hardcoded timezone?

@GerardoNevarez . Sorry I missed @mentioning the first time around.


Failed to reproduce tennis.mov

Hi,
As I am trying to reproduce the tennis.mov example given in the README. I realized the reproduced result is far from the one shown on the website and lacks stability in the dvs video. I first used the command line options in README:
python v2e.py -i input/tennis.mov --timestamp_resolution=.005 --dvs_exposure duration 0.005 --output_folder=output/tennis --overwrite --pos_thres=.15 --neg_thres=.15 --sigma_thres=0.03 --dvs_aedat2 tennis.aedat --output_width=346 --output_height=260 --stop_time=3
Then it prompted error:
ERROR: __main__: specify either --overwrite or --unique_output_folder
So I deleted --overwrite then came across this error:
ERROR: __main__:auto_timestamp_resolution=True and timestamp_resolution=0.005: Disable auto_timestamp_resolution
Then I set auto_timestamp_resolution to be False. Overall using the following command line options:
python v2e.py -i input/tennis.mov --timestamp_resolution=.005 --auto_timestamp_resolution=False --dvs_exposure duration 0.005 --output_folder=output/tennis --pos_thres=.15 --neg_thres=.15 --sigma_thres=0.03 --dvs_aedat2 tennis.aedat --output_width=346 --output_height=260 --stop_time=3
The code was able to successfully finish. But the generated DVS video is the following:
https://user-images.githubusercontent.com/33047668/103879127-632bad00-5112-11eb-9890-adb59c14d42a.mov
Is there anything wrong with my command line options or is the current code different from previous version in some way?
Thank you in advance.

Thank you very much for sharing this result with detailed command line
and video link, that saves a lot of time.  I think it is a symptom of
something I also just ran into, which is caused by using infinite
photoreceptor cutoff frequency. Can you confirm you still get those
sustained events like the afterimage even if you set photoreceptor
cutoff frequency in Hz to finite value, e.g. 100 ?
Yuhuang, I will try to track it down by tomorrow, leave it to me. It's
well possible that I introduced a "regression" i.e. bug by recent
improvements to allow generating synthetic input from python module.
Tobi

Thank you very much for sharing this result with detailed command line
and video link, that saves a lot of time.  I think it is a symptom of
something I also just ran into, which is caused by using infinite
photoreceptor cutoff frequency. Can you confirm you still get those
sustained events like the afterimage even if you set photoreceptor
cutoff frequency in Hz to finite value, e.g. 100 ?
Yuhuang, I will try to track it down by tomorrow, leave it to me. It's
well possible that I introduced a "regression" i.e. bug by recent
improvements to allow generating synthetic input from python module.
Tobi

I included --cutoff_hz=100 in the command line argument and here is the result I got:
https://user-images.githubusercontent.com/33047668/103967180-6bc8c580-519c-11eb-9265-56bd2928612c.mp4
It seems like the sustained events are still there.

I included --cutoff_hz=100 in the command line argument and here is the result I got:
https://user-images.githubusercontent.com/33047668/103967180-6bc8c580-519c-11eb-9265-56bd2928612c.mp4
It seems like the sustained events are still there.

I agree, there is definitely a regression (i.e. bug I reintroduced with
recent improvements). I can also reproduce it even with a very low
cutoff frequency.  Am trying to track it down.

I agree, there is definitely a regression (i.e. bug I reintroduced with
recent improvements). I can also reproduce it even with a very low
cutoff frequency.  Am trying to track it down.

Still debugging it, tricky... deep in pipeline that emulates the DVS
events. Hang on.

Still debugging it, tricky... deep in pipeline that emulates the DVS
events. Hang on.

There is definitely a bug I put in while fixing a different bug. For
now, until I can figure this out, you can try to roll back to Oct 13 version
853dc121a4c868dcc98dc560874b9f3f8dd6a04e
https://github.com/SensorsINI/v2e/commit/853dc121a4c868dcc98dc560874b9f3f8dd6a04e
Please let us know if you still get the problem there. I will update
once I figure it out.

There is definitely a bug I put in while fixing a different bug. For
now, until I can figure this out, you can try to roll back to Oct 13 version
853dc121a4c868dcc98dc560874b9f3f8dd6a04e
https://github.com/SensorsINI/v2e/commit/853dc121a4c868dcc98dc560874b9f3f8dd6a04e
Please let us know if you still get the problem there. I will update
once I figure it out.

Ok, bug in emulator.py fixed I hope, see the log. Made some other
improvements, I hope. Please let us know.

Ok, bug in emulator.py fixed I hope, see the log. Made some other
improvements, I hope. Please let us know.

Hi Tobi,
Thank you so much for fixing this bug. As of now, I pulled your newest changes and the tennis.mov example is able to generate DVS data successfully. I will let you know if I encounter any new problem.
Thanks,
Grayson

Hi Tobi,
Thank you so much for fixing this bug. As of now, I pulled your newest changes and the tennis.mov example is able to generate DVS data successfully. I will let you know if I encounter any new problem.
Thanks,
Grayson


Parameterize serde backend by serialization strategy

It should be possible to entirely decouple the serde backend from serde itself, making it a tokio-codec backend parametrized by a serializer/deserializer pair, which may or may not be based on serde.

Duplicate of #107.


Assign default roles from Teams to User

Describe your changes :

See #2883

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Backend: @sureshms @harshach

pytest failure due to connection issue
Run sudo apt-get install -y libsasl2-dev unixodbc-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3-venv is already the newest version (3.[8](https://github.com/open-metadata/OpenMetadata/runs/5315142730?check_suite_focus=true#step:5:8).2-0ubuntu2).
unixodbc-dev is already the newest version (2.3.7).
The following NEW packages will be installed:
  libsasl2-dev
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 225 kB of archives.
After this operation, 8[9](https://github.com/open-metadata/OpenMetadata/runs/5315142730?check_suite_focus=true#step:5:9)4 kB of additional disk space will be used.
Err:1 http://azure.archive.ubuntu.com/ubuntu focal/main amd64 libsasl2-dev amd64 2.1.27+dfsg-2
  Could not connect to azure.archive.ubuntu.com:80 (52.[14](https://github.com/open-metadata/OpenMetadata/runs/5315142730?check_suite_focus=true#step:5:14)7.219.192), connection timed out
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-dev_2.1.27+dfsg-2_amd64.deb  Could not connect to azure.archive.ubuntu.com:80 (52.147.2[19](https://github.com/open-metadata/OpenMetadata/runs/5315142730?check_suite_focus=true#step:5:19).192), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Hi @mithmatt,
Thanks for the PR. Can you please take care of this test failure?
Errors:
2022-02-24T07:06:04.7753691Z [ERROR]   UserResourceTest.userDefaultRoleAssignment:126->EntityResourceTest.patchEntityAndCheck:1480->EntityResourceTest.patchEntityAndCheck:1505->EntityResourceTest.patchEntity:1321 » HttpResponse


use of Object.defineProperty breaks ie8

Hi all,
I understand completely that react-redux may not intend to support ie8 and that's totally fine. However, I'm curious if I could be given a little more insight into how the createProvider method works, especially regarding the call to _createClass so that I might find a workaround. As mentioned here calling Object.defineProperty breaks ie8. Perhaps there is a way to write some of the contents of createProvider in a more es6 heavy way? This might allow me to use my own ie8 compatible babel settings to avoid use of defineProperty. Any and all help is greatly appreciated!

And i now see that you guys have rewritten this with es6!

This might allow me to use my own ie8 compatible babel settings to avoid use of defineProperty.

How can we do that?
We don't actually use Object.defineProperty—it's just what Babel uses for class definitions.
Can we avoid it with different Babel settings?

I'm curious if I could be given a little more insight into how the createProvider method works

Just a method that returns a class, see the source.

We're a company that sells software to police forces and hence has to support ie8 and it's the absolute worst :(.

Actually i believe the specific babel loose mode for this case is es6.modules as explained here.

Can you confirm that compiling React Redux with loose: 'all' fixes the issue?
I don't mind compiling in this mode.

yup! checkin now.

Going to work more on this today. The .babelrc is already using loose mode all, the real kicker is uses of static class properties. Going to make a PR, but finding that a bunch of other libraries in the redux ecosystem also use similar stuff, so having trouble getting a full integration test on ie8. Will update as I find out more!

I've forked and cloned the repo locally, have modified the code to protect against Object.defineProperty, but when attempting to test it using npm link am running into this issue. Essentially because react-redux has a (dev?) dependency on react 0.14-rc1, but my application still depends on react 0.13, both are loaded in. So my application is getting With React 0.14 and later versions, you no longer need to wrap <Provider> child into a function. I'm not sure how the build process of react-redux combined with npm link would end up including a second react version and i'm a little out of my element so I hope my test methodology isn't dumb. I might just drop in the shimmed compiled file for now...

Out in 3.1.0.

Related to https://github.com/rackt/react-redux/issues/227

Fixed.


Containerize Backend Node codebase

Hi, @KarinePistili,
I have added and made few changes in order to containerize the node backend system

Dockerfile
.dockerignore
docker-compose.yml
index.js (For configuring DB on the container)

To run on your machine, you can use the following commands.
docker-compose up

The server will be running on port 3000.
I am open to receive feedbacks or any changes for containerizing the backend node system. Thank you
Regards,
Aju Tamang

I'll review and send a feedback soon :)


Perhaps incorrect data parsing in Python code

Hi,
After installing Timeloop, I executed the python3 costModel/timeloop/model_timeloop.py. However, I have noticed that the code is not working as expected, it threw ValueError: could not convert string to float: 'EDP(J*cycle):. And upon further inspection, I found that the positions of the data being parsed maybe swapped.
During debugging, I found the relative position of data is:

While the relevant lines of the code in mindmappings/costModel/timeloop/model_cnn.py#L250-L252:
cost.append(float(data[-24].split(" ")[-1]))
cost.append(float(data[-22].split(" ")[-2]))
cost.append(float(data[-23].split(" ")[-1]))

It seems that these three index number should be continuous. So I swaped the -22 and -23, and python did not raise error then.
Is it really a bug or do I miss anything?

We encountered the same issue, which is due to the version of Timeloop. Please try Timeloop 1.0 version.

The above is a poor design. It needs to be changed to parse XML/YAML, whichever timeloop dumps instead of that hacky script. If someone has a PR on it, happy to review


Add basic AES API

Add a basic AES API. So far, only CTR mode is supported.

I also have some additional commits here, for testing this change on the Tlera Corp Gnat:
https://github.com/braun-embedded/stm32l0xx-hal/compare/aes...braun-embedded:aes-gnat
cc @lthiery


Could you add the code of the models involved in PatchTST and others showed in main tables to the code repository?

Hello, it's nice to see your excellent work. I hope to run the models involved in the main tables such as PatchTST in your framework. Can you add this part of the code to the code repository?

Hey, thanks for the interest. Sure, I could work on adding these models to the repo - any particular models that you're looking at apart from PatchTST? It might take some time to add everything depending on my bandwidth.


Extension webhooks don't have an objectSelector

How to categorize this issue?

/area scalability
/kind enhancement
What would you like to be added:
The extensions webhooks don't have and objectSelectors in the webhook's definitions. For example, see https://github.com/gardener/gardener-extension-provider-aws/blob/b985c85ea7bebe5812fee7769441e65b84767e2b/pkg/webhook/controlplane/add.go#L27-L41
This means that the corresponding controlplane webhook mutates every CREATE/UPDATE request for Deployments, VerticalPodAutoscalers and OperatingSystemConfigs.
Internally it is switching over the object kind and object names and decides whether it has to mutate something or not: https://github.com/gardener/gardener/blob/de03c8ee1103c1122c749f937de9b5cc79a386d9/extensions/pkg/webhook/controlplane/genericmutator/mutator.go#L131-L235
For example, for VPA the extension webhook only needs to mutate the machine-controller-manager-vpa. The way webhook is set up, it is called for every VPA requests and internally, client-side the webhook does the filtering by the above switch cases. The MCM VPA objects are < 5% of the all VPA objects on a Seed cluster. For the rest of the VPA objects 95% the webhook is called unnecessary.
This is problematic wrt to scalability reasons. The introduction of the VPA mutation caused the following issue to the vpa-recommender of ManagedSeeds. vpa-recommender consider itself unhealthy (failing liveness probe) if its control loop fails to update all VPA objects in the cluster in given amount of time. The introduction of the VPA webhook (https://github.com/gardener/gardener-extension-provider-aws/pull/774/files#diff-83a16519f79a8712837f7575101e67e321d6bac43f11b6486b48af12bca5d5acR47) made many vpa-recommender unhealthy on many Seeds.

The long total time is caused by the relatively slow patch operations which are executed sequentially. A patch on a vpa object takes 110ms. This seems also "acceptable", but the vpa can not cope with high latency so well. It executes the updates sequentially and hence it adds up to 500s and that leads to the restarts.

[...], the webhook call times are 100ms, which dominates the patch duration of 110ms.

The issue is also outlined in https://github.com/gardener/gardener/issues/9020#issuecomment-1900349709.
Why is this needed:
See above.
Tasks:

[x] controlplane webhooks:

[x] gardener/gardener: https://github.com/gardener/gardener/pull/9981
[x] gardener/gardener-extension-provider-alicloud: https://github.com/gardener/gardener-extension-provider-alicloud/pull/731
[x] gardener/gardener-extension-provider-aws: https://github.com/gardener/gardener-extension-provider-aws/pull/989
[x] gardener/gardener-extension-provider-azure: https://github.com/gardener/gardener-extension-provider-azure/pull/905
[x] gardener/gardener-extension-provider-gcp: https://github.com/gardener/gardener-extension-provider-gcp/pull/789
[x] gardener/gardener-extension-provider-openstack: https://github.com/gardener/gardener-extension-provider-openstack/pull/797

[x] cloudprovider-webhook

[x] gardener/gardener: https://github.com/gardener/gardener/pull/10027
[x] gardener/gardener-extension-provider-openstack: adopted in the extension with https://github.com/gardener/gardener-extension-provider-openstack/pull/816, cleaned up more with https://github.com/gardener/gardener-extension-provider-openstack/pull/823
[x] gardener/gardener-extension-provider-azure: adopted in the extension with https://github.com/gardener/gardener-extension-provider-azure/pull/909

[ ] shoot-webhook

[x] gardener/gardener: https://github.com/gardener/gardener/pull/10026
[x] gardener/gardener-extension-provider-aws: https://github.com/gardener/gardener-extension-provider-aws/pull/988
[x] gardener/gardener-extension-provider-azure: https://github.com/gardener/gardener-extension-provider-azure/pull/903
[x] gardener/gardener-extension-provider-alicloud: https://github.com/gardener/gardener-extension-provider-alicloud/pull/730
[ ] gardener/gardener-extension-provider-equinix-metal: https://github.com/gardener/gardener-extension-provider-equinix-metal/pull/316

/assign

I am closing this issue as completed as the only open PR is for provider-equinix-metal (ref https://github.com/gardener/gardener-extension-provider-equinix-metal/pull/316) and it does not seem to be actively maintained anymore
/close


:sparkles: Support override addon images by the cluster's annotation

Summary
Make the addon manger support override addon agents' images by the cluster's annotation.
If the managedCluster has annotation open-cluster-management.io/image-registries in format:
{
   "registries":[
      {
         "mirror":"quay.io/ocm/addon-examples",
         "source":"quay.io/open-cluster-management/addon-examples"
      }
   ]
}

For example:
apiVersion: cluster.open-cluster-management.io/v1
kind: ManagedCluster
metadata:
  annotations:
    open-cluster-management.io/image-registries: '{"registries":[{"mirror":"quay.io/ocm/addon-examples","source":"quay.io/open-cluster-management/addon-examples"}]}'

The addon-manager will override agent images for all the template-type addons whose images can match the source field.
Related issue(s)
Fixes #

/unhold
cc @qiujian16

/hold for https://github.com/open-cluster-management-io/addon-framework/pull/199

/unhold
@qiujian16 ptal

/approve
/lgtm


July workshop

It would be great to get some help on what could go wrong in my current state of the event page. Thanks a lot!

I would be happy now with the current state of the event.
@erxleben @bgruening: please let me know if something is missing or if it should be more compact.


[BEAM-11460] Support reading Parquet files with unknown schema

Data engineers encounter times when schema of Parquet file is unknown at the time of writing the pipeline or multiple schema may be present in different files.  Reading Parquet files using ParquetIO requires providing an Avro (equivalent) schema, Many a times its not possible to know the schema of the Parquet files.
On the other hand AvroIO supports reading unknow schema files by providing a parse function : #parseGenericRecords(SerializableFunction<GenericRecord,T>)
Supporting this functionality in ParquetIO is simple and requires minimal changes to the ParquetIO surface.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Added new tests for the feature in ParquetIOTest
[x] Reviewers - @iemejia @aromanenko-dev
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.
created instead of PR/13554 due to change in source branch.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@aromanenko-dev @iemejia have made all the requested changes. Kindly review.


It would be great if you could copy output without commas.

Problem Statement

Evidence or User Insights

Proposal

Goals

Non-Goals

Low-Fidelity Concept

Requested Assignment

If possible, I would like to implement this.
I'm just suggesting this idea.  I don't want to implement it.

Hi, can I be assigned this task?

It looks like this was suggested before in #1305. In #1331, there is a suggestion that we could resolve this by adding both plain text (without separators) and rich text (with separators) to the clipboard. We can discuss this idea further in that thread.


.Net Bug: OpenAPI descriptions overriding path parameters in operations are not supported

Describe the bug
According to the OpenAPI spec, parameters in the operation object that match parameters in the path item object should override the path item object descriptions. Semantic Kernel currently only uses parameters under the operation object.
An example OpenAPI:
{
  "openapi": "3.0.3",
  "info": {
    "title": "Test Schema",
    "version": "0"
  },
  "servers": [
    {"url": "https://localhost:3000"}
  ],
  "paths": {
    "/users/{userId}": {
      "get": {
        "operationId": "getUserById",
        "responses": {
          "default": {
            "description": ""
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ]
      },
      "parameters": [
        {
          "name": "userId",
          "in": "path",
          "required": true
        }
      ]
    }
  }
}

Expected behavior
Semantic kernel should consider path item parameters as well as operation parameters when building a plugin. If a parameter appears in both the path item and the operation item, the operation item path should be used. In the above OpenAPI, the userId parameter should have a schema with type integer.
Platform

OS: Windows
IDE: VS Code
Language: C#
Source: main branch of repository

Additional context
Related to #8268

Hi @calebkiage thanks for creating this issue. Is this a blocking issue for you and if yes, can you  provide some detail on the impact to help us to prioritise this.

The SK Open API support does not cover 100% of the Open API specification. As features are requested we aim to provide a functionality very quickly, typically this happens in time for our next weekly release. Closing this issue until we get a customer request where this is a blocking issues.


Dropdown bug

Fixes Issue
Closes #1829 (Recreated the PR due to some bugs)

Changes proposed

Added a useOnClickOutside Hook to capture mouse events when clicked outside the scope of any element.
Implemented useOnClickOutside hook on dropdown list for category section

ps : It is a new PR that fixes some of the bugs that were getting produced in #1838.
Screenshots

Please check the video for better understanding on how these changes reflect on the website.
Due to large video size I have uploaded the zip file.
Linkshub_dropdown_bug.zip
Note to reviewers

Please do let me know if there's any room for improvement?

One thing I want to add is when I search anything from the search bar and a particular dropdown list gets open, then on clicking outside of the main scope to close the dropdown list, closes the dropdown list but lets the input value to remain searched.
This causes a scenario where the outlet is redirected to home page but the side navbar still remains in the previous state when the search happened.
I suggest to erase the input value as well when the event is called outside of the scope of ref element., i.e., while closing the dropdown list, get the original state of side navbar as well (obviously by erasing the input value).
You can check exactly what I'm talking about in the instance where I searched for "Next js" in the video I shared above.

One thing I want to add is when I search anything from the search bar and a particular dropdown list gets open, then on clicking outside of the main scope to close the dropdown list, it closes the dropdown list but lets the input value to remain searched. This causes a scenario where the outlet is redirected to home page but the side navbar still remains in the previous state when the search happened. I suggest to erase the input value as well when the event is called outside of the scope of ref element., i.e., while closing the dropdown list, get the original state of side navbar as well (obviously by erasing the input value).
You can check exactly what I'm talking about in the instance when I searched for "Next js" in the video I shared above.

Yeah, please do it.

The pagination works fine for this case.

One thing I want to add is when I search anything from the search bar and a particular dropdown list gets open, then on clicking outside of the main scope to close the dropdown list, it closes the dropdown list but lets the input value to remain searched. This causes a scenario where the outlet is redirected to home page but the side navbar still remains in the previous state when the search happened. I suggest to erase the input value as well when the event is called outside of the scope of ref element., i.e., while closing the dropdown list, get the original state of side navbar as well (obviously by erasing the input value).
You can check exactly what I'm talking about in the instance when I searched for "Next js" in the video I shared above.

Yeah, please do it.

The pagination works fine for this case.

Just updated some changes.
This is how it works now.
https://github.com/rupali-codes/LinksHub/assets/94848646/b4b42b65-c0ef-4669-acf9-41ef032fc023
Please do let me know if there's anything to improve on.

@Anmol-Baranwal your turn!

Can we merge this one if everything works fine?

@raghav1030
Done!


*:fix tableScan incorrect trace.

What problem does this PR solve?
Issue Number: close #4692
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge

/run-unit-test

/run-all-tests

/run-intergration-test

/run-integration-test

/run-all-tests

/run-unit-test

/run-unit-test


Big refactoring.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

https://github.com/yiisoft/yii-dataview/pull/92

What's left here?

🔥


Code sample: nalgebra's swap_rows

The nalgebra linear algebra library has a swap_rows method which allows someone to swap two rows of a matrix. Unfortunately, I'm currently encountering an UB-smelling issue which causes data corruption in some circumstances and seems closely related to that method.
The implementation of swap_rows is a loop that iterates over the container cells associated with the source and destination rows of the matrix, then creates two &mut from pairs of cells, and calls mem::swap on the pairs. One of the things which @sebcrozet noticed while experimenting around is that replacing this mem::swap with a ptr::swap seems to make the UB go away. The issue is highly sensitive to many factors, though, so we can't tell for sure if the bug is really gone with that.
One suspicion of mine is that the two &mut which swap_rows create on the same array slice might be consider by either rustc or LLVM to alias, even if from our perspective they don't (as they point to different scalars), which would trigger UB. What is your opinion on this?

Here is a minimal program which is spiritually equivalent to the problematic part of my nalgebra-based application, and exhibits the same UB symptoms on my machine:
extern crate nalgebra;

use nalgebra::Matrix3x4;

#[inline(never)]
fn swappy() -> Matrix3x4<f32> {
    let mut mat = Matrix3x4::new(1., 2.,  3.,  4.,
                                 5., 6.,  7.,  8.,
                                 9., 10., 11., 12.);

    for i in 0..2 {
        for j in i..3 {
            if mat[(j, 3)] > mat[(i, 3)] { mat.swap_rows(i, j); }
        }
    }

    mat
}

fn main() {
    let mat = swappy();
    println!("Result: {}", mat);
}

Expected output:
  ┌             ┐
  │  9 10 11 12 │
  │  5  6  7  8 │
  │  1  2  3  4 │
  └             ┘

Actual output:
Result:
  ┌             ┐
  │  9 10 11 12 │
  │  5  6  7  8 │
  │  5  6  7  4 │
  └             ┘

Upon further investigation, there are two ingredients needed for this to fail which I forgot to mention so far:

Must build in release mode (as with most UB-ish issues)
Must have codegen-units=1 (it seems that one of the optimizations that are inhibited by multiple codegen units is needed for this to fail)

Let me correct myself: it still fails with codegen-units=2, but not with codegen-units=3... So it's not the use of multiple codegen units per se that is problematic, but rather the specific way these were sliced up by rustc. I would therefore still recommend use of codegen-units=1 to be safe.


Album date not updated after picture dates are updated

I have an album, which contained pictures, which had a "wrong" date. So I changed the date of the pictures on my PC. They synced to the server and I synced them to Les Pas. I check in the album in Les Pas, that the date of the pictures is correct now by clicking on the image and pressing the info button. All pictures have the correct date now and everything is synced. I press the sync button again, close the app, start the app again. However, the date of the album still shows the previous "wrong date" even though there is no picture in this album with this wrong date anymore.
Example: All pictures have the date 2022-06-05 but one picture had 2023-03-13. So I fixed the date of the 2023-03-13 picture, but the album still shows that the range is until 2023-03-13.
Expected behavior would be, that the album refreshes and shows that the album only contains pictures from 2022-06-05.
However, there is a solution to this problem:
Remove the folder/album from lespas folder on the server, and sync on the app and then add it again on the server and sync to the app. Now the correct date is shown.

Yes, this is a bug when you changed the very first and/or very last photo's date in an album, new start/end date is not reflected in album list. It's already fixed in a working branch which will introduced a new feature for re-scanning Exif for an album. There are still some final touches to be done before it can be merged and released.

Perfect, thank you very much!

Does this bug also affect the sorting by date of the picture within an album or is this a new bug?

@ahormann It should not. Did you have any problem with sorting of photos or albums?

This bug is fixed in latest release 2.8.3


Don't use magic constants

Description
Don't use magic constants
Type of change

Refactor (refactoring code, removing useless files)

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #301 (6c9fd72) into master (8231a84) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   74.32%   74.32%
=======================================
  Files          10       10
  Lines         483      483
=======================================
  Hits          359      359
  Misses        103      103
  Partials       21       21

Impacted Files
Coverage Δ

content/content.go
89.57% <100.00%> (ø)

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 8231a84...6c9fd72. Read the comment docs.


[6.0] Implement Data reading hook for remote content

Explanation: Implements the hook defined in https://github.com/apple/swift-foundation/pull/826 to allow for Data(contentsOf:) to fetch from a remote URL when FoundationNetworking is loaded
Scope: Should only impact calling Data(contentsOf:) with a non-file URL, turning an error into non-regressed behavior
Original PR: https://github.com/apple/swift-corelibs-foundation/pull/5049
Risk: Minimal - fixes a regression where the current behavior is just to throw, and fairly limited scope
Testing: Testing done via swift-ci testing and local testing
Reviewer: @iCharlesHu @parkera

@swift-ci please test

https://github.com/apple/swift-foundation/pull/826
@swift-ci please test

https://github.com/apple/swift-foundation/pull/826
@swift-ci please test windows platform

https://github.com/apple/swift-foundation/pull/826
@swift-ci please test windows platform


Please depend on 'igraph' instead of 'python-igraph' on PyPI

Please depend on the igraph instead of python-igraph package on PyPI. See https://github.com/igraph/python-igraph/issues/699 for an explanation.
I believe this requires changes only in requirements.txt and pyproject.toml here:
https://github.com/search?q=repo%3Ametagentools%2FGraphBin python-igraph&type=code
Note that on conda-forge, the name stays python-igraph!

Hi @szhorvat,
Thanks for bringing this to my attention by posting this issue. I will make the necessary updates ASAP.

Thank you @Vini2 !