eureka client - second registration issue

Hello,
Regarding this issue on SO I've configured the application to listen for eureka events, specially for InstanceRegisteredEvent.
Following situation is correct:

start discovery-service
start api-service

with resulting logs from api-service (see at the end that InitializerListener from ApplicationInitializer was called)
2016-10-03 09:50:03.363  INFO 5615 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2016-10-03 09:50:03.370  INFO 5615 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2016-10-03 09:50:03.542  INFO 5615 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2016-10-03 09:50:03.544  INFO 5615 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2016-10-03 09:50:03.625  INFO 5615 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2016-10-03 09:50:03.626  INFO 5615 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2016-10-03 09:50:03.837  INFO 5615 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2016-10-03 09:50:03.860  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2016-10-03 09:50:04.168  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200
2016-10-03 09:50:04.169  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2016-10-03 09:50:04.171  INFO 5615 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2016-10-03 09:50:04.173  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp<PHONE_NUMBER>173 with initial instances count: 0
2016-10-03 09:50:04.197  INFO 5615 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Registering application api-service with eureka with status UP
2016-10-03 09:50:04.198  INFO 5615 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1475481004198, current=UP, previous=STARTING]
2016-10-03 09:50:04.199  INFO 5615 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_API-SERVICE/<IP_ADDRESS>:api-service:8080: registering service...
2016-10-03 09:50:04.265  INFO 5615 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2016-10-03 09:50:04.266  INFO 5615 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Updating port to 8080
2016-10-03 09:50:04.270  INFO 5615 --- [           main] c.g.b.p.r.ApiServiceApplication          : Started ApiServiceApplication in 4.011 seconds (JVM running for 4.367)
2016-10-03 09:50:04.312  INFO 5615 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_API-SERVICE/<IP_ADDRESS>:api-service:8080 - registration status: 204
2016-10-03 09:50:34.169  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2016-10-03 09:50:34.169  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2016-10-03 09:50:34.170  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2016-10-03 09:50:34.170  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application is null : false
2016-10-03 09:50:34.170  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2016-10-03 09:50:34.170  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application version is -1: false
2016-10-03 09:50:34.170  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2016-10-03 09:50:34.199  INFO 5615 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : The response status is 200
2016-10-03 09:50:34.215  INFO 5615 --- [freshExecutor-0] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@244088ee: startup date [Mon Oct 03 09:50:34 CEST 2016]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2e16b08d
2016-10-03 09:50:34.237  INFO 5615 --- [freshExecutor-0] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-03 09:50:34.340  INFO 5615 --- [freshExecutor-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: api-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>
2016-10-03 09:50:34.363  INFO 5615 --- [freshExecutor-0] c.n.u.concurrent.ShutdownEnabledTimer    : Shutdown hook installed for: NFLoadBalancer-PingTimer-api-service
2016-10-03 09:50:34.387  INFO 5615 --- [freshExecutor-0] c.netflix.loadbalancer.BaseLoadBalancer  : Client:api-service instantiated a LoadBalancer:DynamicServerListLoadBalancer:{NFLoadBalancer:name=api-service,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2016-10-03 09:50:34.390  INFO 5615 --- [freshExecutor-0] c.n.l.DynamicServerListLoadBalancer      : Using serverListUpdater PollingServerListUpdater
2016-10-03 09:50:34.411  INFO 5615 --- [freshExecutor-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: api-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>
2016-10-03 09:50:34.412  INFO 5615 --- [freshExecutor-0] c.n.l.DynamicServerListLoadBalancer      : DynamicServerListLoadBalancer for client api-service initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=api-service,current list of Servers=[localhost:8080],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone;   Instance count:1;   Active connections count: 0;    Circuit breaker tripped count: 0;   Active connections per server: 0.0;]
},Server stats: [[Server:localhost:8080;    Zone:defaultZone;   Total Requests:0;   Successive connection failure:0;    Total blackout seconds:0;   Last connection made:Thu Jan 01 01:00:00 CET 1970;  First connection made: Thu Jan 01 01:00:00 CET 1970;    Active Connections:0;   total failure count in last (1000) msecs:0; average resp time:0.0;  90 percentile resp time:0.0;    95 percentile resp time:0.0;    min resp time:0.0;  max resp time:0.0;  stddev resp time:0.0]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@2480483a
2016-10-03 09:50:34.511  INFO 5615 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2016-10-03 09:50:34.511  INFO 5615 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2016-10-03 09:50:34.526  INFO 5615 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 15 ms
2016-10-03 09:50:34.569 DEBUG 5615 --- [freshExecutor-0] c.g.b.p.r.ApplicationInitializer         : Response from controller is Hello my friend
2016-10-03 09:50:35.396  INFO 5615 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: api-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>

Followin situation is not correct:

have discovery-service started from previous step
stop api-service
start api-service

with log from api-service (no listener was called)
2016-10-03 09:51:26.580  INFO 5636 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2016-10-03 09:51:26.587  INFO 5636 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2016-10-03 09:51:26.753  INFO 5636 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2016-10-03 09:51:26.754  INFO 5636 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2016-10-03 09:51:26.858  INFO 5636 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2016-10-03 09:51:26.858  INFO 5636 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2016-10-03 09:51:27.049  INFO 5636 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2016-10-03 09:51:27.067  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2016-10-03 09:51:27.067  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2016-10-03 09:51:27.067  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2016-10-03 09:51:27.067  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false
2016-10-03 09:51:27.067  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2016-10-03 09:51:27.068  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2016-10-03 09:51:27.068  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2016-10-03 09:51:27.323  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200
2016-10-03 09:51:27.325  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2016-10-03 09:51:27.327  INFO 5636 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2016-10-03 09:51:27.329  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp<PHONE_NUMBER>328 with initial instances count: 1
2016-10-03 09:51:27.356  INFO 5636 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Registering application api-service with eureka with status UP
2016-10-03 09:51:27.356  INFO 5636 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1475481087356, current=UP, previous=STARTING]
2016-10-03 09:51:27.358  INFO 5636 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_API-SERVICE/<IP_ADDRESS>:api-service:8080: registering service...
2016-10-03 09:51:27.389  INFO 5636 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_API-SERVICE/<IP_ADDRESS>:api-service:8080 - registration status: 204
2016-10-03 09:51:27.417  INFO 5636 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2016-10-03 09:51:27.417  INFO 5636 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Updating port to 8080
2016-10-03 09:51:27.421  INFO 5636 --- [           main] c.g.b.p.r.ApiServiceApplication          : Started ApiServiceApplication in 3.646 seconds (JVM running for 3.97)
2016-10-03 09:56:27.066  INFO 5636 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2016-10-03 10:01:27.062  INFO 5636 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration

this is the log from discovery-service:
2016-10-03 09:49:36.443  INFO 5585 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2016-10-03 09:49:36.444  INFO 5585 --- [      Thread-10] o.s.c.n.e.server.EurekaServerBootstrap   : Setting the eureka configuration..
2016-10-03 09:49:36.444  INFO 5585 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Registering application discovery-service with eureka with status UP
2016-10-03 09:49:36.445  INFO 5585 --- [      Thread-10] o.s.c.n.e.server.EurekaServerBootstrap   : Eureka data center value eureka.datacenter is not set, defaulting to default
2016-10-03 09:49:36.445  INFO 5585 --- [      Thread-10] o.s.c.n.e.server.EurekaServerBootstrap   : Eureka environment value eureka.environment is not set, defaulting to test
2016-10-03 09:49:36.456  INFO 5585 --- [      Thread-10] o.s.c.n.e.server.EurekaServerBootstrap   : isAws returned false
2016-10-03 09:49:36.457  INFO 5585 --- [      Thread-10] o.s.c.n.e.server.EurekaServerBootstrap   : Initialized server context
2016-10-03 09:49:36.457  INFO 5585 --- [      Thread-10] c.n.e.r.PeerAwareInstanceRegistryImpl    : Got 1 instances from neighboring DS node
2016-10-03 09:49:36.457  INFO 5585 --- [      Thread-10] c.n.e.r.PeerAwareInstanceRegistryImpl    : Renew threshold is: 1
2016-10-03 09:49:36.457  INFO 5585 --- [      Thread-10] c.n.e.r.PeerAwareInstanceRegistryImpl    : Changing status to UP
2016-10-03 09:49:36.463  INFO 5585 --- [      Thread-10] e.s.EurekaServerInitializerConfiguration : Started Eureka Server
2016-10-03 09:49:36.549  INFO 5585 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9050 (http)
2016-10-03 09:49:36.550  INFO 5585 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Updating port to 9050
2016-10-03 09:49:36.553  INFO 5585 --- [           main] c.g.b.p.r.DiscoveryServiceApplication    : Started DiscoveryServiceApplication in 4.683 seconds (JVM running for 7.256)
2016-10-03 09:50:04.082  INFO 5585 --- [nio-9050-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2016-10-03 09:50:04.082  INFO 5585 --- [nio-9050-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2016-10-03 09:50:04.096  INFO 5585 --- [nio-9050-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 14 ms
2016-10-03 09:50:04.309  INFO 5585 --- [nio-9050-exec-2] c.n.e.registry.AbstractInstanceRegistry  : Registered instance API-SERVICE/<IP_ADDRESS>:api-service:8080 with status UP (replication=false)
2016-10-03 09:50:36.459  INFO 5585 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry  : Running the evict task with compensationTime 0ms
2016-10-03 09:51:09.647  INFO 5585 --- [io-9050-exec-10] c.n.e.registry.AbstractInstanceRegistry  : Registered instance API-SERVICE/<IP_ADDRESS>:api-service:8080 with status DOWN (replication=false)
2016-10-03 09:51:09.647  INFO 5585 --- [nio-9050-exec-1] c.n.e.registry.AbstractInstanceRegistry  : Cancelled instance API-SERVICE/<IP_ADDRESS>:api-service:8080 (replication=false)
2016-10-03 09:51:27.388  INFO 5585 --- [nio-9050-exec-5] c.n.e.registry.AbstractInstanceRegistry  : Registered instance API-SERVICE/<IP_ADDRESS>:api-service:8080 with status UP (replication=false)
2016-10-03 09:51:36.462  INFO 5585 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry  : Running the evict task with compensationTime 4ms
2016-10-03 09:52:36.464  INFO 5585 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry  : Running the evict task with compensationTime 4ms

here are sample applications.
Is it possible to fetch same event (InstanceRegisteredEvent) as on first startup in  next application startups?
Thanks

Possible ugly solution could be with handle of HeartbeatEvent where I can catch the first HeartBeat and then execute the logic. The CloudEurekaClient overrides the DiscoveryClient's onCacheRefreshed and publishes the new HeartbeatEvent.
something like this:
@Component
public class ApplicationInitializer implements ApplicationListener<HeartbeatEvent>, ApplicationContextAware {

	private static final Logger logger = LoggerFactory.getLogger(ApplicationInitializer.class);

	private RestOperations restTemplate;
	private ApplicationContext applicationContext;
	private AtomicInteger counter = new AtomicInteger(0);

	@Autowired
	public void setRestTemplate(@LoadBalanced RestOperations restTemplate) {
		this.restTemplate = restTemplate;
	}

	@Override
	public void onApplicationEvent(HeartbeatEvent event) {
		if (counter.get() == 0) {
			ResponseEntity<String> helloResponse = restTemplate.getForEntity("http://api-service/hello-controller/{name}", String.class, "my friend");
			logger.debug("Response from controller is {}", helloResponse.getBody());
			ApplicationEventMulticaster aem = applicationContext
					.getBean(AbstractApplicationContext.APPLICATION_EVENT_MULTICASTER_BEAN_NAME, ApplicationEventMulticaster.class);
			aem.removeApplicationListener(this);
		}

		if (counter.incrementAndGet() == Integer.MAX_VALUE)
			counter.set(1);
	}

	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		this.applicationContext = applicationContext;
	}
}

@bilak you still aren't very clear what the problem is. I'm not going to try and read through logs to figure it out. Please explain what the difference in the logs is and if you think there is a bug or just a question.

@spencergibb problem is that when I restart the api-service (discovery client) and it was registered in discovery-service (eureka server) before, the event InstanceRegisteredEvent is not handled in ApplicationInitializer. If I restart both of the services, then InstanceRegisteredEvent is handled correctly after 30 seconds from api-service startup.

@bilak InstanceRegisteredEvent was published because this line is in the logs:
2016-10-03 09:50:04.197  INFO 5615 --- [           main] c.n.e.EurekaDiscoveryClientConfiguration : Registering application api-service with eureka with status UP

I can make no guarantees on the logic in your code you linked to here

@spencergibb sorry for misleading. I meant event StatusChangeEvent. It's handled only when both applications are (re)started. If only api-service is restarted then StatusChangedEvent in code block you mentioned is not handled.

OK, so now you are into internal upstream Netflix code. It is internal and undocumented.

Why every 5 minutes to print the log   INFO 2854 --- [  restartedMain] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration

@brookliu123 please open a separate issue

@ryanjbaxter  ok


Remove duplicate NETStandardImplicitPackageVersion

@Eilon: 2.0 or dev?

@mikeharder,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


bug: ports still taken after ungraceful exit

Describe the bug
every once in a while my kinode gets stuck (when runtime panics) and i cannot exit gracefully with ctrl+z, ctrl+c or ctrl+d. so i kill the terminal in those situations. however when i boot my kinode again, then the previous port (i.e. 8080) is still taken and i cannot kill it unless i rebooot my pc.
check out the conversation on discord when i encountered a bunch of taken ports (what i realized later was from kinode panicing and me having to ungracefully exit)
To Reproduce
Steps to reproduce the behavior:

make your kinode panic
try to exit with ctrl+c, you won't be able to
kill terminal
run ps -ef | grep kinode to see taken ports

The real issue we need to fix here is the runtime panic case -- after an ungraceful exit, there's nothing we can do about the ports being still taken on your system. We'll handle the panic cases as we find them.


Nswag 13.14.3 always defaults to GetSystemTextJsonSettings (so JSON.Net PropertyName does not work)

I have been using 13.10.9 for a while and updated to 13.14.3 today for .NET 6.
I am having an issue where System.Text is being used even though I have Newtonsoft JSON enabled.
I want to use the Newtonsoft.JSON attributes (JsonProperty) but they are not being recognized.
Instead the System.Text JSON JsonPropertyName() is being used instead.
It is effectively the opposite of this problem, but nothing to do with that fix.
Fortunately I don't have too many places where the default naming convention isn't being used - so for now I was able to add extra System.Text attributes as needed.
    [JsonPropertyName("ue")]
    [JsonProperty("ue")]
    public bool? UsernameExists { get; set; }

I have narrowed it down to the following line where AspNetCoreOpenApiDocumentGenerator tries to get the SerializerSettings. Clearly if any error occurs here it will default to GetSystemTextJsonSettings().
        try
        {
            return (JsonSerializerSettings)options?.Value?.SerializerSettings;
        }
        catch
        {
            // Newtonsoft.JSON not available, use GetSystemTextJsonSettings()
            return null;
        }

I copied the above function GetJsonSerializerSettings into my main application (.NET 6) to test it and see if there really was an exception here. It turns out the exception is :
 ''object' does not contain a definition for 'Value''

Note: options is a dynamic property of type:

Microsoft.Extensions.Options.UnnamedOptionsManager`1[[Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions, Microsoft.AspNetCore.Mvc.NewtonsoftJson, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60]]

I believe this is a new class in .NET 6 and is reason the error is occurring.

As proof that options.Value is in fact of the expected type (Newtonsoft.Json.JsonSerializerSettings) here's the expanded view of options variable:

I'm not exactly sure why a dynamic object (options) cannot access Value but it doesn't seem to be able to - and instead throws an exception - causing the [JsonProperty] to be ignored.

Dynamic seems to be different in .net 6, need to fix this like here:
https://github.com/RicoSuter/NSwag/commit/bc3663e58d1ad6b1b0025defe28d5a2464f4a3cd

v13.14.4


Download table for production stats

The production stats downlaod (CSV file) misses out project/site name column which is key.
http://www.resourceprojects.org/country/CD

I realize that payment stats download CSV file on country page also  misses out project/site name column which is key.
http://www.resourceprojects.org/country/CD


JRTB-6: As a user, I want to see list of my group subscriptions

As a user, I want to see list of my group subscriptions
Acceptance criteria:
/listGroupSub command added

#26


ob run doesn't run with latest version of code

Steps to reproduce:

Clone https://gitlab.com/mightybyte/zeus/
Check out commit 6f180cb2063e76f72213bc387d425d6a2fdf59ce
Run the app with ob run.
After it is running you should see the message ***************** getNextJob returned Nothing printed to the console every 5 seconds.
Now delete line 73 in backend/src/Backend/Build.hs (https://gitlab.com/mightybyte/zeus/commit/6f180cb2063e76f72213bc387d425d6a2fdf59ce#9d8928888ce290022cf33404498f82c98329d32b_86_73)

Expected result:
ob run will rebuild and re-run the app and the getNextJob debug line will no longer be printed.
Actual result:
ob run rebuilds and reruns the app, but the getNextJob lines are still printed.

@mightybyte Is there a specific version of Obelisk that you are referring to in this issue?
I tried the following steps:

Checked out zeus: https://github.com/mightybyte/zeus
Checkout out commit 6f180cb2063e76f72213bc387d425d6a2fdf59ce.
Ran ob run.

Here is what I got:

Closing for now since repro steps don't produce the issue.


Fetch release notes from stable branch

Fixes https://github.com/releases-rs/releases-rs/issues/29

Thank you!


How to style a column

Hi, is there a way to style each column differently, eg column background color, please? Thanks.

Hi, your example is just excellent, thank you very much!


Bump version to 3.4.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please add noarch: python

@nehaljwani, is this ready to be merged?

Yes!

Great! Merging then :+1:


How does install prerelase work?

I’ve followed instructions in README but I still only get version 2.5.4 to install. Is there something else that needs to be done to have version 3.0.0 installed?

Same here. Sublime Text Build 4126 on Kubuntu 21.10.
Installing from GitHub like in this StackOverflow answer works.

I have also found that the prerelease install as described in the readme is not working, on Sublime Text Stable 4126.
I have added "Sass" to my prereleases key, like this
"install_prereleases": [
	"Sass"
],

and have run Package Control: Upgrade Package, but the response I get from Package Control is: "There are no packages ready for upgrade".
I will have a go at installing manually as per @the-ge 's comment

@the-ge How did you get this to work? As per the answer you have linked to, I have added:
"repositories":
[
	"https://github.com/braver/SublimeSass"
],

to my package control settings, and have even uninstalled and reinstalled Sass, but am still stuck on v2.5.4.
My assumption here is that the package control settings repositories array should be checked first when Package Control checks for upgrades, and since that one has a 3.0 tag, I don't quite understand why it's not being found.. Maybe I'm misunderstanding something!

Oh, sorry, I think I've got it - it adds it as a whole separate package to the available packages rather than replacing the package control repository version, and it's actually called SublimeSass for this repository, rather than Sass..
Looks like you just get the latest master version though, rather than a tagged release, but that's probably not a bit problem 👍


gsconverter->3dgsconverter ?

In the Usage paragraph in Readme, the command was 3dgsconverter when I installed from pip.

Me too

🚨


Why not calculate prompt on the server side?

In the paper, it is assumed that the user can access only an inference API provided by the server, and thus we need a solution to calculate the prompt on the user side. This limit is from the requirement of keeping PLM parameters secret.
Why not calculate the prompt on the server side. Returning the prompt, or, the gradient on the prompt, does not leak PLM parameters, too.
We do not prefer the above solution, because of additional burden at the server side?

Yeah, it is okay to perform SGD to obtain an optimized prompt for the user. But the optimization can be expensive for large models. The computation and memory cost of SGD/Adam is proportional to the size of the model. If we consider hyper-parameter tuning (in fact, this is necessary for prompt tuning), the cost is more expensive. In comparison, black-box tuning only requires the model forward process, which is cheaper and easier to be accelerated with the support of ONNX/TensorRT.
For another solution, if the server returns the gradient w.r.t. the prompt to the user, the deployed model will be vulnerable (See LAMP: Extracting Text from Gradients with Language Model Priors).
So the answer is yes, the solution you mentioned will translate to additional burden of the server.


Range search is not working

Do you want to request a feature, improve documentation, or ask a question?
ask a question
We are testing this repository with test patient data.
For example, searching this way: http://localhost:3000/4_0_0/Patient?birthdate=gt1931-05-07
I can retrieve only patients born after May 7, 1931.
Also, http://localhost:3000/4_0_0/Patient?birthdate=lt1995-05-07
to retrieve a list of patients born before May 7, 1995.
But the following search combining these two does not work well.
http://localhost:3000/4_0_0/Patient?birthdate=gt1931-05-07&birthdate=lt1995-05-07
This search is described in the hl7 manual, what should I do?

It worked successfully by changing some of the behavior of the dateQueryBuilder function in queryBuilder.util.js when passing a value to the date argument!


Make the bot usable in other servers than the main devstreak server

Add a command !setrole that admins can use to choose which roles are used as the active streaks role, and top streak role. Also make the functions that use guild id check all guilds the bot is in.
things that could still be done:
Make server.js also work with arbitrary servers, give better error messages if the bot doesn't have the proper permissions.

Also can you flatten some of your commits? Some of them don't need to be in the commit history explicitly since they do/undo actions etc. Just keep the relevant ones or fixup/reword. You can do that with `git rebase -i [lastcommitbeforeyourfirstone].

i havent tested this yet, is there anything else that should be flattened btw?

OK! i think this should be working properly at this moment?


Solutions

Modificările din https://github.com/IngridSt/python-lab/commit/41d99426c1f7b79987ed80ab3258415a889d0c16 ar trebui incluse în https://github.com/IngridSt/python-lab/commit/4b76d8b9f46f0bd2767b29a0d757ce39b3604469.


Server-side Rendering (SSR) support

This may come in as an odd request, but would Nextra support SSR?
https://nextjs.org/docs/basic-features/pages#server-side-rendering
Our use case is to have public vs private documentation pages and be able to configure access in the page meta data level.
For this to work, private pages would need to be served at runtime, while public pages can be generated as usually, at build time.

Looking forward to this feature! 👍

We have this supported, you can use getServerSideProps similar to this: https://nextra.site/docs/guide/ssg

import { useSSR } from 'nextra/ssr'
Module not found error with "nextra": "2.2.14"

@timothymiller the module is nextra/ssg but we are gonna rename it to nextra/data.


Only plex_info is scraped

I've deployed this with no issues.
Almost immediately, plex_info is visible.
However, all other stats are not showing.
I checked the metrics endpoint, and again, only plex_info is being scraped.
Using: amd64  -  v1.6.0
Metrics endpoint:
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 382.0
python_gc_objects_collected_total{generation="1"} 38.0
python_gc_objects_collected_total{generation="2"} 0.0
# HELP python_gc_objects_uncollectable_total Uncollectable objects found during GC
# TYPE python_gc_objects_uncollectable_total counter
python_gc_objects_uncollectable_total{generation="0"} 0.0
python_gc_objects_uncollectable_total{generation="1"} 0.0
python_gc_objects_uncollectable_total{generation="2"} 0.0
# HELP python_gc_collections_total Number of times this generation was collected
# TYPE python_gc_collections_total counter
python_gc_collections_total{generation="0"} 1340.0
python_gc_collections_total{generation="1"} 121.0
python_gc_collections_total{generation="2"} 9.0
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="12",patchlevel="5",version="3.12.5"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 4.01006592e+08
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 3.899392e+08
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.72873047205e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 64.05
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 8.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1.048576e+06
# HELP plex_clients_total Plex client information
# TYPE plex_clients_total gauge
# HELP plex_info General Plex information
# TYPE plex_info gauge
plex_info{host_platform="Linux",name="SERVERNAME",plexpass_subscription="True",version="<IP_ADDRESS>57-af5eaea7a"} 1.0
# HELP plex_library_size_total Total size of a library in bytes
# TYPE plex_library_size_total gauge
# HELP plex_library_items_total Total items in a library
# TYPE plex_library_items_total gauge
# HELP plex_genres_total Total genres for all media items
# TYPE plex_genres_total gauge
# HELP plex_sessions_total Total number of current sessions
# TYPE plex_sessions_total gauge
# HELP plex_media_quality_total Total number of media by quality
# TYPE plex_media_quality_total gauge
# HELP plex_total_played_duration Total number of media played in milliseconds
# TYPE plex_total_played_duration gauge

Am I missing something?

Hi @tquizzle,
Sorry for the late reply, I've been on holiday. Can you tell me what version of Plex you're using and if the logs show any errors?


Installation is hanged when building wheel, cannot completed. No errors pop up.

I am trying to install this package to run the InternVL-2b model. My computer has CUDA 12.4 and RTX3050 GPU. However, installation is hanged when building the wheel, thus installation cannot completed. No errors pop up.

Check this:

Same problem here.

same problem. I have successfully installed on CUDA 11.8, but stuck when installing on CUDA 12.1 without any popped erro


Bad flag check on actors

Accessing actors sometimes generates the following warning:
Starwars FFG |  TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')
    at Object.fn (swffg-main.js:274:43)
    at #call (foundry.js:724:20)
    at Hooks.callAll (foundry.js:681:17)
    at ClientDatabaseBackend.callback (foundry.js:12613:13)
    at foundry.js:12562:43
    at Array.map (<anonymous>)
    at ClientDatabaseBackend._handleCreateDocuments (foundry.js:12562:33)
    at ClientDatabaseBackend._createDocuments (foundry.js:12468:17)
    at async ActorFFG.createDocuments (commons.js:6110:23)
    at async ActorFFG.create (commons.js:6233:23)
    at async ShopCreator._updateObject (shop.js:531:21)
    at async ShopCreator._onSubmit (foundry.js:5916:7)

note that although this was caused be me creating an actor from a module, the issue sometimes comes up without the module loaded because the starwarsffg attribute is assumed to be present
this doesn't break any functionality and only results in a warning being thrown, but it should be fixed anyway :)

if (!actor?.flags?.starwarsffg.hasOwnProperty('ffgimportid')) {

should be
if (!actor?.flags?.starwarsffg?.hasOwnProperty('ffgimportid')) {

Just a missing nullish check before attempting the .hasOwnProperty function call.

https://github.com/StarWarsFoundryVTT/StarWarsFFG/pull/1130


Fact page views

Description & motivation

Checklist

[ ] I have verified that these changes work locally
[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have run dbt test and python -m pytest . to validate existing tests

Not sure


[swift-pr] Include TestSwiftGenericExpression as part of standard pr …

…testing.
This would've caught problem triggered by a change in swiftc.

@swift-ci please test and merge


YAML recognized at Plain Text

Type: Bug
Open .yaml file in VSCode and it's recognized as plain text. I can manually change file association but if I reopen that file or open another file it goes back to plain text.
Looks similar to:
https://github.com/microsoft/vscode/issues/127159
I've tried reloading with extensions disabled (still happens), and searched for @builtin yaml and can confirm it's enabled.
VS Code version: Code 1.82.3 (fdb98833154679dbaa7af67a5a29fe19e55c2b73, 2023-10-02T11:09:17.749Z)
OS version: Darwin arm64 23.0.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 9, 5

Memory (System)
8.00GB (0.08GB free)

Process Argv
--crash-reporter-id bfcf6f59-63c2-4c83-bfc4-61465df520ff

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
962ge761:30841074
a2ce3375:30757347
7ij38806:30736111
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
copilotsettingc:30839828
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
pythonmhint1:30842940
dsvsc015:30845448

Note it works correctly if file extension is .yml. If I choose Configure File Association for .yaml it indicates it's already associated, and proceeding to choose that extension correctly adds association in user settings but still doesn't work.

I just verified that this works for me by creating a foo.yaml. It gets associated to the YAML language mode.
Anything special about the full path of the file?
Did you check all your settings files that there's no association configured?
@bpasero Any idea?

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.
Happy Coding!

My fault, workspace settings was hidden so didn't think to check and only checked user settings. Indeed there is file association for:
"files.associations": {
  "**/pipelines/*.yaml": "azure-pipelines"
}

And I don't have that extension installed. Would it make sense to fallback to VSCode default file association if language doesn't exist (due to missing extension) instead of plain text?

Would it make sense to fallback to VSCode default file association if language doesn't exist (due to missing extension) instead of plain text?

Maybe, but that might also be something that we do not know upfront if extensions are involved.
//cc @alexdima


CHANGELOG

We really need a changelog for the cloudhealth-collector helm chart to have a better understanding of what new releases bring.

Agreed, I am trying to figure out if there is any use in upgrading cloudhealth-collector in my EKS clusters.

Thank you for the feedback!  We have established a release log using the GitHub releases functionality: https://github.com/CloudHealth/helm/releases.  We will keep this up to date with each chart change.


Add Avalon8 support

Append my name and email, checking it please, thanks.

Update the indentation. Thanks.

@XzxEmbedded Great. Thanks.


Joycon disconnects, app doesn't recognize when it reconnects

My joycon spontaneously turns off and disconnects from the mac. When I turn it on, the mac connects to bluetooth, but this app doesn't recognize the joycon. I have to quit the app and restart it and then go to settings before it works again. This is cumbersome when it happens 8x every study session. Please fix! Thank you

Same thing is happening to me, I am on Ventura, any fix for now?

Maybe you are on an Apple Silicon based Mac? If so, this way 👉 https://github.com/qibinc/JoyMapperSilicon


chore: add .user-guide.php-cs-fixer.dist.php for sample code in docs

Description

add .user-guide.php-cs-fixer.dist.php
add user guide cs check in git pre-commit hook
update composer cs-fix

I propose the following before fixing sample code:

move CI3 sample code in Upgrading into the folder ci3sample/

we need exclude the CI3 sample code

use /* ... */ style comment for explanation of the code result

The comments are not normal comments, so it is better not to use //

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

I agree with the proposals. Side comment, latest master of php-cs-fixer has its own implementation of space_after_comment_start so on next release the use on // will be strictly for single-lines only. So, as early as now, multiline comments should start using the /* */ way and reserve // for single-line comments.

This would then be applied and integrated into the pre-commit hook, right?

I added the check in the pre-commit.

I sent PRs #5770, #5771

Applying the fixer will then be another PR?

Applying the fixer will then be another PR?

Yes, because the difference is huge.
But as you say, the code fixes need to be committed soon right after this PR's merging.

I created #5773 to apply the fixer.

Added GitHub Action update.


Fix Zed CI tests

kayobe-automation seems to need this patch to work for zed.
https://github.com/stackhpc/kayobe-automation/compare/main...fix-format
Not quite sure when the change was made but I'll make a proper fix and PR soon

How much of this is still required?

I'm not sure. The host image build workflow changes are probably still required. I'll test it soon


Support containerized rolling update

Update rolling update playbook to support containerized deployments
for mons, osds, mdss, and rgws
Skip checking if existing cluster is running when performing a rolling
update
Fixed bug where we were failing to start the mds container because it
was missing the admin keyring. The admin keyring was missing because
it was not being pushed from the mon host to the ansible host due to
the keyring not being available before running the copy_configs.yml
task include file. Now we forcefully wait for the admin keyring to be
generated before continuing with the copy_configs.yml task include file
Skip pre_requisite.yml when running on atomic host. This technically
no longer requires specifying to skip tasks containing the with_pkg tag
Add missing variables to all.docker.sample
Misc. cleanup

Signed-off-by: Ivan Font<EMAIL_ADDRESS>This was tested on CentOS Atomic host.

test this please

please rebase

@leseb done


Frontent: LNURLp fiat amount with 0.2f decimal precision

Dirty fiat likes to be denominated in 2 digit decimal precision. Would be nice to have.

Bumping this tiny issue. Anyone wanna have a look at this? @fusion44 or @talvasconcelos?

Fixed in #663


Re-enable "bare"-instructions dart vm optimization.

This issue tracks reenabling of dart vm bare instructions optimization.
It was originally disabled in https://github.com/flutter/flutter/pull/27410 when impact on apk size was noticed(https://github.com/flutter/flutter/issues/27250).
https://github.com/flutter/flutter/issues/27250#issuecomment-460082941 hopefully provides enough information about apk size vs performance trade-off that warrants re-enabling of that optimization.

@Hixie @mkustermann @a-siva

https://github.com/flutter/flutter/issues/27250#issuecomment-460082941 is a bit confusing in that it lists several possible changes.
Can we summarize the exact commit we want to land, what the performance impact is, and what the expected effect on footprint is? The goal is to make sure we are making an informed decision. I expect that the trade-off is worth it. If so, then we can land it and look at the benchmark numbers and make sure that they do change the way that we expect.

https://github.com/flutter/flutter/pull/27789 is the change. With it, compressed hello_world apk goes up from 893,149 to 919,468, uncompressed goes down from 2,829,456 to 2,758,432. Microbenchmarks performance improve by 10-20%.

25KB for a 15% improvement in performance seems worth it. Let's try it, and verify that the effect is as expected. (I recommend making an engine roll that only contains this change, to help isolate the effect.)

The #27789 change is really just a flutter/flutter change that enables the default 'bare'-instruction behavior via options-passing


[DOC] Improve Readme

Items to be added

About flutter UI components
Techstacks used
Screenshots of some UI components
Link contribution guidelines

I want to work on this issue under JWOC

Sure @ISHITA-ROY016
Assigning you

@Roshaen , kindly assign it to me as I commented before under jwoc.

Sure @Code1705


Can't test couchbase

Hi I'm trying to test couchbase trough YCSB I've tried couchbase and couchbase2 for this but when I execute the load command (bin/ycsb load couchbase -s -P workloads/workloada) this error shows:
com.yahoo.ycsb.DBException: Could not connect to Couchbase Bucket.
at com.yahoo.ycsb.db.couchbase2.Couchbase2Client.init(Couchbase2Client.java:208)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:86)
at com.yahoo.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.couchbase.client.java.error.InvalidPasswordException: Passwords for bucket "projeto" do not match.
at com.couchbase.client.java.CouchbaseAsyncCluster$OpenBucketErrorHandler.call(CouchbaseAsyncCluster.java:474)
at com.couchbase.client.java.CouchbaseAsyncCluster$OpenBucketErrorHandler.call(CouchbaseAsyncCluster.java:457)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:139)
at rx.internal.operators.OperatorMap$MapSubscriber.onError(OperatorMap.java:85)
at rx.observers.Subscribers$5.onError(Subscribers.java:224)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.checkTerminated(OperatorObserveOn.java:264)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:207)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more

What version of couchbase and what version of ycsb?

couchbase server community 6.0.0 ubuntu 18.04 and ycsb is this version https://github.com/brianfrankcooper/YCSB

couchbase server community 6.0.0 ubuntu 18.04 and ycsb is this version https://github.com/brianfrankcooper/YCSB

can you please help me?

We're all volunteers here; sometimes responses take a bit. Please be patient. If you'd like things to go faster, see of you can help answer someone else's question in the meantime.

One quick thing, you should reproduce the issue with one of our published binaries from the releases page.

you mean the couchbase?

No I meant one of the YCSB released binaries.

I don't understand what you mean because the YCSB I'm using is from git, can you put here a link?

As a project we publish releases with precompiled binaries. the latest is always here:
https://github.com/brianfrankcooper/YCSB/releases/latest
The bottom of the release description has a section titled "Assets" and in it you should find ycsb-%VERSION%.tar.gz for everything or ycsb-couchbase2-binding-%VERSION%.tar.gz for just checking couchbase 2.

Can confirm that I face the same issue, this is with version6 of couchbase. Looks like the connection string from 5 onwards requires the username and password for the cluster, maybe why the issue?

You have to create a user which has the same name of your bucket

Can confirm @edihasaj instructions work. Thanks a bunch!


(PUP-4639) always add -w when starting launchd

This is the right branch, closing #4170 although this should go to master as well.
Always adds -w when starting a job, as the status is cached and you can end up getting unload -w and then just load.
Adding the -w is a noop when it isn't needed.

I'm :+1: on this, I've tried all 4 combinations of refresh ensure => [stopped, running], enable => [false, true], ensuring they're idempotent and correctly transition. I'm going to look at adding an acceptance test after merging up to stable.

@nigelkersten if you have time, can you double-check whether this makes sense? Looks like you were involved in prior work on it (http://projects.puppetlabs.com/issues/2581).

This sounds reasonable and looks like you've tested the right things. +1


support submitting the form by pressing Enter key on the Edit Profile page in the TodoTemplate (#1936)

This closes #1936

@maryamhdr & @Cyrus-Sushiant
plz review this PR


Add vaccination uptake signal

This signal is already in the API, so this can be merged as soon as it's ready.
Note I've tried to explain that this signal differs from the CDC reporting -- currently it reports vaccination rates nearly twice as high as the CDC does. It's unclear why this disparity exists; the CDC data clearly lags behind actual vaccinations, but I don't know how much, and meanwhile the survey probably has biases and I don't know how big they are. Hopefully the note makes that clear.
Also I fixed a minor formatting problem in the geography docs.

merged the suggestions, thanks

merged the suggestions, thanks


Shield material type overrides manual stats

https://github.com/foundryvtt/pf2e/blob/274df0e694162065298f930be954f464e2376cbb/src/module/item/shield/document.ts#L101-L115
Because this logic runs in prepareBaseData, it always overrides the shield's statistics, even if they are entered manually. I believe this is undesirable because a user may want to reflect that their shield has a specific material type, but also want to tweak the numbers of that shield for a variety of reasons.
Instead of being re-calculated each time prepareBaseData is called, is there a way we could have this called just one time when the specific material is first selected or changed? That way the user gets the benefit of automation, but isn't then precluded from customization.
Additionally, modules that want to interact with both the material of a shield and its Hit Points/Hardness have no way around the current system (as far as I can tell), since any values that are given will be overridden by the system itself every time prepareBaseData is called.
I've noticed that flagging the shield as a "Specific Magic Shield" will stop this auto calculation, but it also disables the precious material dropdown. As an alternative to the above recommendation (if that's not feasible), maybe we could just no longer disable the precious material dropdown when specific magic shield is checked?
I'm currently in the process of updating the module for Everything Shields and so far I haven't been able to find a way to work around this issue. Thank you for considering this!

This follows the basic rules for material statistics. As you've discovered, you can set an item to be a specific magic item to override anything. You'll of course want to set the material first.

Yep
My concern is that the current system hinders user customization.
Having to change the precious material before toggling Specific Magic Shield is an obtuse user experience that could use some improvement.
Not being able to change the precious material after Specific Magic Shield is checked is an unnecessary safeguard against nothing.
Thanks for reading


Adding a README to the UART reader Utility

Adding instructions on how to run the utility, and its different options

@jeertmans Just to be sure you got pinged, the README is in root/mcu/README

Hi @vctrcc, you don’t need to ping as I already received notifications to everything that happens on this repository ;) However, you did things in the wrong order: you need to first sync your fork and create a new branch from our main branch. Otherwise, you still have the list of commits from your previous PR


DigiBingo V3 bug

The most recent version(DigiBingo V3), has a bug in the function askStr(Functions.cpp), and I am unsure how to fix it, so if you could help and provide a solution, I would greatly appreciate it(please add it as a issue or pull request). The function is meant to take in a string and display it with an input box, and return the input.

After a bit of work, I have resolved this bug. Thank you for your patience, and I hope you enjoy playing with DigiBingo V3.


Stale status result of getChatMember

Sometime result of getChatMember status (left/member) not changing, only after restarting telegram-bot-api its work normal again.
Uptime telegram-bot-api before restart it 3 day.

Are you using multiple sessions for the bot?

Are you using multiple sessions for the bot?

single telegram-bot-api for multiple bot.

This is expected to happen if the bot has multiple active session. Example: using api.telegram.org and local Bot-API server at the same time or using custom MTProto implementation alongside with Bot-API.
Make sure that your bot has only one active session.

This is expected to happen if the bot has multiple active session. Example: using api.telegram.org and local Bot-API server at the same time or using custom MTProto implementation alongside with Bot-API.
Make sure that your bot has only one active session.

Ok thank for the info.
I'm using custom MTProto and Local Bot-API session for the same bot.

@aiskendi that's not a fix. The fix is to use only one active session. Using custom MTProto implementation alongside with Bot-API will get things worse in the future use of your bot. You can either completely switch to the custom MTProto implementation or Bot-API. You can't both.


Allow to disable the GNN Encoder with a specific parameter

This PR introduces another parameter which allows to disable the GNN encoder.
@vinhsuhi Could you have a quick look whether I got your comments right and else comment on what I changed in the wrong? Thanks in regard.

@RaphaW @JWG-1 I incorporated all the feedback, and the parameter itself works now. However the training does fail. I will further investigate and report back. If you find some time, you can give it a try as well.

Okay I double checked the issue and when I try running conKB function, it fails:
python run.py -score_func convkb -init_dim 100 -num_filt 3 -opn sub -disable_gnn_encoder DISABLE_GNN_ENCODER

However running it with transE does work:
python run.py -score_func transe -opn sub -gamma 9 -hid_drop 0.1 -init_dim 200 -disable_gnn_encoder DISABLE_GNN_ENCODER

python run.py -score_func convkb -init_dim 100 -num_filt 3 -opn sub -disable_gnn_encoder DISABLE_GNN_ENCODER

This should fix it:
python run.py -score_func convkb -init_dim 100 -embed_dim 100 -num_filt 3 -opn sub -disable_gnn_encoder DISABLE_GNN_ENCODER

Thank you for adding that, but sadly it does not really work for me yet. If I add the argument 'false' to the gnn encoder, the box still says that the parameter is true.
I also do not know how to check whether the run used the gnn encoder or not Other than checking the box in which it says 'true' or 'false'.

Should be fixed in the meantime, could you give it another try?

Also, when training with the scoring function convE, i get the following error:
Traceback (most recent call last):
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 461, in <module>
    model.fit()
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 386, in fit
    train_loss  = self.run_epoch(epoch, val_mrr)
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 352, in run_epoch
    pred        = self.model.forward(sub, rel)
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\model\models.py", line 149, in forward
    x = torch.mm(x, all_ent.transpose(1,0))
RuntimeError: mat1 and mat2 shapes cannot be multiplied (64x200 and 100x2034)

can you send the call parameters? I belive the problem is coming from defining the embed_dim, because for conve the embed_dim is calculated in the script run.py, so we should leave it empty when setting our parameters

Also, when training with the scoring function convE, i get the following error:
Traceback (most recent call last):
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 461, in <module>
    model.fit()
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 386, in fit
    train_loss  = self.run_epoch(epoch, val_mrr)
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\run.py", line 352, in run_epoch
    pred        = self.model.forward(sub, rel)
  File "C:\Daten\Hochschule\Wintersemester 22-23\Forschungsarbeit\CompGCN\model\models.py", line 149, in forward
    x = torch.mm(x, all_ent.transpose(1,0))
RuntimeError: mat1 and mat2 shapes cannot be multiplied (64x200 and 100x2034)

can you send the call parameters? I belive the problem is coming from defining the embed_dim, because for conve the embed_dim is calculated in the script run.py, so we should leave it empty when setting our parameters

Yeah of course, so i left the embed_dim empty, but it doesn't work for example for the following command:
python run.py -score_func conve -opn sub -ker_sz 5 -data codex-s -disable_gnn_encoder DISABLE_GNN_ENCODER

python run.py -score_func conve -opn sub -ker_sz 5 -data codex_s  -k_w 10 -k_h 10 -gcn_dim 100 -disable_gnn_encoder 1

it should work like this

python run.py -score_func conve -opn sub -ker_sz 5 -data codex_s  -k_w 10 -k_h 10 -gcn_dim 100 -disable_gnn_encoder 1

it should work like this

Yeah, it works now, thanks

python run.py -score_func conve -opn sub -ker_sz 5 -data codex-s  -k_w 10 -k_h 10 -gcn_dim 100 -disable_gnn_encoder 1

I added this command to the Readme.md to have an example how to use the new parameter there. Thanks for the review. Will merge, due to 2 approvals


[Feature] Print single donations

Summary
Provide the ability to print a single donation,  similar to the current distribution receipt
Why?
At least one bank (Nebraska) wants to print out single donations for record keeping purposes.  Could also be given to donator as a receipt / passed off to whatever person does tax receipts for donations
Details
A/  Use Distribution receipt as a model for formatting.   Major differences would be

obviously using Donations instead of Distributions!
Using information from the donation source instead of the partner
Note that we don't have address information for all the possible donation types.  If we don't have it, you obviously can't show it!  (Though note also that there is a request to add contact info for donation sites).
3/  No request info
4/  Add a Money raised line.
5/  I don't think that packages is likely to be useful here.
6/ Use the same flags as for distribution print to determine whether we print the value columns (this is labelled "Hide value columns on receipt" .

Visual Aid

Criteria for completion

[ ] Ability to print donations added to the donation index page, similar to distribution index
[ ] Tests to support the functionality

Please assign to me.


ability to enable different webserver based on environment

I have come across situation where I had to work with two different webservers temporarily, although this may not be an ideal situation to have it does help to be able to configure this.

As these are config file changes only, they can be easily implemented in your own application. I don't think this should be merged into the package.

True, it is easily changeable based on your personal requirements. Feel free to close.

@roelgonzalez since you opened the issue/PR you can also close it, using the Close button below.


Ajax & Server side

Hi,
I would like to use your plugin, but my data comes from server-side.
How can i call an ajax (or else) function to populate my data with your plugin ?
Thanks

Hi,
Unfortunately ajax is not supported.
Please refer to the following issue:
#18

OK thanks

Could you reconsider adding support for ajax? Probably a lot of the old jPlist users are still looking for this feature in the new version.

I start to work on but have a bug on http.send.
@pflind  Could you help here: #18  ?


Exclude paths and file from sync

Hi,
this package is really good. I'm using it just for 4 hours but it makes programming tasks much easier for me. I'm developing on web server and I'm using the package for synchronizing the files and folders.There git is used as SCM. My workflow is:

Connect to server
Initial sync remote -> local
Development
Synchronize local -> remote
Testing the web app
If necessary repeat 3. til 5
Commit and push code
Go home;-)

I've recognized a problem while working with git. When I use the command git status the changed files were shown as deleted and added, but I've only changed  one code line. That is a little bit confusing and it's not possible to diff staged files.
After a short period of testing I realized that the folder .git is also synchronized to the remote. So I deleted the local folder .git and now I can synchronize the whole local folder to the remote.
And git diff and git status are working fine.
The same problem is with the file .ftpconfig. This file is saved in the same local folder where the remote files are saved. If I sync local -> remote, it is upload to the folder. This is an security issue.
In my opinion it will be a nice extension if the user could defined files, folders which should not been synchronized.
May be it is also possible to add a key map for synchronizing all folder and file of the current project.
Bye
Jens

Agreed, an ignore file would be very handy.

+1

Duplicate of https://github.com/mgrenier/remote-ftp/issues/36


⚠ ClamAV has degraded performance

In 1080390, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in b07f5fb after 14 minutes.


[Feature, App] Move runs to different group

I created a run under a certain group. Afterward, I would like to have the opportunity to move this run to a different group. Currently, this is not possible, which means that my initial assignment to a group is permanent.

Hey Mathias, thanks for writing in. We already have an internal ticket for changing the group of a run. I'll bump up its priority and let you know once the feature is available.

@armanhar Does the current ticket include adding runs to a group via the UI, if they're not already in a group? Basically I'm looking to "create a group" and group some selected runs together in the UI, just to organize things better.

I created a run under a certain group. Afterward, I would like to have the opportunity to move this run to a different group. Currently, this is not possible, which means that my initial assignment to a group is permanent.

hi, i want to do the same thing
if wandb staffs got this done, i would be happy

Is this possible by now? The ticket was closed as completed, suggesting it would be. But I couldn't figure out how. Is there an update/documentation for this?


Network Error with UI

I got the UI running on my Synology DS916+ with Docker.
When posting the link of my rtsp-ip camera I get an "Error: Network Error".
Here's the whole browser error log:
Error: Network Error
at module.exports (createError.js:16)
at XMLHttpRequest.p.onerror (xhr.js:81)
POST http://<IP_ADDRESS>:8080/start net::ERR_CONNECTION_REFUSED

(anonymous) @ xhr.js:172
module.exports @ xhr.js:11
module.exports @ dispatchRequest.js:57
Promise.then (async)
s.request @ Axios.js:53
s.
Thanks

Hi @Streamversetv ,
Seems like you are not exposing the port of the backend. As the UI states in the description it has to be exposed on the running container.
docker run -p 8080:8080 -p 80:80 roverr/rtsp-stream:2-management
The reason for this is that currently it is burnt into the code as the URL of the backend.

Let me know if your problem persists


onSVGFailed not thrown on 404

    public error(element: SVGElement): void {
        alert('error'); // never called
    }

Let's consider I have a server with a 404 page at http://anyUrl#symbolName. It seems that the directive is taking the contant as valid and will load the svg with the 404 page's content instead of considering the 40X code as a failure.
I was expecting to get an error if:

there is no file at the given url (error 404)
(possibly) if the svg file is found but there is no symbol with symbolName found in the svg file

Is this the expected behaviour? if yes then is there any way to manually check the input and throw an error if the content is not valid?
I do think about the onSVGLoaded hook. Could I make it fail if I return null?

95c7a2f6096eb529971ad69dd8d4a5f736a81d2b


Add training site banner and modal

Related Issue or Background Info

#973

Changes Proposed

Add a TrainingNotification component that renders if process.env.REACT_APP_IS_TRAINING_SITE === "true"
Tests that this displays/doesn't display in the appropriate environments
Based on discussion with design folks, uses session storage to remember if the user has acknowledge the modal (documented in the discussion of the ticket)

Screenshot

@katiealoisi I can't push this to an environment for you to validate since it'll only work in the training environment, so hopefully the screenshot of it working locally will suffice

LGTM

Can we use the site alert component rather than the standard alert? The vertical border doesn't really work on a full-width notice.
Do we need the orange "design work in progress" tag at the top or will that come later?

@maya

Can we use the site alert component rather than the standard alert? The vertical border doesn't really work on a full-width notice.

Yes, didn't know that existed

Do we need the orange "design work in progress" tag at the top or will that come later?

I assumed the "design work in progress" was just an artifact from the design prototype and not supposed to display on the actual app

LGTM too! You're right @nickscialli-usds, the "design work in progress" is an artifact from the prototype and should not display.

Is it bc of the react modal component we're using that I can't exit using my escape key?

Updated to use the USWDS site alert in 2d2ad32. Updated the modal heading type treatment to more closely match the Figma designs in abb5829.

The only thing I'm currently unsure about is the button placement: right-aligned instead of left on this wide modal.


Containerization of covalent by merging flask servers

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

@scottwn @wjcunningham7 Currently the server can start with the cli or Docker, but the remaining work would be updating all the docs and references in the cli to the individual components (UI & Dispatch server) to now name one unified component "Covalent Server" (As well as updating the config file). Besides that the only thing I see is that the CLI doesn't resolve the correct port of the server when doing covalent status.
If it is considered out of scope for this issue then this issue can be closed, and a new issue opened with these requirements.

I think breaking covalent status is a regression, so we need to fix that before we merge this, and update the docs as well

covalent status doesn't work because the server process listens to multiple ports:

The web server's port, which we actually want
The ports used by Dask's LocalCluster.

This wasn't a problem before because we were using gunicorn, which runs LocalCluster in a worker process and not the master process associated with the pidfile. Now that we are running covalent_ui/app.py directly, we need some other way to track the relevant port. Of course going back to gunicorn would also fix the regression, but presumably there were reasons for ditching gunicorn.

Do we support users editing the config file by hand? If so, users should be cautioned that the dispatcher and user interface ports should be the same.

For some reason all tests pass except the very first run of test_arithmetic_1.

Ready for review.

FWIW I was able to reproduce the failed test on ee88a85
$ docker build -t covalent-test .
$ docker run --rm -it --entrypoint bash covalent-test
# pip install -r tests/requirements.txt
# covalent start -d
# pytest -v

I think I've changed all references to port numbers other than 48008 (except for in the older changelog entries).

Hmm, it might be a good idea to include a snippet in the README install section, I suppose it’s quite key for those that cannot run with the pip install alone (Windows users for example). I can do that 👍

On Feb 25, 2022, at 12:21 PM, Scott Wyman Neagle @.***> wrote:
ah OK I think deleting it is fine. should we include some Docker information in the README or do you think having it in getting started is enough?


Having a Issue with deploying Web App Service Using deployment template

I'm using the Azure SDK version 1.0.0-beta2. I'm using the below template to deploy an App Service Plan and a HTML5 Web App Service.
Template.txt
Using the following code segment I'm deploying the resources.
Azure azure = AzureAuthProvider.authenticate(azureIdentifier);
String deploymentName = azureAppService.getAppServiceName() + resourceGroupName;
String templateJsonCore = TemplateReader.getAppServiceTemplate(azureAppService);
azure.deployments().define(deploymentName)
                .withExistingResourceGroup(resourceGroupName)
                .withTemplate(templateJsonCore)
                .withParameters("{}")
                .withMode(DeploymentMode.INCREMENTAL)
                .create();

After execution only the App Service Plan is created. HTML 5 Web App service deployment failed indicating that it cannot locate the specified App Service Plan which is already created.
Same template successfully deployed both services when I tried to deploy via the Azure Portal using the template.
If anyone have an idea about this please respond.

Just a quick ask about your template - seems like your site should depend on the app service plan?

@jianghaolu Yes. The site depends on the App Service Plan. But App Service Plan is getting deployed correctly. Problem is during the Site deployment, it can't find the App Service Plan.

@sachindragh But in your template I don't see the app service plan in site's "dependOn" list.

the guidance to fix the template has been provided so closing.
If it looks like there is still an issue with the SDK itself, pls reopen.


point to tag for base package instead of deprecated package

The archlinux/base package is marked as deprecated:

This image is deprecated. Please see the new image at https://hub.docker.com/r/archlinux/archlinux

This new package has tags for base and base-devel outlined in the README, so I've pointed this Dockerfile at the tag and it seems to build fine without other changes.
Without this change docker build . fails due to missing glibc symbols during the git installation:
...
#8 127.2 Optional dependencies for git
#8 127.2     tk: gitk and git gui
#8 127.2     perl-libwww: git svn
#8 127.2     perl-term-readkey: git svn and interactive.singlekey setting
#8 127.2     perl-mime-tools: git send-email
#8 127.2     perl-net-smtp-ssl: git send-email TLS support
#8 127.2     perl-authen-sasl: git send-email TLS support
#8 127.2     perl-mediawiki-api: git mediawiki support
#8 127.2     perl-datetime-format-iso8601: git mediawiki support
#8 127.2     perl-lwp-protocol-https: git mediawiki https support
#8 127.2     perl-cgi: gitweb (web interface) support
#8 127.2     python: git svn & git p4
#8 127.2     subversion: git svn
#8 127.2     org.freedesktop.secrets: keyring credential helper
#8 127.2     libsecret: libsecret credential helper [installed]
#8 127.2 :: Running post-transaction hooks...
#8 127.2 (1/7) Creating system user accounts...
#8 127.3 Creating group git with gid 977.
#8 127.3 Creating user git (git daemon user) with uid 977 and gid 977.
#8 127.3 (2/7) Reloading system manager configuration...
#8 127.3   Skipped: Current root is not booted.
#8 127.3 (3/7) Creating temporary files...
#8 127.3 /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc detected, skipping
#8 127.3 All rules containing unresolvable specifiers will be skipped.
#8 127.3 (4/7) Arming ConditionNeedsUpdate...
#8 127.3 (5/7) Warn about old perl modules
#8 127.3 (6/7) Cleaning up package cache...
#8 127.3 (7/7) Updating the info directory file...
#8 127.9 pacman: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by pacman)
#8 127.9 pacman: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libalpm.so.12)

Thanks!

@WhyNotHugo I was hoping this would end up on Docker Hub, but it seems like the attempts to rebuild the default branch are failing, e.g https://github.com/WhyNotHugo/docker-makepkg/commit/be669b568d76d05d5e877af0ef458b9b751363ed

Docker Hub shows it's still 2 months stale:

Any idea what this is (I don't have access to the link on Docker Hub) and if I can help out at all?

I check after merging and the build had at least started.
I'll check why they're failing tomorrow.

Op 2021-04-21 om 00:05 heeft Brendan Forster @.***> het volgende geschreven:

@WhyNotHugo I was hoping this would end up on Docker Hub, but it seems like the attempts to rebuild the default branch are failing, e.g be669b5
Docker Hub shows it's still 2 months stale:
Any idea what this is (I don't have access to the link on Docker Hub) and if I can help out at all?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I've no idea what's up with docker hub:
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
Reset branch 'main'
Your branch is up-to-date with 'origin/main'.
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'19.03.8', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2020-03-11T01:24:30.000000000+00:00', u'ApiVersion': u'1.40', u'MinAPIVersion': u'1.12', u'GitCommit': u'afacb8b7f0', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.12.17'}}, {u'Version': u'1.2.13', u'Name': u'containerd', u'Details': {u'GitCommit': u'7ad184331fa3e55e52b890ea95e65ba581ae3429'}}, {u'Version': u'1.0.0-rc10', u'Name': u'runc', u'Details': {u'GitCommit': u'dc9208a3303feef5b3839f4323d9beb36df0a9dd'}}, {u'Version': u'0.18.0', u'Name': u'docker-init', u'Details': {u'GitCommit': u'fec3683'}}]
Arch: amd64
BuildTime: 2020-03-11T01:24:30.000000000+00:00
ApiVersion: 1.40
Platform: {u'Name': u'Docker Engine - Community'}
Version: 19.03.8
MinAPIVersion: 1.12
GitCommit: afacb8b7f0
Os: linux
GoVersion: go1.12.17
Starting build of index.docker.io/whynothugo/makepkg:main...
Step 1/11 : FROM archlinux:base-devel
---> ae02d194981c
Step 2/11 : COPY run.sh /run.sh
---> 262dce19cc44
Step 3/11 : RUN useradd -m notroot
---> Running in 1cca1bf62159
Removing intermediate container 1cca1bf62159
---> 5ed51e92f2e0
Step 4/11 : RUN pacman -Syu --noconfirm && pacman -Sy --noconfirm git
---> Running in e81081dd8be7
error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman/)

Removing intermediate container e81081dd8be7
The command '/bin/sh -c pacman -Syu --noconfirm && pacman -Sy --noconfirm git' returned a non-zero code: 255

Previous commits also failed with similar senseless errors that I can't reproduce locally. I'm going to change this repository to build externally and push to Docker Hub when done.


Custom icon on print button

How can I have my own font awesome icon on the ol-control-printdialog and not the default icon?
Currently:

What I want:

@1Map this should work by setting the target attribute. See: https://viglino.github.io/ol-ext/doc/doc-pages/ol.control.PrintDialog.html
If it still doesn't work, please describe the problem in detail and provide a minimal reproduction playground using the following Stackblitz starter template.


JMS does not connect

When running the latest 9.3.2 container I  can only connect to the QMGR via admin on DEV.ADMIN.SVRCONN in MQ Explorer, JMSToolBox does not connect.

MQ Explorer: admin on DEV.ADMIN.SVRCONN works
MQ Explorer: app on DEV.APP.SVRCONN error

AMQ8077W: Entity 'app' has insufficient authority to access object SYSTEM.MQEXPLORER.REPLY.MODEL [queue]. [CommentInsert1(app), CommentInsert2(SYSTEM.MQEXPLORER.REPLY.MODEL [queue]), CommentInsert3(inq)]

JMSToolBox: admin on DEV.ADMIN.SVRCONN error

AMQ8077W: Entity 'admin' has insufficient authority to access object QM1 [qmgr]. [CommentInsert1(admin), CommentInsert2(QM1 [qmgr]), CommentInsert3(connect)]
AMQ9557E: Queue Manager User ID initialization failed for 'mqm'. [ArithInsert1(2), ArithInsert2(2035), CommentInsert1(mqm), CommentInsert2(admin), CommentInsert3(admin)]

JMSToolBox: app on DEV.APP.SVRCONN error:

AMQ8077W: Entity 'app' has insufficient authority to access object SYSTEM.ADMIN.COMMAND.QUEUE [queue]. [CommentInsert1(app), CommentInsert2(SYSTEM.ADMIN.COMMAND.QUEUE [queue]), CommentInsert3(put/inq)]

As admin on MQ Explorer worked, I would have expected the JMSToolBox to connect as well.

My questions/issues:

Why do I get an error when connecting as admin with JMSToolBox when MQExplorer works?
Should the app use be allowed to connect by default to help developers?

Thanks in advance

I experience the same issue, posted question on SO https://stackoverflow.com/questions/76260819/how-to-connect-to-local-ibm-mq-container-using-jmstoolbox

MQ Explorer: app on DEV.APP.SVRCONN error
AMQ8077W: Entity 'app' has insufficient authority to access object SYSTEM.MQEXPLORER.REPLY.MODEL [queue]. [CommentInsert1(app), CommentInsert2(SYSTEM.MQEXPLORER.REPLY.MODEL [queue]), CommentInsert3(inq)]

The below link may resolve your issue, please give it a try -
https://www.ibm.com/support/pages/mq-rc-2035-mqrcnotauthorized-or-amq4036-or-jmswmq2013-when-using-client-connection-mq-administrator-chlauth-channel-authentication-records


PLACEHOLDER

Could you add a placeholder for playtime?

This will be added to the next release of LPR.

This has been added to version 3.0.0 of the plugin.


Explore using the on-device LLM for various tasks

What

Explore using on-device LLMs for various tasks. To be clear, this is highly speculative, since only Android has much of the above, and only recent high-end Android have an on-device LLM.

Possible use-cases

Food intake journaling
Ingredient analysis
FAQ/Support (chat?)
other use-cases TBD

Caveats

May drain battery quickly depending on use-cases
Will need to be limited to recent devices (Pixel 6 and higher, at the current date - January 2024). This might change in the future.

How

Fully open on-device LLM: https://ai.google/build/project-guides/llm-on-android-with-keras-and-tensorflow-lite
https://android-developers.googleblog.com/2023/12/leverage-generative-ai-in-your-android-apps.html
App with LLM template: https://developer.android.com/studio/preview/gemini-template
Server side LLMs using a SDK: https://ai.google.dev/tutorials/android_quickstart
On-device Gemini Nano: https://ai.google.dev/tutorials/android_aicore?hl=fr

Originally posted by @teolemon in https://github.com/openfoodfacts/smooth-app/issues/4027#issuecomment-1907898318
Part of

#4027

@AshAman999 I clarified the situation


Problem with reading blobs with Deltatable from deltalake and AzureBlobFileSystem from adlfs; with python

Summary
I am trying to host an app online that has to read blobs with deltalake format from azure blobstorage. To do this I use:
AzureBlobFileSystem from adlfs
DeltaTable from deltalake.
When hosting the website, (with azure App service) everything works well: When given input, the app reads the data from azure blob storage and returns the correct tables.
The problem occurs when the app has been online and unused for several hours: When the app tries to read from the deltalake storage it fails and raises an HttpResponseError with a traceback that is not clear enough for me to understand what the actual issue is. When I restart the app, everything works fine again untill you wait for a few hours: The same bug keeps returning.
I am not sure if the problem occurs in the adlfs package or the deltalake package. I hope that someone here can help to understand where it is failing and why and knows a solution to the problem!
Thanks in advance
Traceback
HttpResponseError: The range specified is invalid for the current size of the resource.
RequestId:2988ea13-601e-0083-40f7-47b68d000000 Time:2022-04-04T07:42:05.9077599Z
ErrorCode:InvalidRange Content: <?xml version="1.0"
encoding="utf-8"?><Error>InvalidRange<Message>
The range specified is invalid for the current size of the resource.
RequestId:2988ea13-601e-0083-40f7-47b68d000000 Time:2022-04-04T07:42:05.9077599Z</Message></Error>

Traceback:
File "/opt/venv/lib/python3.9/site-packages/streamlit/script_runner.py", line 379, in _run_script
    exec(code, module.__dict__)
File "/app/src/incasso/dashboard_form.py", line 95, in <module>
    eenheid = find_eenheidnum(deelcontractnummer, fs).iloc[0]
File "/opt/venv/lib/python3.9/site-packages/sklego/pandas_utils.py", line 81, in wrapper
    result = func(*args, **kwargs)
File "/opt/venv/lib/python3.9/site-packages/incasso/dashboard_functions.py", line 29, in find_eenheidnum
    DeltaTable("20-silver/edh/woc_contracten", file_system=fs)
File "/opt/venv/lib/python3.9/site-packages/deltalake/deltatable.py", line 45, in __init__
    self._as_newest_version()
File "/opt/venv/lib/python3.9/site-packages/deltalake/deltatable.py", line 151, in _as_newest_version
    self._apply_partial_logs(version=self.checkpoint + 9)
File "/opt/venv/lib/python3.9/site-packages/deltalake/deltatable.py", line 113, in _apply_partial_logs
    for line in log:
File "/opt/venv/lib/python3.9/site-packages/fsspec/spec.py", line 1616, in __next__
    out = self.readline()
File "/opt/venv/lib/python3.9/site-packages/fsspec/spec.py", line 1613, in readline
    return self.readuntil(b"\n")
File "/opt/venv/lib/python3.9/site-packages/fsspec/spec.py", line 1596, in readuntil
    part = self.read(blocks or self.blocksize)
File "/opt/venv/lib/python3.9/site-packages/fsspec/spec.py", line 1565, in read
    out = self.cache._fetch(self.loc, self.loc + length)
File "/opt/venv/lib/python3.9/site-packages/fsspec/caching.py", line 154, in _fetch
    self.cache = self.fetcher(start, end)  # new block replaces old
File "/opt/venv/lib/python3.9/site-packages/fsspec/asyn.py", line 91, in wrapper
    return sync(self.loop, func, *args, **kwargs)
File "/opt/venv/lib/python3.9/site-packages/fsspec/asyn.py", line 71, in sync
    raise return_result
File "/opt/venv/lib/python3.9/site-packages/fsspec/asyn.py", line 25, in _runner
    result[0] = await coro
File "/opt/venv/lib/python3.9/site-packages/adlfs/spec.py", line 1804, in _async_fetch_range
    stream = await self.container_client.download_blob(
File "/opt/venv/lib/python3.9/site-packages/azure/core/tracing/decorator_async.py", line 74, in wrapper_use_tracer
    return await func(*args, **kwargs)
File "/opt/venv/lib/python3.9/site-packages/azure/storage/blob/aio/_container_client_async.py", line 1000, in download_blob
    return await blob_client.download_blob(
File "/opt/venv/lib/python3.9/site-packages/azure/core/tracing/decorator_async.py", line 74, in wrapper_use_tracer
    return await func(*args, **kwargs)
File "/opt/venv/lib/python3.9/site-packages/azure/storage/blob/aio/_blob_client_async.py", line 480, in download_blob
    await downloader._setup()  # pylint: disable=protected-access
File "/opt/venv/lib/python3.9/site-packages/azure/storage/blob/aio/_download_async.py", line 250, in _setup
    self._response = await self._initial_request()
File "/opt/venv/lib/python3.9/site-packages/azure/storage/blob/aio/_download_async.py", line 336, in _initial_request
    process_storage_error(error)
File "/opt/venv/lib/python3.9/site-packages/azure/storage/blob/_shared/response_handlers.py", line 181, in process_storage_error
    exec("raise error from None")   # pylint: disable=exec-used # nosec
File "<string>", line 1, in <module>

Hey @vvandermeij, thanks for reaching out.
It sounds like something that might be a bit tricky for me to reproduce, so might take some time to debug.
Would you be able to share some snippets of how you use the library in your code?
Do you instantiate the AzureBlobFileSystem on startup, and then call DeltaTable(...) every time someone interacts with the app?

Hi @jeppe742
Thank you for the quick response.
fs = AzureBlobFileSystem(
    account_name=account_name,
    credential=sas_key
)

Is initiated at least once every time a user uses the app.
the function where we get the error the most often is the following:
def find_adres(eenheidnum, fs):
    """function that retrieves the adres of a eenheidnummer from the datalake.

    Args:
        eenheidnum: the eenheidnum that we want to know the adres from
        fs: the file system that is used to log in to the datalake

    Returns:
        a pandas dataframe with the adres
    """
    return (DeltaTable("20-silver/edh/woc_eenheden", file_system=fs)
            .to_table(columns=['huisnummer',
                               'straatnaam',
                               'huisnummertoevoeging',
                               'huisnummerletter'],
                      filter=(ds.field('eenheidnummer') == eenheidnum))
            .to_pandas())

Thank you for looking in to this!


(FACT-1729) Refactor FFI declarations

Facter redefines FFI constants in the same area as Puppet.  This can cause Ruby warnings, and has the potential to redefine methods that already exist in Puppet with older / errant code.
To insulate Facter from Puppet, move these similar definitions to new namespaces and update callsites accordingly.

CLA signed by all contributors.

Was able to verify that this gets rid of the errors that have been appearing on Windows when running puppet unit tests 👍


Show login error message in pop up dialog.

The error message showing right now is on toast mode. That should be shown in a dialog box where there should be a option for close app or show previous attendance.

See #11


Apollo classes generated with 2 errors

I'm trying to run the following simple query that works fine on insomnia
query  BrandsQuery {
brands {
results {
_id
}
}
}
but when trying to run I get the following error messages:
/Users/eyalzisman/Developer/ApolloTest/app/build/generated/source/apollo/classes/com/apollographql/apollo/sample/BrandsQuery.java:210: error: <anonymous com.apollographql.apollo.sample.BrandsQuery$Brands$1$1> is not abstract and does not override abstract method write(List,ListItemWriter) in ListWriter
writer.writeList($responseFields[1], results, new ResponseWriter.ListWriter() {
^
/Users/eyalzisman/Developer/ApolloTest/app/build/generated/source/apollo/classes/com/apollographql/apollo/sample/BrandsQuery.java:211: error: method does not override or implement a method from a supertype
@Override
^
Note: /Users/eyalzisman/Developer/ApolloTest/app/src/main/java/com/example/applevel/MyApplication.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
I'm using:
classpath 'com.apollographql.apollo:apollo-gradle-plugin:1.0.0-alpha2'

and:
implementation "com.apollographql.apollo:apollo-runtime:1.0.0-alpha2"
implementation "com.apollographql.apollo:apollo-android-support:1.0.0-alpha2"
implementation "com.apollographql.apollo:apollo-rx2-support:1.0.0-alpha2"
Please help

Could you please try a snapshot version?

OK I was combining 1.0.1-SNAPSHOT for the plugin and 0.5.0 for the dependencies and it seem to work.
Thanks.


Remove concurrent search nightlies and add multi-node ES-7.10.2 nightlies

Description
This PR:

removes concurrent search feature nightly runs as they are doing their own benchmarking.
adds multinode nightly runs for ES-7.10.2.

Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do we also need to remove concurrent search nightlies for 3.0.0 (if applicable)?

3.0.0 concurrent-search nightlies have already been removed.


Local Kubernetes Object Storage

Create a Helm chart for the existing SeaweedFS image: https://github.com/mercedes-benz/sechub/tree/develop/sechub-pds-solutions/shared/docker/object-storage

Ensure, that it can be used by SecHub and pds-gosec. Both deployed into the local Kubernetes (Minikube) and use the object-storage (SeeweedFS).

Increase the number of SecHub and pds-gosec instances to 3 and perform a successful test scan.

Part of: #2529


⚠ Bofrost.de has degraded performance

In 0fc987d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 782 ms

Resolved: Bofrost.de performance has improved in f2460ee after 1 hour.


Import in SingleComponent not working (Options API)

Have you ever tried to use Vue3DataTable inside a component only? I wanted to avoid importing it on application level and setup as global component, so i tryed:
<script setup>
  import { ref } from 'vue'
  import Vue3EasyDataTable from 'vue3-easy-data-table'
  import 'vue3-easy-data-table/dist/style.css'
</script>

When i Try to rename the imported component with:  import { Vue3EasyDataTable as EasyDataTable } from 'vue3-easy-data-table' i get the following error: SyntaxError: ambiguous indirect export: Vue3EasyDataTable
Does anyone know why?
Tip: You can fix this easy by importing it import Vue3EasyDataTable from 'vue3-easy-data-table' and then assign to another variable:
const EasyDataTable = Vue3EasyDataTable

When using the form import { Vue3EasyDataTable as EasyDataTable } from 'vue3-easy-data-table' you don't use the default export anymore but expect the module vue3-easy-data-table to export something with the name Vue3EasyDataTable.
If you want to import the whole module as EasyDataTable instead of Vue3EasyDataTable, just do it like this:
import EasyDataTable from 'vue3-easy-data-table', it works! The general form import [name] from [module] imports the default export of [module] and allows to access it via [name]. You can read more about this on mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Does that answer your question / helps you further? :)

👍🏼 thanks... still not familiar enough with js-imports ;)


Remove use of for..of

As mentioned in babel docs, use of for..of requires support for Symbol.iterator (or a polyfill for it). Since for..of is used only once in the code, I find it easier to use more traditional looping instead of setting up polyfills for it.
Related issue: https://github.com/tasti/react-linkify/issues/8

@tasti can we merge this?

@goldensunliu how about we use forEach instead?

Yeah, that's even better. I changed it to use forEach.

Thanks!


Add Daohaus Connect to Summoner in Navigation

TODO

[ ] Explore adding navigation components to daohaus-connect
[x] Export connect button on it's own
[x] Adds context and package to the app
[ ] Navigation should be super simple now - takes props for logo/name/route

Considerations

Review Hub app shell/components
Advanced nav/search ect... are not included in alpha

DH Connect is already in Summoner, The different components of DH connect can be imported separately. We just those exploration steps around the switcher element.
Personally, I think it would be really helpful for it to have it live inside the nav. It could be something like this:

If we add a list of apps to nav to as props, then DAOhaus nav will render the switcher
If we do not pass that list, it won't render.
We can also leave a UI slot there so that we could pass in a custom element to render in that space.

Ah! Good note -- thanks @jordanlesich
I missed this

Marking this as finished as we already integrated this in the Summon-app.
We explored adding building the switcher drop-down and adding it into the nav for both the SK + JP meeting + the dev meeting.
I'd say we're set to spec and build this out once the designs are solidified.

Adding it to review instead in case there's something I'm missing here.


[NewPlugin]  ImNotAVirus delphi_ninja v0.1.0

Please add my plugin to the repository.
Yes, I've read the instructions, especially the part about creating an actual release and creating the tag.
I either used the UI, or the hub command to create a real release.
Author: ImNotAVirus
Repo name: delphi_ninja
Release: v0.1.0

Thanks! Added.
For future releases if you can please omit the v we're trying to standardize on just the number.


Added link to describe Azure Subscriptions

Added a link to the MS docs information page to describe what an Azure Subscription is.

@cuperman007 Thank  you for your contribution. While I think that this contribution could be useful, I don't think it's quite the right link for this purpose considering it speaks more to O365 than Azure. I would look to see if there is another link that would accurately describe an Azure Subscription so the reader of the article has the most accurate information at their finger tips when reviewing the article.


[Suggestion] BetterF3 for 1.15.2

We need it, too. It's a good mod. Please make a mod for Minecraft 1.15.2, thank you very much!
:D

This would be very hard to do on 1.15, it doesn't have RGB text like 1.16 does, so it would be limited to the 16 colors that are available there. Even then, it's still quite a bit of work for a version that's more than a year old. If anyone else wants to port it they can of course, I just don't have any plans to.


Does not work on windows

I installed it using pip and install PyQt5 and all i get when running is
PS C:\Users\Sandorex> pter
Neither PyQt5 nor curses are installed.

Thanks for reporting this!
The default interface is based on curses and is known to not work that great on Windows in the first place, even if you install windows-curses from pypi. So Qt5 is a good choice.
Could you tell me what happens when you attempt to import PyQt5 from your python prompt?

Ah this is my bad, my mind did not see the section about PyQt, qpter does work!
Sorry for the trouble

No problem, glad it works. Maybe I should be more explicit in the README then. :thinking:

Maybe I should be more explicit in the README then. 🤔

Maybe just placing the command for launching with QT just below the TUI one would prevent someone from missing it like i did

To launch pter you have to tell it where your todo.txt file is:
pter ~/todo.txt

# GUI mode using QT (requires PyQt5)
qpter ~/todo.txt

...

Fixed in  9def513c836f6789aa0b7b1881175520b12b845f