text:
spectrometer abstraction

All shared code should be moved into parent class.

Looks like the skeleton is in place, but is not filled to completion

Exactly. The MicroHR does more work than it should.

Still the case? @untzag

Closing as these kinds of abstractions are moving to yaqd

authors: ksunden untzag

repo: wright-group/PyCMDS


text:
Cluster monitoring

Hi!
I'm building out a postgres cluster using single master replication and pgpool. I'm wondering how to run the exporter for this setup. Should I run one exporter for each replica + master? Also one for pgpool? Also wondering what metrics to monitoring for a cluster setup. What correlates to things like latency, active replicas, load distribution etc.
Any an all help super appreciated 😬 👍
Thanks!

Ultimately it depends what you want to monitor. One exporter per postgres instance would be how I'd do it - I suspect pgpool would actually need its own metrics via another system since pointing a postgres_exporter at it would just give you the underlying servers metrics.
Monitoring tuples returned is a good way to get an idea of application load but databases are finicky things so there's a lot more included which with be scraped for you.

@wrouesnel thanks a bunch! I'll try that approach initially, and perhaps build out an exporter for pgpool if I see the need 👍

source: gharchive/issue

authors: asbjornenge wrouesnel

license_type: permissive

license_source: github-api


text:
"#" can't be use in a password

I am using Linux CentOS 7. The database I'm trying to connect to has a # in its password.
For example the DATA_SOURCE_NAME will look as follow:
DATA_SOURCE_NAME="postgresql://user:pass#word@IP:Port/database"
I will get the following if I try to connect:
Established new database connection to "user:pass"
Error opening connection to database (postgresql://user:pass#word@IP:Port/database): dial tcp: address tcp/pass: unknown port  source="postgres_exporter.go:1319"
In other words everything after the # (# included) is removed from the data source name.

Also, having = in password is causing Error opening connection to database (postgresql://user:password=@host/db): malformed dsn \"dbname=db host=host password=password= user=user\""
This line seems to be the culprit: https://github.com/wrouesnel/postgres_exporter/blob/master/cmd/postgres_exporter/postgres_exporter.go#L709

Not easy to resolve since it depends on how to get the credentials to the underlying postgres driver. I suspect it means we need to move away from constructing the URLs.

Have you tried using "Percent-encoding" in your URI ?
https://www.postgresql.org/docs/11/libpq-connect.html#id-1.7.3.8.3.6
Percent-encoding may be used to include symbols with special meaning in any of the URI parts, e.g. replace = with %3D.


text:
question: what's the timezone of the hourly heatmap?

Hi @wslyvh
Thanks for the great page: https://www.useweb3.xyz/gas
What's the timezone of the hourly heatmap?

Hi, thank you! Appreciated
All times are in UTC. I would recommend to use https://www.ethgastracker.com/ instead of useWeb3 though.
That's a different project and planning to deprecate the gastracker on it soon actually.
Will continue to maintain this repo

thanks a lot Wesley, see https://github.com/wslyvh/eth-gas-tracker/pull/2

authors: monperrus wslyvh

repo: wslyvh/eth-gas-tracker

license: MIT


text:
Exception is thrown when opening the Resources tab

Description
The below exception can be seen when visiting the Resources tab of published API in the Publisher portal.
ERROR - GlobalThrowableMapper An unknown exception has been captured by the global exception mapper.
java.lang.ClassCastException: class java.util.Collections$EmptyMap cannot be cast to class org.json.simple.JSONObject (java.util.Collections$EmptyMap is in module java.base of loader 'bootstrap'; org.json.simple.JSONObject is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @26c897c8)
	at org.wso2.carbon.apimgt.impl.restapi.publisher.ApisApiServiceImplUtils.getAmazonResourceNames_aroundBody4(ApisApiServiceImplUtils.java:183) ~[org.wso2.carbon.apimgt.impl_9.26.62.SNAPSHOT.jar:?]
	at org.wso2.carbon.apimgt.impl.restapi.publisher.ApisApiServiceImplUtils.getAmazonResourceNames(ApisApiServiceImplUtils.java:1) ~[org.wso2.carbon.apimgt.impl_9.26.62.SNAPSHOT.jar:?]
	at org.wso2.carbon.apimgt.rest.api.publisher.v1.impl.ApisApiServiceImpl.getAmazonResourceNamesOfAPI(ApisApiServiceImpl.java:775) ~[?:?]
	at org.wso2.carbon.apimgt.rest.api.publisher.v1.ApisApi.getAmazonResourceNamesOfAPI(ApisApi.java:1129) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) ~[?:?]
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[?:?]
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201) ~[?:?]
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104) ~[?:?]
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) ~[?:?]
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) ~[?:?]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) ~[?:?]
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[?:?]
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265) ~[?:?]
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[?:?]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[?:?]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[?:?]
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225) ~[?:?]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304) ~[?:?]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222) ~[?:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) ~[tomcat-servlet-api_9.0.58.wso2v1.jar:?]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279) ~[?:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:119) ~[org.wso2.carbon.identity.context.rewrite.valve_1.7.1.jar:?]
	at org.wso2.carbon.identity.context.rewrite.valve.OrganizationContextRewriteValve.invoke(OrganizationContextRewriteValve.java:116) ~[org.wso2.carbon.identity.context.rewrite.valve_1.7.1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.SameSiteCookieValve.invoke(SameSiteCookieValve.java:38) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:165) ~[org.wso2.carbon.identity.authz.valve_1.7.1.jar:?]
	at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:111) ~[org.wso2.carbon.identity.auth.valve_1.7.1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:106) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:67) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:152) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:63) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:137) ~[org.wso2.carbon.tomcat.ext_4.8.0.m1.jar:?]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat_9.0.58.wso2v1.jar:?]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat_9.0.58.wso2v1.jar:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Steps to Reproduce

Start APIM-4.2.0 server
Create an API
Go to the Resources tab

Affected Component
APIM
Version
APIM-4.2.0-M1 testing pack
Environment Details (with versions)
JDK 17
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
4.x.x

This is already fixed in https://github.com/wso2/api-manager/issues/870. Hence closing.

authors: YasasRangika tharikaGitHub


text:
[APK Management Server to Agent Client Communication] Finalize Data Related to User Flows and Data Structures

Description:
This is to finalize the data related to the user flows defined in https://docs.google.com/document/d/1F15zHzHi8ercomq5J3yR8P6TjkVWhhUQ1lnOF4_JCcU/edit?usp=sharing

Document - https://docs.google.com/document/d/1opdltBxJIkz3Tn_CsxXbHI7RrhmsXaSgZAq27oayr_s/edit?usp=sharing

Tasks -

[ ] Runtime API to k8s server - API deployment
[ ] DevPortal DS to Mgt server - API creation, Apps, Subs, Policies


text:
Upgrading APK with helm upgrade command doesn't auto deploy new pods

Description
Upgrading APK with helm upgrade command doesn't auto deploy new pods
Steps to Reproduce
After doing a change to values.yaml and do the helm upgrade commands currently need to manually delete the relevant pods to make effect the change.
Affected Component
Adapter
Version
1.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

When I added the following change to values yaml
gatewayRuntime:
        analytics:
          enabled: true
          publishers:
          - enabled: true
            type: "elk"

Adapter and gateway runtime pods are getting restarted. Unable to reproduce this issue


text:
Changing image tags to latest

Purpose
Changing image tags to latest

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

Comparison is base (c3b9896) 25.66% compared to head (068f7b8) 80.18%.
Report is 35 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1842       +/-   ##
===========================================
+ Coverage   25.66%   80.18%   +54.51%
===========================================
  Files         260        9      -251
  Lines       29996      550    -29446
  Branches     4906      246     -4660
===========================================
- Hits         7698      441     -7257
+ Misses      22036      109    -21927
+ Partials      262        0      -262

Flag
Coverage Δ

adapter
?

common-controller
?

config-deployer-service
?

idp-domain-service
80.18% <ø> (ø)

router
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 251 files with indirect coverage changes

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

source: gharchive/pull-request

authors: CrowleyRajapakse codecov-commenter


text:
Verify web services/SOAP use case

Exposing SOAP services
Invoking SOAP services /SOAP Connector

@Maninda I think we need to verify what are the use cases that we have already covered and the gaps.

Ballerina team has developed a simple client for SOAP services that can convert an XML message to a SOAP message, add username/password pair as options and call a SOAP endpoint.
Remaining Tasks

Generate a SOAP request on a given WSDL: This will be like generating a service stub automatically based on the WSDL. This needs a significant level of developer cycles to implement specs.
Exposing a SOAP service: This is not currently supported by Ballerina language. This has to be implemented possibly on top of existing REST APIs. Then the SOAP compliant security has to be also implemented in Ballerina.
X509 certificate support: As there is no current implementation in ballerina for X509 certificates, existing JBallerina has to use Java based certificate support. When moving to LLVM, a pure Ballerina implementation would be required.
XSD validation: Current Ballerina does not support schema validation for SOAP messages though there is an OpenAPI based validation for REST/JSON. It would be required to implement SOAP schema validation in ballerina or wrap the existing Java implementation in JBallerina.

Shall we create separate issues for those subtasks? We will prioritize and tackle them separately.

@Asitha Sure. Will create a set of issues and a related epic.
And there is another task remaining for implementing SOAP protocol.
MTOM Protocol support for SOAP client: MTOM is not currently not supported with the SOAP client. It has to be implemented with ballerina.

I have created the epic https://github.com/wso2/ballerina-integrator/issues/60 for fulfilling these requirements.

authors: Asitha Maninda kasun04


text:
Implement a guide for IBM MQ

Description:

A detailed guide of using IBM MQ as a brokering backend. This should cover details on

what are the configurations needs to be done
receiving and sending messages
transaction support. If it is same as JMS point to relevant doc
relevant connectors to be used.
data transformations if required.

It is possible to configure the Ballerina JMS connector configurations with IBM WebSphere MQ.
We can use Ballerina jms connector for message-driven processing with IBM WebSphere MQ in a synchronous manner. The Asynchronous Queue Receiver is not consumed JMS messages with IBM WebSphere MQ. Please refer the following link to keep track of this issue.
wso2/ballerina-integrator#15840

authors: Asitha KasunAratthanage


text:
Enabling PrivateJet Mode to Deploy APIs: Correcting service account name

Purpose

Correcting the SA name refers in the clusterRoleBinding

 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.Shehanir 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 Shehanir


text:
Fixing broken r=links related to analytics

Purpose
Fixes https://github.com/wso2/docs-apim/issues/8024

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

