[Build] Refactor and Upgrade to OpenSearch 2.10

Is your feature request related to a problem?
Created a new branch for OpenSearch 2.10, but there is refactoring to do to build successfully.
opensearch-learning-to-rank-base % ./gradlew -Dopensearch.version=2.10.0 -Djava.security.manager=allow -Dbuild.snapshot=false build

Configure project :
opensearch_version 2.10.0
plugin_version <IP_ADDRESS>
=======================================
OpenSearch Build Hamster says Hello!
Gradle Version        : 7.6
OS Info               : Mac OS X 13.6 (x86_64)
JDK Version           : 17 (Oracle JDK)
JAVA_HOME             : /Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home
Random Testing Seed   : CCD5F43B2912F263
In FIPS 140 mode      : false
=======================================

Task :compileJava
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/template/mustache/CustomMustacheFactory.java:30: error: cannot find symbol
import org.opensearch.common.Strings;
^
symbol:   class Strings
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:20: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:21: error: cannot find symbol
import org.opensearch.common.io.stream.NamedWriteable;
^
symbol:   class NamedWriteable
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:22: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:23: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:36: error: cannot find symbol
public class ExplorerQueryBuilder extends AbstractQueryBuilder implements NamedWriteable {
^
symbol: class NamedWriteable
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:61: error: cannot find symbol
public ExplorerQueryBuilder(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ExplorerQueryBuilder
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/explore/ExplorerQueryBuilder.java:86: error: cannot find symbol
protected void doWriteTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class ExplorerQueryBuilder
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/utils/AbstractQueryBuilderUtils.java:18: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/utils/AbstractQueryBuilderUtils.java:19: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/utils/AbstractQueryBuilderUtils.java:36: error: cannot find symbol
public static void writeQueries(StreamOutput out, List<? extends QueryBuilder> queries) throws IOException {
^
symbol:   class StreamOutput
location: class AbstractQueryBuilderUtils
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/utils/AbstractQueryBuilderUtils.java:43: error: cannot find symbol
public static List readQueries(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class AbstractQueryBuilderUtils
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/ranker/parser/LinearRankerParser.java:21: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/ranker/parser/XGBoostJsonParser.java:25: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:25: error: cannot find symbol
import org.opensearch.action.ActionResponse;
^
symbol:   class ActionResponse
location: package org.opensearch.action
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:29: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:30: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:33: error: cannot find symbol
import org.opensearch.rest.RestStatus;
^
symbol:   class RestStatus
location: package org.opensearch.rest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:26: error: cannot find symbol
import org.opensearch.action.ActionResponse;
^
symbol:   class ActionResponse
location: package org.opensearch.action
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:30: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:31: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:32: error: package org.opensearch.common.io.stream.Writeable does not exist
import org.opensearch.common.io.stream.Writeable.Reader;
^
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:35: error: cannot find symbol
import org.opensearch.rest.RestStatus;
^
symbol:   class RestStatus
location: package org.opensearch.rest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportCreateModelFromSetAction.java:26: error: cannot find symbol
import org.opensearch.action.ActionListener;
^
symbol:   class ActionListener
location: package org.opensearch.action
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:172: error: cannot find symbol
public static class CreateModelFromSetResponse extends ActionResponse implements StatusToXContentObject {
^
symbol:   class ActionResponse
location: class CreateModelFromSetAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:176: error: cannot find symbol
public static class FeatureStoreResponse extends ActionResponse implements StatusToXContentObject {
^
symbol:   class ActionResponse
location: class FeatureStoreAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:30: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:31: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:36: error: package org.opensearch.common.io.stream.Writeable does not exist
import org.opensearch.common.io.stream.Writeable.Reader;
^
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:32: error: cannot find symbol
import org.opensearch.action.ActionListener;
^
symbol:   class ActionListener
location: package org.opensearch.action
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:50: error: cannot find symbol
import static org.opensearch.action.ActionListener.wrap;
^
symbol:   class ActionListener
location: package org.opensearch.action
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:50: error: static import only from classes and interfaces
import static org.opensearch.action.ActionListener.wrap;
^
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportCreateModelFromSetAction.java:60: error: cannot find symbol
protected void doExecute(Task task, CreateModelFromSetRequest request, ActionListener listener) {
^
symbol:   class ActionListener
location: class TransportCreateModelFromSetAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportCreateModelFromSetAction.java:71: error: cannot find symbol
ActionListener listener) {
^
symbol:   class ActionListener
location: class TransportCreateModelFromSetAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportClearCachesAction.java:30: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportClearCachesAction.java:31: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:73: error: cannot find symbol
protected void doExecute(Task task, FeatureStoreRequest request, ActionListener listener) {
^
symbol:   class ActionListener
location: class TransportFeatureStoreAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:20: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:21: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:22: error: cannot find symbol
import org.opensearch.common.io.stream.Writeable;
^
symbol:   class Writeable
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:38: error: cannot find symbol
public class FeatureValidation implements Writeable, ToXContentObject {
^
symbol: class Writeable
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StorableElement.java:19: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StorableElement.java:20: error: cannot find symbol
import org.opensearch.common.io.stream.NamedWriteable;
^
symbol:   class NamedWriteable
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StorableElement.java:24: error: cannot find symbol
public interface StorableElement extends ToXContent, NamedWriteable {
^
symbol: class NamedWriteable
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:151: error: cannot find symbol
ActionListener listener,
^
symbol:   class ActionListener
location: class TransportFeatureStoreAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportFeatureStoreAction.java:177: error: cannot find symbol
private void store(FeatureStoreRequest request, Task task, ActionListener listener) {
^
symbol:   class ActionListener
location: class TransportFeatureStoreAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:61: error: cannot find symbol
public FeatureValidation(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class FeatureValidation
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/FeatureValidation.java:67: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class FeatureValidation
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/index/Caches.java:29: error: cannot find symbol
import org.opensearch.common.unit.ByteSizeValue;
^
symbol:   class ByteSizeValue
location: package org.opensearch.common.unit
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportClearCachesAction.java:65: error: cannot find symbol
protected ClearCachesNodeResponse newNodeResponse(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class TransportClearCachesAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/index/Caches.java:48: error: cannot find symbol
public static final Setting LTR_CACHE_MEM_SETTING;
^
symbol:   class ByteSizeValue
location: class Caches
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/index/Caches.java:71: error: cannot find symbol
public Caches(TimeValue expAfterWrite, TimeValue expAfterAccess, ByteSizeValue maxWeight) {
^
symbol:   class ByteSizeValue
location: class Caches
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/index/Caches.java:95: error: cannot find symbol
TimeValue expireAfterAccess, ByteSizeValue maxWeight) {
^
symbol:   class ByteSizeValue
location: class Caches
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:65: error: cannot find symbol
public ClearCachesNodesRequest(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ClearCachesNodesRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:117: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class ClearCachesNodesRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportClearCachesAction.java:100: error: cannot find symbol
ClearCachesNodeRequest(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ClearCachesNodeRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/TransportClearCachesAction.java:107: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class ClearCachesNodeRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:73: error: cannot find symbol
public FeatureStoreRequest(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class FeatureStoreRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:161: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class FeatureStoreRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:49: error: cannot find symbol
public Reader getResponseReader() {
^
symbol:   class Reader
location: class ClearCachesAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:145: error: cannot find symbol
public ClearCachesNodesResponse(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ClearCachesNodesResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:155: error: cannot find symbol
protected List readNodesFrom(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ClearCachesNodesResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:160: error: cannot find symbol
protected void writeNodesTo(StreamOutput out, List nodes) throws IOException {
^
symbol:   class StreamOutput
location: class ClearCachesNodesResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/ClearCachesAction.java:167: error: cannot find symbol
public ClearCachesNodeResponse(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class ClearCachesNodeResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:27: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:28: error: cannot find symbol
import org.opensearch.common.Strings;
^
symbol:   class Strings
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:29: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:30: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:31: error: cannot find symbol
import org.opensearch.common.io.stream.Writeable;
^
symbol:   class Writeable
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:237: error: cannot find symbol
public static class LtrModelDefinition implements Writeable {
^
symbol:   class Writeable
location: class StoredLtrModel
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:94: error: cannot find symbol
public CreateModelFromSetRequest(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class CreateModelFromSetRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:124: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class CreateModelFromSetRequest
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureNormalizers.java:23: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureNormalizers.java:24: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:274: error: cannot find symbol
public LtrModelDefinition(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class LtrModelDefinition
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:282: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class LtrModelDefinition
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/FeatureNormDefinition.java:20: error: cannot find symbol
import org.opensearch.common.io.stream.Writeable;
^
symbol:   class Writeable
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/FeatureNormDefinition.java:26: error: cannot find symbol
public interface FeatureNormDefinition extends ToXContent, Writeable {
^
symbol: class Writeable
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureNormalizers.java:98: error: cannot find symbol
public StoredFeatureNormalizers(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class StoredFeatureNormalizers
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureNormalizers.java:158: error: cannot find symbol
private  FeatureNormDefinition createFromStreamInput(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class StoredFeatureNormalizers
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureNormalizers.java:169: error: cannot find symbol
public void writeTo(StreamOutput output) throws IOException {
^
symbol:   class StreamOutput
location: class StoredFeatureNormalizers
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureSet.java:27: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureSet.java:28: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureSet.java:29: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:84: error: cannot find symbol
public StoredLtrModel(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class StoredLtrModel
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredLtrModel.java:94: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class StoredLtrModel
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:28: error: cannot find symbol
import org.opensearch.common.ParsingException;
^
symbol:   class ParsingException
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:29: error: cannot find symbol
import org.opensearch.common.Strings;
^
symbol:   class Strings
location: package org.opensearch.common
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:30: error: cannot find symbol
import org.opensearch.common.bytes.BytesReference;
^
symbol:   class BytesReference
location: package org.opensearch.common.bytes
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:31: error: cannot find symbol
import org.opensearch.common.io.stream.StreamInput;
^
symbol:   class StreamInput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:32: error: cannot find symbol
import org.opensearch.common.io.stream.StreamOutput;
^
symbol:   class StreamOutput
location: package org.opensearch.common.io.stream
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureSet.java:125: error: cannot find symbol
public StoredFeatureSet(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class StoredFeatureSet
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeatureSet.java:130: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class StoredFeatureSet
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:101: error: cannot find symbol
public StoredFeature(StreamInput input) throws IOException {
^
symbol:   class StreamInput
location: class StoredFeature
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/feature/store/StoredFeature.java:118: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class StoredFeature
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:176: error: cannot find symbol
public CreateModelFromSetResponse(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class CreateModelFromSetResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:188: error: cannot find symbol
public void writeTo(StreamOutput out) throws IOException {
^
symbol:   class StreamOutput
location: class CreateModelFromSetResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/CreateModelFromSetAction.java:203: error: cannot find symbol
public RestStatus status() {
^
symbol:   class RestStatus
location: class CreateModelFromSetResponse
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:51: error: cannot find symbol
public Reader getResponseReader() {
^
symbol:   class Reader
location: class FeatureStoreAction
/Users/usera/IdeaProjects/OpenSearchWork/opensearch-extra2/opensearch-learning-to-rank-base/src/main/java/com/o19s/es/ltr/action/FeatureStoreAction.java:179: error: cannot find symbol
public FeatureStoreResponse(StreamInput in) throws IOException {
^
symbol:   class StreamInput
location: class FeatureStoreResponse
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors
only showing the first 100 errors, of 383 total; use -Xmaxerrs if you would like to see more

Task :compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 6s
2 actionable tasks: 2 executed

### What solution would you like?
Successful build including integ tests.

I've made a bunch of changes to get the plugin to compile on 2.10. Most tests also pass, but I'm not quite sure how to replace toXContent methods since the changes in 2.9 from core. I believe 5 tests are failing. @noCharger I might be able to take a look late this week, but if you feel like giving it a shot, my latest is here: https://github.com/macohen/opensearch-learning-to-rank-base/tree/2.10

@macohen I see this is building now and there's a release for 2.11.1 now. Does that mean this issue can be closed? If so, I can work on a 2.12.0 version.


Add Acknowledgments section to readme

Hey, I just made a Pull Request!

Added Acknowledgments section to readme

@BethGriggs
I had checked the Prettier code style looks good now.
Please refer to the screenshot for the update


Exclude not working

Hi,
I've had some issues with the excluded users filtering...
Ended up reversing the negative logic
foreach ($session in $DisconnectedSessions) {     if ($users.contains($session.Username))     {         Write-Log -Message "$($session.Username) excluded"     }     else     {         logoff $session.ID         Write-Log -Message $session.Username     } }

You are correct. The check didn't work. Should be fixed.
The way you implemented it also works but you used the Contains() method instead of the -contains operator. Keep in mind that the Contains() method is case sensitive. The -contains operator is not.


Fix deprecation from Symfony 6.3

Since symfony/serializer 6.3: "Gamez\Symfony\Component\Serializer\Normalizer\UuidNormalizer" should implement "DenormalizerInterface::getSupportedTypes(?string $format): array".

Sorry for the late reply! Please update to https://github.com/jeromegamez/ramsey-uuid-normalizer/releases/tag/3.1.0 , this should fix the problem (it requires at least Symfony 6.4, though).


Work Package wp-cg.csv

I would like to work on this please!

Results of Phase 1
wp-cg-results.csv

I completed this work package.

I would like to work on this please!

Result of Phase 2
wp-cg-results.csv

I completed this work package.

Results of Phase 1
wp-cg-results.csv

[Updated] Results of Phase 2
wp-cg-results.csv


Update usage.mdx

Updated JS import parameters to resolve error messages

Closes #
📝 Description

Add a brief description

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Thanks for this PR. I find it too verbose, and I'd prefer we keep it as is.
Most users will understand that they need to import these components from Chakra.

Sure. I felt most people wouldn't know they had to import it separately.
Too me some time as a beginner to figure out that we had to import them 😄
On Mon, 31 Jul, 2023, 20:50 Segun Adebayo, @.***> wrote:

Thanks for this PR. I find it too verbose, and I'd prefer we keep it as is.
Most users will understand that they need to import these components from
Chakra.
—
Reply to this email directly, view it on GitHub
https://github.com/chakra-ui/chakra-ui-docs/pull/1624#issuecomment-1658587168,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZRM745QQ3KAXFP6R3EL2TXS7EKNANCNFSM6AAAAAA2Q3ZDTU
.
You are receiving this because you authored the thread.Message ID:
@.***>


re-enable supabase cli action

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3211   👈

This comment was auto-generated by Graphite.


Fragmentation support and Network performance improvements

this PR implements fragmentation support which was introduced in OTP version 22.
also included significant improvements in terms of networking (completely rewritten DIST/ETF parts)

Codecov Report

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

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   52.01%   52.01%
=======================================
  Files          21       21
  Lines        3991     3991
=======================================
  Hits         2076     2076
  Misses       1786     1786
  Partials      129      129

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 9123d6c...9123d6c. Read the comment docs.


fix crash when only 1 array element

This is fixed in #67 as well.

I'm closing this as it's fixed in #67, but thanks for your contribution!

pleasure Phil. has #67 been merged yet so i can update in our app ?

@ajonno yes, it is now in the master.


Missed 'servers' in 'full example' section

Hi.
         "upstreams": {
            "rr-lb": {
                "<IP_ADDRESS>:8080": { },
                "<IP_ADDRESS>:8080": {
                    "weight": 2
                }
            }
        },

It seems the servers was missed.
        "upstreams": {
            "rr-lb": {
                "servers": {
                      "<IP_ADDRESS>:8080": { },
                      "<IP_ADDRESS>:8080": {
                            "weight": 2
                       }
                 }
            }
        },

Thanks for noticing this and shame on me; the issue is fixed now.

@artemkonev
settings/http/websocket is also missed in the document. For example.
{
    "settings": {
        "http": {
            "header_read_timeout": 2,
            "idle_timeout": 0,
            "websocket": {
                "read_timeout": 3,
                "keepalive_interval": 0,
                "max_frame_size": 4
            },

Hi, @hongzhidao ,
Initially, this was done on purpose, but I'll check whether this omission should stay as it is.

This object is subject to possible change in the future, so we'll keep it this way.

@artemkonev
It would be great to have a section to describe how to upgrade, including software such as Unit 1.8 to Unit.19,
and what should users do after changing Go/Python/PHP code?

Thanks, @hongzhidao, I'll consider adding this to my roadmap for the future.

Hi, @artemkonev @VBart

What about adding lang type in each language sample? For example
<%= "Hello, Unit Java!" %>
Some options are inconsistent in docs, tests and source code.
unit_jars exists in tests and source code, but not in docs.
reschedule_timeout seems unused.
shm only exists in source code.

BTW, does the official UNIT plan to support the dashboard?
I'm working on this recently, and it's almost finished.
It would be great to have suggestions from you.

Hi. @VBart @artemkonev
I put a demo online only for preview.
http://<IP_ADDRESS>:9528
There are some questions I faced.

home page
I'm still not sure what information is good to put here.
access log
Where to put it? I want to put it into settings, but it has an individual section in Unit configuration.
certifications

export function add(data) {
  var name = data['name']

  var value = `-----BEGIN PRIVATE KEY-----
${data['private_key']}
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
${data['certificate']}
-----END CERTIFICATE-----`

  return request({
    url: '/certificates/' + name,
    method: 'put',
    data: value
  })
}

I'm not sure if it's right to calculate the value from html form.

nginx config
Now, it seems nginx is required to do the CORS and login/authorization.

server {
    listen  8000;

    error_page 451 = @cors;
    if ($request_method = OPTIONS) {
        return 451;
    }

    location @cors {
        internal;
        add_header Access-Control-Allow-Origin *;
        add_header Access-Control-Max-Age 3600;
        add_header Access-Control-Allow-Methods 'GET, PUT, POST, DELETE, OPTIONS';
        add_header Access-Control-Allow-Headers '*';
        return 204;
    }

    add_header Access-Control-Allow-Origin * always;
    add_header Access-Control-Expose-Headers 'Date';

    location /user/login {
        return 200 '{"token": "xxx"}';
    }

    location /user/info {
        return 200 '{"username": "admin"}';
    }

    location /user/logout {
        return 200;
    }

    location / {
        proxy_pass  http://<IP_ADDRESS>:8080;
        proxy_intercept_errors on;
        if ($request_method = GET) {
          error_page 404 = @empty;
        }
    }

    location @empty {
        internal;
        return 204;
    }
}

a. CORS
It would be helpful if UNIT support CORS itself.
b. login/autorization
I think authorization is necessary. I want to use njs to implement it. It depends on njs jwt implementation.

Open-source
There are two parts: source and dist. I only use the README and src directory.

babel.config.js  jest.config.js  mock          package-lock.json  README.md     tests
build            jsconfig.json   node_modules  postcss.config.js  README-zh.md  vue.config.js
dist             LICENSE         package.json  public             src

It's easy to use dist, just change the API address.
I'm thinking about how to organize the project including nginx configuration.
This is based on vuejs. I'm a bit new to web and I did it only by myself.
Highly welcome to get suggestions and help in the future.

Hi. @VBart @artemkonev
I put a demo online only for preview.
http://<IP_ADDRESS>:9528

Looks good!

There are some questions I faced.
* home page
  I'm still not sure what information is good to put here.

Probably just an overview.
I'm not sure that multiple screen/pages are needed right now.  Everything can be showed and edited on the just one page without switching (which can distract).

* access log
  Where to put it? I want to put it into `settings`, but it has an individual section in Unit configuration.

You shouldn't stick to JSON structure of the API.  It's just an internal detail.  UI can have completely different organisation, if it suits better.

* certifications

export function add(data) {
  var name = data['name']

  var value = `-----BEGIN PRIVATE KEY-----
${data['private_key']}
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
${data['certificate']}
-----END CERTIFICATE-----`

  return request({
    url: '/certificates/' + name,
    method: 'put',
    data: value
  })
}

I'm not sure if it's right to calculate the value from html form.

There are also problems with copy'n'paste from editors. Sometimes it may corrupt the certificate somehow. I'd suggest to implement ability for file uploading and drag'n'drop as well.

* nginx config
  Now, it seems nginx is required to do the `CORS` and `login/authorization`.

server {
    listen  8000;

    error_page 451 = @cors;
    if ($request_method = OPTIONS) {
        return 451;
    }

    location @cors {
        internal;
        add_header Access-Control-Allow-Origin *;
        add_header Access-Control-Max-Age 3600;
        add_header Access-Control-Allow-Methods 'GET, PUT, POST, DELETE, OPTIONS';
        add_header Access-Control-Allow-Headers '*';
        return 204;
    }

    add_header Access-Control-Allow-Origin * always;
    add_header Access-Control-Expose-Headers 'Date';

    location /user/login {
        return 200 '{"token": "xxx"}';
    }

    location /user/info {
        return 200 '{"username": "admin"}';
    }

    location /user/logout {
        return 200;
    }

    location / {
        proxy_pass  http://<IP_ADDRESS>:8080;
        proxy_intercept_errors on;
        if ($request_method = GET) {
          error_page 404 = @empty;
        }
    }

    location @empty {
        internal;
        return 204;
    }
}

a. CORS
It would be helpful if UNIT support CORS itself.

That's because the UI and Unit API are served from different hosts.  Do you think that will be a common case?

b. login/autorization
I think authorization is necessary. I want to use njs to implement it. It depends on njs jwt implementation.

I agree.  What authorization methods do you think Unit should support out of the box?

c. 404
Please take a look again. In routes edit, we need to get all the pass options such as upstreams.
If there is not config/upstream, the request will get 404 from the server-side.
In JS request, it will trigger an error (I didn't find a better way).

Is it a problem to handle this error?
I think "requesting every bit" for the "pass" option - isn't a good way to handle it.  Also this doesn't work with PHP targets.
And you also lose atomicity. Parts of config may be changed by other software or users between your requests.
It's better to request the full JSON from /config/ and then parse it and extract different parts.

So I added an error page in nginx configuration.
Do you think it makes sense that return 200 and null if the method is GET and value is not found?
For example, If /config/upstreams don't exist.
GET /config/upstreams => 200
GET /config/upstreams/a => 404
(I know it looks good now in Unit).

That violates the REST principles that we try to stick.

* Open-source
  There are two parts: source and dist. I only use the `README` and `src` directory.

babel.config.js  jest.config.js  mock          package-lock.json  README.md     tests
build            jsconfig.json   node_modules  postcss.config.js  README-zh.md  vue.config.js
dist             LICENSE         package.json  public             src

It's easy to use dist, just change the API address.
I'm thinking about how to organize the project including nginx configuration.
Note that this server does not have any application environment, I tested it in my local server.
(GO/php/perl/ruby passed)
This is based on vuejs. I'm a bit new to web and I did it only by myself.
Highly welcome to get suggestions and help in the future.

The core part is the JS.  Everything else is just a way how it can be served and it would be nice, if nginx will be not needed at all in the future. And it's not needed right now if you're using web UI locally for development for example.
Also one more note, unrelated to the above. It seems currently it's not possible to add listeners and routes, or routes and apps or just multiple routes at the same time. Each time when adding something, you have to click "Submit" and apply changes, which can result in inconsistent state of the configuration. You have to collect all the changes made by user until he decide to apply them.

I'm not sure that multiple screen/pages are needed right now. Everything can be showed and edited on just one page without switching (which can distract).

This inspired me. On the client-side, there is only one JS object stored.

I'd suggest to implement ability for file uploading and drag'n'drop as well.

It's better to support both ways.

That's because the UI and Unit API are served from different hosts. Do you think that will be a common case?

I'm not sure. I prefer to keep Unit API unchanged and put CORS, etc into NGINX in the short time.

I agree. What authorization methods do you think Unit should support out of the box?

I guess in real-world this dash will be deployed in the local network (I mean the login is not required) and the way of jwt auth is a good choice for login.

And it's not needed right now if you're using web UI locally for development for example.

OK. Please take a look at the first try. hongzhidao/nginx-unit-dashboard.

You have to collect all the changes made by user until he decide to apply them.

The following are my thoughts.

The dash is a handy tool to help people manage the Unit's configuration. It totally follows the instructions described in Unit docs. So I organize the menus the form fields corresponding to the docs.
I think which way should be supported, the complete submit or submit after form editing. Both these ways are needed in real-world compared to NGINX used in the company. For the way of complete submit at the same, actually, the versions is needed. People can create a draft version and deploy it, even do the rollback. So currently I prefer to only support the way of submit after editing.
I want to keep the dashboard corresponding to the Unit's document.


Refactoring: add class ZSeparator

I am afraid it breaks the ABI compatibility, so I am not in favor of this change until the ABI break is necessary.

Ok.
Create PR for init Max[0] = Max[1] = Error; ?

Everything not breaking the ABI (i.e. the protected class) would be good to be in another PR.


Test extended demo on macos

Description
Investigate bug where extended_demo.py is failing on macos.
Fixes #350
Type of change

[ ] Documentation (non-breaking change that adds or improves the documentation)
[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (non-breaking, back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (whatever its nature)

Key checklist

[ ] All tests pass (eg. python -m pytest)
[ ] The documentation builds and looks OK (eg. python -m sphinx -b html docs docs/build)
[ ] Pre-commit hooks run successfully (eg. pre-commit run --all-files)

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.54%. Comparing base (a6fd02f) to head (eaaa4d5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #352   +/-   ##
=======================================
  Coverage   87.54%   87.54%
=======================================
  Files          22       22
  Lines        2224     2224
  Branches      282      282
=======================================
  Hits         1947     1947
  Misses        198      198
  Partials       79       79

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

closing as can't reproduce the initial issue


HAND1

Preferred gene-related syndrome label
HAND1 related congenital heart defect
Synonyms
none
Parent term (use OLS, or your favorite ontology browser)
MONDO_0005453
Definition
A heart disease that is present at birth. Representative examples include ventricular septal defect, tetralogy of Fallot, and double outlet right ventricle.
**Definition source (Please give PubMed ID, if applicable, in format PMID:#######)
PMID: 28112363, 27942761, 22032825
Children terms (if applicable) Should any existing terms be re-classified as children underneath this new proposed term?
Your nano-attribution (ORCID) or URL for a working group
https://clinicalgenome.org/affiliation/40130/

thanks @eedoh01, I'll add this asap

Hi Nicole,
I hope all is well. I was wondering what the status was on adding this
term?
Respectfully,
Enyo
On Sun, Apr 30, 2023 at 12:18 PM Nicole Vasilevsky @.***>
wrote:

thanks @eedoh01 https://github.com/eedoh01, I'll add this asap
—
Reply to this email directly, view it on GitHub
https://github.com/monarch-initiative/mondo/issues/6224#issuecomment-1529065455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5KTDOCTHNERDIR54IV2S7DXD2GEZANCNFSM6AAAAAAXMZ3JXE
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Enyonam Edoh
Research Associate I
Broad Institute of MIT and Harvard
105 Broadway, Cambridge, MA 02142
@.***
Pronouns: she/her
[image: BroadInstLogoforDigitalRGB.png] https://www.broadinstitute.org/

Hi @eedoh01 we will aim to add this by the June release (which will be on or near June 01)
Thanks for checking!


timezone issue

HI
i have added you datepicker, not working on minus timezone.

can you please check out .
Thanks in advance !!!

Negative timezone issue still exist. If you change your timezone to a negative timezone calendar dates doesn't show up.

hi do we have solution for the above issue ??

hi any update regarding this issue?


Accept JSON:API requests which contain no model attributes.

See #534.

Looks great - rebase?

614 closes


Add support for Kicad BOM import

Hello !
Just discovered Inventree, it looks really good :)
I was wondering about the complexity of writing a "plugin" that can import KiCAD BOM directly, instead of having to parse and convert the BOM specificly to Inventree format...
(I will easily write a script that convert the standard Kicad BOM to the Inventree BOM Format, that's no big deal..)
It could be run externally before importing, but where the fun ?

Hello @lukh
This is the repository for the documentation.
Please open a feature request here: https://github.com/inventree/InvenTree/issues
Thanks!


Unable to download extension

Using the In-Client Designer.
Clicked Stop Designing, selected Download Code

Click Save

Same Error from extensions page.

Think I found the reason. The Extension and Publisher Names are automatically populated and uneditable.
Closing and reopening the client, entering design mode - same issue.
Did it a couple of times, changes kept being saved to the same Extension.
Unsure if I did something different, but after closing client and reopened it again, started designing and Stop Designing, fields were editable and could enter publisher name without invalid characters.

Thanks, we are looking into it.

In my case, the fields are not automatically populated :-/

Not sure if it has anything to do with the initialization of the VM / solution?
Only provisioned it yesterday and had the issue on first attempt.
Nothing since.


Python example

Why don't use async method of python ? I like code example from Mat. I think we should base on this code and modify/add some new rather than replace it.

Why don't use async method of python ? I like code example from Mat. I think we should base on this code and modify/add some new rather than replace it.

Why don't use async method of python ? I like code example from Mat. I think we should base on this code and modify/add some new rather than replace it.

yep. Mat code is nice to me also. btw, i also see Tan code is clear and good . uhm. in pytho does user often use async function or not? a Tan.

@nguoithichkhampha Matt was using websockets libary, which is based on asyncio. While the new updates replace it with websocket-client, which's synchronous library. Working with synchronous functions always easier.

Imagine developer is using our cortex example in their project. now, we change the method handle data from async to sync. this is big change and they will not like it. Agree, sync method is easier but async has more useful feature. Especially for a real project.

@nguoithichkhampha , after this code is approve and merge, the original code from Mat

Imagine developer is using our cortex example in their project. now, we change the method handle data from async to sync. this is big change and they will not like it. Agree, sync method is easier but async has more useful feature. Especially for a real project.

@nguoithichkhampha , after this code is merged, we will still keep original Mat code and put to folder "async"

@nguoithichkhampha , after this code is approve and merge, the original code from Mat
It's fine if we explain more details in file README and I see in this PR file example.py deleted. not move to another folder.

@nguoithichkhampha , after this code is approve and merge, the original code from Mat\

It's fine if we explain more details in file README and I see in this PR file example.py deleted. not move to another folder.

hi @nguoithichkhampha , added "async" folder and note to README for user which need for async code


ValidationError Exception

Should think about a custom validation exception instead of using ValueError.

https://github.com/JoshData/python-email-validator/blob/a5842577875a34c36acb10b3f0f39a60796ba7c8/email_validator/exceptions_types.py

0.2.1

This extends ValueError so it is backwards compatible.


Update loopback.md

Fixing BTARN SDK path

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/accelerator-rosettanet/loopback.md
:white_check_mark:Succeeded
View

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


Spacing is not correct.

Spacing is not correct.

Verified this issue on dev app v1.7.9(309)


Update the README

Coverage remained the same at 100.0% when pulling 0e93b7aa12b02d985edc210da3ae0aad8efbfaf2 on next into 10d40ecf500950a5a960368db9277f2c160ad84d on master.


Update nx-remotecache-custom to 19

Hi, it's me again)
pnpm install on this:
	"devDependencies": {
		"@nx-dotnet/core": "2.2.0",
		"@nx/js": "19.0.6",
		"nx": "19.0.6",
		"nx-remotecache-gcp": "2.4.0"
	},

gives
 WARN  Issues with peer dependencies found
└─┬ nx-remotecache-gcp 2.4.0
  └─┬ nx-remotecache-custom 18.0.0
    └── ✕ unmet peer<EMAIL_ADDRESS>found 19.0.6

nx-remotecache-custom 19 expects peer of nx 19, so please, update nx-remotecache-custom.
(yes i just updated numbers in the description lol)

I released 3.0.0 a few hours ago.
Can you try again?

Yep, it's cool, closing, thanks!


  Therefore, they should be moved over to that repository.

Fixed as part of #587


After Drawer is closed, page scrolls to top

[x] This is a v3.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When Drawer is closed, the page should not scroll to top
Current Behavior

When Drawer is closed, the page scrolls to top
Steps to Reproduce

Link: https://codesandbox.io/s/wowj35m357

Scroll to the bottom of the page.
Click on the button on the AppBar to open the Drawer.
Close the Drawer.
On closing the Drawer, the page scrolls to the top.
If the position of the AppBar is changed to 'fixed', then this issue is not observed.

Your Environment

Tech
Version

Material-UI
v3.0

React
16.4.2

Browser
Chrome/68.0.3440.106

Using position="fixed" over position="sticky" solves the problem. Can you reproduce the issue with Firefox? It could be Chrome focus issue with the sticky position.

It's a duplicate of #10756.


Update configuring-dotnet-cli-for-use-with-github-packages.md

Why:
The article doesn't otherwise mention how to authenticate to GitHub Packages in a GitHub Actions workflow - it just links to a generic GITHUB_TOKEN page. The dotnet nuget add source command allows for authenticating to GitHub packages without having to source control a GitHub token.
I thought this simple one-liner would be very helpful in consuming GitHub Packages in a an effecient manner instead of having to sift through Stack Overflow posts on how to do this.
What's being changed:

Adding an example command that can be used to authenticate to GitHub Packages in a GitHub Action without committing a secret to source control:
dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/OWNER/index.json"

(If this link still works) The change can be found on the Heroku page here:

Check off the following:

[X] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[X] For content changes, I have reviewed the localization checklist
[X] For content changes, I have reviewed the Content style guide for GitHub Docs.

Thanks so much for opening a PR and explaining your changes so thoroughly @soccerjoshj07! I'll get this triaged for review ✨

Hey @soccerjoshj07, our sincere apologies for not getting back to you on this PR.
It's my understanding that the page you're changing in this PR no longer exists and the information has been moved. We believe that the change you're proposing would still be useful but it would probably best be added to this page: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages. Would you mind updating the PR or creating a new one with the change in the new location?
Let us know! And again, I apologize for it taking so long to get back to you. We're still working out the bugs in our process here, please bear with us!


YouTube stops playing my playlist

Autoplay dosn't work when I play the videos on the background.
Please can someone help me my YouTube Version is 11.25.59

I'm on 11.07.59 and autoplay doesn't work for me either.


Does not select '0' as an option (if integer)

If you provide numbers as options and 0 has to be one of the options, it is never selected because of the check if(!option)

Hi @AhsanAyaz , thanks for reporting!
It should be a quick fix, I'm going to fix it as soon as possible!

@AhsanAyaz should be fixed in master. can you confirm that it works for your use case?

@bianchimro  Sure I'll check and let you know in a few hours.
What I did at my end was that I changed the options to string values :) So it worked.
Btw i was working on a project and it had options from -20 to +20 with an interval of 0.25
The requirement was having "0" at middle so I worked on scrolling to a particular element. And it works fine.
I still need to clean up some code. Will fork your repo and will ping you when I'm done.
Might be used to navigate directly to the previously selected object by scrolling to the element in future.
Will let you know.
Thanks for fixing the issue :+1:


[BugFix] fix stuck issue in agg streaming operator

Fixes #30078
root cause:

AggregateStreamingSourceOperator::is_finished need check Aggregator::is_sink_complete

bool AggregateStreamingSourceOperator::is_finished() const {
    return _aggregator->is_sink_complete() && !has_output();
}

Normally, Aggregator::_is_sink_complete will be set to true in AggregateStreamingSinkOperator::set_finishing

Status AggregateStreamingSinkOperator::set_finishing(RuntimeState* state) {
    _is_finished = true;

    // skip processing if cancelled
    if (state->is_cancelled()) {
        return Status::OK();
    }

    if (_aggregator->hash_map_variant().size() == 0) {
        _aggregator->set_ht_eos();
    }

    _aggregator->sink_complete();
    return Status::OK();
}

but when pulling chunk from AggregateStreamingSourceOperator, Aggregator::reset_state may be invoked, after reset_state, Aggregator::_is_sink_complete will be set to false.

Status AggregateStreamingSourceOperator::_output_chunk_from_hash_map(ChunkPtr* chunk, RuntimeState* state) {
    if (!_aggregator->it_hash().has_value()) {
        _aggregator->hash_map_variant().visit(
                [&](auto& hash_map_with_key) { _aggregator->it_hash() = _aggregator->_state_allocator.begin(); });
        COUNTER_SET(_aggregator->hash_table_size(), (int64_t)_aggregator->hash_map_variant().size());
    }

    RETURN_IF_ERROR(_aggregator->convert_hash_map_to_chunk(state->chunk_size(), chunk));

    if (_aggregator->is_streaming_all_states() && _aggregator->is_ht_eos()) {
        RETURN_IF_ERROR(_aggregator->reset_state(state, {}, nullptr));
        _aggregator->set_streaming_all_states(false);
    }

    return Status::OK();
}

so if the following sequence of calls occurs, the query will never end

T0:  AggregateStreamingSinkOperator::set_finishing, _aggregator->is_sink_complete() will return true
T1:  AggregateStreamingSourceOperator::_output_chunk_from_hash_map -> Aggregator::reset_state, _aggregator->is_sink_complete() will return false.

after T1, AggregateStreamingSourceOperator::is_finished will never return true

fix solutions:

change  the type of Aggregator::_streaming_all_states to std::atomic because It will be accessed concurrently by AggregateStreamingSinkOperator and AggregateStreamingSourceOperator
if AggregateStreamingSinkOperator::set_finishing has been invoked, we should avoid to reset_state in source side

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 2 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/aggregate/aggregate_streaming_source_operator.cpp
0
2
00.00%
[88, 89]

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/aggregate/aggregate_streaming_source_operator.cpp
0
5
00.00%
[92, 93, 99, 100, 101]

:large_blue_circle:
src/exec/pipeline/aggregate/aggregate_distinct_streaming_source_operator.cpp
0
2
00.00%
[79, 80]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/aggregate/aggregate_streaming_source_operator.cpp
0
5
00.00%
[92, 93, 99, 100, 101]

:large_blue_circle:
src/exec/pipeline/aggregate/aggregate_distinct_streaming_source_operator.cpp
0
2
00.00%
[79, 80]

After discussing with @stdpain , we decided to fix it through #30228. Some changes in this PR will be moved there.

@Mergifyio backport branch-3.1


cl/361880889: Uncomment Firestore test RestartFirestoreLeadsToNewInstance for Android now that auth is a soft dependency

This is a port of cl/361880889:
Uncomment Firestore test RestartFirestoreLeadsToNewInstance for Android now that auth is a soft dependency

These tests are actually moving out of this directory into firestore/integration_test_internal/src, could you merge main into this branch and make the change there?

These tests are actually moving out of this directory into firestore/integration_test_internal/src, could you merge main into this branch and make the change there?
We'll be moving back unit tests there eventually, but integration tests will stay in that new location.
(also you can ignore the integration test failure you see reported in the comments - I'm just testing out the triggers.)

@jonsimantov I'll just hold off merging this PR until this test is moved into its ultimate location in the main branch. It's not an urgent fix.

Test is in its new location now, you can update this PR at your leisure.


Typescript typings for TextField are wrong

version: v1-beta12
as per TextField.d.ts in v1-beta12, the typings extend FormControlProps.
This in turn extends React.HtmlHTMLAttributes<HTMLDivElement>, which eventually has property onChange(ev : React.SyntheticEvent<HTMLDivElement>) .
The problem being that React.SyntheticEvent<HTMLDivElement> is generically typed to HTMLDivElement, even though in v1-beta12, the event's currentTarget is actually an HTMLInputElement.
It would make the typings much easier to use if this was fixed.
The problem is that with the generic set to HTMLDivElement, onChange event handlers must be coded like so:
function onChange(ev : React.FormEvent<HTMLDivElement>) {
    const actualTarget = ev.currentTarget as any as HTMLInputElement
    console.log(actualTarget.value)
}
// or without the any...
function onChange(ev : React.FormEvent<HTMLElement>) {
    const actualTarget = ev.currentTarget as HTMLInputElement
    console.log(actualTarget.value)
}

Can you please add an usage example.
From looking at the implementation of TextField inheriting from a div is correct. If you put an onChange on the TextField it will be passed to the FormControl, which is by default rendered as a div.
If you want to listen for changes on the input field, you can use the InputProps.

Whilst TextField returns a FormControl around the Input component, it doesn't attach the onChange event to the FormControl:
https://github.com/callemall/material-ui/blob/dbbcaa6e1a6ae05b87b076091985ec6e2ac97a3d/src/TextField/TextField.js#L178-L188
https://github.com/callemall/material-ui/blob/dbbcaa6e1a6ae05b87b076091985ec6e2ac97a3d/src/TextField/TextField.js#L227-L234
It attaches it to the Input component:
https://github.com/callemall/material-ui/blob/dbbcaa6e1a6ae05b87b076091985ec6e2ac97a3d/src/TextField/TextField.js#L205-L223
So whilst TextField technically is by default rooted with a div, the component you're attaching the event to is (by default) an input.
Proper React dictates that you should use the currentTarget on the event to interact with the event, NOT the target (which is why react's SyntheticEvent typings provides a useless type for target).
How can I get the value from a HTMLDivElement?
If that's your intention from an API design perspective, then you should probably provide custom events that explicitly expose the value, so consumers don't have to fight with your definitions.

My bad, you're correct. The onChange is set on the <Input>. Updated the typings accordingly.
Regarding your issue with the "API design perspective". This is OSS, so anyone is welcome to contribute ;) The people doing the TS typings are doing their best to make everyone happy.

You were a version out - in v11 it put it on the FormControl, it was changed 2 days ago (released with v12): https://github.com/callemall/material-ui/commit/b815af0d644493e85cff96644573709dc9f534f0
It's on my todo list to contribute back to this and a few other projects we're leaning on. After my current slab of work slows down.

The latest fix (I'm using 1.0.0-beta.16) prevents compilation with a type error.
This code
class TextInputDemo ... {
  ...
  render() {
    return (
      <TextField
        label="Text"
        value={this.state.title}
        onChange={this.handleChange}
      />
    );
  }

  private handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
    ...
  }
}

fails with the following compiler type error:
error TS2322: Type '{ label: "Text"; value: string; onChange: (event: ChangeEvent<HTMLInputElement>) => void; requir...' is not assignable to type 'IntrinsicAttributes & { autoComplete?: string | undefined; autoFocus?: boolean | undefined; child...'.
  Type '{ label: "Text"; value: string; onChange: (event: ChangeEvent<HTMLInputElement>) => void; requir...' is not assignable to type 'FormControlProps'.
    Types of property 'onChange' are incompatible.
      Type '(event: ChangeEvent<HTMLInputElement>) => void' is not assignable to type '((event: FormEvent<HTMLDivElement>) => void) | undefined'.
        Type '(event: ChangeEvent<HTMLInputElement>) => void' is not assignable to type '(event: FormEvent<HTMLDivElement>) => void'.

If I change the event handler to
  private handleChange = (event: React.FormEvent<HTMLDivElement>) => {
    ...
  }

I get the following compiler error:
...
Types of property 'onChange' are incompatible.
      Type '(event: FormEvent<HTMLDivElement>) => void' is not assignable to type '((event: ChangeEvent<HTMLInputElement>) => void) | undefined'.
        Type '(event: FormEvent<HTMLDivElement>) => void' is not assignable to type '(event: ChangeEvent<HTMLInputElement>) => void'.

The only workaround at the moment is something like this:
  private handleChange = (event: {}) => {
    const e = event as React.ChangeEvent<HTMLInputElement>;
    ...
  }

The problem lies in the typedefinition of the TextFieldProps:
export type TextFieldProps = {
  ...
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
} & FormControlProps;

FormControlProps extends React.HtmlHTMLAttributes<HTMLDivElement> and somewhere deeper in the hierarchy of FormControlProps we find the following interface:
    interface DOMAttributes<T> {
        ...
        // Form Events
        onChange?: FormEventHandler<T>;
        ...
    }

And as T is of type HTMLDivElement here, we cause the conflict which makes the compiler fail.

@svenwiegand This was already fixed in #8618

@sebald Yeah thanks. Can confirm that this is working with 1.0.0-beta.17.


Get host machine IP address from a CS endpoint

We currently get the IP address of the machine Appsmith is hosted on from http://api64.ipify.org/, meaning that customers running Appsmith on VPC need to whitelist this URL. Some customers raise questions from security POV. Handling this from cs.appsmith.com will be a cleaner implementation and remove doubt for some customers.

Closing this as already completed.


[BUG]Plugin isn't recognized by Logstash after new version of Logstash is installed

Describe the bug
Starting  with Logtash 7.16.2 I noticed that the output plugin is no longer recognized if I restart the service after an update to Logstash is installed.  I've had to make it a point to reinstall the plugin whenever I restart Logstash to pick up configuration changes or binary updated.
To Reproduce
Steps to reproduce the behavior:

Install Logstash >= 7.16.2
Install logstash-output-opensearch
Have Logstash write data to an Opensearch cluster
Install a newer version of Logstash
Restart Logstash.
The output plugin is no longer recognized and Logstash can't write to the Opensearch cluster anymore.

[2022-04-26T23:27:11,691][ERROR][logstash.plugins.registry] Unable to load plugin. {:type=>"output", :name=>"opensearch"}
[2022-04-26T23:27:11,703][ERROR][logstash.agent           ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:syslog, :exception=>"
Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (PluginLoadingError) Couldn't find any output plugin named 'opensearch'. Are you
sure this is correct? Trying to load the opensearch output plugin resulted in this error: Unable to load the requested plugin named opensearch of type output. Th
e plugin is not installed.", :backtrace=>["org.logstash.config.ir.CompiledPipeline.<init>(CompiledPipeline.java:120)", "org.logstash.execution.JavaBasePipelineEx
t.initialize(JavaBasePipelineExt.java:86)", "org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initializ
e.gen)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHel
pers.java:1169)", "org.jruby.ir.instructions.InstanceSuperInstr.interpret(InstanceSuperInstr.java:84)", "org.jruby.ir.interpreter.InterpreterEngine.processCall(I
nterpreterEngine.java:361)", "org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)", "org.jruby.internal.runtime.methods
.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:86)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:73)", "org.jru
by.runtime.callsite.CachingCallSite.call(CachingCallSite.java:85)", "org.jruby.RubyClass.newInstance(RubyClass.java:939)", "org.jruby.RubyClass$INVOKER$i$newInst
ance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)", "usr.share.logstash.logstash_minus_core.lib.logst
ash.pipeline_action.create.RUBY$method$execute$0(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:52)", "usr.share.logstash.logstash_minu
s_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$__VARARGS__(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:50)", "org.
jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.jav
a:70)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)", "usr.share.logstash.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(/us
r/share/logstash/logstash-core/lib/logstash/agent.rb:383)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)", "org.jruby.runtime.
IRBlockBody.call(IRBlockBody.java:58)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52)", "org.jruby.runtime.Block.call(Block.java:139)", "org.jruby.Rub
yProc.call(RubyProc.java:318)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)", "java.base/java.lang.Thread.run(Thread.java:829)"]}

Expected behavior
After a restart I would expect that the plugin would still be recognized by the newly updated Logstash package.
Plugins
I don't have a list of plugins right now because the command to list them is giving me errors, but the Opensearch output plugin is the only one I have explicitly installed and I haven't explicitly uninstalled any either.
Host/Environment (please complete the following information):

OS: Debian 9.13
Version: Logstash 7.17.3
Plugin:  latest

I try to install this plugin on logstash version of 7.16.3 is successful， but   I try to install this plugin on logstash version of 8.0.0 or 8.2.0 is failure。 I guess it only supports up to logstash version of 7.16.3。

I hope the author can continue to support logstash subsequent versions. thank you very much

I try to set ECS compability mode to disabled in my configuration , then it is successful
Environment:
•	Image Version: Logstash 8.2.0
•	Plugin: 1.2.0

Hi all, I'm tracking the issue. If you have time to help contribute, this should be an easy one.

Trying to reproduce this, I tried a lesser set of steps - not running Logstash at all.
On Ubuntu 22.04, installed Elastic keys and repos, then

sudo apt-get install logstash=1:7.15.2-1
sudo /usr/share/logstash/bin/logstash-plugin install logstash-output-opensearch
sudo apt-get upgrade logstash=1:7.16.2-1
sudo /usr/share/logstash/bin/logstash-plugin list
Gem::LoadError: You have already activated ffi 1.15.5, but your Gemfile requires ffi 1.15.4. Prepending `bundle exec` to your command may solve this. check_for_activated_spec! at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:309                     setup at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:25                      each at org/jruby/RubyArray.java:1821                      each at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.33/lib/bundler/spec_set.rb:136                       map at org/jruby/RubyEnumerable.java:886                     setup at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:24                     setup at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/bundler-2.2.33/lib/bundler.rb:150                    setup! at /usr/share/logstash/lib/bootstrap/bundler.rb:79                   execute at /usr/share/logstash/lib/pluginmanager/list.rb:33                       run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/command.rb:68                   execute at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/subcommand/execution.rb:11                       run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/command.rb:68                       run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/command.rb:133                    <main> at /usr/share/logstash/lib/pluginmanager/main.rb:64

This error does not happen without the plugin installation, and it doesn't happen if I substitute various other plugins, e.g. logstash-input-github.


Make the program give an error code if an non-listed number is selected.

Make the program give an error code if an non-listed number is selected.

Completed. Will be added in v1.1.0


Added button to fix textures paths/extensions

Just added a "Fix textures" button cause when importing vanilla YDRs, you very often will have textures path looking like: .dds.dds, .dds.001.dds, .dds.002.dds, etc...
This button will look for all of these broken path and fix them.
You only have to do File>External Data>Find missing textures to make them working again.
Screenshot:

PS: sorry for double commit im not very used to git

You can fix that wihout including a new button just for that, I did a PR in the past but since I'm not that familiar with GitHub I ended up closing it.

If you can, in your code, delete dds.dds duplicate issue ?

Great quick fix and I've found the core issue.
As you've found Sollumz is setting the texture path of non-embedded wrong. It loads the image correctly into Blender but then checks if the texture is not embedded and then changes the filepath to "//" + n.image.name + ".dds" causing missing textures and the "Find missing files" to fail.
So first of all, the n.image.name will have the ".dds" already in the name causing the additional file format to appear. It will also be altered by Blender in case an image with the same name already exits causing the ".001" stuff to appear.
This can be fixed by using the texture name and not the node image name like so: "//" + param.texture_path + ".dds". The file is in ydr\ydrimport.py line 84.
This way "Find missing files" should work.

This needs to be fixed automatically users shouldn't have to click a button... I will look into this


fix price of gpu shown on btc farm cost page

Used to show the GPU sell price, now properly shows the GPU buy price.

.deploy

.deploy

.deploy

.deploy

.deploy

.deploy


The incorrect line of code is highlighted in the example.

The article states:

Create an instance of a default implementation class by using a factory method on the base algorithm class, and refer to the base algorithm class. For example, see the highlighted line of code in the following example:

However, the highlighted line is:
using FileStream myStream = new FileStream("TestData.txt", FileMode.OpenOrCreate);

Which does not refer to cryptography classes, and does not use a factory method to create an instance. Instead, I think the highlighted line should be
using Aes aes = Aes.Create();

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

ID: fc59c0ef-fc24-730b-086a-683bb85fca7a
Version Independent ID: 93212589-e9f6-4bf8-d547-559743e3eb5e
Content: .NET Cryptography Model
Content Source: docs/standard/security/cryptography-model.md
Product: dotnet
Technology: dotnet-security
GitHub Login: @IEvangelist
Microsoft Alias: dapine

This broke in https://github.com/dotnet/docs/pull/21043

Hi 👋 @BasPaap
Thank you so much for posting this issue. We really appreciate it. I have a fix for this in https://github.com/dotnet/docs/pull/23025


Dataset.from_generator should not try to download from HF GCS

Describe the bug
When using Dataset.from_generator with streaming=False, the internal logic will call download_and_prepare which will attempt to download from HF GCS which is redundant, because user has already provided the generator from which the data should be drawn.
If someone attempts to call Dataset.from_generator from an environment that doesn't have external internet access (for example internal production machine) and doesn't set HF_DATASETS_OFFLINE=1, this will result in process being stuck at building connection.
Steps to reproduce the bug
import datasets
def gen():
    for _ in range(100):
        yield {"text": "dummy text"}

dataset = datasets.Dataset.from_generator(gen)

A minimum example executed on any environment that doesn't have access to HF GCS can result in the error
Expected behavior
try_from_hf_gcs should be set to False here https://github.com/huggingface/datasets/blob/c9c1166e1cf81d38534020f9c167b326585339e5/src/datasets/io/generator.py#L51
Environment info

datasets version: 2.14.4
Platform: Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.17
Python version: 3.10.12
Huggingface_hub version: 0.17.1
PyArrow version: 12.0.1
Pandas version: 2.0.3

Indeed, setting try_from_gcs to False makes sense for from_generator.
We plan to deprecate and remove try_from_hf_gcs  soon, as we can use Hub for file hosting now, but this is a good temporary fix.


Need ability to trigger reimport of resources from importer script

Godot has very powerful asset management mechanism which allows handling most of
asset management issues and allows automate most of jobs associated with imported assets to integrate them into game, like creating needed nodes automatically. These are importer scripts. I currently use them to not get overwhelmed with animation import and automagically create AnimationTree pieces, which saves a lot of time. However, there is a problem.
I have X .escn scenes which I use to import animations into files. It is easier to split animations into several files and use lighter version of character within these files for easier animation. The animations can use several characters. Also I have 2 separate .escn character scenes, where are full characters with all meshes, etc. but only basic animations.
Every time I add or change animations I need to do the following:

reimport animations from animation scenes
reimport character scenes.

This is because in step 1. animations are extracted, filtered and put into .anim files and
animation metadata like initial position is recorded among other data, also AnimationTree parts are created and updated. On step 2. animations are loaded into AnimationPlayer of each character.
This works like a charm, but I have to manually reimport each resource because of ordering.
It would be nice if I could force reimport of scenes in scriptable way on demand every time animations change, as passing every time through sequence manually is quite boring and annoying.

See also https://github.com/godotengine/godot-proposals/issues/1615
The title is another use case but shows that one solution is to expose an API to trigger importing on generated files.
Currently the only workaround is to launch a re-scan of the entire project with EditorFileSystem, in the hope it picks up new files or changes.

Closing in favor of https://github.com/godotengine/godot-proposals/issues/1615, as feature proposals are now tracked on the Godot proposals repository.


UI inconsistencies with Plugin nodes selection/deselection

Issue description:
Special dock options (like with the Path2D node) that should only be shown when the plugin node is selected are kept showing even when you "reset" selection by clicking on an empty space on the canvas. If the plugin node is a Control node, the "Anchor" button on the upper tab of the editor will disappear, but not docks manually handled with handles(object) and make_visible(visible).
Also, when you select said Plugin Node with the mouse selection box, the special dock won't appear - even when the plugin is the only node being selected. As the previous example, if the plugin node is a Control node, the "Anchor" option will appear - but not any of the docks handled with handles(object) and make_visible(visible).
Hopefully I could describe those inconsistencies well. They are not Engine-breaking, but when creating a Plugin Node, they look like annoying bugs for the user.
Link to minimal example project:
Linking a small project with a plugin + custom dock example.
ui-problem.zip

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.

As there was no update since the previous post, we close this issue.
If it is still relevant in the way it was described and discussed above, please comment to ask for it to be reevaluated. If it is only partly relevant, or if the original issue has changed, it would be better to open a new issue (potentially referring to this one) focused on the current state.


Mechanism to show warning, when the flutter sdk is modified.

I have join into some group in Telegram about Flutter (Flutter Indonesia).
And i read in there that lot of problem occured because of the flutter source code are modified. This is usually happen for user which is in the stage of learning Flutter and using Visual Studio Code (Windows). They modified the code unintently.
Is it possible to give somekind of warning to us when the flutter sdk is somehow modified? Maybe the result of git status or other mechanism? so that the programmer could understand that the Flutter code is modified, when they run the project. So if some error happened, they could guess it themselves before asking to the community.

For example like this:
If someone unintentionally change the ChangeNotifier code:
from throw FlutterError(... to pthrow FlutterError(...
This will make the project error even though its from the default project (counter) after creation.

unintentionally change the flutter framework source code, which is not supposed to be changed, for a beginner.

I think all the changes that are being made goes through PR review process and most probably those changes will be identified before changes are merged, so the typos or unintentional changes being pushed to master are very less likely.

by adding the information about the integrity of flutter source code on the flutter doctor, whether the repo is intact or being modified.
Or by giving warning to the user (something like the update warning, when running flutter run) and give the solution git reset --hard which they could run when error occured because of it.

I am not sure if tracking such changes is feasible or practical to give out the warnings by the framework / tool. If you have pulled latest changes and it has some compile errors as you pointed out above due to typos for example, then the immediate remedy is to file a PR to fix it. I don't think tracking such changes at granular level is possible, so I suggest you to keep an eye on latest master / stable commits and PRs for the changes that are being made.
Based on above, I am going ahead and closing as not feasible. If you disagree, write in comments and I'll reopen it.

unintentionally change the flutter framework source code, which is not supposed to be changed, for a beginner.

I think all the changes that are being made goes through PR review process and most probably those changes will be identified before changes are merged, so the typos or unintentional changes being pushed to master are very less likely.

by adding the information about the integrity of flutter source code on the flutter doctor, whether the repo is intact or being modified.
Or by giving warning to the user (something like the update warning, when running flutter run) and give the solution git reset --hard which they could run when error occured because of it.

I am not sure if tracking such changes is feasible or practical to give out the warnings by the framework / tool. If you have pulled latest changes and it has some compile errors as you pointed out above due to typos for example, then the immediate remedy is to file a PR to fix it. I don't think tracking such changes at granular level is possible, so I suggest you to keep an eye on latest master / stable commits and PRs for the changes that are being made.
Based on above, I am going ahead and closing as not feasible. If you disagree, write in comments and I'll reopen it.

I dont think that you understand my meaning.
I don't know how to explain it. Maybe someone else with a good english could explain better.
What i mean by the change is not about PR or something like that.
Its more about the user whose learning flutter in the beginning, sometimes they modify the code of the framework, without they realizing it. Of course it will throw an error, but they will got confused by the error. They think something wrong with their code, which is not.


Districts of Jammu and Kashmir, and Ladakh are missing

Self explanatory :)

Assigned to @guneetnarula

Question for whoever is working on the district visualizations: I am right now working on / cleaning up the attributes, are these required: "cartodb_id", "censuscode", "st_cen_cd" and "dt_cen_cd" or do we just need the "district" and "st_nm" attributes?


Print given argument instead of rename if matching keg not found

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

> git checkout master
> brew migrate ark
Warning: Use velero instead of deprecated ark
Error: No such keg: /usr/local/Cellar/velero

> git checkout migrate
> brew migrate ark
Error: No such keg: /usr/local/Cellar/ark

Now the warning is still printed, but the keg path matches the given argument:
> brew migrate ark
Warning: Use velero instead of deprecated ark
Error: No such keg: /usr/local/Cellar/ark


basic test and 3.9 update to python

For #8369

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #8495 (1620877) into main (148d6ce) will increase coverage by 0%.
The diff coverage is n/a.

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

@@          Coverage Diff           @@
##            main   #8495    +/-   ##
======================================
  Coverage     71%     72%
======================================
  Files        375     377     +2
  Lines      23800   23933   +133
  Branches    3667    3680    +13
======================================
+ Hits       17111   17277   +166
+ Misses      5200    5173    -27
+ Partials    1489    1483     -6

Impacted Files
Coverage Δ

...rc/client/datascience/notebookStorage/baseModel.ts
62% <0%> (-10%)
:arrow_down:

...client/datascience/notebook/diagnosticsProvider.ts
79% <0%> (-9%)
:arrow_down:

...atascience/interactive-window/interactiveWindow.ts
65% <0%> (-6%)
:arrow_down:

...ractive-window/interactiveWindowCommandListener.ts
35% <0%> (-4%)
:arrow_down:

src/client/extensionActivation.ts
96% <0%> (-3%)
:arrow_down:

...t/common/variables/environmentVariablesProvider.ts
69% <0%> (-3%)
:arrow_down:

.../localPythonAndRelatedNonPythonKernelSpecFinder.ts
80% <0%> (-2%)
:arrow_down:

src/client/common/installer/backupPipInstaller.ts
23% <0%> (-2%)
:arrow_down:

.../datascience/notebook/notebookControllerManager.ts
72% <0%> (-1%)
:arrow_down:

...rc/client/datascience/jupyter/jupyterConnection.ts
86% <0%> (-1%)
:arrow_down:

... and 64 more

Bleh, I'd just put this up for review and the test is failing on CI. Sadly I think it's due to sizing (smaller variable window on CI, so less variables shown) will try to tweak that and obviously won't submit until passing.


Updating README.md

issue refer to
updating readme.md #172

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


Fix EllipsoidRegion when using FastAsyncWorldEdit

On FAWE getHeight() on a EllipsoidRegion always return 256 or more, so the particles are display arround 100 blocks higher and are not visibles.
WorldEdit code:
@Override
public int getHeight() {
    return (int) (2 * radius.getY());
}

FastAsyncWorldEdit code:
@Override
public int getHeight() {
    return Math.max((int) (2 * radius.getY()), 256);
}

@martinambrus Any updates ? 😃

Looking good, thank you :)