Camel-quarkus-couchbase Consumer is not working

Suppose to run
docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase:6.5.1
and to create sample bucket "beer-sample" with the sample data by creating a user admin/password
Now run a simple route
import javax.enterprise.context.ApplicationScoped;

import org.apache.camel.builder.RouteBuilder;

@ApplicationScoped
public class CamelRoute extends RouteBuilder {

    @Override
    public void configure() throws Exception {
        from("couchbase://http://localhost:8091?bucket=beer-sample&username=admin&password=password")
                .to("log:info");
    }
}

This will fail badly with
2021-11-10 12:08:34,679 WARN  [org.apa.cam.com.cou.CouchbaseConsumer] (Camel (quarkus-camel-example-http-log) thread #0 - couchbase://http://localhost:8091) Consumer Consumer[couchbase://http://localhost:8091?bucket=beer-sample&password=xxxxxx&username=admin] failed polling endpoint: couchbase://http://localhost:8091?bucket=beer-sample&password=xxxxxx&username=admin. Will try again at next poll. Caused by: [com.couchbase.client.core.error.DecodingFailureException - Deserialization of content into target class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode failed; encoded = ["21st_amendment_brewery_cafe"]]: com.couchbase.client.core.error.DecodingFailureException: Deserialization of content into target class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode failed; encoded = ["21st_amendment_brewery_cafe"]
	at com.couchbase.client.java.codec.JacksonJsonSerializer.deserialize(JacksonJsonSerializer.java:137)
	at com.couchbase.client.java.view.ViewRow.lambda$decode$0(ViewRow.java:126)
	at java.base/java.util.Optional.map(Optional.java:265)
	at com.couchbase.client.java.view.ViewRow.decode(ViewRow.java:122)
	at com.couchbase.client.java.view.ViewRow.keyAs(ViewRow.java:77)
	at org.apache.camel.component.couchbase.CouchbaseConsumer.poll(CouchbaseConsumer.java:121)
	at org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:190)
	at org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:107)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
 at [Source: (byte[])"["21st_amendment_brewery_cafe"]"; line: 1, column: 1]
	at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)
	at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1764)
	at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:400)
	at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1209)
	at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserialize(AbstractDeserializer.java:274)
	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4593)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3609)
	at com.couchbase.client.java.codec.JacksonJsonSerializer.deserialize(JacksonJsonSerializer.java:134)

This works fine on Camel-plain

This works fine on Camel-plain

I adapted the Camel csimple example with the route mentioned above and observed the same issue. Whenever Jackson is added to the classpath, it triggers the error.

I'll try again the kamelets using Jackson just for confirmation.

Thanks for checking

This works fine on Camel-plain

I adapted the Camel csimple example with the route mentioned above and observed the same issue. Whenever Jackson is added to the classpath, it triggers the error.

ah ok, now I'm getting your message. If you run this https://github.com/apache/camel-examples/tree/main/examples/couchbase-log
The error we are seeing on camel-quarkus is not showing up and the route is the same. This is true with 3.13.0-SNAPSHOT and 3.11.1/3.11.2
So I'm not sure this is a problem on plain camel