authors: CLAassistant rmsamitha


text:
MI - PERFORMANCE TUNING (Split Aggregator Pattern doc)

Complete the doc for split aggregator performance tuning [1].
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/setup/performance_tuning/split_aggregate_pattern_tuning.md

This content[1] is moved to the Examples section[2].
[1] https://docs.wso2.com/display/EI650/Split-Aggregate+Pattern
[2] https://ei.docs.wso2.com/en/next/micro-integrator/use-cases/examples/split_aggregate_pattern/


text:
Add GRPC Inbound Endpoint Documentation to MI

Description:
In the Streaming Integration there is a documentation showing an example with a GRPCInboundEndpoint on the MI side[1].
But there is no documentation on the MI side for the GRPCInboundEndpoint[2], so there is no way to know the options available and how to work with that kind of Inbound EP.
[1] https://ei.docs.wso2.com/en/latest/streaming-integrator/examples/triggering-integrations-via-micro-integrator/#configuring-micro-integrator
[2]https://ei.docs.wso2.com/en/latest/micro-integrator/references/synapse-properties/inbound-endpoints/about-inbound-endpoints/
Suggested Labels:

Suggested Assignees:

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

Since this solution is currently not supported in MI tooling (WSO2 Integration Studio), we have added a note about it to [1].
[1] https://ei.docs.wso2.com/en/latest/streaming-integrator/examples/triggering-integrations-via-micro-integrator/#configuring-micro-integrator


text:
Bump Dependencies #306

Bumps dependencies for ${REPOSITORY}.

 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.jenkins-is-staging 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 jenkins-is-staging


text:
Downloaded swagger definitions from publisher don't contain 'basePath'

Downloaded swagger definitions from the Publisher don't contain the basePath field. But it's there when the swagger definition is downloaded from the store.

This is needed when accessing from the Store and not needed for the publisher

authors: ThaminduDilshan chamilaadhi


text:
Thumbnail update issue - topheader preview is not updated till page refresh

Steps to reproduce
Goto publisher and create api.
Upload a thumbnail

version
3.0.0

Overview page "Last Updated Time" also updated after a refresh


text:
[APPM-1495] User cannot login to admindashboard via Firefox 41 browser

User cannot login to admindashboard via Firefox 41 browserReference: https://wso2.org/jira/browse/APPM-1495

Tested on the Firefox on IoT 3.1.0 cluster.

authors: geethkokila madhawap


text:
SCIM2 Group's member listing via /Users endpoint returns a full list of members causing performance issues.

Description
SCIM2 Groups endpoint doesn't support member pagination while listing the groups. Therefore, we use the /Users endpoint as below.
GET https://localhost:9443/scim2/Users?filter=groups+eq+admin&startIndex=0&limit=2
Even this endpoint doesn't honour pagination parameters if the filter contains groups. This again returns a full list of members causing performance issues if the given groups filter contains large amount of users.
Improvement
Introduce a configurable hard limit to throttle the number of members returned in the GET https://localhost:9443/scim2/Users?filter=groups+eq+admin request. (Not pagination, just a hard limit to throttle the number of users)
Additional context
WSO2is-.5.10.0
WUM - 2021 February

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: isharak nipunthathsara


text:
Can not remove added identifier first option

Describe the issue:
Can not remove added identifier first option in  console
How to reproduce:

Login to console
Create application
Navigate to application edit ->Sign in method
Select one of the option and navigate to the sign-in methods edit page
Click add authenticator and add identifier first
Click remove button to remove the identifier option

Identifier option should be removed
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 6.0.0-beta
OS: Mac
Database: MSSQL
Userstore: JDBC

Optional Fields
Related issues:

Suggested labels:

This is reproducible. This could happens due to some validations we are doing to check the authenticators in the second step. For example, if MagicLink is there in the second step, we shouldn't be able to remove the Identifier First from the first step.
However, we can use the Revert to default option as an alternative.

A NPE was hitting in a validation when deleting the identifier first handler.

Fixed with https://github.com/wso2/identity-apps/pull/3308

authors: IsuraD aaujayasena brionmario


text:
Avis.com sample app used for SSO scenarios home.jsp needs to be corrected.

Suggested Labels
Affected : 5.8.0- alpha2
Severity: Major
Priority: Normal
Component: Sample Apps
Type-Bug
Avis.com sample apps home page needs to remove the Travelocity.COM heading and needs to be corrected as AVIS.COM. When trying SSO scenarios with multiple apps after login to avis.com home page as it shows as Travelocity.COM in the home page it confuses the users.
currently home page will be displayed as below and it can misguide the users.
URL - http://192.168.108.35:8080/avis.com/home.jsp

This should be mentioned in the documentation under how to update the page manually.

authors: ShanikaWickramasinghe thanujalk


text:
5.10.0 Consent table missing error is not logged

5.10.0 June 20 WUM
Start a pack without executing the consent DB script.
Setup an SSO app and try to login.
No errors in the logs.
No way to know what the error is.
Please improve login in the ConsentMgtPostAuthnHandler.handlePreConsent() method to print the log.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


text:
How to use regular sans-serif italic/upright greek letter in math mode?

Description
Unicode-math does not support sans-serif italic/upright greek letter
Add info or delete as appropriate:

Relevant for XeTeX Yes
Relevant for LuaTeX Yes
Issue tracker has been searched for similar issues? Yes
Links to <tex.stackexchange.com> discussion if appropriate https://tex.stackexchange.com/questions/693724/how-to-use-sans-serif-italic-greek-letter-in-math-mode?noredirect=1#comment1721669_693724

Minimal example demonstrating the issue
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}% filename only please!
\begin{document}
\[
  \alpha \mathsf{\alpha}
\]
\end{document}

You can try STIX Two Math, still do not support
Further details
https://mirrors.zju.edu.cn/CTAN/macros/unicodetex/latex/unicode-math/unimath-symbols.pdf

Sans-serif italic/upright greek letters are not defined in Unicode.

Some fonts may support these letters alternatively. For XITS, you can use ss02 to load the sans-serif version:
\documentclass{article}
\usepackage{unicode-math}
\setmathfont[StylisticSet=2]{XITSMath-Regular.otf}
\begin{document}
\[ \alpha + \beta + \Gamma \]
\end{document}

What can I do if I want some greek letters be sans-serif but a lot more others don't?
For example:
$$
X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta}
$$

It's clearly impossible to use a glyph that doesn't exist in a font, unless you modify the font and add the things you need.

No unicode-math issue here.

What can I do if I want some greek letters be sans-serif but a lot more others don't?
For example:
X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta}

Here is a suggestion that relies on the XITS Math fonts and makes use of StylisticSet = 2, as @stone-zeng suggested:
% !TeX program = xelatex

\documentclass{article}

\usepackage[mathsf=sym]{unicode-math}
\setmathfont{XITSMath-Regular.otf}[BoldFont = XITSMath-Bold.otf]

\newcommand{\mitsanseta}{%
  \textit{%
    \fontspec{XITSMath-Regular.otf}[
      StylisticSet = 2,
      Color = red
    ]%
    \miteta%
  }%
}

\newcommand{\msanseta}{%
  \textit{%
    \fontspec{XITSMath-Regular.otf}[
      StylisticSet = 2,
      Color = blue
    ]%
    \mupeta%
  }%
}

\begin{document}

\[ X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta \msanseta} \mathsfit{X \eta \mitsanseta} \mathsfup{X \eta \msanseta} \mathbfsf{X \eta} \mathbfsfit{X \eta} \]

\boldmath

\[ X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta \msanseta} \mathsfit{X \eta \mitsanseta} \mathsfup{X \eta \msanseta} \mathbfsf{X \eta} \mathbfsfit{X \eta} \]

\end{document}

Result:

I have made use of the Color attribute only for the purpose of illustration, of course.

You can use FiraSans:
\documentclass{article}
\usepackage{firamath-otf}

\newcommand{\mitsanseta}{%
	\textit{%
	\fontspec{FiraMath-Regular.otf}[
	StylisticSet = 2,
	Color = red
	]%
	\miteta%
	}%
}

\newcommand{\msanseta}{%
	\textit{%
	\fontspec{FiraMath-Regular.otf}[
	StylisticSet = 2,
	Color = blue
	]%
	\mupeta%
	}%
}

\begin{document}

\[ X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta \msanseta}
  \mathsfit{X \eta }\mitsanseta \mathsfup{X \eta \msanseta} \mathbfsf{X \eta}
  \mathbfsfit{X \eta} \]

\boldmath

\[ X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} = \mathsf{X \eta \msanseta}
   \mathsfit{X \eta}\mitsanseta \mathsfup{X \eta \msanseta}
    \mathbfsf{X \eta} \mathbfsfit{X \eta} \]

\end{document}

You can use FiraSans:

Sure, but @Firestar-Reimu wants math to be serif in general and only select symbols to be sans-serif:

What can I do if I want some greek letters be sans-serif but a lot more others don't?

It is true, though, that one take the upright sans-serif glyphs out of many different math (or even text fonts) that include Greek letters. For instance,
% !TeX program = xelatex

\documentclass{article}

\usepackage{xcolor}

\usepackage[mathsf=text]{unicode-math}
\setmainfont{XITS-Regular.otf}[
  ItalicFont = XITS-Italic.otf,
  BoldFont = XITS-Bold.otf,
  BoldItalicFont = XITS-BoldItalic.otf,
]
\setsansfont{FiraSans-Regular.otf}[
  ItalicFont = FiraSans-Italic.otf,
  BoldFont = FiraSans-Bold.otf,
  BoldItalicFont = FiraSans-BoldItalic.otf,
  Scale = 0.9,
]
\setmonofont{FiraMono-Regular.otf}[
  BoldFont = FiraMono-Bold.otf,
  Scale = 0.9,
]
\setmathfont{XITSMath-Regular.otf}[BoldFont = XITSMath-Bold.otf]

\setmathfontface{\mathsf}{FiraMath-Regular.otf}[
  BoldFont = FiraMath-Bold.otf,
  Color = cyan
]
% FiraMath-Bold.otf is NOT included in CTAN; it must be downloaded from
% https://github.com/firamath/firamath/releases/tag/v0.4-beta-3.
\setmathfont{FiraMath-Regular.otf}[
  BoldFont = FiraMath-Bold.otf,
  range = {sfup, sfit->it},
  Color = teal,
]
\setmathfont{FiraMath-Bold.otf}[
  range = {bfsfup->up, bfsfit->it},
  Color = orange,
]

