text:
Implement Test Execution engine for TestGrid

Description:
Implementing the test execution engine of TestGrid.
Suggested Labels:
Type/new feature
Suggested Assignees:
Sameera Wickramasekara
Affected Product Version:
0.90
OS, DB, other environment details and versions:
Linux/Ubuntu
Steps to reproduce:
Try to execute Given set of tests form test-grid
Related Issues:
N/A

Resolved by #4


text:
GraphQL Subscriptions are not working for StarWarsAPI

Description
Error when invoking GraphQL subscriptions in the StarWars API backend [1]. This only happens with the StarWarsAPI backend.
Steps to Reproduce

Follow the steps in [2] in order.

In the 2nd step in [2], you can see that the connection_ack is coming to the UI (or if you are using wscat, connection_ack will come to the command line) as shown below.
If you are using the UI

If you are using wscat

An error log will be printed in the server logs as well

[2022-12-13 14:54:52,145] ERROR - WebSocketClientHandler Error encountered while processing the response
io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
	at io.netty.util.internal.ReferenceCountUpdater.toLiveRealRefCnt(ReferenceCountUpdater.java:83) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.util.internal.ReferenceCountUpdater.release(ReferenceCountUpdater.java:147) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:101) ~[io.netty.buffer_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.buffer.DefaultByteBufHolder.release(DefaultByteBufHolder.java:111) ~[io.netty.buffer_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:90) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:106) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[io.netty.codec_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) ~[io.netty.codec_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) ~[io.netty.codec_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) ~[io.netty.transport_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[io.netty.common_4.1.79.Final.jar:4.1.79.Final]
	at java.lang.Thread.run(Thread.java:829) [?:?]

After that, when you perform the step 3 in [2], the subscription event response will not be shown in the GraphiQL console as mentioned under the step 4 in [2].

Affected Component
Analytics
Version
4.2.0-Pre-Alpha
Environment Details (with versions)

JDK 11 (or 17)
Ubuntu
Chrome/Firefox

Relevant Log Output
No response
Related Issues

https://github.com/wso2/api-manager/issues/1118

Suggested Labels
No response
[1] https://github.com/wso2/samples-apim/tree/master/graphql-backend
[2] https://apim.docs.wso2.com/en/latest/consume/invoke-apis/invoke-apis-using-tools/invoke-an-graphql-api-using-the-integrated-graphql-console/#invoke-a-graphql-subscription-operation

This is not working after carbon-mediation upgrade (after 4.7.143 release).

source: gharchive/issue

authors: dushaniw wasuradananjith

license_type: permissive

license_source: github-api


text:
[4.2.0][Dependency Upgrade] Upgrade swagger-ui version

Description
swagger-ui npm dependency version in devportal app needs to be upgraded to 4.1.3 to address below CVE.

CVE-2018-25031

Affected Component
APIM
Version
4.2.0
Related Issues
No response
Suggested Labels
No response

This dependency upgrade was kept on hold during the 4.2.0 release due to complications.


text:
Issue in apiproperties

Description:
interceptor recieve some non empty values when properties haven't event configured .
maybe this only happens for post resources.
apiProperties = "{'propertyName1':'propertyValue1','propertyName2':'propertyValue2'}"

---
kind: "InterceptorService"
apiVersion: "dp.wso2.com/v1alpha1"
metadata:
  name: "response-interceptor-service-0-268309bb509758d0ec2ac03f96929cbb001e10cb-resource"
  labels:
    api-name: "de574cb5033a46c4ebc5cceba2117fc997c8c5ed"
    api-version: "91e95be6b6634e3c21072dfcd661146728694326"
    organization: "ca660bf19297d26c4d75e181527267301974a2cc"
    managed-by: "apk"
spec:
  backendRef:
    name: "backend-fc2d44b898e23f44130517865cc529a9d9c0cd5c-interceptor"
  includes:
  - "response_headers"
  - "response_body"
  - "response_trailers"
  - "invocation_context"
status: null

kind: "API"
apiVersion: "dp.wso2.com/v1alpha1"
metadata:
  name: "268309bb509758d0ec2ac03f96929cbb001e10cb"
  labels:
    api-name: "de574cb5033a46c4ebc5cceba2117fc997c8c5ed"
    api-version: "91e95be6b6634e3c21072dfcd661146728694326"
    organization: "ca660bf19297d26c4d75e181527267301974a2cc"
    managed-by: "apk"
spec:
  apiDisplayName: "InterceptorAPI"
  apiType: "REST"
  apiVersion: "1.0.0"
  context: "/interceptor/1.0.0"
  organization: "apk-org"
  isDefaultVersion: true
  definitionFileRef: "268309bb509758d0ec2ac03f96929cbb001e10cb-definition"
  production:
  - httpRouteRefs:
    - "01ee2d30-6919-1260-b370-dfe749da03ea"
  sandbox: null
  apiProperties: []
status: null

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

closing as this was just a configuration issue


text:
Add FAQs

Purpose

$subject

FAQs - APK Documentation 1.0.0.pdf

source: gharchive/pull-request


text:
Update SF connector sample values

Purpose

Add sample values to Salesforce Rest connector documentation.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Hasitha Abeykoon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant abeykoon


text:
When value field of the property mediator has " characters the generated code contains an error

Description:
Consider the following values for the property mediator form,

When the value field contains " the code generated code gives an error.

This is already fixed.


text:
Issue when enabling email as username for tenants

Description:
Following issues occurred when enabling email as username for tenants.
If we follow the steps mentioned in the 4.0.0 documentation (which points IS documentation - [1]) and enable email as username following error gets printed in the logs:
ERROR - DataEndpointConnectionWorker Error while trying to connect to the endpoint. Cannot borrow client for ssl://172.17.0.1:9712.
org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Cannot borrow client for ssl://172.17.0.1:9712.
	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:145) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:59) [org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException: Error while trying to login to data receiver :/172.17.0.1:9712
	at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:50) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	... 6 more
Caused by: org.wso2.carbon.databridge.commons.exception.AuthenticationException: java.lang.NullPointerException
	at sun.reflect.GeneratedConstructorAccessor391.newInstance(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_171]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_171]
	at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender.processResponse(BinaryEventSender.java:163) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	at org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:44) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:139) ~[org.wso2.carbon.databridge.agent_5.2.34.jar:?]
	... 6 more

And the API invocation in tenants is failing with the following error trace:
INFO - LogMediator To: local://axis2services/pizzashack/1.0.0/menu, MessageID: urn:uuid:7680c12c-f797-4779-90d5-1a2b12fdb222, Direction: request

As a workaround when trying the suggestion provided in [2] (Configured super admin username as admin@wso2.com@carbon.super), API invocation was successful, but following error is thrown when loading the tenant:

ERROR - ReservedUserCreationObserver Error occurred while getting the realm configuration, User store properties might not be returned
org.wso2.carbon.user.core.UserStoreException: 31301 - Username apim_reserved_user is not valid. User name must be a non null string with following format, ^[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:210) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addUser(AbstractUserStoreManager.java:4663) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	at org.wso2.is.key.manager.core.observers.ReservedUserCreationObserver.createReservedUser(ReservedUserCreationObserver.java:69) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.is.key.manager.core.observers.ReservedUserCreationObserver.createdConfigurationContext(ReservedUserCreationObserver.java:47) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:356) [org.wso2.carbon.core_4.6.1.jar:?]
	at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148) [org.wso2.carbon.core_4.6.1.jar:?]
	at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfiguration(TenantAxisUtils.java:104) [org.wso2.carbon.core_4.6.1.jar:?]
	at org.wso2.is.key.manager.core.tokenmgt.util.TokenMgtUtil.loadTenantConfigBlockingMode(TokenMgtUtil.java:350) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.is.key.manager.core.tokenmgt.issuers.AbstractScopesIssuer.getAppScopes(AbstractScopesIssuer.java:136) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.is.key.manager.core.tokenmgt.issuers.RoleBasedScopesIssuer.getScopes(RoleBasedScopesIssuer.java:299) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.is.key.manager.core.tokenmgt.issuers.RoleBasedScopesIssuer.validateScope(RoleBasedScopesIssuer.java:120) [wso2is.key.manager.core_1.2.5.jar:?]
	at org.wso2.carbon.identity.oauth2.authz.handlers.AbstractResponseTypeHandler.validateScope(AbstractResponseTypeHandler.java:113) [org.wso2.carbon.identity.oauth_6.4.111.jar:?]
	at org.wso2.carbon.identity.oauth2.authz.AuthorizationHandlerManager.validateScope(AuthorizationHandlerManager.java:198) [org.wso2.carbon.identity.oauth_6.4.111.jar:?]
	at org.wso2.carbon.identity.oauth2.authz.AuthorizationHandlerManager.validateAuthzRequest(AuthorizationHandlerManager.java:157) [org.wso2.carbon.identity.oauth_6.4.111.jar:?]
	at org.wso2.carbon.identity.oauth2.authz.AuthorizationHandlerManager.handleAuthorization(AuthorizationHandlerManager.java:92) [org.wso2.carbon.identity.oauth_6.4.111.jar:?]
	at org.wso2.carbon.identity.oauth2.OAuth2Service.authorize(OAuth2Service.java:105) [org.wso2.carbon.identity.oauth_6.4.111.jar:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.authorize(OAuth2AuthzEndpoint.java:2288) [classes/:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.handleUserConsent(OAuth2AuthzEndpoint.java:964) [classes/:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.handleConsent(OAuth2AuthzEndpoint.java:1855) [classes/:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.doUserAuthorization(OAuth2AuthzEndpoint.java:1829) [classes/:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.handleSuccessfulAuthentication(OAuth2AuthzEndpoint.java:714) [classes/:?]
	at org.wso2.carbon.identity.oauth.endpoint.authz.OAuth2AuthzEndpoint.handleAuthenticationResponse(OAuth2AuthzEndpoint.java:685) [classes/:?]
	.....
Caused by: java.security.PrivilegedActionException
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_171]
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:196) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	... 83 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:199) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_171]
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:196) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	... 83 more
Caused by: org.wso2.carbon.user.core.UserStoreException: 31301 - Username apim_reserved_user is not valid. User name must be a non null string with following format, ^[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addUser(AbstractUserStoreManager.java:4851) ~[org.wso2.carbon.user.core_4.6.1.jar:?]
	at sun.reflect.NativeMethodAccessorI

[1] https://is.docs.wso2.com/en/5.10.0/learn/using-email-address-as-the-username/
[2] https://github.com/wso2/product-apim/issues/2618

Didn't face above issues when following https://apim.docs.wso2.com/en/latest/install-and-setup/setup/security/logins-and-passwords/maintaining-logins-and-passwords/#setup-an-e-mail-login doc,
API could could be invoked with a tenant user without above error as well.
Tested in carbon-apimgt- 9.0.79
Didn't try to login or do anything with apim_reserved_user, since it might be a user for internal product usage.

Above error can be reproduced if we add following config and create a new tenant and login
[user_store]
type = "database_unique_id"
username_java_regex = '^[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}'
username_java_script_regex = '^[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}$'


text:
Doc Feedback: Mention the token cleanup step in the documentation

Location : https://is.docs.wso2.com/en/5.10.0/setup/migrating-preparing-for-migration/
Not executing the token-cleanup scripts prior to running the migration would cause some issues if the token-cleanup is not enabled. So it would be better to mention it as in [1]
[1]. https://docs.wso2.com/display/IS580/Upgrading+from+the+Previous+Release#UpgradingfromthePreviousRelease-Preparingformigration

Addressed in https://github.com/wso2/docs-is/pull/3232

authors: ashendes harshanL


text:
Create a Lite User - cURL command spelling error

Is your suggestion related to a missing or misleading document? Please describe.
The cURL command to create a lite user has a spelling error. It is mentioned "preferedChannel" where it should be mentioned as "preferredChannel".
https://is.docs.wso2.com/en/latest/learn/lite-user-registration/#create-a-lite-user
Describe the improvement
"preferedChannel"   ->    "preferredChannel"

In the current sample it has ' preferredChannel '. Hence closing the issue.

authors: DMHP JeethJJ


text:
An unexpected token ""UNIQUE"" was found against DB2 11.5 in identity > db2.sql

Suggested Labels
Affected/ IS 5.10.0 M8 Snapshot
Type/ Bug
Priority/ High
Severity / Major
Steps to Reproduce
Source the following DB2 script against DB2 11.5
/dbscripts/identity/db2.sql
Observation
"SQL Error [42601]: An unexpected token ""UNIQUE"" was found following ""ENANT_ID, NAME)
    "".  Expected tokens may include:  "","".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.25.13
SQL Error [42601]: An unexpected token ""UNIQUE"" was found following ""ENANT_ID, NAME)
    "".  Expected tokens may include:  "","".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.25.13
  An unexpected token ""UNIQUE"" was found following ""ENANT_ID, NAME)
    "".  Expected tokens may include:  "","".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.25.13
  An unexpected token ""UNIQUE"" was found following ""ENANT_ID, NAME)
    "".  Expected tokens may include:  "","".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.25.13