Btw with csimple adapted I don't have errors
07:54:52.954 [org.apache.camel.example.MyApplication.main()] INFO  o.apache.camel.main.BaseMainSupport - Auto-configuration summary
07:54:52.957 [org.apache.camel.example.MyApplication.main()] INFO  o.apache.camel.main.BaseMainSupport -     camel.main.name=MyCSimpleCamel
07:54:52.957 [org.apache.camel.example.MyApplication.main()] INFO  o.apache.camel.main.BaseMainSupport -     camel.main.beanIntrospectionExtendedStatistics=true
07:54:52.957 [org.apache.camel.example.MyApplication.main()] INFO  o.apache.camel.main.BaseMainSupport -     camel.main.beanIntrospectionLoggingLevel=INFO
07:54:52.958 [org.apache.camel.example.MyApplication.main()] INFO  o.apache.camel.main.BaseMainSupport -     camel.main.lightweight=true
07:54:53.053 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.l.csimple.CSimpleLanguage - Loaded and initialized 1 csimple expressions from classpath
07:54:53.203 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Routes startup summary (total:1 started:1)
07:54:53.203 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext -     Started route1 (timer://foo)
07:54:53.204 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Apache Camel 3.13.0-SNAPSHOT (MyCSimpleCamel) started in 206ms (build:12ms init:88ms start:106ms)
07:54:53.205 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Lightweight mode enabled. Performing optimizations and memory reduction.
07:54:54.258 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:54:55.204 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:54:56.204 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:54:57.204 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 16
07:54:58.204 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:54:59.205 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:00.206 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:55:01.207 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 3
07:55:02.208 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:55:03.208 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:04.208 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:05.208 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:55:06.209 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:55:07.209 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:08.210 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:09.210 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:55:10.210 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:55:11.210 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:55:12.211 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 11
07:55:13.211 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:55:14.211 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:55:15.212 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:55:16.212 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:55:17.212 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:55:18.212 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:19.213 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:20.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:55:21.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:55:22.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:23.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:24.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 2
07:55:25.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 7
07:55:26.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:55:27.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:55:28.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:55:29.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:30.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:55:31.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 11
07:55:32.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:55:33.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:34.214 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 10
07:55:35.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:55:36.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:37.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:55:38.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 10
07:55:39.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:55:40.215 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 7
07:55:41.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 11
07:55:42.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:43.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:55:44.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:55:45.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 11
07:55:46.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:55:47.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:55:48.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:49.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:55:50.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:55:51.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:55:52.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 16
07:55:53.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:55:54.216 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:55.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:55:56.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:55:57.217 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:55:58.218 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:55:59.218 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 16
07:56:00.218 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:56:01.218 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:56:02.218 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:03.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:56:04.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:05.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 3
07:56:06.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:07.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:56:08.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:56:09.219 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:56:10.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 17
07:56:11.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 19
07:56:12.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:56:13.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:56:14.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:56:15.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 7
07:56:16.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:56:17.220 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:56:18.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 16
07:56:19.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 4
07:56:20.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:56:21.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 15
07:56:22.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:56:23.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:56:24.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:56:25.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 3
07:56:26.221 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:56:27.222 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 2
07:56:28.222 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:29.222 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 3
07:56:30.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:56:31.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:56:32.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 5
07:56:33.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 3
07:56:34.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:35.223 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:56:36.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 2
07:56:37.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 12
07:56:38.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:39.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 16
07:56:40.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:56:41.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:56:42.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 9
07:56:43.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:56:44.224 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 6
07:56:45.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 0
07:56:46.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:56:47.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13
07:56:48.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 8
07:56:49.225 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 7
07:56:50.226 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 11
07:56:51.226 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 18
07:56:52.226 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 1
07:56:53.226 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 14
07:56:54.226 [Camel (MyCSimpleCamel) thread #1 - timer://foo] INFO  route1 - low 13

and the route is
package org.apache.camel.example;

import org.apache.camel.builder.RouteBuilder;

public class MyRouteBuilder extends RouteBuilder {

    @Override
    public void configure() throws Exception {
        from("timer:foo?period={{myPeriod}}")
            .transform().csimple("${random(20)}")
            .marshal().json()
            .log("low ${body}");
    }
}

cc @davsclaus

Sorry - maybe I confused things here a bit. I only chose csimple because it was easy to hack and add couchbase. I didn't see the couchbase-log example.....
The underlying issue is with adding Jackson libs to the classpath (E.g via camel-jackson). If you do that on CQ or plain Camel, it makes the application fail. Without it, things run ok.

In csimple example I added the camel-jackson dep and It didn't fail for me.

In csimple example I added the camel-jackson dep and It didn't fail for me.

Add camel-jackson to the couchbase-log example and watch it fail.

Oh, silly me. I was under the impression you were using the csimple example as is. Sorry for that.

Let me see what is happening

In 3.1.4 couchbase client is using jackson-databind 2.12.2 and in 3.2.0 2.12.3, while Camel 3.13.x is using 2.12.4 and Camel 3.11.x is using 2.12.3.
It's weird.

Excluding jackson-databind from camel-jackson, make it works.
Ok they're shading databind.

Thanks @jamesnetherton
Definitely not a problem of camel or camel-quarkus.


Plugin stopped working after Gerrit update.

Error started happening after Gerrithub updated to new version and doesn't stop even after updating http credentials.
Request not successful. Message: Forbidden. Status-Code: 403. Content:
403 Forbidden
Request forbidden by administrative rules.

Used as v.1.2.2.-146 of a Pycharm plugin: https://plugins.jetbrains.com/plugin/7272-gerrit

@klaucos: Please update the plugin to the latest version (do so in the IntelliJ plugin manager).


Use async HTTPClient in RegistryClient

Motivation:
To adopt Swift concurrency in ManifestLoader, we need to convert RegistryClient first, which then would require use of HTTPClient instead of LegacyHTTPClient.
Modifications:
Converted (and as a consequence, simplified) code in RegistryClient.
Result:
One major previous adopter of LegacyHTTPClient is now compatible with Swift concurrency.
1000+ lines of code removed.
Since RegistryClient was blocking Swift concurrency thread pool and also used .sharedConcurrent dispatch queue, this potentially fixes thread explosion/deadlocks that may have been caused by previously broken code.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test macos

@swift-ci test windows

@swift-ci test


Need a functionality for partial CB frameworks deployment

[Problem]

with operator, we can deploy whole CB frameworks. However, it is hard to deploy CB frameworks selectively.
For CB framework contributors, a functionality for partial CB frameworks deployment would help having Cloud-barista development environment quickly.

For instance, CB-Tumblebug contributors would needs deployed servers for CB-Spider and CB-Dragonfly.

[Suggestion]

provide a functionality for partial CB frameworks deployment.

PTAL, @jihoon-seo

PR #40 might enable this feature (for K8s-cluster version).
https://github.com/cloud-barista/cb-operator/pull/40/files#diff-afdf1ca5fa7cfb8294f1aff34da90e54R2
cb-dragonfly:
  enabled : true
  service:
    nodePort: 30090
    type: NodePort

cb-restapigw:
  enabled : true
  service:
    nodePort: 30080
    type: NodePort

cb-spider:
  enabled : true
  service:
    nodePort: 31024
    type: NodePort

cb-tumblebug:
  enabled : true
  service:
    nodePort: 31323
    type: NodePort

cb-webtool:
  enabled : true
  service:
    nodePort: 31234
    type: NodePort


Add script for ABI compatibility checking

Description
This script is a wrapper around the abi-dumper and abi-compliance-checker tools to easily check ABI/API compatibility between two git references of the Mbed TLS library.
Status
READY
Requires Backporting
NO
Additional comments
This script cannot be used for Windows compatibility testing due to limitations with abi-dumper.

@gilles-peskine-arm Thanks for the comments, I've made the suggested changes.

@mazimkhan - Can you please re-review and approve, so @dgreen-arm can do the backports?

Of course just after 310 reviews.

Would it be possible to exclude "_internal.h" files from API checking?

@Patater Note that while *_internal.h files should be excluded from API compatibility checks, they need to be included in ABI compatibility checks. We guarantee that changes in those files won't break application source code, but we don't guarantee that changes in those files have no impact on dynamically linked application binaries.

@mazimkhan - Can you please re-review?


Report 7000098 Settle Docs. in Post. Bill Gr. - SetHidePrintDialog

Hi,
Could we get the "OnPrem" scope removed from this function?
[Scope('OnPrem')]
procedure SetHidePrintDialog(NewHidePrintDialog: Boolean)
begin
    HidePrintDialog := NewHidePrintDialog;
end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


feat: allow spaces and dash in column header

Is your feature request related to a problem? Please describe.

Some headers are two words or have a dash in them.
Describe the solution you'd like

When matching column header and row, ignore space and dash in header

Solved by #163


Rainbow wallet and metamask QR codes don't display when pressing their tabs [bug]

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
2.0.2
wagmi Version
2.5.16
Current Behavior
Try pressing "connect wallet" here and then selecting rainbow wallet. It doesn't display a QR code https://www.netprotocol.app/app/inscribed-drops/mint/base/0
I also tried on latest rainbow version and ran into the same issues https://github.com/stuckinaboot/Net/pull/39
Expected Behavior
I expected RainbowKit to allow me to select Rainbow wallet so that I can connect my rainbow wallet to my dapp
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Example: I select Rainbow and QR code doesn't display
Here is my providers file (all my code here is open-source): https://github.com/stuckinaboot/Net/blob/main/website/src/app/providers.tsx

It seems like there is something wrong with your WalletConnect project id. Does this work in localhost ? Can you re-generate a new project id and try with that ?
I'm also pretty sure there is something in your settings in WalletConnect cloud you'd have to configure to make this work in a production environment.

Can you try setting https://www.netprotocol.app as an allowed domain ?

Thank you, sorry for false alarm -- that fixed

I'll let others who have this issue know as well


Setup UMRR9F Type 169: V2.0.2 in the new release

Hi,
I use a UMRR9F Type 169: V2.0.2 sensor and I cant see it in the list of avalilable models. How do I setup my sensor. Can I use v2.1.1
https://github.com/smartmicro/smartmicro_ros2_radars/blob/587467f78bc2e64422d4989fc89c025409af8f01/umrr_ros2_driver/param/radar.sensor.template.yaml#L10

Hey,
I would suggest you to get the new firmware v2.2.0 from our support team and than use either umrr9f_v2_1_1 or umrr9f_v2_2_1.

Thank you. Also, We are trying to setup the DRVGRD 169 and meanwhile can you email us a sample rosbag file to get an idea about pointcloud data if possible - email

I suppose that should be available but not sure if through email. Kindly request our support team and ask them for the firmware and rosbags, probably shared through a shared drive.


uv 0.4.11 failing to read distribution cache in github actions

Our Github Actions CI started failing with the following error when running uv pip install pyspark==3.2.1
Using Python 3.8.18 interpreter at: /__w/_tool/Python/3.8.18/x64/bin/python3
Creating virtualenv with seed packages at: venv
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
 + pip==24.2
 + setuptools==75.1.0
 + wheel==0.44.0
error: Failed to download and build `pyspark==3.2.1`
  Caused by: Failed to read from the distribution cache
  Caused by: failed to read directory `/__w/_temp/setup-uv-cache/built-wheels-v3/pypi/pyspark/3.2.1/IStJ-q5m0o-G-eruFFpEK/pyspark-3.2.1.tar.gz`
  Caused by: No such file or directory (os error 2)

This started happening after the latest 0.4.11 release.
Workflow Declaration
- name: Setup Python
  uses: actions/setup-python@v5
  with:
    python-version: '3.8'

- name: Install uv
  uses: astral-sh/setup-uv@v2
  with:
    enable-cache: true

- run: |
    uv venv venv --seed
    uv pip install -r requirements.txt pyarrow pyspark==3.2.1 --python venv  # <--- FAILS HERE
  shell: bash

astral-sh/setup-uv logs
> Run astral-sh/setup-uv@v2
  with:
    enable-cache: true
    version: latest
    github-token: ***
  env:
    pythonLocation: /__w/_tool/Python/3.8.18/x64
    PKG_CONFIG_PATH: /__w/_tool/Python/3.8.18/x64/lib/pkgconfig
    Python_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    Python2_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    Python3_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    LD_LIBRARY_PATH: /__w/_tool/Python/3.8.18/x64/lib:/opt/oracle/instantclient_21_8/
/usr/bin/docker exec  b1f1b19e402573bba171b6a6d208b411385eed518d4f720827a31a93cb1a6f88 sh -c "cat /etc/*release | grep ^ID"
Downloading uv from "https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz" ...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /__w/_temp/5138b5d3-39fd-4adf-abe8-9a6b348864e2 -f /__w/_temp/ef8159c7-bfe3-439b-b565-b6a11cf5126c
Added /__w/_tool/uv/0.4.11/x86_64 to the path
Successfully installed uv version latest
Set UV_CACHE_DIR to /__w/_temp/setup-uv-cache
Trying to restore uv cache from GitHub Actions cache with key: setup-uv-1-x86_64-unknown-linux-gnu-0.4.11
-no-dependency-glob
Received 0 of 301099792 (0.0%), 0.0 MBs/sec
Received 33554432 of 301099792 (11.1%), 16.0 MBs/sec
Received 67108864 of 301099792 (22.3%), 21.3 MBs/sec
Received 109051904 of 301099792 (36.2%), 26.0 MBs/sec
Received 150994944 of 301099792 (50.1%), 28.8 MBs/sec
Received 184549376 of 301099792 (61.3%), 29.3 MBs/sec
Received 213909504 of 301099792 (71.0%), 29.1 MBs/sec
Received 251658240 of 301099792 (83.6%), 30.0 MBs/sec
Received 288516880 of 301099792 (95.8%), 30.5 MBs/sec
Cache Size: ~287 MB (301099792 B)
/usr/bin/tar -xf /__w/_temp/92d12651-008f-4643-8d55-d87145b39532/cache.tgz -P -C /__w/<PRIVATE-REPOSITORY> -z
Received 301099792 of 301099792 (100.0%), 28.7 MBs/sec
Cache restored successfully
uv cache restored from GitHub Actions cache with key: setup-uv-1-x86_64-unknown-linux-gnu-0.4.11

uv pip install ... complete logs
> Run uv venv venv --seed
  uv venv venv --seed
  uv pip install -r requirements.txt pyarrow pyspark==3.2.1 --python venv
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /__w/_tool/Python/3.8.18/x64
    PKG_CONFIG_PATH: /__w/_tool/Python/3.8.18/x64/lib/pkgconfig
    Python_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    Python2_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    Python3_ROOT_DIR: /__w/_tool/Python/3.8.18/x64
    LD_LIBRARY_PATH: /__w/_tool/Python/3.8.18/x64/lib:/opt/oracle/instantclient_21_8/
    UV_CACHE_DIR: /__w/_temp/setup-uv-cache
    JAVA_HOME: /__w/_tool/Java_Corretto_jdk/8.422.05-1/x64
    JAVA_HOME_8_X64: /__w/_tool/Java_Corretto_jdk/8.422.05-1/x64
    PNPM_HOME: /github/home/setup-pnpm/node_modules/.bin
Using Python 3.8.18 interpreter at: /__w/_tool/Python/3.8.18/x64/bin/python3
Creating virtualenv with seed packages at: venv
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
 + pip==24.2
 + setuptools==75.1.0
 + wheel==0.44.0
error: Failed to download and build `pyspark==3.2.1`
  Caused by: Failed to read from the distribution cache
  Caused by: failed to read directory `/__w/_temp/setup-uv-cache/built-wheels-v3/pypi/pyspark/3.2.1/IStJ-q5m0o-G-eruFFpEK/pyspark-3.2.1.tar.gz`
  Caused by: No such file or directory (os error 2)

Tried reproducing this on my local machine with uv self update followed by a uv pip install pyspark==3.2.1 but couldn't reproduce the failure.
CI Runner Info

All our actions run inside our private CI docker image which is based on Ubuntu 22.04 LTS
Host OSDistribution: Amazon Linux release 2023.5.20240805 (Amazon Linux)
Architecture: x86_64

Seems to be related? https://github.com/astral-sh/uv/issues/7479

After going through the release notes for 0.4.11, I was able to reproduce this locally. This seem to be linked to the newly added uv cache prune --ci option.
$ uv cache clean
Clearing cache at: /home/ashwin/.cache/uv
Removed 14 files (269.7MiB)

$ uv venv venv-1 --python 3.8
Using Python 3.8.19
Creating virtualenv at: venv-1
Activate with: source venv-1/bin/activate

$ uv pip install pyspark==3.2.1 --python venv-1
Resolved 2 packages in 36.30s
   Built pyspark==3.2.1
Prepared 2 packages in 17.55s
Installed 2 packages in 25ms
 + py4j==<IP_ADDRESS>
 + pyspark==3.2.1

$ tree -L 2 `uv cache dir`/built-wheels-v3/pypi/pyspark/3.2.1/
/home/ashwin/.cache/uv/built-wheels-v3/pypi/pyspark/3.2.1/
├── MlQraUk4JIaysmTs9mj2e
│   ├── metadata.msgpack
│   ├── pyspark-3.2.1-py2.py3-none-any -> /home/ashwin/.cache/uv/archive-v0/LbVUP3RZg8fwvcArKRmt8
│   ├── pyspark-3.2.1-py2.py3-none-any.whl
│   └── pyspark-3.2.1.tar.gz
└── revision.http

3 directories, 3 files

$ uv cache --prune ci
Pruning cache at: /home/ashwin/.cache/uv
Removed 2816 files (887.9MiB)

$ uv venv venv-2 --python 3.8
Using Python 3.8.19
Creating virtualenv at: venv-2
Activate with: source venv-2/bin/activate

$ uv pip install pyspark==3.2.1 --python venv-2
⠙ pyspark==3.2.1                                                                                error: Failed to download and build `pyspark==3.2.1`
  Caused by: Failed to read from the distribution cache
  Caused by: failed to read directory `/home/ashwin/.cache/uv/built-wheels-v3/pypi/pyspark/3.2.1/MlQraUk4JIaysmTs9mj2e/pyspark-3.2.1.tar.gz`
  Caused by: No such file or directory (os error 2)

$ tree -L 2 `uv cache dir`/built-wheels-v3/pypi/pyspark/3.2.1/
/home/ashwin/.cache/uv/built-wheels-v3/pypi/pyspark/3.2.1/
├── MlQraUk4JIaysmTs9mj2e
│   ├── metadata.msgpack
│   └── pyspark-3.2.1-py2.py3-none-any.whl
└── revision.http

1 directory, 3 files

I can confirm this happened to us as well. Reverting to 0.4.10 and busting the cache solve the issue. If you re-use a cache done in 0.4.11 with uv cache prune --ci called but with a previous version of uv (like if you're in a CI and you just change the version of uv installed), it will also fail. So it seems that uv cache prune --ci in 0.4.11 corrupts the cache, as uv sync or uv lock --locked don't work after that.

I can confirm a similar issue with Gitlab, also using prune --ci. Breaks installs on CI

I think this comes from https://github.com/astral-sh/uv/pull/7446 as it happens for me with the package https://pypi.org/project/pytest-clarity/#files which has no wheels

#7446 is the very likely cause yeah

Thanks, I’ll take a look.

We can also just revert that change and re-release, it’s not a critical change.

Actually, the root cause is possibly deeper. After reverting to 0.4.10, it fixes the behaviour for uv sync but not for uv pip install:

(.venv) ➜  dataworker git:(main) ✗ uv self update 0.4.10                                                                                git:(main|✚1⚑7
info: Checking for updates...
success: Upgraded uv from v0.4.11 to v0.4.10! https://github.com/astral-sh/uv/releases/tag/0.4.10
(.venv) ➜  dataworker git:(main) ✗ uv pip install pytest-clarity                                                                                git:(main|✚1⚑7
⠙ pytest-clarity==1.0.1                                                                                error: Failed to download and build `pytest-clarity==1.0.1`
  Caused by: Failed to read from the distribution cache
  Caused by: failed to read directory `/Users/mrigal/Library/Caches/uv/built-wheels-v3/pypi/pytest-clarity/1.0.1/yE42-NVZgq4lK-UrXRJnS/pytest-clarity-1.0.1.tar.gz`
  Caused by: No such file or directory (os error 2)
(.venv) ➜  dataworker git:(main) ✗ uv sync --frozen                                                                                git:(main|✚1⚑7
Prepared 1 package in 3ms
Installed 1 package in 1ms
 + pytest-clarity==1.0.1

I wouldn’t expect downgrading to help. Once the cache is in a bad state, any version would fail.

Thanks for the quick action! I confirm that 0.4.12 fixes the issue!


Posh-SSH cannot connect to AudioCodes Mediant 2600

I'm trying to connect to an AudioCodes Mediant 2600 device, but Posh-SSH just times out.
If I connect to the device in PuTTY, there are packets exchanged about the client and server protocols, then the Key Exchange Init happens, and it connects OK.
When I try to connect with Posh-SSH, the client and server protocols are exchanged, but no Key Exchange Init happens. It appears that Posh-SSH does not start the Key Exchange process.
PuTTY to AudioCodes - Working OK

Posh-SSH to AudioCodes - No Key Exchange

The error received is:
New-SSHSession: Session operation has timed out
I'd love to be able to automate processes on these systems, so would love your help in getting this connection to work!
What extra information do you need to help identify the problem?
Thanks,
Finn

looks like #442

Are you saying that there is a PR for Renci.SSHNet that is in conflict?
Are we waiting for the SSHNet module to be updated before these devices (AudioCodes / Some Cisco devices) will work with Posh-SSH?

Yes, im waiting for the library to fix the PR and accepts it in to their development branch before I can add it in to the module


sbt test should succeed by itself, as everywhere else

6f918e07fc5152e4bab4399aed93a9268d18b059 regresses here:

Undo hacky sbt/assembly call inside the test suite

I'd agree that call is hacky, but I believe the behavior is still important — this caused one of the spurious failures.
A non-hacky way would be a SBT dependency — I'll see if I can code that up.

It was causing classfile-out-of-date problems when I was running it locally =/ so flaky with, flaky without.
The problem with a SBT dependency is that it would add the cost of SBT assembly to every test run, even if the test doesn't use the standalone executables. That is slow (1min?) and painful.
A better solution may be to move the StandaloneTests into their own SBT subproject; then that subproject's tests can depend on assembly, but the "fast" repl/tests don't need to.

All good points. Regarding long tests, I often end up with similar setups, so :+1:

This has happened

Ah, in 53d2d24505ab2827dc6a0c3f92cc4c254dca4a77. Thanks!


How to use the app?

How to use this app??
Should we add dummy data manually in Firestore?

Yes you will have to place some dummy data or have a dashboard to do that
On Thu, Jun 18, 2020, 3:01 PM mikesaint12<EMAIL_ADDRESS>wrote:

How to use this app??
Should we add dummy data manually in Firestore?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/odaridavid/Moshey/issues/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3FUHHFNGDVL255SOXYZP3RXH62LANCNFSM4OBQLNYA
.


How to edit the scene?

Hello, I'm new to NeRF&3DGS, I want to know how to edit the scene after the training has been completed.By modifying the annotation.json file, I can change the objects present in the scene, but I don't know how to add or remove objects.
For instance, I wanted to duplicate an object in the scene. Here are the steps I took:

In aggregate_lidar/dynamic_objects, I duplicated the point cloud of the object and modified its name.
I added the corresponding annotation in the annotation.json file.
I added the corresponding attr in the xxx.ckpt file (I am unsure if this step is correct).

But while rendering I got an error: KeyError: 'gauss_params.means'.How can i solve this problem?
I would be very grateful if anyone can help me!

@Lazyangel Hello, may I ask how to change the annotation.json file to alter the appearance of objects in the scene? Does annotation.json need to be retrained and rendered after being updated in the input data?

Hello, how I edit an object is as follows:

Change the translation/size/rotation attributes of the object in annotation.json (all timestamp).
No need to retrain, just render to get new scenes.
I'm not sure if this is the best way to edit the scene, hope this could help you.

Thank you for your reply. Another question is whether it is necessary to change every timestamp under a unique gid for the object to be changed, whether it is static or dynamic?

Thank you very much. I'll give it a try

By the way, I saw the author provide such a script in other answers, but I didn't understand the logic. You can take a look, which may be helpful for future work.
`import os
import shutil
import torch
def change_object(ckpt1, ckpt2, gid1, gid2, save_path):
obj_key1 = f'object_{gid1}'
obj_key2 = f'object_{gid2}'
obj1_attr_list = [attr for attr in ckpt1['pipeline'].keys() if obj_key1 in attr]
for attr in obj1_attr_list:
    attr2 = attr.replace(obj_key1, obj_key2)
    if attr2 not in ckpt2['pipeline'].keys():
        continue
    ckpt1['pipeline'][attr] = ckpt2['pipeline'][attr2]

torch.save(ckpt1, save_path)

if name == 'main':
root1 = '/path/to/scene1'
root2 = '/path/to/scene2'
ckpt1 = torch.load(f'{root1}/nerfstudio_models/step-000069999.ckpt')
ckpt2 = torch.load(f'{root2}/nerfstudio_models/step-000069999.ckpt')
gid1 = 'source_object_gid'
gid2 = 'target_object_gid'
save_folder = '/path/to/save/new/scene'
if not os.path.exists(save_folder):
    os.mkdir(save_folder)
    os.mkdir(f'{save_folder}/nerfstudio_models')
if not os.path.exists(f'{save_folder}/config.yml'):
    shutil.copy(f'{root1}/config.yml', save_folder)
save_path = f'{save_folder}/nerfstudio_models/step-000069999.ckpt'
change_object(ckpt1, ckpt2, gid1, gid2, save_path)`

By the way, I saw the author provide such a script in other answers, but I didn't understand the logic. You can take a look, which may be helpful for future work. `import os import shutil import torch
def change_object(ckpt1, ckpt2, gid1, gid2, save_path): obj_key1 = f'object_{gid1}' obj_key2 = f'object_{gid2}'
obj1_attr_list = [attr for attr in ckpt1['pipeline'].keys() if obj_key1 in attr]
for attr in obj1_attr_list:
    attr2 = attr.replace(obj_key1, obj_key2)
    if attr2 not in ckpt2['pipeline'].keys():
        continue
    ckpt1['pipeline'][attr] = ckpt2['pipeline'][attr2]

torch.save(ckpt1, save_path)

if name == 'main': root1 = '/path/to/scene1' root2 = '/path/to/scene2'
ckpt1 = torch.load(f'{root1}/nerfstudio_models/step-000069999.ckpt')
ckpt2 = torch.load(f'{root2}/nerfstudio_models/step-000069999.ckpt')
gid1 = 'source_object_gid'
gid2 = 'target_object_gid'
save_folder = '/path/to/save/new/scene'
if not os.path.exists(save_folder):
    os.mkdir(save_folder)
    os.mkdir(f'{save_folder}/nerfstudio_models')
if not os.path.exists(f'{save_folder}/config.yml'):
    shutil.copy(f'{root1}/config.yml', save_folder)
save_path = f'{save_folder}/nerfstudio_models/step-000069999.ckpt'
change_object(ckpt1, ckpt2, gid1, gid2, save_path)`

Yes, I'm also not quite sure how to use this script.

@Lazyangel Hello, why did I change the positions of some participants in annotation.json, but the rendered video did not show any changes? I feel that directly using the rendering instructions given in the project does not involve the annotation content. Do I need to specify some configurations in the rendering instructions?
This is my rendering instruction.
bash scripts/shells/render.sh C:\Conda\street-gaussians-ns\output\street-gaussians-ns\street-gaussians-ns\2024-07-09_214744\config.yml 0
I don't feel like annotation.py was used. Furthermore, it seems unclear how to modify other configurations of render. May I ask how you did it?Thanks！

@m15310926778 Hello,

I didn't add any extra rendering commands, I just modified the annotation.json file, and the resulting rendered image is as follows：the black car offset the lane about 1m

I'm not familiar with nerfstudio framework. I guess it's possible that certain configurations in the config.yml file are causing the Nerfstudio framework to read the annotation.json file.

Thank you for your response!
1、Did you add this black car? Why hasn't this black car appeared in my rendered video?

https://github.com/user-attachments/assets/fdca09ac-e419-4b5e-ba13-c99c8960b290
2、Also, I would like to confirm if this annotation.json file is located in the downloaded input data?
3、Finally, how do you determine which object the data in the annotation refers to, such as how did you modify it to this black car or did you make random changes?
Thank you again!

Please check the frame_select option in sgn_dataparser.py. I set frame_select=[0, 85], it's likely that your frame_select range is [80, 160], which would result in our rendered videos being different, as they would include different frames.
yes
I also agree that correlating the gid in the annotation file with objects in the images can be a challenging thing. So I just keep trying.This method is not efficient, so if you have a better approach, please feel free to share.


PlatformScaffold: tabs on top for Android?

Recently we've started working on a few apps in Flutter, using PlatformWidgets as the base for our UI;
however, when exploring the UX patterns for iOS and Android, we've realized that the PlatformScaffold does not really behave in a platform-aware way, as in:

Different sections on Android are organized as tabs on top of the app. Sections are organized as tabs on the bottom of the app on iOS.

(source: https://medium.com/@vedantha/interaction-design-patterns-ios-vs-android-111055f8a9b7)
At this point, we're wondering whether bottomNavBar shouldn't actually be a tabBar that would be automatically placed on the top in Android and on the bottom in iOS?
We've already started working on an implementation of this for our app, I can submit a PR more than gladly.

I am happy to accept PRs that improve the library. If it ends up being a breaking change it may be better to have a side by side version of it.

@kerberjg  Regarding nav bar position, if you observe the latest youtube app , it has the navbar at the bottom. This is as per material design where you want to put the frequently accessible options either on bottom nav bar or in the drawer.
The top tab bar in android should not be confused with app's bottom nav bar (applicable for whole app flow).

Regarding what this library is about is just a wrapper to the underlying Material and Cupertino widgets. Looking at the material Scaffold it has is a bottomNavigationBar property and this is exposed through the PlatformScaffold.
The code of PlatformScaffold matches near 1:1 that of the material Scaffold.


Strange behavior when aliasing echo

Describe the bug
When aliasing echo, the suggestions become strange.
To Reproduce
Steps to reproduce the behavior:
% zsh -df
% source path/to/zsh-autosuggestions.zsh
% alias echo='echo 123'
% # type any string

Screenshots

Additional context
I've tried it in a docker container and the problem remains.

I like to use 'alias echo="echo -n"' and it completely breaks zsh-autosuggestion.


not able to find end city structures

I can crack the over world seed just fine but cant crack the end seed because end cities and end gateways are not being counted.

is it because i am playing on a 1.18 version when the mod was made for 1.18.1?

is it because i am playing on a 1.18 version when the mod was made for 1.18.1?

following

i cant find a end city


add django-extensions to requirements.txt

Unfortunately, the way I'm building this repository makes it impossible for me to accept PRs. Sorry!
I've used the info here to update the repo.


fix: Remove expensive logs table migration

SUMMARY
Addresses issues with https://github.com/apache/incubator-superset/pull/11714 that prevented the migration from being run on MySQL dbs with large logs tables.
Does the following:

Updates the original migration to remove the add column statements
Adds a new migration to remove the columns if they exist
Pushes the new columns into the json column in the logs table

Does not:

Address any naming concerns about the new columns

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

run the original migration, then upgrade past my new migration without errors
run the updated original migration, then upgrade past my new migration without errors
run the original migration, then downgrade without errors
run the update original migration, then downgrade without errors
run a query and see the new fields in the json column of the logs table

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[x] Requires DB Migration.
[x] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

to: @mistercrunch @john-bodley @dpgaspar @ktmud @graceguo-supercat

Codecov Report

Merging #11920 (a5a8eb2) into master (e0288bf) will decrease coverage by 4.17%.
The diff coverage is 2.56%.

@@            Coverage Diff             @@
##           master   #11920      +/-   ##
==========================================
- Coverage   67.68%   63.51%   -4.18%
==========================================
  Files         930      464     -466
  Lines       45132    28463   -16669
  Branches     4331        0    -4331
==========================================
- Hits        30549    18079   -12470
+ Misses      14480    10384    -4096
+ Partials      103        0     -103

Flag
Coverage Δ

cypress
?

javascript
?

python
63.51% <2.56%> (-0.72%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/migrations/shared/utils.py
0.00% <0.00%> (ø)

...ons/versions/811494c0cc23_remove_path_from_logs.py
0.00% <0.00%> (ø)

...grations/versions/a8173232b786_add_path_to_logs.py
0.00% <0.00%> (ø)

superset/models/core.py
88.04% <ø> (-0.91%)
:arrow_down:

superset/utils/log.py
93.20% <100.00%> (+0.06%)
:arrow_up:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.62%)
:arrow_down:

superset/db_engine_specs/presto.py
69.95% <0.00%> (-12.45%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/utils/celery.py
96.42% <0.00%> (-3.58%)
:arrow_down:

... and 486 more

Continue to review full report at Codecov.

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

I think it's useful to keep logs for things like object creation/deletion for auditing purposes. But for UX analytics and simple access logs, we should probably target moving it out of the metadata database?
Should we create two separate loggers for this?

Since CI is green, i'm going to merge this now. Feel free to follow up with any naming PRs today or next week

Since CI is green, i'm going to merge this now. Feel free to follow up with any naming PRs today or next week

@etr2460 @mistercrunch #11927 is ready for review


Add files via upload

What does the program do?
Demonstrates swap() method.
In what programming language it is written?
Java

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/


chore: UI improvments

What issue is this referencing?

this PR improves the couloring in dark mode, and fixes some minor UI problems (sorry it kinda got into me, I didn't open an issue first)

Before
After

Do these code changes work locally and have you tested that they fix the issue yourself?

[x] yes!

Does the following command run without warnings or errors?

[x] yes! npm run pr-checks

Have you taken a look at our contributing guidelines?

[x] yes!

My node version matches the one suggested when running nvm use?

[x] yes!

thanks @dgmouris

I really like the detail of putting the "Dev Edmonton Society" on that purple chip!
Suggestion: I would recolor the button on light mode

before
after

(frontend and UX/UI talks, amiright 👀)

@johnjovero98 nice catch! will do, thanks

LOVE


When installing styled-components Typings export missing ServerStyleSheet

When we were installing styled-components 2.0.0 (yarn or npm), and then we try to import it as
import {
  ServerStyleSheet,
} from 'styled-components';

we were getting error =>
ERROR in [at-loader] ./src/server.tsx:11:3
    TS2305: Module '"/Users/martin.gueswho/notino/Projects/supercoolfeatures/supercoolfeatures-fe/node_modules/styled-components/typings/styled-components"' has no exported member 'ServerStyleSheet'.

We checked styled-components.d.ts in the node-modules and they are indeed missing export for
export class ServerStyleSheet {
  collectStyles(children: ReactElement<any>): ReactElement<any>
  getStyleTags(): string
  getStyleElement(): ReactElement<any>[]
  static create(): StyleSheet
}

Luckily we were able to found styled-components.d.ts here in github that contains missing export, when we manually copy paste the code from styled-components.d.ts in github to nodemodules ...> styled-components....> styled-components.d.ts the problem was fixed

It's being worked on
https://github.com/styled-components/styled-components/pull/837
https://github.com/styled-components/styled-components/pull/839
Please refrain from opening issues for things that work on master 😉 It just means that a new version isn't published yet, since we're holding a release until some other PRs are ready. If you have any questions or suggestions regarding the TS typings updates, please look at the PRs above, or comment on them


fix: switch to aws roles in github action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.904%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3600

Relevant Lines:
5723

💛  - Coveralls

job ran successfully https://github.com/supabase/cli/actions/runs/3939007732 although it produced a lot of warnings due to usage of deprecated GHA commands...


ci: add gh actions

we are using json format for this project it's recommended to add  a JSON checker so if there are any problems we can check it

add dependabot action

I want to work on this issue

Sure you can add dependabot.
But for the json checker, we do not know the shape of the json data yet. So it's best to add the json checker later.

Sure you can add dependabot. But for the json checker, we do not know the shape of the json data yet. So it's best to add the json checker later.

don't worry I will add a simple json checker, for now, that will check json code (if there are any correct , [) then if not it will show an error.

sure go ahead then


indexer: fix and more tests for pruning enabling

Description

a fix for pruning wait-for, checkpoints should be pruned last so that wait-for in test_infra can use that as a watermark table
add more tests for pruning enabling

Test plan
cargo nextest run sui-graphql-e2e-tests::tests run_test::stable/prune

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

@amnn makes sense, reverting the changes to avoid the coupling.


improve grammar in README.md

improve the grammar of pieces of information in the readme file

Thanks for the contribution


[ENH] add BMAT converter

closes https://github.com/ColinVDB/BMAT/issues/1

merging, this looks good to me -- we can make changes later if the author so wishes :-)


README Typo

Thanks for sharing this theme. Here's the typo and suggested fix.
From:
$ cp zathura-gruvbox-dark ~/.config/gruvbox/zathurarc
To:
$ cp zathura-gruvbox-dark ~/.config/zathura/zathurarc

Thank you very much for submitting the issue, now I have fixed it.


http->https for binderhub url

This should prevent future occurrences of https://github.com/ProjectPythia/cookbook-gallery/issues/125

Hi @tylere, thanks for opening this!
My understanding is that our experimental binderhub is only running under http, not https. Is that still the case @ktyle?

Yes, it is only http at this time. Once we provision our new ACCESS-provided instance, we will configure the Binderhub to support https.

We've now updated the _config file to point to the new Pythia binder which uses https.


Qingwei/fix isvalidtime

Coverage decreased (-0.2%) to 98.454% when pulling da83f39ed374ee19ff84da9341895682b05d6227 on qingweibinary:qingwei/fix_isvalidtime into fd3af3b824911a1517db3273b922981761079424 on binary-com:master.


ROS2报错colcon build --symlink-install   ModuleNotFoundError: No module named 'em'

(ROBOPAL) linux@linux-Lenovo-Legion-R7000P2021H:~/ros_demo/gpt_ws$ colcon build --symlink-install
Starting >>> gpt_interface
--- stderr: gpt_interface
CMake Warning (dev) at /opt/ros/foxy/share/ament_cmake_core/cmake/core/python.cmake:22 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
/opt/ros/foxy/share/ament_cmake_core/cmake/core/all.cmake:53 (include)
/opt/ros/foxy/share/ament_cmake_core/cmake/ament_cmake_core-extras.cmake:17 (include)
/opt/ros/foxy/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake:41 (include)
/opt/ros/foxy/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake:15 (find_package)
/opt/ros/foxy/share/ament_cmake/cmake/ament_cmakeConfig.cmake:41 (include)
CMakeLists.txt:19 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:40 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
/opt/ros/foxy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:130 (rosidl_adapt_interfaces)
CMakeLists.txt:25 (rosidl_generate_interfaces)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Error at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:60 (message):
execute_process(/home/linux/anaconda3/envs/ROBOPAL/bin/python3 -m
rosidl_adapter --package-name gpt_interface --arguments-file
/home/linux/ros_demo/gpt_ws/build/gpt_interface/rosidl_adapter__arguments__gpt_interface.json
--output-dir
/home/linux/ros_demo/gpt_ws/build/gpt_interface/rosidl_adapter/gpt_interface
--output-file
/home/linux/ros_demo/gpt_ws/build/gpt_interface/rosidl_adapter/gpt_interface.idls)
returned error code 1:
Traceback (most recent call last):
File "/home/linux/anaconda3/envs/ROBOPAL/lib/python3.9/runpy.py", line 197, in _run_module_as_main
  return _run_code(code, main_globals, None,
File "/home/linux/anaconda3/envs/ROBOPAL/lib/python3.9/runpy.py", line 87, in _run_code
  exec(code, run_globals)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__main__.py", line 19, in <module>
  sys.exit(main())
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/main.py", line 53, in main
  abs_idl_file = convert_to_idl(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__init__.py", line 23, in convert_to_idl
  from rosidl_adapter.srv import convert_srv_to_idl
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/srv/__init__.py", line 16, in <module>
  from rosidl_adapter.resource import expand_template
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/resource/__init__.py", line 19, in <module>
  import em

ModuleNotFoundError: No module named 'em'
Call Stack (most recent call first):
/opt/ros/foxy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:130 (rosidl_adapt_interfaces)
CMakeLists.txt:25 (rosidl_generate_interfaces)

Failed   <<< gpt_interface [0.47s, exited with code 1]
Summary: 0 packages finished [2.38s]
1 package failed: gpt_interface
1 package had stderr output: gpt_interface
2 packages not processed

这个em包是什么

怎么解决的。老兄


get_property_list  usage returns 135168 for user_defined property

Godot version
4.2 beta 5, 4.2 beta 4
System information
windows 10
Issue description
Hello everyone, thanks for your great engine,
issue is about get_property_list for resources and nodes; i defined some properties inside class and inside that class, i defined some other properties but the issue is when i call  get_property_list , in usage of get_property_list, returns 135168 which is not valid.
Steps to reproduce
func return_node_property_mine(_resource)->Array:
	var list:Array = _resource.get_property_list()

	print("list:",list)
	print("#########")
	var filter_list = []
	for i in list:
			if(i["usage"])==4096:
				filter_list.append(i)

================
Minimal reproduction project
func return_node_property_mine(_resource)->Array:
	var list:Array = _resource.get_property_list()

	print("list:",list)
	print("#########")
	var filter_list = []
	for i in list:
			if(i["usage"])==4096:
				filter_list.append(i)
	return filter_list

PS: Code blocks should use triple backticks like this (with an optional language name for syntax highlighting):
```gdscript
code here
```
I edited your post accordingly, but remember to do this in the future :slightly_smiling_face:

in usage of get_property_list, returns 135168 which is not valid.

It is valid, usage is composed of different PropertyUsageFlags bit flags. To check whether the given flag is set use & bitwise AND operator.
135168 == (131072 + 4096) ==  (PROPERTY_USAGE_NIL_IS_VARIANT | PROPERTY_USAGE_SCRIPT_VARIABLE)

for property_info in obj.get_property_list():
	if property_info.usage & PROPERTY_USAGE_SCRIPT_VARIABLE:
		...

No bug here, not sure if some docs need clarification.

Thanks for the explanation, kleonc. Closing as not a bug.


appreciate your feedback for custom element diagram

Hy @WebReflection
I just released an adapted version of the interactive react lifecycle methods diagram for custom elements:
https://andyogo.github.io/custom-element-reactions-diagram/
If you have time, I would appreciate your feedback very much.

@WebReflection
I made some updates:
https://andyogo.github.io/custom-element-reactions-diagram/


[QUERY] How do we create VM with trusted lauch security type

Query/Question
We need to create VMs with trusted launch security type but we are not able to find security type option while creating VM. How we specify trusted launch security type?
Our code for creating VM
VirtualMachine vm = azureInstance.virtualMachines().define(newVMName).withRegion(region)
.withExistingResourceGroup(rg).withExistingPrimaryNetworkInterface(nic).withSpecializedWindowsGalleryImageVersion("testImage").withOSDiskStorageAccountType(storageAccountType).withOSDiskName(diskName).withOSDiskSizeInGB(size).withSize(vmSize).create();
Why is this not a Bug or a feature Request?
Not sure if SDK has support for trusted launch security type
Setup (please complete the following information if applicable):

OS: [e.g. iOS]
IDE: [e.g. IntelliJ]
Library/Libraries: azure-resourcemanager:2.14.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

We probably not having it in convenience API.
@XiaofeiCao would you investigate and support it?

We don't have it now. Will work on supporting the feature.

Thanks. We also need to create gallery image with trusted launch security type. I didnt find this option as well.
Please let us know by when can we expect support for this feature.
GalleryImageInner image = azureInstance
.virtualMachines()
.manager()
.serviceClient()
.getGalleryImages()
.createOrUpdate(
"resourceGroup",
galleryName,
vm.name() + "-image",
new GalleryImageInner()
.withLocation(vm.innerModel().location())
.withOsType(OperatingSystemTypes.WINDOWS)
.withOsState(OperatingSystemStateTypes.SPECIALIZED)
.withIdentifier(new GalleryImageIdentifier().withPublisher("workspot").withOffer("windows11").withSku("win11-21h2-pro")));
GalleryImageVersionInner imageVersion = azureInstance.virtualMachines().manager().serviceClient().getGalleryImageVersions().createOrUpdate(
"resourceGroup",
galleryName,
vm.name() + "-image",
"1.0.0",
new GalleryImageVersionInner()
.withLocation(vm.innerModel().location())
.withPublishingProfile(new GalleryImageVersionPublishingProfile())
.withStorageProfile(new GalleryImageVersionStorageProfile().withOsDiskImage(new GalleryOSDiskImage().withSource(new GalleryArtifactVersionSource().withUri("Path")))));

@Prudvidhard
serviceClient level code should already support security type for gallery image. You can set it during creation via:
new GalleryImageInner()
  .withFeatures(List.of(new GalleryImageFeature().withName("SecurityType").withValue("TrustedLaunch")))
  .withHyperVGeneration(HyperVGeneration.V2) // "TrustedLaunch" only support V2

For convenience layer support on virtual machine security type option, it should be available on our next SDK version 2.21.0, which will be around 11/25.

Thanks @XiaofeiCao

Hi @Prudvidhard
azure-resourcemanager-compute 2.21.0 has been released.
You can find the sample code for creating Trusted Launch VM from Gallery Image here: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/compute/samples/CreateVirtualMachineWithTrustedLaunchFromGalleryImage.java

@XiaofeiCao Thanks.


UPD: Refactorisation of MapieClassifier

Is your feature request related to a problem? Please describe.
The MapieClassifier class needs to be aligned with the MapieRegressor.
Describe the solution you'd like
The computation of the conformity scores (currently called method) should be done in a separate class as well as the handling of the base predictor.

Hello @candicemyt.
This issue is quite old, is this still relevant?

Hello @Valentin-Laurent, this has been resolved by #476


MMseqs search not finding exact and close-exact hits

Expected Behavior
Searching proteins against a database with similar and exact proteins (from bacterial refseq proteome) should return hits with similar and exact matches.
Current Behavior
Running mmseqs search returns few to no hits. However easy-search does output way more hits (an expected amount).
Steps to Reproduce (for bugs)
For mmseqs search:

create query and target databases with query_fasta and target_fasta
mmseqs search at 0.95 min-seq-id and coverage with coverage mode 0
mmseqs convertalis

For mmseqs easy-search:

Ran easy-search directly with query and target fastas, same search parameters

MMseqs Output (for bugs)
MMseqs search output: https://gist.github.com/mcn3159/9a5ed05852e2e83b8656d25f0333a8f3
Context
I am searching a fasta of known bacterial proteins against the bacterial refseq WP proteome. I noticed that only half of my original virulence proteins (out of ~8000) had hits against refseq. Refseq proteome is large so I found a minimal example where there is an exact match (as well as similar according to easy-search) between the target and query databases that mmseqs search doesn't seem to find, but easy-search does.
I can provide the larger fastas if more examples to replicate are necessary.
There are 2 fastas in the attached .zip file each containing 4 proteins, one of those is an exact match (same WP_number) and 2 proteins (WP_000633131.1 and WP_000633136.1) are very similar to the protein with the exact match.
fastas_to_search.zip
query fasta  =  query_subset.faa
target_fasta = 406_subset.faa
Your Environment
Include as many relevant details about the environment you experienced the bug in.

Git commit used (The string after "MMseqs Version:" when you execute MMseqs without any parameters): 15.6f452
Which MMseqs version was used (Statically-compiled, self-compiled, Homebrew, etc.): conda

The trap is likely the sequence identity estimation (see https://github.com/soedinglab/MMseqs2/wiki#how-does-mmseqs2-compute-the-sequence-identity).
Adding -a or --alignment-mode 3 fixes the issue. easy-search better detects when exact sequence identity is required, search does the sequence identity estimation by default and try to detect it.


Updated requirements.txt to require new acos-client version w/ ipv5 s…

…upport

This got merged in another PR


Unpin pip version installed in build_python.sh

Fix for issue #14815.
Pinning to 9.0.3 doesn't work because pip fails to recognize that as a valid version. Newer versions of pip have a fallback on macOS to use SecureTransport instead of their outdated OpenSSL that doesn't support TLSv1.2.
See this for why pinning to 9.0.3 fails:
+ /Volumes/BuildData/tmpfs/src/github/grpc/workspace_python_macos_opt_native/py34_native/bin/python3.4 -m pip install --upgrade pip==9.0.3
Collecting pip==9.0.3
  Could not find a version that satisfies the requirement pip==9.0.3 (from versions: )
No matching distribution found for pip==9.0.3
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[microbenchmarks] No significant performance differences

Unfortunately, I'm still seeing the TLS issue with this change. I commented on #14815 with an update.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

@nathanielmanistaatgoogle - I saw you pinned pip to 9.0.1 in #11599. Is there a reason why you wrote We can't test with >9.0.1 today in https://github.com/grpc/grpc/pull/11599#discussion_r124065842?

[microbenchmarks] No significant performance differences

Interop failures: #14947
Windows: #14966
Linux C++: #14775
Mac tests finished and passing but commit status hasn't been updated.


Add sqlite integration

Summary :memo:
This PR is adding a simple sqlite integration.
Details

A Database class to manage db instance
Handle SQL command directly by TCP socket message.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


combine dependency clauses with same root

Resolves #1009
Summary
Combines clauses with the same root.

Before: And because you require albatross and you require bluebird
After: And because you require both albatross and bluebird
Difference: And because you require both albatross and ~you require~ bluebird

I'm still a Rust beginner, please let me know if this is not an appropriate implementation of this requirement and I'll try to adjust it.
Test Plan
cargo nextest run

Hi! Thanks for taking this on — it's actually a pretty big task.
In this pull request, it looks like you're taking the string representations and combining them if they both start with the "you require" root. I haven't looked into solving this issue yet, but my intuition is that we'll want to take a more robust approach. For example, we may want to "walk" the derivation tree and transform it into a new tree with combined clauses (you can see this in concept in action in PubGrub's collapse_no_versions). If we do this before formatting, we can check if clauses are the same kind of incompatibility which would let us collapse more things in a type-safe manner rather than relying on string comparisons. This might require significant changes to the design of the report formatter or our own representation of the derivation tree. Does that make sense? It's kind of open-ended still and there's going to be a significant amount of design involved in solving this issue. I was imagining tackling this in the future as part of a larger effort to make the error message reporting system more powerful.
Note: I've linked to the upstream PubGrub repository above but our fork has diverged a bit and is the relevant repository if you need to make PubGrub changes.

That makes sense, and yes the string modification did not feel very robust. I did check to see if there was a relevant abstraction in the implementation and did not see one and did see that PubGrub was not being actively maintained; however I did not realize you were maintaining a fork. I will look into it from that perspective. Thanks! I will close this issue.

PubGrub is being maintained it's just on a dev branch.
Happy to chat more in the issue about possible designs!

Ah! 💡
@zanieb Thanks for being so helpful, it's really appreciated. I need to look more into PubGrub first but I think the idea of enuming issue types and combining that way makes perfect sense.


authManagement:verifySignup - Method: create: users.find is not a function

The feathers app was initially created used the cli generator.
The auth manager is initialized after all other services.
After the user is created, the verify email is sent.
Clicking the link, the client app calls verifySignupLong(token).
Then on the server, the auth manager verifySignupWithLongToken function is called, which should call the users service, but the I get this error:

authManagement:main service called. action=verifySignupLong +35s
  authManagement:verifySignup verifySignup { verifyToken: 'c18b98c317d6bd5ca99b92a338dc0c' } { verifyToken: 'c18b98c317d6bd5ca99b92a338dc0c' } +54s
info: error: authManagement - Method: create: users.find is not a function
error:  TypeError: users.find is not a function
    at verifySignup (/app/node_modules/feathers-authentication-management/lib/verifySignup.js:38:16)
    at /app/node_modules/feathers-authentication-management/lib/verifySignup.js:18:12
    at process._tickCallback (internal/process/next_tick.js:103:7)

The strange thing is that only if I restart the server the call is done without errors and it recognize the users service.
For now I had to make a workaround:
I cloned this repo and passed the users service in the main auth manager function.
  app.configure(authManagement({
    users: app.service('users'),
    notifier,
  }));

then I changed all repo users service calls to this:
  // const users = options.app.service(options.service);
  const users = options.users;

It worked well, but I want to understand what's wrong here, I don't have time to recreate the whole app from ground zero as this has already took me much time and really want use the this package without workarounds.
Lastly, why the context of this feathers app is also wrong tough the auth manager is configured after all other services?
Thanks
    "feathers": "^2.2.0",
    "feathers-authentication": "^1.2.7",
    "feathers-authentication-hooks": "^0.1.4",
    "feathers-authentication-jwt": "^0.3.2",
    "feathers-authentication-local": "^0.4.4",
    "feathers-authentication-management": "^1.0.0",
    "feathers-authentication-oauth2": "^0.2.5",
    "feathers-configuration": "^0.4.1",
    "feathers-errors": "^2.9.2",
    "feathers-hooks": "^2.0.2",
    "feathers-hooks-common": "^3.7.2",
    "feathers-mongoose": "^5.1.2",
    "feathers-rest": "^1.8.0",
    "feathers-socketio": "^2.0.0",

https://gist.github.com/foxhound87/a9e958250aeda0113fd43836c5599e0a
This gist is my app configuration tested with only the users service imported in /services/index.js and all users services hooks disabled (except the needed ones).

Now I'm creating an new app by everything not needed (and the workaround too).
Surprisingly the verifySignupLong doesn't work at all.
I'm getting this timeout error when calling it from the client:
Timeout of 5000ms exceeded calling authManagement::create

Error: Timeout of 5000ms exceeded calling authManagement::create
    at Timeout._onTimeout (/app/node_modules/feathers-socket-commons/lib/client.js:87:25)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)

all others actions are still working as in the previous app.
I will create a repo asap.

@foxhound87 I'm getting the error on verifySignupLong  when using sequelize and mariadb.
const app = feathers()
  .configure(feathers.hooks())
  .configure(feathers.rest('http://localhost:3030').axios(window.axios));

// ... vue component method
function verifySignup(verifyToken) {
      if(!verifyToken) { return false; }

      const authManagement = app.service('authManagement');

      // below one also did not worked
      // fetch('/authManagement', {
      //   method: 'POST', headers: { Accept: 'application/json' },
      //   body: JSON.stringify({ action: 'verifySignupLong', value: verifyToken})
      // }).then(res => res.json())

      authManagement.create({
        action: 'verifySignupLong',
        value: verifyToken
      })
        .then(result => {
          this.verified = true;
          this.message = 'Your email has been verified. Please log in to app!';
          this.showAlert = true;
          log('Success ', result);
        })
        .catch(err => {
          this.message = 'Sorry, but we could not verify your email.';
          this.verified = false;
          this.showAlert = true;
          log('Error ',err);
        });
}

The error i get  on server:
info: after: users - Method: find
info: error: users - Method: patch: Invalid value [object Object]
error:  Error: Invalid value [object Object]
    at Object.escape (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\sql-string.js:50:11)
    at Object.escape (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\dialects\abstract\query-generator.js:919:22)
    at Object.updateQuery (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\dialects\abstract\query-generator.js:360:58)
    at QueryInterface.bulkUpdate (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\query-interface.js:944:37)
    at Promise.try.then.then.then.results (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\model.js:2760:34)
    at tryCatcher (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromise0 (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:693:18)
    at Async._drainQueue (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:133:16)
    at Async._drainQueues (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:143:10)
    at Immediate.Async.drainQueues (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)
info: error: authManagement - Method: create: Invalid value [object Object]
error:  Error: Invalid value [object Object]
    at Object.escape (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\sql-string.js:50:11)
    at Object.escape (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\dialects\abstract\query-generator.js:919:22)
    at Object.updateQuery (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\dialects\abstract\query-generator.js:360:58)
    at QueryInterface.bulkUpdate (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\query-interface.js:944:37)
    at Promise.try.then.then.then.results (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\sequelize\lib\model.js:2760:34)
    at tryCatcher (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromise0 (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\promise.js:693:18)
    at Async._drainQueue (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:133:16)
    at Async._drainQueues (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:143:10)
    at Immediate.Async.drainQueues (C:\Users\Harry\Documents\code\apps\electron-apps\potential-waffle-chat-server\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)

@slightlytrue I believe this addresses your issue https://github.com/feathers-plus/feathers-authentication-management/issues/44

When I try to call the forgot password, I'm still getting the error users.find is not a function with the version 1 of the package, and I noticed that I get this only in the production environment.
and after updating the package to the version 2 I get a different error:
 / path: authManagement / type: error / method: create / id: undefined
{ query: {}, route: {}, provider: 'socketio' }
error:  BadRequest: User not found.
    at new BadRequest (/app/node_modules/feathers-authentication-management/node_modules/@feathersjs/errors/lib/index.js:86:17)
    at getUserData (/app/node_modules/feathers-authentication-management/lib/helpers.js:93:11)
    at /app/node_modules/feathers-authentication-management/lib/sendResetPwd.js:32:14
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

The repo has no sense of a dev or prod env. So I suggest you look at what's different in your config or set of files for the two modes.

I updated to the version 2.0 with feathers buzzard, same configuration, and it works

Good to hear that!

I have to reopen this issue because I still getting occasionally the error, just after the deploy it works, but after some time the app is running the error comes back (only in production). I have others environment which has no problems, the configs are all ok.
error: TypeError: users.find is not a function at /app/node_modules/feathers-authentication-management/lib/resendVerifySignup.js:32:31 at
at process._tickCallback (internal/process/next_tick.js:188:7) at process._tickCallback (internal/process/next_tick.js:188:7) { query: {}, route: {}, provider: 'socketio' } error: TypeError: users.find is not a function at /app/node_modules/feathers-authentication-management/lib/resendVerifySignup.js:32:31

I don't know how I can help because the problem only appears in production and after some time. I suggest you catch the error, find what users is at that time, and what statement it fails on.

I've cloned the repo and logged the options.service in the resendVerifySignup function which in my case is authManagement and not users... this happens only after verifyHooks.addVerification() is called when a new user is created, and if I restart the server all is working.

I've made a temporary workaround adding options.service = 'users'; in the last callback of addVerification:
.then(([options, longToken, shortToken]) => {
      options.service = 'users';
      ...

please let me know...

UP


Enable linting for config.py

Description
Removes comment disabling linter for config.py - relevant code is no longer there.
Type of change

[X] Refactor

/lgtm

/approve


[Bug] Move window to a space in another display doesn't work the latest release

When I tried to move window between difference spaces in the same display, things works well. However, when I tried to move window from a space in display 1 to a space in display 2, the window disappears on both spaces. When run the query after the move, the information correctly says the window is on the new space in the other display however i cannot find the window in the other space, "Show All Windows" doesn't bring in up either.
I didn't disable SIP.

I had the same issue and fixed it by updating my yabai version. when I ran:
yabai -m window --space 3

The window disappears, but it did not reappear in space 3 - version yabai-v7.1.0, mac Sonoma 14.5.
This was fixed for me when I updated my yabai version by running brew upgrade and restarted - make sure your yabai version is at least yabai-v7.1.1.

my yabai version is 7.1.1

Upgrading to yabai-v7.1.1 works for me too.

The same issue only occurs when the window is in a floating state, and the version is also 7.1.1.

I have the same issue and the yabai version is also 7.1.1

The same issue only occurs when the window is in a floating state, and the version is also 7.1.1.

Yeah, I can confirm that the window I am trying to move is also in floating state as well.

Confirming the issue with the latest version of macOs:
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

Upgrading to 7.1.1 fixed the problem. For those using nix and nix-darwin upgrade the nixpackages to nixos-24.05

I find a workaround, by using the author's skhd config:
# float / unfloat window and restore position
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2

when you move a window to a new space and it doesn't appear, simple press opt - t twice and everything works well

i have the same issue (on 7.1.5). did someone find a workaround?

i have the same issue (on 7.1.5). did someone find a workaround?

Try this

I find a workaround, by using the author's skhd config:
# float / unfloat window and restore position
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2

when you move a window to a new space and it doesn't appear, simply press opt - t twice and everything works well


IO::Buffered stop reading reading prematurely

Moved from https://github.com/crystal-lang/crystal-mysql/issues/44
I faced a strange bugs when I read many records from MySQL and found the root cause is in IO::Buffered.
Specifically, the following test fails.
  it "reads across buffer boundary" do
    s = String.build do |str|
      900.times do
        10.times do |i|
          str << ('a' + i)
        end
      end
    end
    io = BufferedWrapper.new(IO::Memory.new(s))

    3.times do
      slice = Bytes.new(3000)
      count = io.read(slice)
      count.should eq(3000)

      300.times do |j|
        10.times do |i|
          slice[i].should eq('a'.ord + i)
        end
      end
    end
  end

At the third read it returns only 2,192 bytes instead of 3,000. It happens when a read goes across buffer boundary (8,192 is the internal buffer size). Tested with 0.23.1.
I had to use 3,000 bytes slice to avoid this.
And there is a similar spec "reads more than the buffer's internal capacity" but this test is now meaningless because of the above optimization.

Not returning all available data on read isn't a bug. If you want to read exactly 3000 bytes into a slice use read_fully.

Oh I see. Thank you for you explanation.
Then it is a crystal-mysql's bug. I will close this issue.


replace backbone but the loss cannot converge

❓ Questions and Help
hi, all, I just replaced the backbone net in faster-rcnn, but the loss cannot converge and went up and down. The final AP is just 0.0003. Any advice please?

It's hard to give you an advice with no further information about your changes. Here are some general tips:

Did you set the parameters of your new backbone to requires_grad = True ?
In the e2e setup, the first conv group is not trained, i. e. requires_grad = False, it gives better stability to the training process
Did you trained for long enough ? Some times it takes tens of hours of training before noticing an improvement for deep architectures.
Are you adjusting your learning rates according to the batch size and the number of iterations already made ?
Are you using any type of normalization ? BatchNorm ? GroupNorm ? Any preprocessing transform ?

I hope these questions might help.

thanks @LeviViana , I will try it.

Closing following @LeviViana comments. Thanks Levi!

Hi, I have the same problem. Did you solve your problem?


Auto-create Postgres database and fix make dev

This PR does two things:

Auto-creates the PostgreSQL database if it's not existing, with an implementation similar to how the Cassandra DAO does it. The behavior is now 1:1 to how Cassandra works.
Fixes make dev which caused an issue where the kong_TEST.yml file would't be created.

It also adds more comments in kong.yml in the postgres section.

Coverage remained the same at 59.467% when pulling 8bd8fb05dc5c83b8b09b72f0e0f94fda6d2e1ee4 on feat/postgres-database into<PHONE_NUMBER>0578e82ed5aacc9372355f5383d02f on release/0.8.0.

Coverage remained the same at 59.467% when pulling 8bd8fb05dc5c83b8b09b72f0e0f94fda6d2e1ee4 on feat/postgres-database into<PHONE_NUMBER>0578e82ed5aacc9372355f5383d02f on release/0.8.0.

Coverage remained the same at 59.467% when pulling 4920dfebb83a0a6cc2713f0a997aecf66e2b9d87 on feat/postgres-database into<PHONE_NUMBER>0578e82ed5aacc9372355f5383d02f on release/0.8.0.

Coverage remained the same at 59.467% when pulling a460c18b692db4a1816fa8a90691fcbbb762d6b4 on feat/postgres-database into<PHONE_NUMBER>0578e82ed5aacc9372355f5383d02f on release/0.8.0.

Coverage remained the same at 59.467% when pulling a460c18b692db4a1816fa8a90691fcbbb762d6b4 on feat/postgres-database into<PHONE_NUMBER>0578e82ed5aacc9372355f5383d02f on release/0.8.0.


Unsupported syntax causes TLAPM to crash

When using the following syntax [ f EXCEPT ![1,2] = 1 ] (i.e. updating a function that takes multiple arguments) TLAPM crashes. I have attached a screenshot of the error message. It would be nice to be told that this syntax is not supported (if this can't be implemented easily) and be suggested a workaround ([ f EXCEPT ![<<1,2>>] = 1 ] perhaps).

Here is a minimal working example:
-------------------------------- MODULE bar --------------------------------

VARIABLES f

MyDef == [ f EXCEPT ![1,2] = 1 ]

=============================================================================

Thank you for reporting this, the relevant code in the parser is:
https://github.com/tlaplus/tlapm/blob/02b7f5df10155c85844eccb16088a4338c3ac775/src/expr/e_parser.ml#L380
which can parse a single expression between the square brackets, but not a sequence of expressions that are separated by commas. The use (expr b) could be replaced by a
choice [
    use (expr b);
    (sep (punct ",") (use (expr b))) <$> (fun es -> Tuple es)
]

similarly to parsing of tuple constructors:
https://github.com/tlaplus/tlapm/blob/02b7f5df10155c85844eccb16088a4338c3ac775/src/expr/e_parser.ml#L407

Nice thanks! Should I make the change?

Actually, a few more changes were needed to address this area of syntax. I have opened #34 for addressing this issue.

This issue has been addressed as of 5958dfaca70b07613603baadff57926aff7eba66.