\newcommand{\mitsanseta}{%
  \textit{%
    \fontspec{FiraMath-Regular.otf}[
      Color = red
    ]%
    \miteta%
  }%
}
\newcommand{\msanseta}{%
  \textup{%
    \fontspec{FiraMath-Regular.otf}[
      Color = blue
    ]%
    \mupeta%
  }%
}
\AtBeginDocument{%
  \renewcommand{\mbfsanseta}{%
    \textbf{%
      \fontspec{FiraMath-Bold.otf}[
        Color = green
      ]%
      \mupeta%
    }%
  }%
  \renewcommand{\mbfitsanseta}{%
    \textbf{%
      \fontspec{FiraMath-Bold.otf}[
        Color = magenta
      ]%
      \miteta%
    }%
  }%
}

\begin{document}

Test \texttt{\textbackslash mathversion[normal]}:
\[
  X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} =
  \mathsf{X \eta \msanseta} \mathsfit{X \eta \mitsanseta} \mathsfup{X \eta \msanseta} \mathbfsf{X \eta \mbfsanseta} \mathbfsfit{X \eta \mbfitsanseta}
\]

\bfseries\boldmath
Test \texttt{\textbackslash mathversion[bold]}/\texttt{\textbackslash boldmath}:
\[
  X^\mu_\nu = X^{\mu\rho} \eta_{\rho_\nu} =
  \mathsf{X \eta \msanseta} \mathsfit{X \eta \mitsanseta} \mathsfup{X \eta \msanseta} \mathbfsf{X \eta \mbfsanseta} \mathbfsfit{X \eta \mbfitsanseta}
\]

\end{document}

authors: Firestar-Reimu HolgerGerhardt hvoss49 khaledhosny stone-zeng

repo: wspr/unicode-math


text:
Register as a formatter

As I described in #5, it would be nice to have the extension registered as a language formatter for SQL. Here it is.

This is tremendously useful - thanks WSR and thanks Lenny for taking it just a bit further!

I do have access. I'll take a look at the code and merge when possible. Thanks @lennybacon for the improvement.

@dannyrich Thank you! Let me know If you need anything.

authors: JDeeth dannyrich lennybacon

repo: wsr-publishing/azure-poor-formatter


text:
不支持中文.....，图表加中文会显示不出来

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

需要设置字体，或使用react-native-svg作渲染

repo: wuba/react-native-echarts


text:
Eigen Bug

I run the last command：./../build/examples/pppBayesTree -c phastball.conf
it shows：
Using threads for all processors
pppBayesTree: /home/User/WORK/Factor Graph/GNSS/PPP-BayesTree/PPP-BayesTree-trunk/gtsam/3rdparty/Eigen/Eigen/src/Core/Block.h:142: Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Block(XprType&, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index) [with XprType = Eigen::Matrix<double, -1, -1>; int BlockRows = -1; int BlockCols = -1; bool InnerPanel = false; Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index = long int]: Assertion `a_startRow >= 0 && blockRows >= 0 && a_startRow <= xpr.rows() - blockRows && a_startCol >= 0 && blockCols >= 0 && a_startCol <= xpr.cols() - blockCols' failed.
How to fix it？

Can you re-run cmake and provide the output? That might help me figure out the issue.

huanhexiao@JIN:~/WORK/FactorGraph/GNSS/PPP-BayesTree/PPP-BayesTree_trunk/build$ cmake ..
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- GTSAM_SOURCE_ROOT_DIR: [/home/huanhexiao/WORK/FactorGraph/GNSS/PPP-BayesTree/PPP-BayesTree_trunk]
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   serialization
--   system
--   filesystem
--   thread
--   program_options
--   date_time
--   regex
--   timer
--   chrono
--   atomic
Ignoring Boost restriction on optional lvalue assignment from rvalues
-- Found Intel TBB
-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARIES)
-- Found OpenMP_C: -fopenmp (found version "4.0")
-- Found OpenMP_CXX: -fopenmp (found version "4.0")
-- Found OpenMP: TRUE (found version "4.0")
-- Building 3rdparty
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for getline
-- Looking for getline - found
-- checking for thread-local storage - found
-- Found GeographicLib: /usr/local/lib
-- Building base
-- Building geometry
-- Building inference
-- Building symbolic
-- Building linear
-- Building nonlinear
-- Building sam
-- Building sfm
-- Building slam
-- Building smart
-- Building navigation
-- Building gnssNavigation
-- Building configReader
-- Building robustModels
-- Building gpstk
-- GTSAM Version: 4.0.0
-- Install prefix: /usr/local
-- Building GTSAM - shared
CMake Warning at cmake/GtsamTesting.cmake:229 (message):
The script exclusion pattern
'DiscreteBayesNet_FG.cpp;UGM_chain.cpp;UGM_small.cpp;elaboratePoint2KalmanFilter.cpp'
did not match any files
Call Stack (most recent call first):
cmake/GtsamTesting.cmake:55 (gtsamAddExesGlob_impl)
examples/CMakeLists.txt:8 (gtsamAddExamplesGlob)
-- Wrote /home/huanhexiao/WORK/FactorGraph/GNSS/PPP-BayesTree/PPP-BayesTree_trunk/build/GTSAMConfig.cmake
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components:  doxygen dot
-- ===============================================================
-- ================  Configuration Options  ======================
--   CMAKE_CXX_COMPILER_ID type     : GNU
--   CMAKE_CXX_COMPILER_VERSION     : 5.4.0
-- Build flags
--   Build Tests                    : Enabled
--   Build examples with 'make all' : Enabled
--   Build timing scripts with 'make all': Disabled
--   Build Docs                     : Enabled
--   Build static GTSAM library instead of shared: Disabled
--   Put build type in library name : Enabled
--   Build type                     : Release
--   C compilation flags            :  -std=c11   -Wall
--   C++ compilation flags          :  -std=c++11 -Wall
--   Use System Eigen               : No
--   Use Intel TBB                  : Yes
--   Eigen will use MKL             : MKL not found
--   Eigen will use MKL and OpenMP  : OpenMP found but MKL not found
--   Default allocator              : TBB
-- Packaging flags
--   CPack Source Generator         : TGZ
--   CPack Generator                : TGZ
-- GTSAM flags
--   Quaternions as default Rot3     : Disabled
--   Runtime consistency checking    : Disabled
--   Rot3 retract is full ExpMap     : Disabled
--   Pose3 retract is full ExpMap    : Disabled
--   Deprecated in GTSAM 4 allowed   : Enabled
--   Point3 is typedef to Vector3    : Disabled
--   Metis-based Nested Dissection   : Enabled
--   Use tangent-space preintegration: Enabled
-- MATLAB toolbox flags
--   Install matlab toolbox         : Disabled
--   Build Wrap                     : Enabled
-- Python module flags
--   Build python module            : Disabled
-- ===============================================================
CMake Warning at CMakeLists.txt:499 (message):
MKL was not found - this is ok, but note that MKL yields better
performance.  Set GTSAM_WITH_EIGEN_MKL to 'Off' to disable this warning.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/huanhexiao/WORK/FactorGraph/GNSS/PPP-BayesTree/PPP-BayesTree_trunk/build

I set breakpoints and and step into the problem, the steps order:
1.pppBayesTree.cpp: isam.update(graph, initial_values);
2.ISAM2.cpp:  GaussianFactorGraph::shared_ptr linearFactors = newFactors.linearize(theta_);
3.NonlinearFactorGraph.cpp: _LinearizeOneFactor(*this, linearizationPoint, *linearFG));
Hope that helps

authors: huanhexiao watsonryan

repo: wvu-navLab/PPP-BayesTree


text:
sm9加密明文的方法结合密钥派生函数的分组密码算法

大佬有计划实现这种方式的明文处理吗？

应该暂时不计划实现，因为这里并没有规定分组密码的工作模式，文档的测试用例使用的是 CBC，但是 GB/T 17964 规定了很多种工作模式，如果要实现的话必须统一实现，并在构造函数里提供工作模式参数。
但是对于 gmalg 这个库，我只计划实现最基本的国密算法，所以 SM4 只实现了对分组进行加解密，没有实现工作模式，所以 SM9 也只实现了简单一点的序列密钥加密。
如果有需求可以自己扩展 SM4 的某一种工作模式并集成到 SM9 中，并实现对明文的填充，其他需要的功能应该都是实现了的可以直接调用。

authors: entarohydralisk ww-rm

repo: ww-rm/gmalg


text:
Custom classes sometimes shown next to name, sometimes not.

This looks like a very petty bug. I hope it doesn't have some implications under the hood.
To reproduce:

Create a new application.
Add a frame with a sizer of 3 slots.
Add to the first slot a custom widget with class 'Foo'. Only it's name will appear in the application tree.
Add to the second slot a custom widget with class 'Foo'. Again, only it's name will appear in the application tree.
Change the class name of the second custom widget to 'Spam', now Spam appears next to the name of this widget in the application tree.
Add a third custom widget to the last slot and have its class be 'Spam'. This widget does not have it's class name displayed in the application tree but the second control still does.
Change the class name of the third widget to 'Foo'. Now the class name will appear in the application tree. Also, in the properties window of that widget, the class field will be yellow.
Change back the class names of widget 2 and 3 to 'Foo' and 'Spam' respectively and the class names next to the widget name will disappear in the application tree.

So far I've not noticed any bugs in the generated code. <opinion> So I don't think it would bother anyone if it sinks in priority if it's just a visual thing. </opinion>

Image of step 7
Sidenote:
I would like to thank the developer for maintaining this tool. It's so useful.

Thanks for reporting. There was a bug in the label generation code. I have also modified the code not to suggest CustomWidget0 if CustomWidget is in use already.

authors: DietmarSchwertberger jabozzo

repo: wxGlade/wxGlade


text:
Store is not valid error

Stumped on this one.
Error: The store is not valid.
...node_modules/express-rate-limit/lib/express-rate-limit.js:37:11
I'm using the following packages:
"rate-limit-redis": "^1.5.0",
"redis": "^2.8.0",
"express-rate-limit": "^3.1.1",

var redis = require('redis');
var redisClient = redis.createClient(config.redis.url);

redisClient.on("error", function (err) {
    console.log("Error:", err);
});
redisClient.on("connect", function (msg) {
    console.log("Redis connection online");
});

var RateLimit = require("express-rate-limit");
var RedisRateLimit = require("rate-limit-redis");
app.enable("trust proxy");
var limiter = new RateLimit({
  windowMs: 10 * 60 * 1000, // 10 minutes
  max: 125, // limit each IP # of requests per windowMs
  delayMs: 0, // disable delaying - full speed until the max limit is reached
  store: new RedisStore({
    client: redisClient,
    expiry: 10*60*1000,
    prefix: "rl"
  })
});
app.use(limiter);

My mistake. Pls ignore.

repo: wyattjoh/rate-limit-redis


text:
nested iteration with ability to access parent

Please see the issue here http://stackoverflow.com/questions/552934/what-javascript-templating-engine-do-you-recommend/7812081#7812081

One simple approach would be to register a helper:
{{#each animals}}
  {{#each organs}}
    {{get .. this}}
  {{/each}}
{{/each}}

Handlebars.registerHelper('get', function(obj, prop) {
  return obj[prop];
});

Sorry to bring this issue back up, but I don't see how this 'get' helper will give access to the parent unless we create circular references.
Could you expand on what you mean by "{{get .. this}}"? If this is an organ, how can we use that to find the parent animal?
I would like to use handlebars.js to iterate over a list of families, and then iterate over that family's members. Inside of both loops, I want to display properties of both. However, once I get into the second iteration, none of the family variables are visible.
{{#each families}}
  {{#each members}}

{{ ( here I want a family name property ) }}

{{ ( here I want a member name property ) }}

  {{/each}}
{{/each}}

Is this possible with handlebars? If not, that's OK. I'd greatly appreciate any help!

{{#each families}}
{{#each members}}
{{ ../surname }}
{{ name }}
{{/each}}
{{/each}}

hello guys i am learning node/express right now, the code above wont work for me i am using express-handlebars, can you help me? Is this possible with express-handlebars? here's my code. the gpareaData is iterating but the branch is not
{{#each gpareaData}}

       <select class="form-control" name="gp_branch[]">
           <option value="{{id}}">{{desc}}</option>
             {{#each branch}}
           <option value="{{id}}">{{branch_desc}}</option>
             {{/each}}
       </select>

    <button type="button" class="btn btn-primary btn-sm" id="addRws3"></button>

{{/each}}

{{#allData}}
all
{{#assignedData}}
assigned

{{#ifEqual id course_id }}
 {{title}}
{{else}}
 {{title}}
{{/ifEqual}}

{{/assignedData}}
{{/allData}}
My app control is nor even entering the inner loop . Just printing
all
all
all
Can you tell me why?

authors: Farrukh-Sarmad bjmercado dubharmonic snimavat wycats

license: mit

license_source: bigquery


text:
Plugins should have access to resources of other plugins

I`m thinking of situations where you have a resource that contains elements which contain references to elements of other resources. How would a plugin right now get information about these resources (e.g. maybe to expand them or update them).
Maybe each plugin could get registered in some kind of plugin registry and this registry is then exposed to each plugin?