"

Related Script section for the above issue is as below
CREATE TABLE IDP (
			ID INTEGER NOT NULL,
			TENANT_ID INTEGER NOT NULL,
			NAME VARCHAR(254) NOT NULL,
			IS_ENABLED CHAR(1) NOT NULL DEFAULT '1',
			IS_PRIMARY CHAR(1) NOT NULL DEFAULT '0',
			HOME_REALM_ID VARCHAR(254),
			IMAGE BLOB,
			CERTIFICATE BLOB,
			ALIAS VARCHAR(254),
			INBOUND_PROV_ENABLED CHAR (1) NOT NULL DEFAULT '0',
			INBOUND_PROV_USER_STORE_ID VARCHAR(254),
 			USER_CLAIM_URI VARCHAR(254),
 			ROLE_CLAIM_URI VARCHAR(254),
 			DESCRIPTION VARCHAR (1024),
 			DEFAULT_AUTHENTICATOR_NAME VARCHAR(254),
 			DEFAULT_PRO_CONNECTOR_NAME VARCHAR(254),
 			PROVISIONING_ROLE VARCHAR(128),
 			IS_FEDERATION_HUB CHAR(1) NOT NULL DEFAULT '0',
 			IS_LOCAL_CLAIM_DIALECT CHAR(1) NOT NULL DEFAULT '0',
 			DISPLAY_NAME VARCHAR(254),
 			IMAGE_URL VARCHAR(1024),
 			UUID CHAR(36) NOT NULL,
 			PRIMARY KEY (ID),
 			UNIQUE (TENANT_ID, NAME)
 			UNIQUE (UUID))
;

Fixed with https://github.com/wso2/carbon-identity-framework/pull/2597

authors: ShanikaWickramasinghe mefarazath


text:
HTTP Sink -  java.lang.NoClassDefFoundError

Description:
Encountered the following error when using HTTP Sink.
[2018-07-17 17:27:53,672] ERROR {org.wso2.transport.http.netty.sender.TargetHandler} - Exception occurred in TargetHandler for channel acde48fffe001122-0001156f-00000004-ba055f38fabeb73e-ffdf1bc3 java.lang.NoClassDefFoundError: io/netty/handler/codec/http2/Http2ConnectionPrefaceAndSettingsFrameWrittenEvent
at org.wso2.transport.http.netty.sender.TargetHandler.userEventTriggered(TargetHandler.java:214)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315)
at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307)
at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315)
at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307)
at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315)
at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireUserEventTriggered(CombinedChannelDuplexHandler.java:432)
at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108)
at io.netty.handler.codec.ByteToMessageDecoder.userEventTriggered(ByteToMessageDecoder.java:353)
at io.netty.handler.codec.http.HttpObjectDecoder.userEventTriggered(HttpObjectDecoder.java:460)
at io.netty.channel.CombinedChannelDuplexHandler.userEventTriggered(CombinedChannelDuplexHandler.java:243)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315)
at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307)
at io.netty.channel.DefaultChannelPipeline$HeadContext.userEventTriggered(DefaultChannelPipeline.java:1377)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329)
at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315)
at io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:929)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.closeOnRead(AbstractNioByteChannel.java:88)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:106)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:145)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: io.netty.handler.codec.http2.Http2ConnectionPrefaceAndSettingsFrameWrittenEvent cannot be found by org.wso2.transport.http.netty_6.0.163
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:398)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 34 more
Affected Product Version:
4.2.0

Im having the same issue.
@nihlaakram Did you found a workaround?

Same issue here.
Did anyone find solution ?

Hi @flolas , @prashantkt10,
As a workeround, you can download and add this jar[1] to <SP_HOME>/lib directory and restart the server.
This will be properly fixed in the next siddhi-io-http release.
[1] https://mvnrepository.com/artifact/io.netty/netty-codec-http2/4.1.19.Final
Regards,
Minudika

Hi @minudika ,
I've added the jar in <SP_HOME>/lib and started getting this exception:
[2018-10-26_18-10-37_396] ERROR {org.wso2.transport.http.netty.sender.TargetHandler} - Exception occurred in TargetHandler for channel a63f2bfffe194b9a-000069ea-0000002b-dc3e4f0d2f2f4339-2dbafb0b
java.util.concurrent.RejectedExecutionException: Task org.wso2.extension.siddhi.io.http.source.HttpResponseProcessor@11abd2f8 rejected from java.util.concurrent.ThreadPoolExecutor@469d796e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 12]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
	at org.wso2.extension.siddhi.io.http.source.HttpResponseConnectorListener.onMessage(HttpResponseConnectorListener.java:62)
	at org.wso2.extension.siddhi.io.http.source.HttpResponseMessageListener.onMessage(HttpResponseMessageListener.java:60)
	at org.wso2.transport.http.netty.contractimpl.DefaultHttpResponseFuture.notifyHttpListener(DefaultHttpResponseFuture.java:108)
	at org.wso2.transport.http.netty.sender.TargetHandler.channelRead(TargetHandler.java:101)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1336)
	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1127)
	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1162)
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
	at java.lang.Thread.run(Thread.java:748)

Related to  https://github.com/wso2/product-sp/issues/928