good idea.. the plugin loader might expose these information
for now I'd recommend too just "import" the needed parts

Within a service, you can now lookup resources by using getResource(name:string).
It is part of a refactoring service class

What is the desired feature scope for this? Given that resources within a service do actually know and now can also lookup each other this already gives the ability to implement a plugin logic that for instance let's a resource modify certain other resources based it's own current data set.
Benjamin's initial thought was going further by suggesting a mechanism to provide each service with information about all available services and thus enable a service to service communication.
Maybe it should be defined in which extend such functionality should be implemented.

Ok,
This would mean some central service registry for the server side
implementation,right?
The router is the only component right now that has all information. The
plugin  loader registers all pluggins at the router and for websocket.
Maybe we can extract a singleton component here that gives an interface to
register and list without using the external REST API.
Viwi supports exploration anyway, but on its external API..
Am thoughts on a smart solution?
On Wed 12. Apr 2017 at 12:14 alexander thieme notifications@github.com
wrote:

What is the desired feature scope for this? Given that resources within a
service do actually know and now can also lookup each other this already
gives the ability to implement a plugin logic that for instance let's a
resource modify certain other resources based it's own current data set.
Benjamin's initial thought was going further by suggesting a mechanism to
provide each service with information about all available services and thus
enable a service to service communication.
Maybe it should be defined in which extend such functionality should be
implemented.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wzr1337/viwiServer/issues/5#issuecomment-293534063,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADiF7U6s72UbgtaQ1k9j8WcsVh_uoqVZks5rvKQAgaJpZM4Lojgh
.

--

Patrick (Mobile)

Thinking about this further, this kind of relates to or could be the basis of #30 as well. Not sure about a smart solution though. I gotta dig a little deeper and understand viwi in it's current state a little better still.

have a look at the media/medialibrary implementation in the audio playback
branch.. media uses the medialibrary
On Wed, Apr 26, 2017 at 11:16 PM, alexander thieme <notifications@github.com

wrote:

Thinking about this further, this kind of relates to or could be the basis
of #30 https://github.com/wzr1337/viwiServer/issues/30 as well. Not
sure about a smart solution though. I gotta dig a little deeper and
understand viwi in it's current state a little better still.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wzr1337/viwiServer/issues/5#issuecomment-297543673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADiF7X1fgIFEJ8AIm-78CWrkQff5XrM1ks5rz7Q7gaJpZM4Lojgh
.

--

Dr. Patrick Bartsch
(web)

authors: BenjaminDobler codeundkakao wzr1337


text:
v4 支持数组 push、splice ...等方法

（必填）这个需求解决了什么问题：
v4 不支持数组 push、splice ...等方法全部无效，改变表格数据必须使用 tableData.value = []
截图或在线链接：
？
建议的 API 是什么样的：
建议可以支持push,splice相关api
是否已有其他不错的替代方案：
？
（必填）这个需求解决了什么问题：
4.0 中 tableData.value = []  太麻烦了，insert 系列方法也没有

确实。。。很难受

authors: adoin zybieku

repo: x-extends/vxe-table


text:
Scatter chart does not emit click event

The scatter chart is missing the click event dispatch. We'll need to add this to make scatter charts interaction sources.

Fixed in #30.


text:
doesn't support additionalProperties: true

Spec
openapi: 3.0.0
info:
  version: 1.0.0
  title: Swagger Petstore
components:
  schemas:
    Pet:
      type: object
      additionalProperties: true
paths:
  /pet:
    get:
      responses:
        204:
          description: Ok

Rust code
use oas3;

fn main() {
    match oas3::from_path("./petstore-minimal.yaml") {
        Ok(spec) => println!("spec: {:#?}", spec),
        Err(err) => println!("error: {:?}", err),
    }
}

Output
error: Yaml(Error("components.schemas: data did not match any variant of untagged enum ObjectOrReference", line: 7, column: 5))

The openapi spec is not clear about addionalProperties, there is an open issue that addresses the boolean value.
Right now it defines what oas-rs currently parses (but not honors on validation) - passing objects or refs.
The swagger documentation meanwhile has defined it, see "Free-Form Object". They also assume that when additionalProperties is omitted, it defaults to true.

A free-form object (arbitrary property/value pairs) is defined as:
   type: object

This is equivalent to
   type: object
   additionalProperties: true

and
   type: object
   additionalProperties: {}

I've commited a change that clarifies this crate follows OAS v3.1, not v3.0

The new version supports parsing a schema that uses additionalProperties: true, but it does not validate properly in that case as it always assumes that additionalProperties is false.
This commit illustates the issue.

From the OAS spec:

Unless stated otherwise, the property definitions follow those of JSON Schema and do not add any additional semantics.

From the 2020 JSON schema draft:

The value of "additionalProperties" MUST be a valid JSON Schema.

I'm struggling to find anywhere that states a v3.1 spec supports additionalProperties: false. It is only stated in v3.0.

Apoligies if I'm missing something obvious. Actually I notice now your commit link goes to the validation code. If this is what you mean by not supporting additionaProperties then I understand, the validation code is not up to spec yet (hence the feature flag).

@robjtede I ran into the same issue of additionalProperties: false leading to a parsing error. My take on the 3.1 spec is, as you said

Unless stated otherwise, the property definitions follow those of JSON Schema and do not add any additional semantics.

and the current json-schema draft says the following about additionalProperties (https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#name-additionalproperties):

The value of "additionalProperties" MUST be a valid JSON Schema.

So the question is whether a boolean is a valid JSON schema, and I think it is:
https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#name-json-schema-documents says

A JSON Schema MUST be an object or a boolean.

https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#name-boolean-json-schemas says

The boolean schema values "true" and "false" are trivial schemas that always produce themselves as assertion results, regardless of the instance value.

and on top of that https://json-schema.org/understanding-json-schema/reference/object#additionalproperties mentions the usage of false as well:

Setting the additionalProperties schema to false means no additional properties will be allowed.

WDYT?

Awesome, thanks so much for the spec references. I'd definitely not dug deep enough into the JSON schema spec.

fixed in 81d711146b7e625a0d7a4d303e0c43276a648e88

released in v0.9.0

thanks for the quick fix @robjtede, awesome! I can confirm that v0.9 now parses additionalProperties: false

authors: dahrens robjtede simfeld ysulyma


text:
Actividades de implementación de algoritmo

Actividades de implementación de algoritmo de cálculo de peso de arista en función de su longitud y factor de tráfico calculado.

Se implementó el algoritmo de dijkstra para la solución del problema


text:
Audio Player creating multiple instances

Hi, I am using audio component in a table.
Expected behaviour: One audio component for each row.
But with new  new audio player is getting created automatically. If I add new row to the table new instance of audio component will add in all the rows available in table.
Please check the below images.

Please help me with a solution .

thanks for the issue, Ill check and fix as soon I can, also, PR's are welcome if you know how to fix it :)

I think the issue is with the Plyr version. Please check below link
https://github.com/sampotts/plyr/issues/442

yes, i think i'll update the plyr version

is this problem solved with the newest version of react-plyr ?

authors: arudrakalyan xDae

repo: xDae/react-plyr


text:
Poseidon hash instances are hardcoded

The Poseidon hash original research paper (see Reference below) presents different possible instances of the Poseidon hash. The different instances proposed differs in the number of full rounds and partial rounds, or in the S-Box structure, or the structure of the Matrix used for the affine layer of a round. The parameters have an influence on the computation complexity of the hash function but more importantly on the level of security. The Starknet library hardcoded the parameters which means that only one instances of Poseidon of hash function is available when using the library.
The security level is 128 bits.

Thanks for reporting. However, being robust on Poseidon instances is a non-goal for starknet-rs, which optimizes for ease of use instead.
For a robust and more Lego-like Poseidon library, use poseidon-rs instead.

authors: satoshiotomakan xJonathanLEI

repo: xJonathanLEI/starknet-rs


text:
Fixed wrong FormsGallery sample link in StackLayout docs

fixes #145

Docs Build status updates of commit 9798521:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Xamarin.Forms/StackLayout.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


text:
can't find in HACS

I have been using this for quite a while and noticed it is supposed to be available in HACS, so I decided to switch to the HACS managed install of it. For some reason I'm not finding it in HACS. I found something similar from someone else in HACS (here), but I really just wanted to use yours. Is there a reason yours isn't available in HACS?

I have never requested for it be added to HACS, it just supports it. I'll look into what it takes to get it added.

I just figured out that there is a way for me to add your repo to my HACS myself. I had no idea that option was there! I never noticed the "..." button at the top right of HACS before. I've never noticed anyone's HACS install steps in their readme.md mention manually adding the repo, so I just assumed it would already be in the list and never that was a feature. Sorry about my confusion on that.
Incidentally, I found this page on HACS with instructions to get added to the default list if you want to do that: https://hacs.xyz/docs/publish/include

authors: ktownsend-personal xannor

license: Unlicense


text:
导航栏切换时的 Bug

Issue Checklist

[x] I am using the latest version of Volantis.
[x] I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.
[x] I have reviewed guidelines for Volantis, which does not help me.

手机端下，文章页面中，激活搜索状态，当搜索框展开时，屏幕下滑，文章标题没有切换出来。

不如在下滑的时候顺便把搜索给关了吧，z_search-open，另外，鼠标在点击这几个按钮时看到了轻微的抖动。

我已经更新了，你看看ok不

👌

滚动的时候关闭搜索框不行，手机上一点击搜索就会因为弹出输入法而滚动。。。

好像有点不对，我测试的角度也不太正确，PC下测试时是用滚轮滑动的，没有触摸点击

引用一下这个：

在点击这几个按钮时看到了轻微的抖动。

我仔细观察了下，你的官网 2.2 版本，搜索激活后，在别的空白处点一下，确实有一个轻微的抖动，以前好像是老版本的主题鼠标放在图标上就抖个不停，现在是离开后才有这个抖动。
给样式加了行这个就消失了，虽然我不知道为啥 (´ｰ∀ｰ`)
.l_header .switcher>li a {
  line-height: inherit;
}

看上去还挺有意思的😂

应该是涟漪效果导致的，那个插件自带了一套样式

我想起为啥我会特别留意这个了，是 PC  端界面，鼠标移过的出现的抖动，嗯，应该是 hover 无疑了。

authors: inkss xaoxuu

repo: xaoxuu/hexo-theme-volantis


text:
Added gradio server IP and port

Hi, I added the command line arguments for gradio's server_name and server_port.
Now you can launch the app with python app.py --server_name 0.0.0.0 --server_port 7777

Thank you!

repo: xaviviro/refacer


text:
Clear back stack when clicking FAB in movie/episode details

Earlier, clicking the FAB would start a new instance of RemoteActivity so the back stack would look like this:
RemoteActivity
MovieDetailsFragment
MoviesActivity
RemoteActivity
...
Clicking on the back button would return you to MovieDetailsFragment which is unintuitive.
Now, ckicking on the FAB will clear the back stack up to the last instance of RemoteActity, so clicking on the back button would either close the app or return you to the activity that started RemoteActivity.

Sorry, i don't agree with this. I think the user expects to be able to hit back and return to the details fragment after clicking on the FAB.

It's not what I expected (hence the pull request).
The way I see it, the details fragment is like a sub menu/screen. Clicking on the FAB would close the screen, i.e. send you back to the remote, and not open a new remote.

Guess we have different viewpoints. The way i see it, clicking on the fab can (optionally) take you to the remote, but you can get back (and it is useful, as the user might want to play another thing that was available on the list fragment).

Very well, you may close the pull request then.

authors: SyncedSynapse holahmeds

repo: xbmc/Kore


text:
Remove extra newline in help text

Clap will word wrap the help texts on a per-line basis. So the newline in the help text becomes significant in the output and you end up with this output on a standard 80-column terminal:
        --ciserver <SERVICE>    Name of service, supported services are:
                                travis-ci, travis-pro, circle-ci, semaphore,
                                jenkins and codeship.
                                If you are interfacing with coveralls.io or
                                another site you can
                                also specify a name that they will recognise.
                                Refer to their documentation for this.

Notice how there is an unnecessary line break between you can and also specify. This is the newline from the help text that has been preserved in the output.

Thanks for the contribution, merging in now. Hadn't noticed that as I normally fullscreen my terminal


text:
stop using fixed dependency versions

I'm currently getting issues when pulling ts2typebox in as a dependency to another project because it has a fixed dependency on Typescript 5.2.2.
This PR makes it avoid using fixed dependency versions so that there will be fewer compatibility issues.

Hey @hpeebles
sounds good, thanks for the PR. I think you missed updating the yarn lock (currently not on my machine so I can't do it). Feel free to add another commit and we get this merged quickly. Also, please do the required steps for the automated github ci npm release (bump version, write a changelog entry) for inspiration check the changes made in this PR
I did not create a PR template file here yet, sorry. The template can be foundd ich schema2typebox here
thanks!

could you make the release 1.6.1 instead (also adapt changelog please) and remove the ^ from the devDependencies
will do this on monday if you have no time, thanks!

I think that's everything sorted!

authors: hpeebles xddq


text:
Request: Fullscreen mode for art installation

I am very much enjoying exploring sound-to-image with Robot36; I am also not a ham radio person, but an artist with interests in space race/cold-war era media.
I have a strange request: Would you be willing to add the ability to hide the top menu area (leaving only the waterfall, amplitude and decoded areas visible)?
Why? Because I would like to use your software running on an SBC (like an ODROID N2+) in an art installation. Robot36 in auto mode creates really lovely visual patterns when intentional errors are introduced, audio from different images mixed, etc., so it is pretty ideal for the aesthetic I am working on, but I find the menu text and icons (in this context) too distracting.
While I could construct a custom bezel for a monitor in order to hide the "overscan" (like in the old days of CRT!), a software solution would certainly be more elegant.
I have no expectations and sincerely hope it is not offensive for me to ask.
Best Futures!
-c
Originally posted by @chadmeby in https://github.com/xdsopl/robot36/issues/12#issuecomment-2203889598

I just created the following branch, which disables automatic saving of image, the title and the menu bar:
https://github.com/xdsopl/robot36/tree/art
Can you build and test it yourself or do you need an APK?
The app now looks like this:

Fantastic! Thank you so much both for your willingness to do this and with the absolute lightning response. I do not have a toolchain to compile from source, so an apk would also be much appreciated.

Try the attached file. You need to unzip first:
art1.zip

I don't have the Odroid available right now, but this is workinv great on my phone!
Thank you again for this; I am truly grateful.

Don't mention it. Have fun.

Update: I have had this version running of Robot36 for days on an Odroid N2+ with a USB mic. I have a microcontroller driving a sound module to serve up the encoded SSTV audio files. It runs great on this platform under Android 9—and has been completely stable for me.
New request (but only if it is not too much work!): I have been hooking the Odroid up to a variety of different displays, but I am considering a 21:9 ultrawide monitor (in portrait orientation) for the eventual installation.
The hitch is that on a 21:9, Robot36 is still rendering at 16:9—but padding the decoding display area on each side with white bars. Would it be a big deal to increase the decoding display area to utilize the additional screen real estate?

Can you show a screenshot or a simple photo of the screen? The app is trying to keep the aspect ratio for the scope view and if that is not that important, we could set the scaling to fill the screen.

Thanks! Here is a screenshot at 21:9

I've made the frequency plot taller in portrait mode according to the free room you have. Try this one on for size:
art2.zip

Thank you again! The new release works and looks great here on the 21:9 monitor. I appreciate your time. Now for me to start generating the content! =)

authors: chadmeby xdsopl


text:
Simplify conversation DSL

Simplifies the conversation DSL avoiding lazy functions and monadic composition.
We are already in languages where statements are what defines control flow and we should favor the lang idiomatic choice.

@javipacheco addressed all your comments.
Regarding:

Good job! Just minor comments
The new way to add contexts now is easier to understand, but now that we don't have blocks for contexts, should we have a new method to remove contexts from the vector store? I'm not sure, but maybe during the conversation, the user doesn't need some previous contexts added. We should consider which context we want to add in each call to the AI.

Yes, we need ways to add, search, and clear in both context and memories.
In practice, only memories are important because the context also appears in the memories.
I want to split memories out of the VectorStore as a separate interface and make the Conversation implement both.
Also, I think the store should be more generic and allow the user to set and unset values more geared to be regular storage based on SQL with in-memory, locally persistent, and remote persistent implementations all based on the same SQL or similar, if possible.

repo: xebia-functional/xef


text:
Cookie 'expires' property must be a datetime

Using the latest released version of Sanic (19.3.1) I get the following.
2019-03-24T19:32:58.955 ERROR app.py#966 Exception occurred in one of response middleware handlers
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/sanic/app.py", line 958, in handle_request
    request, response
  File "/usr/lib/python3.6/site-packages/sanic/app.py", line 1238, in _run_response_middleware
    _response = await _response
  File "/usr/lib/python3.6/site-packages/ui/server.py", line 704, in save_session
    await session.save(request, response)
  File "/usr/lib/python3.6/site-packages/sanic_session/base.py", line 142, in save
    self._set_cookie_props(request, response)
  File "/usr/lib/python3.6/site-packages/sanic_session/base.py", line 50, in _set_cookie_props
    response.cookies[self.cookie_name]['expires'] = self._calculate_expires(self.expiry)
  File "/usr/lib/python3.6/site-packages/sanic/cookies.py", line 116, in __setitem__
    "Cookie 'expires' property must be a datetime"
TypeError: Cookie 'expires' property must be a datetime

I fixed mine locally with these changes... not sure whether it's good enough to be put into the mainline though.. https://github.com/abdza/sanic_session/commit/60ad4a80ee8281bb56d328b84d2df796f900e865

I have the same exact thing, if you put your branch into a pull request that'd be great!

Thank you for report and @abdza for the PR.

authors: SharpBit abdza nhi-vanye xen


text:
Storyboards Epic

Have an animation editor to easily create cut-scene or animate properties.
TODO: Had some specs in the past, need to find them for future reference.

What sort of system would we want to aim for with this? UE4 Sequencer is still in early access but I've heard a lot of good about it on their forums, and it essentially functions like a normal NLE (or, to use a better analogy, kind of like an improved, in-engine Source Filmmaker). Do we want track-based editing (of properties, animation components, etc..) or something else?
Needless to say, we could also easily leverage ffmpeg (or even just the newly-implemented Video component) to allow exporting of Storyboards out to image sequences, uncompressed video, etc..

Ok, I am going to post here some confluence doc we made at the time.
Not saying this is exactly what we'll do, but it should give a good overview of what we had planned some time ago:
Motivation

Authoring and composition of time-based sequences (cutscenes, replayable bahaviors, etc.) that drive arbitrary properties of objects
Manipulation of involved animations (changing speed, cutting, possibly crossfading)
Editing of time-based properties as 3D curves the editor (mostly transformations, possibly more)
Live preview of storyboardsDesign notes

Use-cases

Cutscene where one story track will govern many aspects of the game like animations, curves, properties, etc.

Example: Cutscene where multiple characters interact with the environment and each other, possibly spawning visual and other effects

Looping or non-looping track where some properties are animated or events are spawned

Example: A slowly spinning waterwheel produces splash sounds and effects

Event list sampled based on animation tracks, so events can be spawned corresponding to the animation state

Example: When an animated character runs, climbs or punches, sounds and visual effects are spawned

Animating one UIElement with different properties

Example: Ease-in ease-out type of animation is played on a button every time the button is pressed

Design notes
Model

Storyboard

A Storyboard is authored as a StoryboardAsset and describes some time-based progression
The asset does not depend on a scene. It describes some time-based progression. Objects involved are not referenced by the storyboard, but bound when instantiating it

Tracks

Each storyboard consists of a collection of tracks, each describing a single property or logical sequence
The target of a track is identified by a property path. The target may contain

"slots" for a top-level objects of a certain type, which can later be bound to actual object instances
a nested members, component (for objects), etc.
custom identifiers (not describing a property of an object), that can be used by other tracks for composition, or in script to query custom values

A track can contain anything that implements some understood interfaces. This should support

Curves that can be randomly evaluated
Skeletal animations (later possibly whole blend trees)
Sounds (playing, stopping, seeking?)
Events (fire-and-forget and start-stop)
Particles (visual script-based?)
other Storyboards

Tracks might have push or pull semantics depending on the target

Binding of objects can be done by code, in visual scripts or creating a StoryboardComponent (and setting a Storyboard and setting up bindings) at design time

Run-time

StoryboardComponent

References a storyboard and manages object binding and playback state

AnimationComponent

might change in the future (possibly being responsible for animation blend trees?)

Design-time

Timeline editor

Tracks contain blocks/markers of compatible type
Tracks might be displayed as tree view, when target path have parent-child relationship
Curves might be special in the way they they are previewed (directly in the track). They can be edited in the curve editor.
Animatable properties are automatically discovered and suggested (similarily to visual scripting, etc.)

Storyboard preview

The storyboard can be previewed and played in custom 3D editor. A preview scene can be seleted and bound to the storyboard. It can then be edited using the bound objects from that scene.
Transformation curves are represented by 3D splines and control point gizmos. All common control-point types are supported (both here and in the 2D-curve editor).
The preview has video-like playback controls (play/seek/reset)

Further investigation

Non-linear behaviors in the timeline
Interaction with graph-based behaviors, e.g. blend trees (composition in both ways Storyboard <--> graph)
UI storyboarding

Time estimate

Timeline editor

1w Track Control: Creating the controls to display and interact with a track (placing/moving keys, presenting key content. etc.)
1w Track add/remove editor: Container of the tracks, support add/remove, possibly reorder, etc.
1w Curve editor improvements: Improving performances and UX of the curve editor
2w Track interfaces: track interfaces and their view model counterpart
2w Property grid: drag & drop, display property of a track group, etc.
1w Timeline: Control the vertical time cursor, seek, play, etc.

Preview

3w In-scene editing: Implementing an EditorGame for the scene
2w 3D tracks: Display splines in 3d, allow to modify them
1w Play/seek/reset: model-side playback logic
1w Camera behavior: Custom tools to edit a camera track

Runtime/model

1w StoryboardAsset (and models for curves/events/scripts)
3w UpdateEngine integration (pushing/pulling updates)
1w Property discovery

Just wanted to check if the status of timeline tooling is is still as above?

There is something for this fork.
https://github.com/phr00t/FocusEngine/blob/master/sources/engine/Xenko.Engine/Cinematics/CinematicAnimation.cs


text:
Enable the feature that generates complex convex hulls

PR Details

Add Generator property to ConvexHullColliderShapeDesc instead of some properties.
Update version of ColliderShapeAsset from 2.0.0.0 to 3.0.0.0.
Description

Xenko can already generate complex convex hulls with VHACD but that is not used in Game Studio.
This exposes it to use in Game Studio.
Computing them will take a lot of time (easily a minute or more by the default).

Related Issue

https://github.com/xenko3d/xenko/issues/81#issuecomment-455246809
Motivation and Context

We would like to create collider shapes that fit for Model.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks for the PR.
A few suggestions, after checking little bit better how it works.
I had a quick misunderstanding, I thought the VHACD lib was used exclusively in this case, but it seems used even when not doing decomposition.
As a result, it is just a bunch of optional parameters. The point to make an interface was to be able to replace it, but this is not necessary.
Considering this, my proposal would be to:

Rename type SimpleConvexHullGenerator to DecompositionParameters
Rename property ConvexHullColliderShapeDesc.Generator to ConvexHullColliderShapeDesc.DecompositionParameters
Remove the interfaces (you can use DecompositionParameters type directly)
Add a public bool Enabled { get; set; } in type DecompositionParameters
This will make property grid behave nicely with a Enable check box for the whole decomposition.
Then we can use SimpleHull = convexHullDesc.DecompositionParameters.Enabled.

Hope that makes sense.
Please tell me what you think.

I totally agree.
There is a difference between the name and the function of Generator.
About interfaces, I thought that those were needed to be able to select items in Game Studio.
However, I overlooked Enabled property.
That will be enough to be able to select them in Game Studio.
I will try it.
Thanks!

Merged, thanks!


text:
bring back armv6 support

Following the fix done in https://github.com/dockcross/dockcross/pull/510 we can bring back armv6 support
It would be good if someone with a Raspberry PI with armv6 could test this.
Closes #583

It seems this doesn't work as expected. This has been tested on a Raspberry Pi Zero:
Aug 04 20:30:15 Zero Komga[11089]: Failed to load native library:sqlite-3.32.3.7-a9581672-5e6b-4b2c-8ade-7a4c4ad586e8-libsqlitejdbc.so. osinfo: Linux/armv6
Aug 04 20:30:15 Zero Komga[11089]: java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.32.3.7-a9581672-5e6b-4b2c-8ade-7a4c4ad586e8-libsqlitejdbc.so: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/sqlite-3.
32.3.7-a9581672-5e6b-4b2c-8ade-7a4c4ad586e8-libsqlitejdbc.so)

From the tester:

This is sadly not applicable for use since not even the upcoming Debian Bullseye ships it: https://packages.debian.org/bullseye/libc6
Not sure if there is a way to build it against v2.28 at least, which would mean compatibility with Debian Bullseye.

I was surprised to see that libsqlitejdbc.so is dynamically built, but it seems statically building glibc is discouraged, or will still result in dynamic dependencies.
Is there a way to choose the glibc version we use via dockcross ? It seems it can be done via crosstools-ng, but the way we use the dockcross images doesn't seem to make this easy.

What we basically can do is building native libraries using very old glibc. As dockcross prefers recent OSs containing newer glibc, there is no way to fix this backward incompatibility unless we build a statically linked binary.
For example, for building x86_64, sqlite-jdbc is using a really old version of Linux to use ancient GLIBC version https://github.com/xerial/sqlite-jdbc/blob/master/docker/Dockerfile.linux_x86_64

I'm ok with merging this even though it's not working for some armv6 machines (e.g., old Rapsberry Pi, etc.). After that, we can think about potential fixes.

I'm ok with merging this even though it's not working for some armv6 machines (e.g., old Rapsberry Pi, etc.). After that, we can think about potential fixes.

we are testing the new dockcross/linux-armv6-lts image today, so this can probably wait a day or 2.

Tests are successful, I'll update this PR to use the lts dockcross image

@xerial this should be ready to go, i've updated the dockcross script to use dockcross/linux-armv6-lts which uses an older glibc (2.28).

@gotson Thanks! Merged

authors: gotson xerial

repo: xerial/sqlite-jdbc


text:
Add selectOnFocus option to DateInput

DateInput selects all text when user tabs into field. However when user clicks into field, the cursor goes to where clicked instead of selecting all text. It would be useful to have a selectOnFocus configuration like in TextInput to force full text select whenever field gets focus.

Peter -- please examine the use of selectOnFocus on TextInput.  We want  a similar behavior and implementation.

Adding selectOnFocus to DateInput is trivial. DateInput has a textInput that is used for displaying and entering dates. We can simply pass the dateInput's selectOnFocus param to the child textInput.
This works fine when the dateInput is focused, selecting the text as expected. However, when the dateInput is unfocused, the following error is printed to the console:
Uncaught TypeError: ev.target.select is not a function     at TextInput.onFocus (TextInput.js:151)     at HTMLUnknownElement.callCallback (react-dom.development.js:149)     at Object.invokeGuardedCallbackDev (react-dom.development.js:199)     at invokeGuardedCallback (react-dom.development.js:256)     at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:270)     at executeDispatch (react-dom.development.js:561)     at executeDispatchesInOrder (react-dom.development.js:580)     at executeDispatchesAndRelease (react-dom.development.js:680)     at executeDispatchesAndReleaseTopLevel (react-dom.development.js:688)     at forEachAccumulated (react-dom.development.js:662) react-dom.development.js:289 Uncaught TypeError: ev.target.select is not a function     at TextInput.onFocus (TextInput.js:151)     at HTMLUnknownElement.callCallback (react-dom.development.js:149)     at Object.invokeGuardedCallbackDev (react-dom.development.js:199)     at invokeGuardedCallback (react-dom.development.js:256)     at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:270)     at executeDispatch (react-dom.development.js:561)     at executeDispatchesInOrder (react-dom.development.js:580)     at executeDispatchesAndRelease (react-dom.development.js:680)     at executeDispatchesAndReleaseTopLevel (react-dom.development.js:688)     at forEachAccumulated (react-dom.development.js:662)
This appears to be a problem with textInput. If a child element (e.g. the rightElement) is focused, then the event bubbles to the textInput and it still tries to call select on the target. This does not work if the target is a button.
So I added some logic to skip trying to select on focus if the event's target isn't an input.

Related pull request:
https://github.com/xh/hoist-react/pull/1468

I found out why I was seeing this happen when clicking off of the DateInput. When clicking off the DateInput, the date picker popover closes. This then selects the button, firing the event:
onPopoverClose = () => {
     console.log('popover closed');
     this.doCommit();
     if (this.hasFocus) {
         const {inputRef, buttonRef} = this;
         if (inputRef.current) {
             inputRef.current.focus();
         } else if (buttonRef.current) {
             buttonRef.current.focus();
         }
     }
 };

authors: lbwexler pauldelano peterjcoffman

repo: xh/hoist-react


text:
Support to attach multiple xim sessions in the same instance of xi-core

From @ryukinix on February 3, 2018 4:52
There is a need to open more xim process and intercommunicate them in the same xi-core instance, that way we can use an unique instance of xi-core backend and multiple xim sessions. In this way we just cut the need for multiple buffers as well tabs and so on.
Copied from original issue: xi-frontend/xim#11

We have a problem: https://github.com/google/xi-editor/issues/515

repo: xi-frontend/xim-


text:
OpenBLAS builds on Linux with LLVM but CMAKE cannot detect it

I built on Linux with LLVM 11
cmake -S . -B build -G "Ninja" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DDYNAMIC_ARCH=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DNOFORTRAN=1

And everything seems to build properly, the OpenBLAS install folder has all the libraries.
── lib
│   ├── libopenblas.so -> libopenblas.so.0
│   ├── libopenblas.so.0 -> libopenblas.so.0.3
│   ├── libopenblas.so.0.3
│   └── pkgconfig
│       └── openblas.pc

And cmake  FindBLAS finds the file itself, from what I can tell, libopenblas.so, but it fails when it tests it.
-- Looking for sgemm_
-- Looking for sgemm_ - not found
CMake Error at miniconda3/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find BLAS (missing: BLAS_LIBRARIES)

It's the exact same build process I used on Windows, which all works fine. Any ideas?

run nm on the library to confirm that symbol names are as expected, check the contents of the generated pkgconfig file, also check which cmake version you are using - I think their FindBLAS went through several revisions

Thanks, that all looks good. nm shows sgemm_, pkgconfig looks similar to the Windows one, I'll have to check Cmake but I think it's the current version.

You can teach cmake to use pkg-config, but basically shared files need to be in shared paths, like /usr/local etc.
Their documantation here: https://cmake.org/cmake/help/latest/module/FindBLAS.html

I'm still having trouble with this, --trace-expand shows that cmake finds libopenblas.so but fails after that.
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(367):  check_function_exists(sgemm_ BLAS_openblas_WORKS )
/usr/local/share/cmake-3.26/Modules/CheckFunctionExists.cmake(58):  if(NOT DEFINED BLAS_openblas_WORKS OR x STREQUAL xBLAS_openblas_WORKS )
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(369):  set(CMAKE_REQUIRED_LIBRARIES )
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(370):  set(_libraries_work  )

So from I understand sgemm_ isn't working. But I don't understand why because it works on Windows.
I could be wrong but it seems like
cmake -S . -B build -G "Ninja" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DDYNAMIC_ARCH=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DNOFORTRAN=1

Just doesn't build a working OpenBLAS for some reason, even though it successfully compiles.
Building with Make does work, but then you need all the gcc dependencies and I'd like to avoid that.
Has anyone actually tried building on Linux with LLVM?

I'm not sure if your exact option set will work with DYNAMIC_ARCH builds - in particular the -S . -B build part - what is definitely known to work is the (to me much more usual) method of running cmake from the build directory and having it store all generated files there instead of "polluting" the source tree.
So mkdir build; cd build; cmake -G "Ninja" -DCMAKE_C_COMPILER=clang (...other options...) -DNOFORTRAN=1 ..

That's already what it's doing, cmake -S . is the current directory and -B build is the same as mkdir build.

BTW the cmake check_function_exists() makes no attempts to verify that a given function actually "works", all it does is try to compile a template C source with the desired symbol name inserted. So wrong LD_LIBRARY_PATH or unmet other dependencies will probably be sufficient to make it fail, and OS differences in this regard will work against your assumption that "it is multi-platform so should all work the same". (Not sure if any output from the try_compile can be made to end up in the cmake logs)

Maybe related to cmake builds missing an explicitly declared dependency on libm until recently - in that case building from the current develop branch instead of the 0.3.21 release should fix it

I did a small experiment and changed FindBLAS.cmake and FindLAPACK.cmake to ignore the check_function_exists test, and everything works at the end of the day. So there's definitely something wrong with that when clang is involved.

I know this is probably a bug with cmake's FindBLAS, but because packages usually use FindBLAS and the OpenBLASConfig goes ignored I wonder if it might be a good for for OpenBLAS to provide its own FindBLAS.cmake that supersedes Cmake's and makes sure that OpenBLAS is found?

Maintaining bits of cmake would be well outside the scope of the project, and as suggested earlier you should already be able to tell cmake to use the pkgconfig file (if you are already certain you  want to link to a particular implementation). Plus in this specific case it is entirely possible that the non-detection occurs because of a missing dependency on libm that is already fixed on the develop branch.

For other people that run into similar issues you can use the pkgconfig like so:
set(BLA_VENDOR OpenBLAS)
set(BLA_PREFER_PKGCONFIG 1)
set(BLA_PKGCONFIG_BLAS "openblas")
set(BLA_PKGCONFIG_LAPACK "openblas")

repo: xianyi/OpenBLAS


text:
增加一个全屏按钮

全屏对于后台管理系统几乎是标配，请作者考虑在右上角增加一个按钮，谢谢！

细心点 你会发现的


text:
debug页有否别禁用滚动条

我有个两个建议，
1:  你的文档界面右边的滚动条能正常使用，为什么debug界面，右边滚动条要禁用呢？如果我调试时返回的json较长，查看起来超级不方便，每次我都要把返回的json复制出来用记事本查看，麻烦死了。如果不禁用滚动条，且下面的结果区域能自己调大小，就方便多了
2:有办法支持拓展mock功能吗？

1.8.7已改

authors: xiaoymin zwllxs

repo: xiaoymin/Swagger-Bootstrap-UI


text:
调试  字段属性说明不显示问题

https://doc.xiaominfo.com/guide/swagger-des-not-found.html
使用泛型T还是不显示

界面什么效果
什么版本

com.github.xiaoymin
swagger-bootstrap-ui
1.9.0

![QQ截图20190709160222](https://user-images.githubusercontent.com/20559556/60870225-03c1b800-a263-11e9-98f5-7fc631c65f46.png)

就是右边啥也没有

Userbean 贴看看

get、set方法也生成了

这也不是同一个啊，你接口那边写的是UserBean
你贴出来的是UserInfoBean

现在是一整套了，你看下

文档  tab页有说明吗 字段的说明

有的

升级版本 试试

1.9.1 应该就可以了

1.9.1版本可以了

返回字段较多，需要滚动的时候，滚动后说明消失
2.0.8版本还是有问题@xiaoymin

authors: JakeWoki azhon xiaoymin

repo: xiaoymin/swagger-bootstrap-ui


text:
大哥好，luci-i18n-xray-zh-cn很好

大哥你好，luci-i18n-xray-zh-cn很好，非常棒！所以，能不能给https://github.com/Yuukiy/JavSP 打个docker镜像用一下~~~（之前用的是你的mdc镜像，没地方联系你，在这里联系下~~）

不好意思，哭错坟了…… @VergilGao


text:
running a mda.Universe through make_APS_input zeros ligand charges

Because of the zero-ing on line 159, the charges for the ligand in the Universe get zeroed, modifying in-place the universe being parsed
https://github.com/xiki-tempula/rocklinc/blob/14e6378e3e773626a52f552a4e76528f4d757fb3/rocklinc/rocklin_correction.py#L153-L161
I guess the simplest solution here is just to feed the charges back (i.e. akin to line 158) after line 161, or just operate on a copy of the Universe?

@IAlibay Thanks for opening the issue. So you would like to do something else with the universe after this, I kind of just assumed that the universe will get discarded after the calculation.

Yeah it's always useful to be able to call these things as part of a larger framework rather than a one off call. If anything, keeping hold of the Universe can be useful if you're iterating through a trajectory to see how large the variance is between frames.

This might be a bad practice but I fix it with the commit https://github.com/xiki-tempula/rocklinc/commit/a780446e132f8e78b5a1e01367c7948da33377a5

I think it's fine, the only problem case I could think is multiprocessing, but iirc Universes are not shared objects when you do that.
If you wanted to be super secure copying the Universe would work too, but it's really overkill.

authors: IAlibay xiki-tempula

repo: xiki-tempula/rocklinc


text:
chore: remove superfluous dependency

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge

repo: xing/hops


text:
Added Option to use the calculator application again

You can use the calculator again if you would like to.

Yeah, I was going to implement that, but thank you.


text:
subprocess.CalledProcessError: Command '['git', 'describe']' returned non-zero exit status 128.

When I train my own datasets in CenterTrack using"python main.py tracking --exp_id Bimage --dataset custom --custom_dataset_ann_path /home/eini/RY/Bimage/191204_16_cqupt_luo_04_COCO/annotations/train2017.json --custom_dataset_img_path /home/eini/RY/Bimage/191204_16_cqupt_luo_04_COCO/images/ --input_h 1080 --input_w 1920 --num_classes 1 --pre_hm --ltrb_amodal --same_aug --hm_disturb 0.05 --lost_disturb 0.4 --fp_disturb 0.1 --gpus 0,1"
I met the problem below:
Traceback (most recent call last):
File "main.py", line 101, in
main(opt)
File "main.py", line 37, in main
logger = Logger(opt)
File "/home/eini/RY/CenterTrack/src/lib/logger.py", line 33, in init
subprocess.check_output(["git", "describe"])))
File "/home/eini/anaconda3/envs/CenterTrack/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/home/eini/anaconda3/envs/CenterTrack/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'describe']' returned non-zero exit status 128.
Has anyone met this problem before? What may cause this problem?
Thank you !

you  can do like this:
'''opt_file.write('==> commit hash: {}\n'.format(
subprocess.check_output(["git", "describe"])))'''.
it works for me!

you can do like this:
'''opt_file.write('==> commit hash: {}\n'.format(
subprocess.check_output(["git", "describe"])))'''.
it works for me!

Thank you very much!! it works for me too!

Thanks @jasonlove521 . Closing as issue solved.

you can do like this:
'''opt_file.write('==> commit hash: {}\n'.format(
subprocess.check_output(["git", "describe"])))'''.
it works for me!

Thank you very much!! it works for me too!

how does it work? how to implement  '''opt_file.write('==> commit hash: {}\n'.format(

subprocess.check_output(["git", "describe"])))'''

@ZackGoing Just comment out thesse lines. 2333

you can change  subprocess 355 line ,"check=True" to "check=False" , it works for me.

you can change subprocess 355 line ,"check=True" to "check=False" , it works for me.

thanks

сук

subprocess.check_output(["git", "describe"])))

=> put in "--always"
subprocess.check_output(["git", "describe"**, "--always"**])))

git init solved my problem

authors: JOSHUAWENJZ Tangzixia Veronica1997 ZackGoing beknazarkydykbekov bk-eska gritYCDA jasonlove521 xingyizhou

repo: xingyizhou/CenterTrack


text:
Auto corrected by following Lint Ruby Style/SafeNavigation

Auto corrected by following Lint Ruby Style/SafeNavigation
Click here to configure it on awesomecode.io

Coverage remained the same at 80.877% when pulling 1d8f45d46cc1041c8dd26589b4ddf752f6b0a00b on awesomecode-lint-ruby-style-safenavigation-48236 into ed40b1d9634eccd994a408834183ce70271b7d5b on master.

authors: coveralls flyerhzm

repo: xinminlabs/synvert-snippets


text:
rtp代理的几个问题

https://github.com/xiongziliang/ZLToolKit/blob/628d3b2527f63b54a5eb38b9e9973254d4a2192b/src/Network/Socket.cpp#L252
UDP的缓存1600太小，我测试会收到1900大小的包，百度说最大65535？
https://github.com/xiongziliang/media-server/blob/4325386be318889b7815cdd86a2e83f05a059c81/librtp/payload/rtp-ts-unpack.c#L28
这里判断逻辑有问题
pkt.rtp.m是代表一帧结束，这里直接把前面rtp包缓存的给丢掉了？rtp组完包的处理在rtp_payload_check(helper, &pkt)里，
if (pkt->rtp.timestamp != helper->timestamp)
这个判断是不是应该也有点问题？
最近加的rtp代理推流，就是以SSRC区分的？这个不会重复的吗？

局域网中，你能收到1600个字节的udp包吗？貌似不能吧？
ZLMediaKit默认udp的socket读缓存是1600，这个其实也有api可以改的嘛。
ZLMediaKit支持最大10K的rtp包，不过这种只针对tcp情况下。
后面第三方库media-server的实现逻辑我没细看，但是这个rtp代理的功能我实测过，没发现什么问题啊，我能正常观看转换后的rtsp/rtmp。
rtp推流都是通过ssrc来区分源的，如果一次推流中ssrc多次变化，相比推流代码是极有问题的。
不过如果是tcp推流，可以变更ssrc，tcp没限定ssrc。

我打印显示nread最大值有1900，win32环境
抓包显示都是小于1600的  而且nread的值 跟 抓包软件里显示的长度 都对不上  有点奇怪
好像就rtp_decode_ts这里看起来有点问题， 其他比如rtp_h264_decode的是的

那行代码nread最大值有1900？你把代码文件、行数位置贴出来。

哦 不好意思 我以为贴了 是这行的nread
https://github.com/xiongziliang/ZLToolKit/blob/628d3b2527f63b54a5eb38b9e9973254d4a2192b/src/Network/Socket.cpp#L299

不出意外你断点触发时是tcp包。
你不行的话可以打印出内容或者本地端口。

MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.795 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.795 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.795 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1932  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:671  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.796 D | toolkit::Socket::onRead recvfrom:26  192.168.3.152  12838
MediaServer.exe(6580) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 15:58:23.834 D | toolkit::Socket::onRead recvfrom:26  192.168.3.152  12838
DebugL << "recvfrom:" << nread << "  " << inet_ntoa(peerAddr.sin_addr) << "  " << peerAddr.sin_port;
这是我打印的日志，来自同一ip的同一端口
你说打印本地端口是什么意思  本地端口就是10000把

DebugL << "recvfrom:" << nread << " " << pSock->get_local_port() << " " << pSock->type();

get_local_port()是this的， 显示type都是1
DebugL << "recvfrom:" << nread << "  " << inet_ntoa(peerAddr.sin_addr) << "  " << peerAddr.sin_port << " " << get_local_port() << " " << pSock->type();
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.531 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.531 D | toolkit::Socket::onRead recvfrom:1932  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.531 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.532 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.532 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.532 D | toolkit::Socket::onRead recvfrom:1312  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.532 D | toolkit::Socket::onRead recvfrom:997  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.532 D | toolkit::Socket::onRead recvfrom:26  192.168.3.152  13862 10000 1
MediaServer.exe(13552) D:\repos\ZLMediaKit\3rdpart\ZLToolKit\src\Network\Socket.cpp 302
2019-12-12 16:48:29.571 D | toolkit::Socket::onRead recvfrom:26  192.168.3.152  13862 10000 1

我忘记我修改buffer大小了：
bool UdpRecver::initSock(uint16_t local_port,const char *local_ip) {
    _sock.reset(new Socket(nullptr, false));
    onceToken token(nullptr,[&](){
        SockUtil::setRecvBuf(_sock->rawFD(),4 * 1024 * 1024);
    });

    auto &ref = RtpSelector::Instance();
    _sock->setOnRead([&ref](const Buffer::Ptr &buf, struct sockaddr *addr, int ){
        ref.inputRtp(buf->data(),buf->size(),addr);
    });
    return _sock->bindUdpSock(local_port,local_ip);
}

udp socket缓存设置为4MB了

test_rtp是MP2P的时候真没有问题？
rtp_decode_mp4v_es 和 rtp_decode_ts
对pkt.rtp.m的处理逻辑明显不一样

你目前要自己选择MP4V-ES和MP2P

我是说 MP2P情况下 rtp_decode_ts里对rtp的解析有问题

https://github.com/xiongziliang/ZLToolKit/blob/628d3b2527f63b54a5eb38b9e9973254d4a2192b/src/Network/Socket.cpp#L252
UDP的缓存1600太小，我测试会收到1900大小的包，百度说最大65535？
https://github.com/xiongziliang/media-server/blob/4325386be318889b7815cdd86a2e83f05a059c81/librtp/payload/rtp-ts-unpack.c#L28
这里判断逻辑有问题
pkt.rtp.m是代表一帧结束，这里直接把前面rtp包缓存的给丢掉了？rtp组完包的处理在rtp_payload_check(helper, &pkt)里，
if (pkt->rtp.timestamp != helper->timestamp)
这个判断是不是应该也有点问题？
最近加的rtp代理推流，就是以SSRC区分的？这个不会重复的吗？

RFC2250
2. Encapsulation of MPEG System and Transport Streams
2.1 RTP header usage(p4)
M bit: Set to 1 whenever the timestamp is discontinuous.
注意看rfc规范，MPEG-TS中M设置为1表示新的流开始，such as might happen when a sender switches from one data source to another。
RFC6416 RTP Payload Format for MPEG-4 Audio/Visual Streams
5.1. Use of RTP Header Fields for MPEG-4 Visual (p9)
Marker (M) bit: The marker bit is set to 1 to indicate the last RTP packet(or only RTP packet) of a VOP
MPEG4-ES中M表示一帧结束，这两者是完全不同的。

https://github.com/xiongziliang/ZLToolKit/blob/628d3b2527f63b54a5eb38b9e9973254d4a2192b/src/Network/Socket.cpp#L252
UDP的缓存1600太小，我测试会收到1900大小的包，百度说最大65535？
https://github.com/xiongziliang/media-server/blob/4325386be318889b7815cdd86a2e83f05a059c81/librtp/payload/rtp-ts-unpack.c#L28
这里判断逻辑有问题
pkt.rtp.m是代表一帧结束，这里直接把前面rtp包缓存的给丢掉了？rtp组完包的处理在rtp_payload_check(helper, &pkt)里，
if (pkt->rtp.timestamp != helper->timestamp)
这个判断是不是应该也有点问题？
最近加的rtp代理推流，就是以SSRC区分的？这个不会重复的吗？

RFC2250
2. Encapsulation of MPEG System and Transport Streams
2.1 RTP header usage(p4)
M bit: Set to 1 whenever the timestamp is discontinuous.
注意看rfc规范，MPEG-TS中M设置为1表示新的流开始，such as might happen when a sender switches from one data source to another。
RFC6416 RTP Payload Format for MPEG-4 Audio/Visual Streams
5.1. Use of RTP Header Fields for MPEG-4 Visual (p9)
Marker (M) bit: The marker bit is set to 1 to indicate the last RTP packet(or only RTP packet) of a VOP
MPEG4-ES中M表示一帧结束，这两者是完全不同的。

额 这样啊  那是设备发过来的PS流不标准呀。。

authors: ireader xiongziliang zhang2349

repo: xiongziliang/ZLMediaKit


text:
Use Temporal RDO lookahead metric for scene detection instead of frame delta

The lookahead for temporal RDO computes the "complexity" of each block (inter vs intra cost) when it does the motion search, relative to all of its references. We should use those numbers instead of the current frame difference metric, both because it's "free" and because it's motion compensated, so it's far more accurate.

The complicated portion here is that we currently select the frame type before temporal RDO runs. So this will take a decent amount of refactor. But I think the refactor is necessary anyway, the current flow is hard to follow.

authors: shssoichiro tdaede


text:
Issue 2212

Two patches implement the missing infrastructure needed to fix issue 2212 and allow proper Tile/LRU sizing in arbitrary 4:2:2 video.

Coverage decreased (-0.09%) to 82.515% when pulling 842933ff923bbf88dbcaa935bfdb14260b61a823 on xiphmont:issue_2212 into 6186069507321c2d6e32fcd99a3d8299e74f508b on xiph:master.

authors: coveralls xiphmont


text:
SAM - Mark Fuko as a combo starter

Also clean up dead ID from oka's combo data.

@Rjb99 you wanna take a look at this? Code-wise I'm fine to review this but not sure the logic since idk what changed in SAM this expac.

Yeah this is good, I thought I had already fixed that in a previous PR though... I guess it got unfixed.

authors: Rjb99 ayyaruq hintxiv

repo: xivanalysis/xivanalysis