The transport-http and msf4j bump has been merged (https://github.com/wso2-extensions/siddhi-io-http/pull/106). This fix is available from siddhi-io-http 1.1.1


text:
\tl_case:Nnn undefined.

This is a bug report from jswxm@bbs.ctex.org (this is not an email address).
jswxm says that the following code could not work with the unicode-math package, version 0.7f; in terms of version 0.8, the left vert disappears in the output PDF document.
\documentclass{article}

%\usepackage{amsmath}
\usepackage{unicode-math}

\begin{document}

        $\left|{2-1}  \right|=|1-2|$,

        $\big|{2-1}  \big|=|1-2|$

\end{document}

A new release will be heading to CTAN in the next few days…

repo: wspr/unicode-math


text:
Need example for browserify with npm module

I don't know why this module isn't working when I try to use it with Angular and npm with Browserify. I can install any other module, require it in app.js, and it works. Here's my package.json:
{
  "name": "test",
  "version": "0.0.0",
  "description": "## Development \tnpm install -g bower json-proxy \tbower install",
  "main": "Gruntfile.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "None",
  "license": "ISC",
  "dependencies": {
    "angular": "1.2.23",
    "angular-bootstrap": "^0.12.0",
    "angular-module-resource": "1.2.19",
    "angular-resource": "0.1.1",
    "angular-route": "1.2.17-build.163.1",
    "angular-treemendous": "^0.2.3",
    "bootstrap": "^3.2.0",
    "gulp": "^3.8.7",
    "gulp-browserify": "^0.5.1",
    "gulp-concat": "^2.3.4",
    "gulp-jshint": "^1.9.0",
    "gulp-load-plugins": "^0.6.0",
    "gulp-webserver": "^0.7.0",
    "morgan": "^1.5.1"
  },
  "devDependencies": {
    "chai": "^1.9.1",
    "chai-as-promised": "^4.1.1",
    "mocha": "^1.21.4",
    "protractor": "^1.1.1"
  }
}

Here's app.js:
  var ngTreemendous = require('angular-treemendous');
  var app = angular.module('app', ['ngRoute', 'ngResource', 'ui.bootstrap','treemendous']);

Gulp browserify:
	gulp.task('browserify', ['lint', 'templates'], function() {
	  var jsFiles = ['js/app.js'];
	  gulp.src(jsFiles)
	  	.pipe(plugins.browserify({debug: true, insertGlobals: true}))
	  	.pipe(plugins.concat('bundle.js'))
	  	.pipe(gulp.dest(dest));
	});

I get an error saying:
Error: module "angular-treemendous" not found from "/Users/myuser/my-webapp/js/fake_84520517.js"
The module is definitely installed. I've had two co-workers review and we can't find the problem.

Oops -- package.json was out of date. The "main" field should be "angular-treemendous.js"
I have limited internet access at the moment... I quickly committed the change, but it may take me a couple days to bump the version and publish to npm. In the meantime, just go in and change the "main" field in the angular-treemendous package.json and see if that fixes it...

+1 for a bump

Closing in favor of #2

authors: funkytaco paulpflug wtfribley

repo: wtfribley/angular-treemendous

license: mit

license_source: bigquery


text:
Merging packages does not work since Gradle 7.x

       rootProject.name = "example"

                include("ui.apps")
                include("ui.content")
                include("assembly")

plugins {
    id("com.cognifide.aem.package")
    id("maven-publish")
}

group = "com.company.example.aem"

tasks {
    packageCompose {
        mergePackageProject(":ui.apps")
        mergePackageProject(":ui.content")
    }
}

publishing {
    repositories {
        maven(rootProject.file("build/repository"))
    }

    publications {
        create<MavenPublication>("maven") {
            artifact(tasks["packageCompose"])
        }
    }
}

Adding
evaluationDependsOn(":ui.apps")
evaluationDependsOn(":ui.content")

fixes initial problem but looks like Gradle changed sth internally about configuration phase task ordering.
GAP need to align here to recover that advanced package merging feature or redesign it completely.

probably no longer needed, closing

@krystian-panek-wttech what is the status of this. I get

Merging packages does not work properly since Gradle 7.x.
See: https://github.com/wttech/gradle-aem-plugin/issues/884

I don’t know what

probably no longer needed, closing

means in this context. Is the feature no longer needed or is the workaround no longer needed?

due to Gradle internal changes related to Gradle lifecycle (when upgrading some major version) configuration phase and execution phase) the GAP methods like mergeX stopped working properly (they become unstable).
due to that fact I decided to throw exception to stop using them because I haven't found reasonable workaround to recover this functionality.
as a workaround, it is needed to be done something like this in AEM stubs - https://github.com/wttech/aem-stubs/pull/57/files

Thanks for the clarification. So the issue wasn’t closed because it was fixed but because it won’t be fixed.
Weirdly enough, I was always using mergePackage with Gradle 7+ without any issues. I now switched to the overload that doesn’t emit the warning:
mergePackage(project(":otherpackage").tasks.named<PackageCompose>(PackageCompose.NAME))

I will consider using aemc when starting a fresh project but, damn, GAP + Gradle is a match made in heaven and I fear the worst having to switch back to maven.

I will consider using aemc when starting a fresh project but, damn, GAP + Gradle is a match made in heaven and I fear the worst having to switch back to maven.

Actually, reading about what AEMC does, I don’t think it’s at all a replacement for GAP at all, at least in how we use it. We use virtually none of the instance management and mainly use it for building our project.

authors: krystian-panek-wttech pun-ky sabberworm

repo: wttech/gradle-aem-plugin


text:
Option to add a progress bar to the final GIF

A progress bar added to the GIF export would allow viewers to gauge how much of the video they have seen. This is an example of adding on in a third-party product, but this could be done automatically.
https://www.excelcampus.com/library/add-progress-bar-to-gif/

That's a cool idea, but outside the scope of Kap itself. We are considering adding a plugin API in the future that would make this possible: https://github.com/wulkano/kap/issues/550#issuecomment-425318838

authors: rsalesas sindresorhus

repo: wulkano/kap


text:
Restart Timer

Hi thanks for the plugin! is it possible to restart the time or countdown to original endTime?

You can restart it by modifying endTime.
setState(() {
            endTime = newEndTime;
          });

setState(() {
endTime = newEndTime;
});
does not reset either

setState(() {
endTime = newEndTime;
});
does not reset either

If a controller is used
controller.endTime = newEndTime;
          controller.start();

You can try this... it worked for me.
`  setState(() {
// new endTime from TextField
endTime = DateTime.now().millisecondsSinceEpoch +
Duration(seconds: int.parse(timeTextCtrl.text))
.inMilliseconds;
controller =
CountdownTimerController(endTime: endTime, onEnd: onEnd);
controller.start();
          });`

You can try this... it worked for me.
` setState(() { // new endTime from TextField endTime = DateTime.now().millisecondsSinceEpoch + Duration(seconds: int.parse(timeTextCtrl.text)) .inMilliseconds; controller = CountdownTimerController(endTime: endTime, onEnd: onEnd); controller.start();
          });`

most generic
action: () {
    setState(() {
        endTime = DateTime.now().millisecondsSinceEpoch +
                           Duration(seconds: 10).inMilliseconds;
        controller = CountdownTimerController(endTime: endTime);
        controller.start();
     });
},

Not working any of the above solutions.

   countdownController.value = Duration(seconds: 5).inMilliseconds;
   countdownController.start();

https://github.com/wuweijian1997/FlutterCountdownTimer/pull/40#issuecomment-839682919


text:
Dataset download error

Hi, I encountered the follow issue when downloading dataset:
<I> [20:25:45] LSFOdyssey.tar.gz <- /apps/bypy/LSFOdyssey.tar.gz
<I> [20:25:47] Local and remote file size DOESN'T match
[===_________________] 18% (40.6GB/219.2GB)  <E> [20:25:53] Waiting 10 seconds before retrying...
<E> [20:26:03] Request Try #2 / 5
<E> [20:26:05] Waiting 20 seconds before retrying...
<E> [20:26:25] Request Try #3 / 5
<E> [20:26:26] Waiting 30 seconds before retrying...
<E> [20:26:56] Request Try #4 / 5
<E> [20:26:58] Waiting 40 seconds before retrying...
<E> [20:27:38] Request Try #5 / 5
<E> [20:28:40] Maximum number (5) of tries failed.
<E> [20:28:40] ----------------------------------------------------------------
Error 140: Maximum retries reached

Then I tried to resume downloading but not working. However I successfully download the model ckpt via bypy. I checked several posts about solving this issue but none of them works. Are there any possible solutions to this issue? Or could you upload the dataset to Google Drive/Azure?
Thank you so much for your help! :)

Hi, you can use Baidu Netdisk to download. We are also trying other cloud storage, but it will take some time.

@luminousking
Hi, we upload the dataset to Huggingface. You can download it through the link https://huggingface.co/datasets/wwcreator/LSFOdyssey. I hope it can be helpful for your work.

authors: luminousking wwsource

repo: wwsource/SceneTracker

license: MIT


text:
运行python visual_chatgpt_zh.py报错

运行python visual_chatgpt_zh.py，其中./downloadmodels为存放模型的地址：
python visual_chatgpt_zh.py --load ImageCaptioning_cuda:0,Text2Image_cuda:0 --pretrained_model_dir ./downloadmodels
报错：
UnpicklingError: invalid load key, 'v'.
During handling of the above exception, another exception occurred:
OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run git lfs install followed by git lfs pull in the folder you cloned.

已经尝试如下：

curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install
git lfs pull
仍然报同样的错误。

模型没下载成功，现在装git lfs，再下载模型，确保模型下载成功了


text:
need to publish other frame sizes for Enraged Rabbit

a quick check found kits available for 8 and 12 filaments; might be worth checking in on discord or reddit

4, 8, and 12 seem to be commonly available kit configurations. Adding 8 & 12 should be a good start (printing the standard 5 for a 4 config seems reasonable)

added with v2


text:
TypeError: 'staticmethod' object is not callable

Please elaborate, and how to reproduce the issue

I just installed pip install github-readme-terminal and ran the sample code and it gave an error.


text:
[Feature]: Support Climatology bounds

Feature request copied from @golaz:
Is your feature request related to a problem? If yes, Please describe
Climatology files have a special type of time bounds:
    double climatology_bounds(time, nbnd) ;
            climatology_bounds:long_name = "time interval endpoints" ;
            climatology_bounds:units = "days since 0001-01-01 00:00:00" ;
            climatology_bounds:calendar = "noleap" ;

While they look like regular bounds, they are more subtle. For more details, see :http://cfconventions.org/cf-conventions/cf-conventions.html
dimensions:
  time=4;
  nv=2;
variables:
  float temperature(time,lat,lon);
    temperature:long_name="surface air temperature";
    temperature:cell_methods="time: minimum within years time: mean over years";
    temperature:units="K";
  double time(time);
    time:climatology="climatology_bounds";
    time:units="days since 1960-1-1";
  double climatology_bounds(time,nv);
data:  // time coordinates translated to date/time format
  time="1960-4-16", "1960-7-16", "1960-10-16", "1961-1-16" ;
  climatology_bounds="1960-3-1",  "1990-6-1",
                     "1960-6-1",  "1990-9-1",
                     "1960-9-1",  "1990-12-1",
                     "1960-12-1", "1991-3-1" ;

Focusing on the first set of bounds: "1960-3-1", "1990-6-1"
The climatology spans the years 1960 to 1990 (inclusive), and the months of March, April, May.
It would be best if xCDAT could handle regular time series bounds, as well as climatology bounds transparently. There will be a need for an auxiliary function that computes the time span between the bounds (to use as weights for time averaging). It’s doable, but a little trickier for climatology bounds.
One additional complexity is that climatology bounds can also apply to diurnal averages.
We want to be able to perform time averaging operations on climatology data just like regular time series data. For example:

Average 10 yr climo into 50 yr climo.

Average monthly climo into seasonal or annual.

Average hourly diurnal climo into 6-hourly diurnal climo.

Etc.

If xCDAT is designed in a flexible manner from the on-set, all of that becomes possible without any special treatment. If not, it will be a pain to add later (and lead to a more convoluted and harder to maintain  code.

@chengzhuzhang @tomvothecoder   I see this is still a low priority.  Can we briefly discuss this at the next meeting?

Sure @gleckler1, I added this item to the agenda

Notes from meeting (6/22):

Peter will try to work with Karl and Jiwoo to develop some code for this, we will then be reviewed and adapted for xCDAT.

http://cfconventions.org/cf-conventions/cf-conventions.html#cell-boundaries

authors: chengzhuzhang gleckler1 tomvothecoder

repo: xCDAT/xcdat


text:
Android - ConnectToDeviceAsync never completes, connecting to a different device 'fixes' issue

I've ran into a periodic issue I see from time to time. I'm doing lots of builds, DEBUG and RELEASE and generally have no issues. I have a couple of devices I connect too.
Sometimes, I find on Android that I can no longer connect to a given device. I can scan fine, see the device, but any call to ConnectToDeviceAsync or ConnectToKnownDeviceAsync just never completes....no errors are thrown and the CancellationToken timeout eventually just fires.
If I try to connect to another device (not the previous one used), that works...then trying to reconnect to the previous device that never completed - that then works and everything is 'fine' again.
I can uninstall the app, reinstall the current build, older builds, DEBUG build or RELEASE build and I still can't connect the previous device.
Has anyone seen anything similar?
Heres the trace output when trying to connect to a device that never completes (DeviceConnected never fires)...eventually the cancellation token timeout fires.
[Info] (BluetoothConnectionService.ConnectAsync) Lock Waiting
[Info] (BluetoothConnectionService.ConnectAsync) Lock Acquired
[BluetoothManager] getConnectionState()
[BluetoothManager] getConnectedDevices
[BluetoothGatt] connect() - device: CE:9F:97:95:BE:46, auto: true
[BluetoothGatt] registerApp()
[BluetoothGatt] registerApp() - UUID=5402ae97-da5d-4721-9f97-6ca17c077b43
[BluetoothGatt] onClientRegistered() - status=0 clientIf=11
[OpenGLRenderer] endAllActiveAnimators on 0x70245ca100 (RippleDrawable) with handle 0x70225e7900
<-- Cancellation Token duration expires -->
[BluetoothGatt] cancelOpen() - device: CE:9F:97:95:BE:46
Failed to evaluate expression in conditional breakpoint. Unknown identifier: inflaterFailed to evaluate expression in conditional breakpoint. Unknown identifier: inflater[Info] (BluetoothConnectionService.ConnectAsync) Lock Releasing
[Info] (BluetoothConnectionService.ConnectAsync) Lock Released

Hi @IainS1986,
I'm the friendly issue checker.
It seems like (100.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!

No solution as of yet. Are you experiencing the same issue?
Don't know if this repository is no longer supported anymore.

Had the issue occur again, the only consistent thing I could see between both instances of the bug occurring was that I didn't connect to the device (or use the app) for around a week (holiday).
I've forked the repo, pulled in the code and can see in Device.cs this is executed as expected...
var connectGatt = BluetoothDevice.ConnectGatt(Application.Context, autoconnect, _gattCallback, BluetoothTransports.Le);
However the GattCallback.cs OnConnectionStateChange is never fired.
This continued even with deleting and reinstalling the app.
I tried enabled Bluetooth HCI Snoop log in the developer options, and frustratingly that fixed the issue for now! (so the log is likely not going to help as it worked). I'll keep an eye out but I think it will happen again if I leave the app for "some time", which doesn't happen during normal development hence why I've not really seen this bug occur.

@IainS1986 Hello, Sorry for the later answer, So I have search about this. I have found why this problem. That's because bluetooth le (bluetooth low energy) can't connect with another devices if the last one use bluetooth classic. try to connect your app with bluetooth casque or microphone or another device use ble and it's working .
if you want connect it with another phone for exemple you need to use bluetooth classic ... For android he work without any problem...but for IOS i can't found any solution to connect it
Sorry because I'm not good in English

I don't think thats the issue i've been facing.
I have a device thats built in house, call it Device A. I have another identical device built in house, call it Device B.
The app connects fine to Device A all* of the time, Debug builds, Release builds, etc.
I leave the app for a week (not confirmed this is definitely the way to reproduce it).
I boot the app up again, and try to connect to Device A (the last device it connected too and no other connection to Device A has occurred since. It fails.
The app no longer connects to Device A. The ConnectToDeviceAsync just never completes and the Gatt callback never fires.
I try to connect to Device B, works first time.
I then try to connect to Device A again, works first time, everything is working as normal again.

Update:
Ok, further investigation after what you just said. Its not time, you're right that it's maybe connecting to another device breaks it. I thought it was leaving it for some time, but during that time I connected my phone to some headphones and a car bluetooth dongle. That was what broke it.
Can reproduce the issue.

App connects to Device A fine.
Disconnect app from Device A and close app.
I connect my phone to some Headphones (not sure what Bluetooth layer it uses).
Disconnect headphones.
Boot up app.
Try to connect to Device A as before.
App no longer connects to Device A.
Connect to Device B, works fine.
Connect to Device A, works fine.

OMG, it's verry weird ... for me , I have ESP32 (It's my device A ), she connect without any problem in IOS . she write and read fine... but for my Android phone, He don't found My ESP32 with this plugin!! I don't know why!!! and when I try to connect it with another app like you, He work fine without problem in IOS and Android, Now i try to use another Nuget it's https://github.com/shinyorg/shiny
So for you, if you want connect just with android, I can help you how do it with bluetooth serial( CLASSIC), But with IOS me too i'm working for solution.
If you have any news about connexion tell me... And me too I do.

@IainS1986 I used https://github.com/shinyorg/shiny she work fine without any problem for me in ios and android... try to use it. If you have any problem Tell me .
Good Luck

I think we have different issues @YBENZAKOUR as you were saying you could never connect with Android, whereas mine is all working fine 99% of the time but I was (somehow) getting into a state where the app would no longer connect to a single device.
For others (if anyone reads this), I'm experimenting with a solution that I can't confirm works until I maybe (or maybe don't) see this issue reproduce.
I've turned off AutoConnect and ForceBLE in the connection parameters. Firstly, I believe our device isn't dual mode so ForceBLE is maybe fine, but I'm wondering if AutoConnect was breaking somehow internally.
I've set it to false, BUT FYI this does trigger more Gatt 133 issues sporadically so I've had to implement a simple retry system into our bluetooth task handling.
To combat Gatt 133...

Ensure you're making all bluetooth calls on the Main Thread
Ensure you are doing them synchronously. Do NOT make 2 Bluetooth calls at the same time, or overlap them in any way. Block any Bluetooth calls from starting until the current one is finished.
Do NOT start connecting while you are still scanning
You will STILL get them occasionally, so do a retry system on connecting. So far I've never had it retry more than 3 times to connect.

I'll see if I get the old issue again, but it could be something deep within the OS bluetooth handling on my phone (Moto G6+) with the AutoConnect parameter :shrug:

So, an update after another week has passed.
My current app works as such,
Scan -> Connect.  then after doing that once with a device and getting the GUID, it just goes straight to Reconnect.
Force BLE is OFF and AutoConnect is OFF. (Unlike before).
A week passed, booted the app up, a Reconnect call was started and....no luck. It wouldn't connect.
But going to do another scan, then connect DID work (which before would also not work until I connected to a new device).
So google around a bit more I think I might have figured out whats going on, and think it comes down to just Androids inconsistencies with BLE across manufacturers.
These Medium articles helped shed some light, https://medium.com/@martijn.van.welie/making-android-ble-work-part-1-a736dcd53b02 and https://medium.com/@martijn.van.welie/making-android-ble-work-part-2-47a3cdaade07
Android has an internal BLE Cache which can be cleared at some point. Sometimes when Bluetooth is turned off, sometimes when the phone is turned off, or in my phones case (Moto G6+)....just 'some other time'!
When this happens, using the AutoConnect parameter will not work. Android, at least on Moto, cannot autoconnect to a previously known device if its no longer in the OS Cache. Even though the GUID is right, the internal cache is empty.
Similarly, when using Reconnect API, it builds a BluetoothDevice from the GUID but it can't connect to this if the OS Cache is empty! The medium article mentions you can check for this issue by looking at the BleutoothDevice deviceType to see if its 'Unknown', in which case you can't reconnect. Otherwise a new Scan + Connect should work (and does in my instance).
So. I think this is the issue. I'm going to do another test.
I'm going to switch ForceBLE back on as I think this will mitigate some of the Gatt 133 errors I'm seeing as they may be occuring when it tries to use Classic.
I'm then going to remove calls to Reconnect and instead do a Scan -> Connect loop every time....this is fine for my use case to be fair.
I'll have 2 apps installed on my phone, one that tries to Reconnect, one that does a fresh Scan -> Connect.
We'll see in another week (or if I can figure out how to clear my phones BLE cache properly) to see if App A can't reconnect but App B can and if so, I think thats the culprit!

Update:
Another week passed. Checked the two apps.
App A: AutoConnect=FALSE, called ConnectToKnownDevice -> Failed to connect
App B: AutoConnect=FALSE, did a scan and then ConnectToDevice -> Connected
So far it seems like my suspicions around trying to connect to a known device when the internal OS BLE cache has been cleared does not are correct.
I also suspect this repo is potentially abandoned at this point? Either way, anyone who runs into this...
If you use AutoConnect=TRUE, if the device BLE cache is cleared, ConnectToDevice and ConnectToKnownDevice can fail to ever connect
If you use ConnectToKnownDevice, this can fail to connect if the device BLE cache is cleared, regardless of AutoConnect value
My advice, avoid both if you're not sure, otherwise you will have to do your own handling for fallback to Scan->Connect. I might look to add functionality to this plugin to have a 'check can reconnect' function in Droid that checks if the Device object type is Unknown or not, as that (apparently) lets you know if you can do a ConnectToKnownDevice call or not
I might report back periodically to confirm my findings, or if they change.

Update for anyone - more time has passed and i've seen the versionof the App that tries to do a ConnectToKnownDevice call fail multiple time while the version of the app that does a fresh Scan + ConnectToDevice call work fine.
Pretty confident I've confirmed it to be Android internal BLE cache clearing out, and there for ConnectToKnownDevice will fail and AutoConnect=TRUE will fail.
Propose maybe having a 'CanConnectToKnownDevice' call that for iOS etc just returns TRUE and for Android does a check on the device type to see if its Unknown (not cached), similar too this Android code...
// Get device object for a mac address BluetoothDevice device = bluetoothAdapter.getRemoteDevice(peripheralAddress) // Check if the peripheral is cached or not int deviceType = device.getType(); if(deviceType == BluetoothDevice.DEVICE_TYPE_UNKNOWN) {     // The peripheral is not cached } else {     // The peripheral is cached }

authors: IainS1986 YBENZAKOUR smsissuechecker

repo: xabre/xamarin-bluetooth-le


text:
🛑 WebVerge is down

In 37867df, WebVerge (https://webverge.io) was down:

HTTP code: 522
Response time: 15415 ms

Resolved: WebVerge is back up in 017332a.

repo: xaif/uptime-monitor


text:
WorkManager - missing getWorkInfosForUniqueWork

Xamarin.Android Version (eg: 6.0):
Operating System & Version (eg: Mac OSX 10.11):
Support Libraries Version (eg: 23.3.0):
Describe your Issue:
Why is getWorkInfosForUniqueWork missing in bindings?
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs:

@todorspetkov
A little bit more info perhaps? Nuget version, etc.

Hi, sorry. Here you go:
Target Android Version : 10 (API level 29)
Operating System & Version : Mac Mojave 10.14.6
Support Libraries Version : 28.0.0.3
WorkManager nuget version : Xamarin.Android.Arch.Work.Runtime 1.0.0.3
Describe your Issue:
When writing native java code for Android we used the method getWorkInfosForUniqueWork to obtains status of already scheduled work. This method is not present in the Xamarin Android bindings for the library. We tried to use the method GetWorkInfosForUniqueWorkLiveData but when we try to extract the WorkInfo list from it the result is always null. Here is how we use the live data method :
LiveData statuses = AndroidX.Work.WorkManager.Instance.GetWorkInfosForUniqueWorkLiveData(JOB_TAG);
JavaList<AndroidX.Work.WorkInfo> workInfoList = statuses.Value.JavaCast<JavaList<AndroidX.Work.WorkInfo>>();
Since in Android native java we used  getWorkInfosForUniqueWork I was wondering  why this method is not mapped in the bindings...
Otherwise is there a blocking call that we can make to get scheduled jobe WorkInfo?
Thanks,
Tod

authors: moljac todorspetkov

repo: xamarin/AndroidSupportComponents


text:
Enable Nullable

Description of Change
This PR enables Nullability for Xamarin.Community Toolkit:

Add <Nullable>enable</Nullable> to each CSPROJ
Add <WarningsAsErrors>nullable</WarningsAsErrors> to each CSPROJ

Note: Enabling WarningsAsErrors will allow our automated CI Tools to catch any possible null references/dereferences in future PRs

The work is being done on the Enable-Nullable branch
Bugs Fixed

Fixes #254

To Do

Xamarin.CommunityToolkit.UnitTests

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Markup

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Sample

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Sample.Android

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Samples.GTK

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Samples.iOS

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Samples.Tizen

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Samples.UWP

[x] Enable Nullable
[x] Enable WarningsAsErrors

Xamarin.CommunityToolkit.Samples.WPF

[x] Enable Nullable
[x] Enable WarningsAsErrors

PR Checklist

[x] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

Quick update - I've set <Nullable>enable</Nullable> and <WarningsAsErrors>nullable</WarningsAsErrors> for each project.
I've finished implementing Nullability for every project except XamarinCommunityTookit. I'm still working on XamarinCommunityTookit - so far, I've lowered it from 3,000+ errors to 252. I'll continue working on it this week 👍

Phew, 150 files done, 100 left =)
@brminnick Thank you for the great PR! Special thanks for updating XCT to C# 9
It's getting late for me, so I'll finish with the review tomorrow (in around 10 hours). In the meanwhile, could you also take a look at my reply in resolved discussion?

authors: brminnick maxkoshevoi

repo: xamarin/XamarinCommunityToolkit


text:
Microsoft.Toolkit.Xamarin.Forms namespace rename.

Description of Change
This pull request is based on bug #154.
Everything from XamarinCommunityToolkit.* a namespace is changed to Microsoft.Toolkit.Xamarin.Forms.*
After this rename whole solution is building successfully.
Note: Still need to rename folders, tried that already but it makes all the files removed and added in sense on git. I want to talk with other community members about this question.

@bartlannoeye I will try with GitKraken for rename, currently, I am using the GitHub Desktop client and it registers the removed/added changes for rename of the folder names.

Looks like the fail was because of the renamed csproj file which wasn't changed in the yaml :) fixed that for you.
We also might want to consider renaming the filesystem folders

:(
Do you have time for this @almirvuk ? I was planning on doing a live stream later today anyway to test some stuff. So else I can go through this later today/tomorrow.

:( I see it, this is not even with the main branch anymore... I can resolve them but later this night around 8-9 PM (EU time)

Yeah I just merged Steven's Sample app UI. So it's probably just picking the right namespace and making changes in what he did. Nothing too exciting. Let's coordinate around then on who will do it!

@jfversluis it should be ok now. 😄

Some unexpected behavior because we use the Xamarin.Forms namespace which conflicts with the regular Xamarin.Forms namespace. We need to choose something different :(

Whoops :D Not make these changes too often...
@almirvuk and others, if you can take the NuGet from here and see that no namespace collisions happen with regular Xamarin.Forms then it's all good for me!

Whoops :D Not make these changes too often...
@almirvuk and others, if you can take the NuGet from here and see that no namespace collisions happen with regular Xamarin.Forms then it's all good for me!

Oh hm interesting. Can you click on the status checks here in GitHub then to azure DevOps and see the artifacts that were produced?

Oh hm interesting. Can you click on the status checks here in GitHub then to azure DevOps and see the artifacts that were produced?

yes, that works

https://giphy.com/gifs/hero0fwar-karmawhore-rhyming-g9582DNuQppxC

@jfversluis @AndreiMisiukevich

Hey folks -- Microsoft.Toolkit.* is an issue in that the namespace is already used by a different project and it will cause confusion.
Can you please rename to something else before you release?

I don't see how that can be. We've gone through the proper channels for this, has been approved and I feel Microsoft.Toolkit is way too generic and it can easily be identified by the platform that comes after it.

Hey @jfversluis, I setup a meeting for us Monday, didn't realize there was a big time zone difference when I tried to set something up today. Please feel free to forward any info you have ahead of time about who you cleared this with, as we haven't been involved in any of these discussions.
As was called out in the original thread already, there could be confusion around if 'Forms' in out existing naming is WinForms or Xamarin Forms, but it's also about project ownership and communities.
Outside of what's technical feasible or not, if we both ship multiple things under the namespace Microsoft.Toolkit.* and with similar named packages, folks will start reporting issues for both of our projects on each others repos.
It looks like this project already tried to own Xamarin.Toolkit in the past for naming, was there a problem with going back to use that? It seems like a great more direct name.

Hey @michael-hawker! Sorry for the confusion. I did not see your meeting, sorry for not being clear and/or the timezone confusion. I was meaning to get back to this on Monday as it's about to come up on bedtime here.
I (and we) mean no harm. I'm sure we can get this resolved and I'd hate to go back and forth out in the open like this so let's make sure we have a meeting about this.
The thing that surprises me the most is that I have been able to reserve this name and prefix. In fact, I notice that "we" have the verified badge while you haven't. So it seems that your registration might not be done properly?
Anyway. Let's set something up and get it resolved. I'm not out to rub anyone the wrong way :)

Thanks @jfversluis for some of the background! Not sure if my Teams messages are going through as I see an 'x' in your status, but let me know if the meeting time I setup works for you on Monday. Definitely just trying to make sure we're all on the same page and get up-to-speed on all the project goals. 🙂
The Windows Community Toolkit is supposed to have the package space reserved on NuGet, but we're a .NET Foundation project, so the NuGet status here being also under Microsoft.* in general is an odd space with some issues, so there was definitely a hiccup here (as called out in the thread with the NuGet team).
To clarify you're saying 'Xamarin.Toolkit' was tossed as in the future Xamarin will be known as MAUI, eh? So then something like MAUI.Toolkit would work but be more confusing now? We have a similar type of issue with WinUI 3 approaching for us too. Anyway, we can follow-up on the call; as you say it'll be quicker that way.
I definitely see opportunities to collaborate. We're doing a lot more with .NET Standard in the Windows Community Toolkit, so it would make sense to contribute those in one space. For instance, we have a new MVVM library and would love to have some Xamarin expertise/feedback in building out a sample.
On the other-side, we're headed down the WinUI 3 Reunion path vs. MAUI, so I don't know how well-aligned those goals would be; lots to talk about, but let's kick things off Monday. Looking forward to chatting.

authors: AndreiMisiukevich almirvuk clairernovotny jfversluis michael-hawker


text:
Added support to check if objects are NullOrEmpty

Description of Change
Added support to check if objects are NullOrEmpty
Bugs Fixed

Fixes #176

API Changes
IsNullOrEmptyConverter and IsNotNullOrEmptyConverter has been update to check for objects too.
Behavioral Changes
None
PR Checklist

[x] Has tests (if omitted, state reason in description)
[ ] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

@sthewissen @jfversluis
I havnt added a check for lists as there are already 2 converted that cover it 'ListIsNullOrEmptyConverter' and 'ListIsNotNullOrEmptyConverter'.
But makes sense to me to add the list check into this converter to and remove the 2 converters that are specific to lists. Only behaviour change with that would be the list converter currently throws an ArgumentException if the parameter isn't and IEnumerable or null.
Let me know what you think :)

@AndreiMisiukevich sorry ye your right. Based on the conversation in the issue and a quick look at the code I thought it if it wasn't a string it was defaulting to false.
I can update this PR so it just has the added tests IsNullOrEmptyConverter_Tests, unless you want me to merge the list converters into these converters.

@AndreiMisiukevich sorry ye your right. Based on the conversation in the issue and a quick look at the code I thought it if it wasn't a string it was defaulting to false.
I can update this PR so it just has the added tests IsNullOrEmptyConverter_Tests, unless you want me to merge the list converters into these converters.

I think more tests are always welcome 👍

authors: AndreiMisiukevich IeuanWalker


text:
Add opam file & Travis configuration

I'll add a .merlin file in a separate PR, as it's not strictly related

Updated the README :)

Will merge once travis checks are done.

repo: xapi-project/xen-api-sdk


text:
Restore unbound::local_zone function

This PR fixes issue #177

Thanks for sending this in @jlutran, and apologies for causing trouble in your environment.  We might need to rename either the type or the defined type for this to work as is.

Ok, I changed unbound::local_zonefunction to use Unbound::Local_zone_type type only.
This means we won't be able to pass a Unbound::Local_zone_type hash to configure multiple local zones at the same time but I don't think it's a big deal since use can use the new local_zone parameter from unbound class to do it now.

This looks good to me.  Thanks for the contribution.


text:
🛑 Podocad is down

In f2de211, Podocad (https://www.podocad.net) was down:

HTTP code: 504
Response time: 20652 ms

Resolved: Podocad is back up in fd185ea.

repo: xavicorral/CheckSites


text:
Fix param syntax in xcrdutil.psm1

Removed the trailing comma and added a missing one in the params list, which caused these errors respectively:

Missing expression after ','.
Missing ')' in function parameter list.

Thx!

authors: TheNullicorn tuxuser

repo: xboxoneresearch/Interop


text:
Problem with packer

HI!
For first i love your tutorials at youtube and i'm glad i can learn a lot from the source.
I have a problem with packer. Everything was changed step by step with you tutorial but packer didnt recognize template and vars.
Mine system is ubuntu 20.04.4 with packer 1.8.0
❯ ls
credentials.pkr.hcl  files  http  ubuntu-server-focal.pkr.hcl
❯ packer build var-file='./credentials.pkr.hcl' ./ubuntu-server-focal.pkr.hcl
Usage: packer build [options] TEMPLATE

  Will execute multiple builds in parallel as defined in the template.
  The various artifacts created by the template will be outputted.

Options:

  -color=false                  Disable color output. (Default: color)
  -debug                        Debug mode enabled for builds.
  -except=foo,bar,baz           Run all builds and post-processors other than these.
  -only=foo,bar,baz             Build only the specified builds.
  -force                        Force a build to continue if artifacts exist, deletes existing artifacts.
  -machine-readable             Produce machine-readable output.
  -on-error=[cleanup|abort|ask|run-cleanup-provisioner] If the build fails do: clean up (default), abort, ask, or run-cleanup-provisioner.
  -parallel-builds=1            Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
  -timestamp-ui                 Enable prefixing of each ui output with an RFC3339 timestamp.
  -var 'key=value'              Variable for templates, can be used multiple times.
  -var-file=path                JSON or HCL2 file containing user variables.
❯ cd ..
❯ packer build var-file='./credentials.pkr.hcl' ./ubuntu-server-focal-test/ubuntu-server-focal.pkr.hcl
Usage: packer build [options] TEMPLATE

  Will execute multiple builds in parallel as defined in the template.
  The various artifacts created by the template will be outputted.

Options:

  -color=false                  Disable color output. (Default: color)
  -debug                        Debug mode enabled for builds.
  -except=foo,bar,baz           Run all builds and post-processors other than these.
  -only=foo,bar,baz             Build only the specified builds.
  -force                        Force a build to continue if artifacts exist, deletes existing artifacts.
  -machine-readable             Produce machine-readable output.
  -on-error=[cleanup|abort|ask|run-cleanup-provisioner] If the build fails do: clean up (default), abort, ask, or run-cleanup-provisioner.
  -parallel-builds=1            Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
  -timestamp-ui                 Enable prefixing of each ui output with an RFC3339 timestamp.
  -var 'key=value'              Variable for templates, can be used multiple times.
  -var-file=path                JSON or HCL2 file containing user variables.

something is wrong but i can't figure what

I think you are missing a dash in front of var-file:
packer build -var-file='./credentials.pkr.hcl' ./ubuntu-server-focal.pkr.hcl

Hi @davosian
i was figure it out but still stuck at point when i see languages to choose. Nothing happens the

n

This probably means that your autoinstall does not trigger. Are you using the config from this repo? Double check user-data to make sure its format is correct and complete. E.g. with this repo make sure to set username & password (encrypted in the right format).

Issue to close. If you are creating any file for packer don't use 'tab' instead of this use space bar 🤦♂

@arvelinger what do you mean by any file? hcl file or the user-data?

authors: arvelinger brianpooe davosian


text:
validation of tron address

Please just the validation of tron address

Just answered the question in your other issue #2.

import 'package:wallet/wallet.dart' as wallet;

bool isValidTronAddress(String address) {
  try {
    final decoded = wallet.Base58CheckCodec.bitcoin().decode(v);
    return decoded.version == 0x41;
  } catch (e) {}
  return false;
}

Base58CheckCodec not in wallet (import 'package:wallet/wallet.dart' as wallet;
),  import 'package:wallet/src/base58.dart';

authors: Imdavyking xclud


text:
Shaping the future of xcproj

Hey everyone!
Almost one year ago I started working on xcproj. It's been an exciting journey so far, with ups and downs, but encouraging seeing all of you using the library, building tools and automating things in your own projects. After all the feedback I've collected from issues, PRs, and on Slack I thought it'd be a good idea to iterate and improve the tool and its API, and take the opportunity to wok on some things that have been in the backlog for some time. I'd like to share with you a rough plan of how I see the next version of xcproj at the project and the organization level and get some feedback from you.
Major improvements

Automatic reference generation: Generating references for every new element that gets added to a project is cumbersome. Other libraries like xcodeproj from CocoaPods prevents users from having to do so. We'd leverage Sourcery to provide a new method from the project objects that returns a deterministic and unique reference of themselves.
Equatable: Not all the classes in the project conform to the Equatable protocol. Similarly, we'd use Sourcery to conform Equatables from the models that don't conform it yet.
Convenience API: After having used xcodeproj from CocoaPods and seeing feedback from you I realized there's a lot that we can improve to make the API more convenient and easy to use. The current API requires developers to have certain knowledge in the project structure, like the fact that build phases reference files throw a proxy object, PBXBuildFile. My goal is to revisit all the models and provide easy-to-use and convenient methods from their interfaces. This requires two major changes:

Objects need a weak reference to the project they belong to.
References from objects to other objects need to be memory pointers rather than strings. That way we can safely update the reference values (strings) without breaking refeferences from other objects.

Minor additions

Constants: There are certain constants associated with the creation of Xcode projects that we could provide from xcproj. Some examples of those constants are the default projects build settings or the Xcode file type from the file extension.
SPM Packages: Replace shell and path libraries with the tools existing in the Swift Package Manager. By doing this we not only reduce the number of dependencies but align the tool with Apple's paradigms and tools.
Documentation: Although we've tried to keep the documentation up to date, it needs a revisit and the introduction of some checks to make sure future contributions are well documented.
Linux compatibility: xcproj is only compatible with the macOS environment. We are only one step from having also support for the linux environment.
Code coverage: Add code coverage checks with codecov to ensure a good coverage when new code gets added to the repository.
Guided releases: Automating the release process so that it can be run from continous integration. The role of "release captain" would still be necessary but the person would just check that the release runs smoothly on CI.

Organization

I propose renaming the project and the org to xcodeproj. The same project for other platforms have that name and I think it's a good idea being consistent. It'll make it easier for people to find it searching on Google or GitHub. Moreover, the development of some experimental tools like Sake and xctools have been discontinued, that means the main project of the organization is xcproj. I propose renaming the organization as well to xcodeproj and narrow its focus to build a reliable and easy to use Xcode project parser. As a side note if anyone is interested in continuing the development of Sake, xctools or xclint we can transfer those repositories to their account.
Close the Twitter account. We haven't had much activity there and I don't think it brings that much value to the organization as to keep it open.
Core contributors: I'd like to revisit what being a core contributor means and find people commited to being one. In my opinion a core contributor should help with triaging new issues, reviewing new PRs or releasing new versions of the tool. If anyone is particularly interested, send me a message on Slack or via email, pepibumur@gmail.com.

Having said that, I'm looking forward to getting your feedback and starting working on the future of xcodeproj. It's going to be amazing, and with help we'll help a lot of projects and companies deal with their Xcode projects.

Thank you @pepibumur for xcproj and all the hard work and time you have put into it. This project has saved me and others a lot of time and sanity (mostly around pbxproj git conflicts).
It's great to see that you have big plans for this project.
Some thoughts on organisational topic:

Renaming the project.
Wouldn't it make it harder to find this specific project if was called the same as Cocoapods/xcodeproj ?
For example if someone were to ask question in StackOverflow and mention that they use xcodeproj, first question would be: "Which one?".
If you do rename it, I recommend immediately creating new organisation and project with the same name and leaving the latest state of project there. This way you don't breaks a lot of CI pipelines around the world.

Twitter account.
Well, the readme does lead to 404, so that may be a problem with small activity around it 😄

With new Xcode we saw some changes to project format. Going forward, do you see xcproj supporting multiple versions of project format or only the latest?

Thanks for your answer @alvarhansen and glad to hear that it's been very helpful for you.

Renaming of the project: I hadn't think about that but that's a good point actually. What about introducing the swift keyword somewhere? I'd be too long I think xcodeproj-swift. Something that we can do when we rename it, and I've seen it in other projects like ReactiveCocoa, is creating a major version that includes the renaming. That way we don't break CI pipelines.
Twitter account: I hadn't noticed that actually. Do you think it's valuable to see tweets from that account? Which kind of information would you like to read from it?

I think it's ok with continuing the support as we have been doing it so far.  With supporting the latest version we'd support the previous versions because changes in Xcode projects are usually incremental.  That's how CocoaPods does it with xcodeproj.

Sounds good. Though I agree that the name change is perhaps unnecessary and potentially quite confusing, due to it already being an established name

Most of the points above have been addressed:

[x] Automatic reference generation. There's a little thing missing that I need to implement.
[x] Convenient API. Objects have methods now to materialize references to other objects. You don't need to look up those objects in the project.
[x] There's a Xcode class with some constants and helper methods defined in it.
[x] SPM Packages: The only dependency now is the Swift Package Manager utils frameworks.
[x] Add code coverage reports.
[x] Rename project to xcodeproj.

Missing

[ ] Review documentation.
[ ] Guided releases.
[ ] Conform the Equatable protocol from the scheme models.

Although the new version hasn't been released yet, you can start migrating your projects using the migration guidelines in the README
I'll continue working in the missing stuff to get the first alpha out next week.

I merged yesterday the last task that was missing, conforming equatable from the scheme models. I took the opportunity to refactor the XCScheme file and split it into smaller and more manageable files. I'll release another candidate today.

authors: alvarhansen pepibumur yonaskolb

repo: xcodeswift/xcproj


text:
Paste Image with Electron not working

Dear fellows,
Tried to run with electron, and aparently fits very nice, although Past Image is not working.
Any clue?
Thanks.

Off course i didn´t worked. I´ve been cheated by the out of dated README version from cdn!

repo: xdan/jodit


text:
多个Navigation无法弹框

我的app里存在多个Navigation，使用router进行切换，但是第一个navigation进行注册OhosSmartDialog.registerRouter(this.navPathStack) 后，切到第二个navigation，同样的注册，但是不起作用了。
这两个navigation使用的是router.replace的api进行切换的. 感觉是因为DialogProxy是一个单例，replace的api会销毁掉第一个navigation所在的页面，我测试了下，在replace之前，手动将DialogProxy._instance置为undefined，在第二个navigation是能正常显示的。
这种情况能进行下处理么？

给下可复现问题，可运行的最简demo

简单把router换成Navigation

简单把router换成Navigation

就是没法完全替换才实现的这么畸形，app的登陆和主页没法用同一个navigation

给下可复现问题，可运行的最简demo

demo.zip
操作步骤：

点击页面1的弹窗，弹loading，关闭后，点击push跳转到页面2，点击弹窗，弹loading，再回到页面1，点击弹窗，无反应；
直接点击replace跳转到页面2，点击弹窗无反应

看了下demo，同时也试了下，有相关的解决方法，但是会大幅度增加使用成本，而且还会导致内部的弹窗栈难以管理和难以监控处理页面相关切换
目前可以看的出来，鸿蒙也在逐渐采用类似flutter之类的单Navigation管理页面，单Entry的Navigation的演进方向
多Entry的使用方式和ohos_smart_dialog设计理念也相驳，目前不考虑兼容多OhosSmartDialog初始入口的使用
你现在的场景，我建议你在主Entry上使用ohos_smart_dialog，使用频率较低的Entry上请勿初始化OhosSmartDialog()


text:
[WIP] Various updates for running KF M06 + GMSL02 and more

There are several issues caused by non-inclusion of the "limits" header. The corresponding fixes are already in recipes-qt version we pull, but we remove them (for the unclear reasons) here. So do not remove required patches.

This should be applied as well https://github.com/xen-troops/meta-xt-prod-cockpit-rcar/pull/58

This should be applied as well #58

PR 58 is closed and will not be merged
i am not sure if we need the video in cockpit product, because we have pretty 'specific; configuration here

repo: xen-troops/meta-xt-prod-cockpit-rcar


text:
new json rest API endpoint

API calls I currently use

getPodcastData(podcast_id) -> Podcast returns all data for a podcast show
getNextLiveEvents(podcast_id, count) -> Event(s) returns the count next planned liveevents of a specific podcast
getCalendar(start_date, end_date, count) -> Event(s) returns a list of planned events. All parameters optional. start_date  today by default. end_date is nil by default. count is maybe 50 by default.
getAllPodcasts() -> Podcast(s) returns all currently registered podcast shows.

Of course this is only a pseudo representation of the API calls. But I think you get the idea.
Data Model
Of course in json everything is a string. So handle NSURL as string too. The ? at the end marks the optional parameters. That means the app can work if they are empty but of course it will not look that nice and have all the functions for those shows.
Podcast

podcast_id: String (database id to refer this podcast)
feed_url: NSURL?
artwork_url: NSURL? (link to the original full size artwork image in the feed)
artwork_thumb_url: NSURL? (thumb provided by xenim)
name: String
subtitle: String
description: String
website_url: NSURL?
email: String?

more stuff that might not be in the rss feed. Maybe ask the podcasters to add them manually

irc_url: NSURL?
webchat_url: NSURL?
twitter_handle: String?
flattr_handle: String?

Event

duration: Int? // in minutes
start_date = String
event_title: String
event_description: String?
podcast_id: String (database id to fetch more infos with another call)
stream_urls: Array

mp3: String
hls: String?

listeners: Int?

Just some other thoughts:
How do we handle podcast shows which are scheduled in the calendar to start streaming at a specific time and they don't because they are late. Or they forgot to remove the calendar entry.
I think this can be addressed like this:

show is still listed in calendar feed (as long as the podcast creators do not update their calendar and remove the event)
the app displays it in "upcoming today" section with the scheduled start time. Even if the start time already passed.
actually live shows get fetched by a different api call. getLiveEvents() -> Event(s). They will then be shown as live in the app with a play button to listen.

Current implementation will update the planned episode if the iCal entry. Planned episode which had not started within a day after the planned begin are removed automatically.

Regarding the data model:

What sizes are required for artwork_thumb_url? Currently only 150x150 is generated for the website, this might change in future versions, but additional resolutions might be provided without much additional affort
webchat_url will propably not part of the API as it can be deducted easily from irc_url
flattr_handle is currently not in xenim. I would like to include it as it is also available via the podcast-feed, but in a more generic form to include things like paypal.me as well.

What sizes are required for artwork_thumb_url? Currently only 150x150 is generated for the website, this might change in future versions, but additional resolutions might be provided without much additional affort

Currently I use about 60x60 images in the app. With @2x devices this requires 120x120, so 150x150 is enough for now. However for an iPad Version I will need @3x, so it is a good idea to build an API that is easily extensible for different sizes. I also use really large images in the player which are very large, so I use the imageurl that refers to the source image at the podcasts website.
Maybe we should have something like
artwork_thumbs: {
  original: "",
  150: "",
  300: ""
 ....
}

webchat_url will propably not part of the API as it can be deducted easily from irc_url

I do not think so. There might be podcasts in the future that use a different chat service, so irc can be empty and webchat url can be set.

flattr_handle is currently not in xenim. I would like to include it as it is also available via the podcast-feed, but in a more generic form to include things like paypal.me as well.

That makes sense. Maybe something like
donation: {
  flattr_id: ""
  paypal_id: ""
 ....
}

Planned episode which had not started within a day after the planned begin are removed automatically.

What do mean with removed? Maybe I do not have understand the xenim process yet. Are there two ways to schedule an event?
This is how I think it currently works (please correct me if wrong):

user has .ical configured in his account
adds an event in his calender
xenim fetches .ical and updates its database of events
I fetch the list of events with an API call saying: "give me everything that happens today and in the future."

I drew an image which hopefully explains everything (The numbers in brackets can be ignored, they are needed for graph generation only):

authors: cato- funkenstrahlen

repo: xenim/django-radioportal


text:
Signup issue

I want to work on Authentication page to fix the issue of Signup of new user as I checked that new user got error during signup Failed to construct 'URL': Invalid URL

@Avi2492 Dont push the code on master directly
CONTRIBUTING

Okay

@Avi2492 Dont push the code on master directly
CONTRIBUTING

Okay

repo: xerocodee/InfraBoard


text:
TabModel.title will omit special characters like '&' because we run it through lodash's startCase

This appears to happen by default when sourcing the title from the "id" provided in a config object through the TabContainerModel

Sounds like we would benefit from an updated version of genDisplayName()
https://github.com/xh/hoist-react/blob/c6f7eb7440f220e576a5c200228e94ba23b675a1/data/Field.ts#L175
Could relocate out of this file and avoid the use of startCase there as well.
Although it looks to me like this only applies if you are not spec'ing a title and instead having the tab id be auto-processed into a display title.  Do you have chars like & in your tab IDs also?  That seems a bit weird to me, and potentially a source of bugs if you had routing enabled.  Pls review and confirm when you have a chance?

Were y'all thinking we would just not call startCase() if certain characters like & are included or write a custom startCase()?
I guess the former is at least a better, less surprising heuristic  heuristic for generating a default display name -- although in either case the answer is really for the app to be explicit about what it wants.

Don and I discussed, and agreed that it was both strange for him to provide an id with special charachters, and easy for him to specify the title directly.  Closing.

authors: amcclain febbraiod lbwexler

repo: xh/hoist-react


text:
[adaptation] 22106 更改了部分事件名称导致防撤回失效

nodeIKernelMsgListener/onRecvMsg 变更为 nodeIKernelMsgListener/onRecvActiveMsg
nodeIKernelMsgListener/onMsgInfoListUpdate 变更为 nodeIKernelMsgListener/onActiveMsgInfoUpdate
我只用到了这两个，其他事件名称可能也有所变动，需要自己再找一下

ok收到

有PR更新我已经合并了，等有空我再完善一下


text:
categories 支持或许bug

categories
使用中设置多个分类，比如 categories: ["技术","index"]
https://www.readmorejoy.com/categories/
只显示一个 技术
并且只有默认的 5个数据
没有看到哪里可以配置
谢谢

Hi,
I feel that it might be possible that index is a reserved word. Can you try using other names and see if it works?

https://www.xianmin.org/hugo-theme-jane/categories/
xianmin use index name. the result is same.

Thanks for the report. I inspected your site again, it seems that some articles do have multiple categories.
For example, in https://www.readmorejoy.com/2019/06/techgrow/, there are  技术 and 人.
Also, what did you mean by 只有默认的 5个数据?

--
  |  技术
  |  人
  |
  |

https://www.readmorejoy.com/categories/
only 5 item
https://www.readmorejoy.com/categories/技术/
normal item

I see, you meant that 技术 category only shows 5 articles in the page https://www.readmorejoy.com/categories/?
I think that's an intentional design to limit the number of articles displayed. You could click 查看更多 >>> to expand the list.
To allow customization, we could add a config variable to override the default behavior on this line.
https://github.com/xianmin/hugo-theme-jane/blob/18433ddbbd2cb6442926f822cb5df349680c7fcb/layouts/_default/terms.html#L26
Or you could modify the template and put it into the layouts directory into your site.

OK，this place is I need.

know

know

authors: luckrill shaform

repo: xianmin/hugo-theme-jane


text:
Race condition in ssyrk causing deadlock

Using ssyrk with multiple threads eventually causes openblas to deadlock and not return.
Sample stack traces:
https://gist.github.com/matthewfl/455d86676034fccce0dc2a41766602a2
This seems to be related to one of these lines, but I haven't narrowed it down further yet:
https://github.com/xianyi/OpenBLAS/blob/develop/driver/level3/level3_syrk_threaded.c#L361
https://github.com/xianyi/OpenBLAS/blob/develop/driver/level3/level3_syrk_threaded.c#L469
https://github.com/xianyi/OpenBLAS/blob/develop/driver/level3/level3_syrk_threaded.c#L267
This takes my program about ~5 hours to hit this race condition.  I am guessing that it requires at least 10,000 calls of this method with ~300^2 matrix to cause it to deadlock.
This is also on the release v0.2.19

Probably similar to #1071 - you could try if "make USE_SIMPLE_THREADED_LEVEL3=1" works around it here as well. (If it does, the problem goes back to GotoBLAS2-1.08 or even earlier)

I tried the USE_SIMPLE_THREADED_LEVEL3=1 and it at least did not deadlock through one run of my program, so atm it seems that this is a work around around.

can you attach gdb to deadlocked process and upload backtrace?
i.e:
$ script
$ gdb
> attach <pid>
> thread apply all backtrace
> detach
> ^d
$ ^d
file is typescript...

I noticed that wernsaar has a possible bugfix for the stride calculation in syrk_thread.c in his development fork, if you have time for experimenting you could try to cherrypick that.

@brada4 I will get all the threads, however all of the threads had a similar stack track which I copied in the original post. https://gist.github.com/matthewfl/455d86676034fccce0dc2a41766602a2
@martin-frbg  I will try @wernsaar 's branch out and see if that works

@brada4 http://sprunge.us/ZMWK
I also have been running wernsaar's patch overnight and it still hasn't crashed

Thanks for checking, sounds like good news (assuming that you did that build without the USE_SIMPLE_THREADED_LEVEL3=1 workaround still in place :-) )

@martin-frbg so with the v0.2.19 release I tried that flag and it at least worked at least once, with wernsaar's code I did not use that flag and it hasn't crashed letting it run in a loop overnight.

Thanks for the clarification. So really looking good (though maybe I should have a bad conscience for picking fruit in the neighbor's garden)

Thank you for backtrace:
You use multiple python pthreads, probably not knowing that, USE_OPENMP=1 is another option to try (there is no sign 2nd python thread called BLAS but anyway option worth exploring)

@brada4 there is only one python thread here.  The second python thread is python's GC background thread, but that is never going to call blas.
fyi: the arguments that I compiled openblas with were: make FC=gfortran USE_OPENMP=0 USE_THREAD=1 NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1 DYNAMIC_ARCH=1 NUM_THREADS=64 libs netlib shared, and when starting the program, I set OMP_NUM_THREADS=16

Filtering redundant options (see Makefile.rule for defaults)
make DYNAMIC_ARCH=1 NUM_THREADS=64
OpenMP version is certainly thread-safe, i.e if it works (with current code) it clearly points to a problem with pthreads, if it does not - with assembly kernels involved or something else.

authors: brada4 martin-frbg matthewfl

repo: xianyi/OpenBLAS


text:
我按照example写的没有出来图形是什么原因呢

我按照example写的没有出来图形是什么原因呢，是我哪里写错了吗？
这是我的代码：
var wxCharts = require('../../utils/wxcharts.js');
var app = getApp();
new wxCharts({
canvasId: 'ringID',
type: 'pie',
series: [{
name: 'cat1',
data: 50
}, {
name: 'cat2',
data: 30
}, {
name: 'cat3',
data: 1
}, {
name: 'cat4',
data: 1
}, {
name: 'cat5',
data: 46
}],
width: 360,
height: 300,
dataLabel: true
});

其中utils和pages是同级的，
运行之后显示是这样的，
<canvasid="ringID"style="display: none;">
不涉及wxcharts插件的都显示正常

console里面有什么报错吗？

没有报错，我知道是什么原因了，我用的是老的代码，微信小程序官方文档中关于canvas有两种文档，组件中的是过时的代码，API中的是最新的，这是最新的写法 ，这是过时的写法，我就是用了后一种写法，[/捂脸][/捂脸]


text:
Error: when pressing ESC key

From anywhere in the app if i press ESC i get following error:
Uncaught TypeError: v.contains is not a function     at HTMLDocument.n (vue-sonner.js?v=5d769250:669:157)

Nice, thank you  🙏

repo: xiaoluoboding/vue-sonner


text:
热重启的性能如何？

有没有测试过一个进程的entity数据量和热重启花费时间的关系，顿卡时间有多长

有关系。稍微测试过一点。一个有1000个Entity左右的Game进程大概需要1秒。

用内存数据库会好点吧

我在测试中发现存取文件的时间只占热重启很小 的 一部分
大部分时间都花在Entity的Marshal和Unmarshal上
所以可能不管用什么存速度都不会差多少

可以用简单点的marshal算法，没必要考虑压缩

目前也没有用到压缩

msgpack吧，也算有压缩。。应该有优化空间。顿卡时间还挺重要的

是msgpack，目前还没有找到更快的marshal方法

想要更快可能得采用一些非常规的方法，比如一个game在热重启的时候用多核并发的方式进行marshal和unmarshal，这样可以借用更多的CPU能力来加快这个过程。

https://github.com/alecthomas/go_serialization_benchmarks
https://github.com/andyleap/gencode
这个快一点，不过你说的对，用多核应该是更好的思路。

根据你发这个性能测试最快的是什么？太多了看都看不清

哦，你说的是这个gencode，但是不太成熟的东西不太敢用

一个核一个进程也可以的，你只要一个个进程轮流热更就行了。跟1个一秒，更30个也就半分钟。每热更一个进程的时候只有一部分玩家会体验到卡顿。

authors: xiaonanln xuxbuptisc

repo: xiaonanln/goworld


text:
Suggestion:更換或上傳ShanYe MediaPlayer Engine

這個SDK的作者已經刪除了帳戶，uwp版本已無法找到。

把引用替換為SYEngine的nuget版SYEngine.uwp？
Not tested.

在nuget裡搜索SYEngine可以查到SYEngine.UWP。我試了一下，替換後功能是正常的

已替换

authors: themerror xiaoyaocz

repo: xiaoyaocz/biliuwp


text:
[ipad] 分屏模式时，web-view 宽度不对，部分内容无法显示出来

操作步骤：任意小程序打开 web-view 同时分屏，例如「腾讯文档」。
web-view 无法左右滚动，右侧一部分看不到了。

录屏见：
https://github.com/xiaweiss/miniprogram-bug-report/assets/17960084/c18d4cf9-99a1-49a0-b96c-e60b020f0dba

https://developers.weixin.qq.com/community/develop/doc/0004aa8e5f4e20f34b218557c63400?fromCreate=0

repo: xiaweiss/miniprogram-bug-report


text:
在全屏下无效

找不到菜单栏的原因？

同上，求助

authors: Zakeeeeee medopaw

repo: xieyezi/QQmusicWorkFlowForAlfred


text:
Feature request: search todos

The workflow is amazing, and i'd like to know if it would be possible to implement searching for the to-dos by the query that comes after "todo".
All the best

It's against the concept of the workflow. After typing todo, what you type next is used to filter the lists, areas and projects.

Implementing a global search would be troublesome in large databases because JXA/AppleScript performance is not great in this scenario.

authors: nicpaesk xilopaint

repo: xilopaint/alfred-things


text:
Question about train own dataset

Thanks for sharing!
I want train a tracking model on my own dataset with coco_tracking.sh in experiments folder.
But my dataset  has only one category. Where should I modify the coco 80 category dict to my category dict and use it to train a model?

Hi,
You will need to prepare a json file in COCO format. See src/tools/convert_xxx_to_coco.py for references. After that, you don't need to write any code. Just add --dataset custom --custom_dataset_ann_path /path/to/your/annotation.json --custom_dataset_img_path /path/to/your/image/folder/  --input_h XX --input_w XXX --num_classes 1 to your training command.

Thanks for reply.
I have used Lableme to annotate some pictures in coco format to train a instance segmentation model. Can I directly use this data to train CenterTrack? Or still use convert_xxx_to_coco.py to convert?

@LiXm1002 Have you solved the problem？

authors: LiXm1002 Maeve-D xingyizhou

repo: xingyizhou/CenterTrack