text:
Add "You might not need LinearMouse" section to docs?

OS
macOS 14.0 (Build 23A344)
LinearMouse
--
Is your feature request related to a problem?
It's nice to be able to use built-in OS features instead of installing an app, if I have simple needs as a user
Describe the solution you'd like
Add a new section called "You might not need LinearMouse" to the docs describing situations where users with simple needs could just get by with built-in features in macOS instead of using LinearMouse, such as:

macOS Sonoma now has an option to disable Pointer Acceleration built in to the System Settings https://apple.stackexchange.com/a/461057/36202
maybe other features can also be replicated by System Settings in macOS?

Describe alternatives you've considered
An alternative would be to leave things as they are and let users figure this out for themselves, but I think it builds trust with users to have such a section showing cases when software can be avoided
Additional context
No response

Not stale

not stale

not stale

The native support for disabling pointer acceleration in macOS Sonoma is a great feature (although it doesn't support per device / per app configurations), and it's the same API that LinearMouse uses in macOS Sonoma.
I believe we could maintain some FAQs on the website, but I currently lack the capacity to do so. Moreover, I haven't come up with any other similar examples of features available in LinearMouse that can be implemented without third-party tools. Perhaps you could initiate a discussion to gather them.

not stale

not stale

not stale

authors: karlhorky lujjjh saibotma

repo: linearmouse/linearmouse


text:
Update Piet to v0.7.0-cairo18.

The latest Piet version also gives us access to the latest GTK3 and Kurbo versions among others.

Just tested this branch with Psst and all appears to work 👍

source: gharchive/pull-request

authors: jacksongoode xStrom

repo: linebender/druid

license_type: permissive

license_source: github-api


text:
Failed to compile for wasm32-unknown-emscripten because of zune_jpeg

It seems like zune_jpeg causes WASM target failed to compile, anyone has same problem?
It keep saying emcc not found, then I activated my local emsdk the following message is printed:
wasm-ld: error: emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libstandalonewasm.a(__main_void.o): undefined symbol: main

I don't expect us to support emscripten - are you able to use wasm32-unknown-unknown instead? You might need to use wasm-bindgen to make that work.

Are you building a library or an application?
I think you need to build the application and then it'll have a main and perhaps work.
I'm not sure why it is trying to link a standalone wasm file for zune_jpeg
If you build without default features, then it does at least build:
cargo build --target wasm32-unknown-emscripten --no-default-features -p resvg

So it does seem like perhaps something perhaps specific to zune-jpeg.

I build resvg as a static lib, and been using it for a few months. Targeting both native and wasm without any problems until zune_jpeg appears.
Thanks anyway, I've manually changed it back to jpeg_encoder and it works again.
I will close the issue if no one else cares about wasm targeting, let me know if you have ideas.

I'd try seeing if this happens with just zune_jpeg by itself and if so, reporting it there as well.

This issue is likely related to https://github.com/etemesi254/zune-image/pull/242. You can address it using the following workaround:
https://github.com/kleisauke/wasm-vips/blob/3f143eca218043d53dcd17b765419731030c5075/build.sh#L450-L457

Ah, yes, that would cause that problem!
Thank you, @kleisauke.
I'll close this since there's no issue within resvg here and hopefully, zune_jpeg will get a new release soon.

source: gharchive/issue

authors: DJMcNab kleisauke pixelpicosean waywardmonkeys

repo: linebender/resvg


text:
下载Https的文件，出现CertPathValidatorException

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
下载文件路径：https://inc.qufish.cn:7081/Upload/ProjectDeviceApk/a_20170707134535.apk
我用demo可以正常下载，在自己的项目中就出现这个错误。
3ks for watch

参考下这里: https://github.com/lingochamp/FileDownloader/issues/437#issuecomment-270825192

authors: Jacksgong pengveivei

repo: lingochamp/FileDownloader

license_source: bigquery


text:
Activity vs. Process

As Dan pointed out, activity, process, and capability can be distinguished informally as follows:
Activity – What we do
Process – How we do it
Capability – What allows us to do it (we need to look at CSDA for this one)
GAMSO is centered around the idea of “activity” wheras GSBPM is centered around the idea of “process”.
However, when you look at the wording in GSBPM, that document discusses processes as activities. GSBPM does not talk about how steps are to be done, just that they are to be done – the “what”. Plus, the “process” model of GSBPM is incorporated into the “activity” model of GAMSO.
As a result there are a number of inconsistencies between the two specs. The metadata glossary group is aware of these.

I would also add that Processes can be viewed as a "contextualized" Activities, i.e. with flows and inputs/outputs.
Activities seem to be one of the building blocks of Processes.
According to ISO-9000:2005, in Section "2.4 The process approach":
"Any activity or set of activities that uses resources to transform inputs to ouputs can be considered a process"

I fully agree with the way activity and process were defined in metadata glossary as well as with the points that "process is a contextualized activities" and "activities are the building blocks of a process". But I don't see how it creates major inconsistencies.
Based on definitions/interpretation above, here is how I define activity and process :

Activity is what we do. An activity can consists of multiple activities.
Process is how we do it. A process can consist of multiple activities structured to transform inputs to outputs

With this set of definitions, I see "production" in GAMSO as an activity. GAMSO does not provide structured way "how we produce". It only talks about "what we do" - production. This is true for other activities described in GAMSO. They only enumerates what we do, not really show how we do (e.g. GAMSO Manage Quality).
On the other hand, GSBPM provides structured way "how we produce" official statistics, it shows how we carry out "production activity". Although we emphasize non-linearity of GSBPM (i.e. that we don't need to follow from phase 1 to phase 8 linearly), there is clear sequence we want to follow within the whole production at higher level (e.g. design then build, but probably not the other way around) as well as within sub-processes (e.g. how to check data availability before design, how to prepare business case, how to proceed with it). I agree that some sub-processes in GSBPM make them more like an activity rather than process but I still don't think this creates major inconsistencies because GSBPM is about statistical production process, so the elements consisting the process can be "activities". When we talk about GSBPM, it is more about structured way of activities to produce official statistics, not just a simple collection of activities that are related to production of official statistics.
So, I think how we call depends in which context we talk about, GAMSO is about "production activity" while GSBPM is about "production process".

Decided during July 2 meeting: Dan is lead on this issue. Send contribution to him so that he can make a synthesis here.

The concepts that are used by GSBPM, GSIM and GAMSO for process/activity are different. In order to speak the same language in this project those have to be harmonised. The concepts for this issue used by these standards are as follows.
These concepts also need to be linked logically to the activity definition of PROV-O (if we understand correctly). That is: An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.
GSBPM:
The GSBPM comprises three levels:
•	Level 0, the statistical business process;
•	Level 1, the eight phases of the statistical business process;
•	Level 2, the sub-processes within each phase.
Statistical business process is a collection of related and structured activities and tasks to convert input data into statistical information. In the context of the GSBPM, organisations or groups of organisations perform statistical business processes to create official statistics to satisfy the needs of the users.
No further definitions can be found in the documents, such as activity
GSIM
•	Process Design: A Process Design specifies delivery of Business Functions.  A Process Design is the design time specification of a Process Step that is performed as part of a run-time Business Service. A Process Step can be as big or small as the designer of a particular Business Service chooses. From a design perspective, one Process Step can contain "sub-steps", each of which is conceptualized as a (smaller) Process Step in its own right. Each of those "sub-steps" may contain "sub-steps" within them and so on indefinitely. It is a decision for the process designer to what extent to subdivide steps. At some level it will be appropriate to consider a Process Step to be a discrete task (unit of work) without warranting further subdivision. At that level the Process Step is designed to process particular Process Inputs, according to a particular Process Method, to produce particular Process Outputs. The flow between a Process Step and any sub steps is managed via Process Control.
•	Business Process: The set of Process Steps to perform one of more Business Functions to deliver a Statistical Program Cycle or Statistical Support Program.
For example, a particular Statistical Program Cycle might include several data collection activities, the corresponding editing activities for each collection and the production and dissemination of final outputs. Each of these may be considered separate Business Processes for the Statistical Program Cycle.
•	Process Step: A Process Step is a work package that performs a Business Process. A Process Step implements the Process Design specified in order to produce the outputs for which the Process Step was designed. Each Process Step is the use of a Process Design in a particular context (e.g. within a specific Business Process). At the time of execution a Process Step Instance specifies the actual instances of input objects (for example, specific Data Sets, specific Variables) to be supplied.
No further definitions can be found such as activity.
GAMSO
GAMSO breaks down its scope to activity areas and activities. No further definitions can be found in the documents e.g. for process.
As it is not clear which concept is the right one to choose (process or activity) let’s see a generic definition for that.
ISO 9001:2015 definition for process:
A set of interrelated or interacting activities that use inputs to deliver an intended result
•	Note 1 to entry: Whether the “intended result” of a process is called output (3.7.5), product (3.7.6) or service (3.7.7) depends on the context of the reference.
•	Note 2 to entry: Inputs to a process are generally the outputs of other processes and outputs of a process are generally the inputs to other processes.
•	Note 3 to entry: Two or more interrelated and interacting processes in series can also be referred to as a process.
•	Note 4 to entry: Processes in an organization (3.2.1) are generally planned and carried out under controlled conditions to add value.
•	Note 5 to entry: A process where the conformity (3.6.11) of the resulting output cannot be readily or economically validated is frequently referred to as a “special process”.
•	Note 6 to entry: This constitutes one of the common terms and core definitions for ISO management system standards given in Annex SL of the Consolidated ISO Supplement to the ISO/IEC Directives, Part 1. The original definition has been modified to prevent circularity between process and output, and Notes 1 to 5 to entry have been added.
According to the ISO definition process and activity are in subordinate relation so that the activity is a more generic term, than process. Also process definitions in GSBPM and GSIM also suggest that process is a unit that is of more interrelated units (process phases, sub-processes, process steps). Therefore the terms used in GAMSO (activity area and activity) are not adequate compared to the ISO definition and the other standards (GSBPM, GSIM) as activity areas and activities are rather processes. Activity is also far too generic in this case as well. From our point of view process term should be used (business, process, process phase and sub-.processes) and task should the lowest level of hierarchy. That is a kind of unit that cannot be further broken down (e.g. making a decision on a statistical program that means a yes or no nothing more). But in the scope of this project task should not be taken into consideration as GSBPM’s lowest unit is sub-process and so we could remain in line with the standards that are of interest in this project.
Conclusion and suggestion: In this meaning the scope of these standards are rather processes than activities in general. The term task is specific to a certain organisation how they conduct their processes therefore out of scope as standards are generic. We cannot solve all of the issues that might come up during national implementation as that would take decades. The work done by the Linking GSBPM-GSIM Task Team uses process step (GSIM object) in their work going down only to sub-processes (GSBPM concept) and we should be in line with their deliverables, so that the different deliverables of different UNECE Task Teams can be used together when deciding so.
We suggest that the activities referred to in the ontology should be StatisticalBusinessProcess (level 1), ProcessPhase (level 2), Sub-process (level 3) and Task (level 4). That means that we basically deal with processes (on different levels) when we mention prov:Activities

For completeness, I think we need to introduce the notion of Capability as well, since it's a key pillar of any business description together with Activity and Process. In addition to being heavily used in GAMSO, which is part of COOS already, it's also at the core of CSDA and has even been included in the Metadata Glossary:
https://statswiki.unece.org/display/hlgbas/Statistical+Metadata+Glossary

No activity on this issue -> closing

authors: FlavioRizzolo FranckCo InKyungChoi abrycsaba

repo: linked-statistics/COOS


text:
Add websocket support

Subscribing to a dataSource (contact list) should trigger updates for add/delete/update.

Closed in 4e20e358178d98aeb0c83d09420f2440d69d4ff1

repo: linkeddata/contacts

license: mit


text:
Publish Docker Image on Docker Hub?

Could you publish the official docker image on docker hub?

There're no short-term plans to release Burrow on Docker hub, although you can grab official release from GitHub Docker Registry at https://github.com/linkedin/Burrow/packages/104930.

repo: linkedin/Burrow


text:
ISSUE 314: use notifier threshold to configure evaluator ShowAll

Hello,
This pull request is a proposed fix for https://github.com/linkedin/Burrow/issues/341. Prior to this change, when the 'notifier' coordinator submits an 'EvaluatorRequest', the 'ShowAll' parameter defaults to 'false'. The result is that not all StatusOK partitions are sent to the notification endpoints (i.e., 'http' and 'email').
The changes in this PR use the 'threshold' configuration property within the notifier section to set the 'ShowAll' parameter of the evaluator request. Thus, if the user has set the threshold=1, that notification endpoint will receive StatusOK partitions.

Looks like there is a test which is checking for the ShowAll flag. This is the error I'm seeing in the travis-ci logs:
assert.False(t, request.ShowAll, "Expected ShowAll to be false")
Perhaps I am missing some context here.. why does this test expect it to be false?

The test checks that all parameters are valid. If you change the assumptions, the tests need to be changed as well.
However, this isn't going to work. You're setting the value of ShowAll at the coordinator level - that is, for all notifiers - based on the value of an individual notifier. If you have a notifier that has threshold set to 1, and another that has threshold set to 2, you will end up with undesired behavior for the second notifier.

The 'ShowAll' flag at the coordinator level seems to only control the evaluation request. The threshold checks are still done at in the 'notifyModule' function if I am reading this correctly:
https://github.com/linkedin/Burrow/blob/master/core/internal/notifier/coordinator.go#L556

May have gotten the link wrong above. Please look at the following in core/internal/notifier/coordinator.go:
// Only send a notification if the current status is above the module's threshold
if int(status.Status) < viper.GetInt("notifier."+module.GetName()+".threshold") {
return
}

Looks like the above failed due to package github.com/goreleaser/nfpm upgrading to go 1.10.

The problem is not where the threshold check is done. It's that the notifier, by default, expects ShowAll to have been false so only the errored partitions are in the Partitions slice.

I didn't understand your comment above. May you please clarify? If you feel that this is the wrong approach, let me know if you have an alternative in mind.
When I run Burrow in my environment with the changes in this PR, I do see StatusOk partitions coming into my http endpoint.

This is really good for making burrow reporting status for all the partitions when threshold is set to 1.
In my scenario, I need to report the status of every partition to TSDB ( i.e influxdb) no matter whether its health is good or bad. So I think Burrow should provide some ways of sending this metrics out, rather than making some tricks with the notification.

I would also like to have this feature. Our application teams want to get notifications on all their consumers on a consistent basis and want to see how offset are tracking for each consumer. Having the partition information disappear when the status goes back to OK is not great for them.

Yes, @nickdevp, that's exactly the problem. You'll also get StatusOk partitions if you set the threshold higher with this patch in place. That's the undesirable behavior I'm talking about.

@toddpalino I am not seeing the behavior you described. If the threshold is set to 1 for notifier N1, but higher for another notifier N2, then N2 will not see StatusOk partitions.

Coverage increased (+0.04%) to 74.066% when pulling d8f77cc9063b587c55f76aefebd32c551ce66181 on nickdevp:ISSU-341 into fecab1ea88779cdecedd382c1ed0f6c5a7ff5e0f on linkedin:master.

May I get an update on this PR? I would like to know how we can move forward on this issue.

@toddpalino to mitigate the risk of this PR, perhaps we can add another configuration option to enable this feature? If you have any suggestions, I'd be open to making changes

@toddpalino I also need Notifier to report all partitions, including those with StatusOK.
How can I achieve this?

The only way this could possibly be brought in is if you altered checkAndSendResponseToModules to perform major surgery on the evaluation response when ShowAll is true, in order to assure that the only partitions that are sent to the notifier are the ones that are in an errored state when the threshold is higher than OK.
This has to be accompanied by tests that show that the current behavior is honored in all cases except where the threshold is set to OK. This would need to include the case of multiple notifiers, where one is set to OK and one is set to a higher threshold.

authors: akamac alexandnpu chasse-code coveralls nickdevp toddpalino


text:
Add more undelete unit test for compaction

This PR adds more unit test in compaction with undeletes.

Codecov Report

Merging #1566 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1566      +/-   ##
============================================
+ Coverage     73.68%   73.70%   +0.01%
- Complexity     8299     8303       +4
============================================
  Files           583      583
  Lines         45102    45102
  Branches       5699     5699
============================================
+ Hits          33235    33243       +8
+ Misses        10186    10181       -5
+ Partials       1681     1678       -3

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/github/ambry/store/BlobStoreStats.java
69.55% <0.00%> (-1.27%)
101.00% <0.00%> (-1.00%)

...github/ambry/rest/AsyncRequestResponseHandler.java
86.86% <0.00%> (-1.02%)
22.00% <0.00%> (ø%)

.../main/java/com/github/ambry/store/ScanResults.java
82.81% <0.00%> (ø)
17.00% <0.00%> (ø%)

...n/java/com/github/ambry/store/PersistentIndex.java
91.10% <0.00%> (+0.10%)
255.00% <0.00%> (+1.00%)

...rc/main/java/com/github/ambry/store/BlobStore.java
87.94% <0.00%> (+0.16%)
139.00% <0.00%> (+1.00%)

...c/main/java/com/github/ambry/network/Selector.java
79.00% <0.00%> (+0.78%)
78.00% <0.00%> (+1.00%)

...va/com/github/ambry/replication/ReplicaThread.java
85.92% <0.00%> (+0.81%)
112.00% <0.00%> (+1.00%)

...java/com/github/ambry/store/CompactionManager.java
92.26% <0.00%> (+2.38%)
26.00% <0.00%> (ø%)

...b/ambry/network/BlockingChannelConnectionPool.java
76.04% <0.00%> (+3.12%)
12.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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

authors: codecov-commenter justinlin-linkedin

repo: linkedin/ambry


text:
Fixing TTL value to -1 if greater than allowable max time in millis

Epoch time can have a max value of upto Jan 2038. So, reverting to use -1 incase TTL was set beyond the max allowable time in millis.
Check more info here: https://en.wikipedia.org/wiki/Year_2038_problem
Build and tested.
Coding format applied.
SLA: 5 mins

@pnarayanan @vgkholla : Addressed your comments

yes. built and coding style applied.


text:
databus example relay numDataEvents is always 0

i start the relay success !  but when i run a sql like 'update person set deleted=0'  i can see relay log like RELAY LOG below: but  it is always 0 when i use http method to get the events like GET EVENT below, is it right ??? where is wrong?  the total start relay log is like STARTINT LOG below:
GET EVENT:
curl -s http://localhost:11115/containerStats/inbound/events/total?pretty | grep -m1 numDataEvents
"numDataEvents" : 0,
RELAY LOG:
2016-03-13 21:31:51,490 +6772 worker9786-12 {DatabusSubscription} Registering URI codecs.
2016-03-13 21:32:17,545 +32827 ORListener_person {OpenReplicator_person} BEGIN sql: BEGIN
2016-03-13 21:32:17,546 +32828 ORListener_person {OpenReplicator_person} startXtionQueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1457875937000,eventType=2,serverId=1,eventLength=71,nextPosition=582,flags=8,timestampOfReceipt=1457875937545],threadId=1,elapsedTime=0,databaseNameLength=7,errorCode=0,statusVariablesLength=26,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=0], QCatalogNzCode[catalogName=std], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=8]],databaseName=or_test,sql=BEGIN]
STARTINT LOG:
/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/bin/java -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 15 CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/htmlconverter.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/javafx-doclet.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home/lib/tools.jar:/Users/zhiwei/workspace/mydatabus/target/classes:/Users/zhiwei/.m2/repository/databus/databus-client/databus-client-api/2.0.0/databus-client-api-2.0.0.jar:/Users/zhiwei/.m2/repository/org/apache/helix/helix-core/0.6.2-incubating/helix-core-0.6.2-incubating.jar:/Users/zhiwei/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/Users/zhiwei/.m2/repository/org/apache/camel/camel-josql/2.12.1/camel-josql-2.12.1.jar:/Users/zhiwei/.m2/repository/org/apache/camel/camel-core/2.12.1/camel-core-2.12.1.jar:/Users/zhiwei/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.6/jaxb-impl-2.2.6.jar:/Users/zhiwei/.m2/repository/net/sf/josql/josql/1.5/josql-1.5.jar:/Users/zhiwei/.m2/repository/net/sf/josql/gentlyweb-utils/1.5/gentlyweb-utils-1.5.jar:/Users/zhiwei/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/Users/zhiwei/.m2/repository/org/restlet/jse/org.restlet/2.1.4/org.restlet-2.1.4.jar:/Users/zhiwei/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar:/Users/zhiwei/.m2/repository/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar:/Users/zhiwei/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar:/Users/zhiwei/.m2/repository/io/netty/netty/3.6.3.Final/netty-3.6.3.Final.jar:/Users/zhiwei/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.5/jackson-core-asl-1.8.5.jar:/Users/zhiwei/.m2/repository/org/easymock/easymock/3.1/easymock-3.1.jar:/Users/zhiwei/.m2/repository/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar:/Users/zhiwei/.m2/repository/org/objenesis/objenesis/1.2/objenesis-1.2.jar:/Users/zhiwei/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar:/Users/zhiwei/.m2/repository/databus/metrics-histograms/metrics-core-impl/2.0.0/metrics-core-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.5/jackson-mapper-asl-1.8.5.jar:/Users/zhiwei/.m2/repository/databus/databus-client/databus-client-common/2.0.0/databus-client-common-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus-client/databus-client-http/2.0.0/databus-client-http-2.0.0.jar:/Users/zhiwei/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/zhiwei/.m2/repository/databus/databus-cluster/databus-cluster-manager-impl/2.0.0/databus-cluster-manager-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/com/google/guava/guava/10.0/guava-10.0.jar:/Users/zhiwei/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/zhiwei/.m2/repository/databus/databus-core/databus-core-container/2.0.0/databus-core-container-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus-core/databus-core-impl/2.0.0/databus-core-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/zhiwei/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/Users/zhiwei/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/zhiwei/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/Users/zhiwei/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/Users/zhiwei/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/zhiwei/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/Users/zhiwei/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/zhiwei/.m2/repository/org/json/json/20070829/json-20070829.jar:/Users/zhiwei/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/zhiwei/.m2/repository/databus/databus-core/databus-core-schemas/2.0.0/databus-core-schemas-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus-group-leader/databus-group-leader-api/2.0.0/databus-group-leader-api-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus-group-leader/databus-group-leader-impl/2.0.0/databus-group-leader-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/Users/zhiwei/.m2/repository/com/github/sgroschupf/zkclient/0.1/zkclient-0.1.jar:/Users/zhiwei/.m2/repository/databus/databus-util-cmdline/databus-util-cmdline-impl/2.0.0/databus-util-cmdline-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/jline/jline/1.0/jline-1.0.jar:/Users/zhiwei/.m2/repository/mysql/mysql-connector-java/5.1.14/mysql-connector-java-5.1.14.jar:/Users/zhiwei/.m2/repository/com/oracle/ojdbc6/11.2.0.2.0/ojdbc6-11.2.0.2.0.jar:/Users/zhiwei/.m2/repository/databus/databus2-relay/databus2-event-producer-common/2.0.0/databus2-event-producer-common-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus2-relay/databus2-event-producer-mock/2.0.0/databus2-event-producer-mock-2.0.0.jar:/Users/zhiwei/.m2/repository/databus/databus2-relay/databus2-event-producer-or/2.0.0/databus2-event-producer-or-2.0.0.jar:/Users/zhiwei/.m2/repository/com/google/open-replicator/1.0.10-mt/open-replicator-1.0.10-mt.jar:/Users/zhiwei/.m2/repository/databus/databus2-relay/databus2-relay-impl/2.0.0/databus2-relay-impl-2.0.0.jar:/Users/zhiwei/.m2/repository/org/apache/avro/avro/1.7.7/avro-1.7.7.jar:/Users/zhiwei/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/Users/zhiwei/.m2/repository/org/xerial/snappy/snappy-java/1.0.5/snappy-java-1.0.5.jar:/Users/zhiwei/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/Users/zhiwei/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/Users/zhiwei/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain server.PersonRelayServer -p /Users/zhiwei/workspace/mydatabus/target/classes/conf/relay_or_person.properties -Y /Users/zhiwei/workspace/mydatabus/target/classes/conf/sources-or-person.json
2016-03-13 21:31:44,718 +0 main {ServerContainer} Using default logging settings
2016-03-13 21:31:44,724 +6 main {ServerContainer} Loading container config from properties file /Users/zhiwei/workspace/mydatabus/target/classes/conf/relay_or_person.properties
2016-03-13 21:31:44,726 +8 main {HttpRelay} Physical Sources Config files = [/Users/zhiwei/workspace/mydatabus/target/classes/conf/sources-or-person.json]
2016-03-13 21:31:45,210 +492 main {DbusEventBuffer} setting scn index size to 10240000
2016-03-13 21:31:45,211 +493 main {DbusEventBuffer} Setting allocation policy to DIRECT_MEMORY
2016-03-13 21:31:45,242 +524 main {DbusEventBuffer} Unable to set readBufferSize to 10240 as this has been deprecated! Use averageEventSize instead!
2016-03-13 21:31:45,244 +526 main {HttpRelay} loading physical sources configs from: [sources-or-person.json]
2016-03-13 21:31:45,727 +1009 main {PhysicalSourceConfigBuilder} Generated Physical source config: name= 1
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Event buffer max size: 1024000000
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Ignoring staging event buffer size because it is deprecated: req size= 1048576 is larger than 20480
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Staging event buffer size: 20480
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Event buffer scn index size: 10240000
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Event buffer allocation policy: DIRECT_MEMORY
2016-03-13 21:31:45,735 +1017 main {DbusEventBuffer} Using queue policy: OVERWRITE_ON_WRITE
2016-03-13 21:31:45,736 +1018 main {DbusEventBuffer} Initial staging event buffer size: 20480
2016-03-13 21:31:45,736 +1018 main {RelayEventTraceOption} Relay event trace option: none
2016-03-13 21:31:45,736 +1018 main {RelayEventTraceOption} Relay event trace filename: databus_relay_event_trace
2016-03-13 21:31:45,736 +1018 main {RelayEventTraceOption} Relay event trace file append only: false
2016-03-13 21:31:45,736 +1018 main {RelayEventTraceOption} Relay event trace need file suffix: false
2016-03-13 21:31:45,744 +1026 main {ServerContainer} Using http port:11115
2016-03-13 21:31:45,744 +1026 main {ServerContainer} Using containerBasedir: .
2016-03-13 21:31:45,744 +1026 main {ServerContainer} Using healthcheck path: admin
2016-03-13 21:31:45,744 +1026 main {JmxStaticConfigBuilder} Using JMX service: localhost:9988
2016-03-13 21:31:45,744 +1026 main {JmxStaticConfigBuilder} Using RMI registry: rmi://localhost:1099
2016-03-13 21:31:45,847 +1129 main {ServerContainer} TCP command interface configuration:{"port":8180,"enabled":false}
2016-03-13 21:31:45,853 +1135 main {EventLogWriter} Event Log Writer enabled: false
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer writeDir: /Users/zhiwei/workspace/mydatabus/eventLog
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer writeSessionDir: /Users/zhiwei/workspace/mydatabus/eventLog/session_1457875905854
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer encoding: BINARY
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer writeBatchSizeInBytes: 65536
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer blockOnWrite: false
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer individualFileMaxBytes: 512000000
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer maxFiles: 5
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer maxPendingWrites: 20
2016-03-13 21:31:45,854 +1136 main {EventLogWriter} Event Log Writer fsyncIntervalInMillis: 10000
2016-03-13 21:31:45,856 +1138 main {EventLogReader} Event Log Reader enabled : false
2016-03-13 21:31:45,869 +1151 main {HttpRelay} processing file: /Users/zhiwei/workspace/mydatabus/target/classes/conf/sources-or-person.json
2016-03-13 21:31:45,944 +1226 main {HttpRelay} loading physical sources configs from: [sources-or-person.json]
2016-03-13 21:31:46,065 +1347 main {PhysicalSourceConfigBuilder} Generated Physical source config: name= 1
2016-03-13 21:31:46,066 +1348 main {DbusEventBuffer} Event buffer max size: 1024000000
2016-03-13 21:31:46,066 +1348 main {DbusEventBuffer} Staging event buffer size: 20480
2016-03-13 21:31:46,066 +1348 main {DbusEventBuffer} Event buffer scn index size: 10240000
2016-03-13 21:31:46,069 +1351 main {DbusEventBuffer} Event buffer allocation policy: DIRECT_MEMORY
2016-03-13 21:31:46,069 +1351 main {DbusEventBuffer} Using queue policy: OVERWRITE_ON_WRITE
2016-03-13 21:31:46,069 +1351 main {DbusEventBuffer} Initial staging event buffer size: 20480
2016-03-13 21:31:46,070 +1352 main {RelayEventTraceOption} Relay event trace option: none
2016-03-13 21:31:46,070 +1352 main {RelayEventTraceOption} Relay event trace filename: databus_relay_event_trace
2016-03-13 21:31:46,070 +1352 main {RelayEventTraceOption} Relay event trace file append only: false
2016-03-13 21:31:46,070 +1352 main {RelayEventTraceOption} Relay event trace need file suffix: false
2016-03-13 21:31:46,070 +1352 main {ServerContainer} Using http port:11115
2016-03-13 21:31:46,070 +1352 main {ServerContainer} Using containerBasedir: .
2016-03-13 21:31:46,070 +1352 main {ServerContainer} Using healthcheck path: admin
2016-03-13 21:31:46,070 +1352 main {JmxStaticConfigBuilder} Using JMX service: localhost:9988
2016-03-13 21:31:46,070 +1352 main {JmxStaticConfigBuilder} Using RMI registry: rmi://localhost:1099
2016-03-13 21:31:46,071 +1353 main {ServerContainer} TCP command interface configuration:{"port":8180,"enabled":false}
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer enabled: false
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer writeDir: /Users/zhiwei/workspace/mydatabus/eventLog
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer writeSessionDir: /Users/zhiwei/workspace/mydatabus/eventLog/session_1457875905854
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer encoding: BINARY
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer writeBatchSizeInBytes: 65536
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer blockOnWrite: false
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer individualFileMaxBytes: 512000000
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer maxFiles: 5
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer maxPendingWrites: 20
2016-03-13 21:31:46,071 +1353 main {EventLogWriter} Event Log Writer fsyncIntervalInMillis: 10000
2016-03-13 21:31:46,071 +1353 main {EventLogReader} Event Log Reader enabled : false
2016-03-13 21:31:46,094 +1376 main {FileSystemSchemaRegistryService} initializing schema registry
2016-03-13 21:31:46,096 +1378 main {FileSystemVersionedSchemaSetProvider} Loading schema com.linkedin.events.or_test.Person:2 from file: /Users/zhiwei/workspace/mydatabus/target/classes/schemas_registry/com.linkedin.events.or_test.Person.2.avsc
2016-03-13 21:31:46,349 +1631 main {VersionedSchemaSet} Registering md5 723626ac1165ca4f08971df4e3f93286 --> name=com.linkedin.events.or_test.Person version=2
2016-03-13 21:31:46,349 +1631 main {FileSystemSchemaRegistryService} schema registry refreshed
2016-03-13 21:31:46,349 +1631 main {FileSystemSchemaRegistryService} Starting schema refresh thread
2016-03-13 21:31:46,369 +1651 main {DbusEventV1Factory} BIG_ENDIAN
2016-03-13 21:31:46,679 +1961 main {ServerContainer} Changing container config
2016-03-13 21:31:46,818 +2100 main {ServerContainer} healthcheck command root: admin
2016-03-13 21:31:46,833 +2115 main {DbusEventBufferMult} Creating new DbusEventBufferMult for 1 physical configurations
2016-03-13 21:31:46,835 +2117 main {DbusEventBuffer} DbusEventBuffer starting up with eventBufferSize = 1024000000, maxIndividualBufferSize = 512000000, maxIndexSize = 10240000, initReadBufferSize = 20480, maxEventSize=511999999, allocationPolicy = DIRECT_MEMORY, mmapDirectory = /Users/zhiwei/workspace/mydatabus/mmappedBuffer,queuePolicy = OVERWRITE_ON_WRITE, eventTraceOption = none, needFileSuffix = false, assertLevel=NONE, bufRemovalWaitPeriod=86400, restoreBuffers=false
2016-03-13 21:31:48,576 +3858 main {DbusEventBuffer} Allocated a total of 1024000000 bytes into 2 buffers
2016-03-13 21:31:48,578 +3860 main {BufferPositionParser} Individual Buffer Size: 1e848000
2016-03-13 21:31:48,578 +3860 main {BufferPositionParser} Num Buffers: 2
2016-03-13 21:31:48,578 +3860 main {BufferPositionParser} Offset Length: 29
2016-03-13 21:31:48,578 +3860 main {BufferPositionParser} buffer position for the EventBuffer: BufferPositionParser [_offsetMask=536870911, _indexMask=536870912, _genIdMask=9223372035781033984, _offsetShift=0, _indexShift=29, _genIdShift=30, _totalBufferSize=1024000000]
2016-03-13 21:31:48,594 +3876 main {ScnIndex} ScnIndex configured with: maxElements = 640000
2016-03-13 21:31:48,597 +3879 main {DbusEventBuffer} Trace Relay Option : none physicalPartition:person pSourceName:{"id":1,"name":"person"}
2016-03-13 21:31:48,611 +3893 main {DbusEventBufferMult} Using- global event buffer config, the buffer size allocated is: 1024000000
2016-03-13 21:31:48,613 +3895 main {DbusEventBufferMult} addBuffer for phSrc=name=person;part={"id":1,"name":"person"};uri=mysql://or_test%2For_test@localhost:3306/1/mysql-bin;role=MASTER;rsKey=;#src=1; buf=2011457912
2016-03-13 21:31:48,615 +3897 main {DbusEventBufferMult} logical source {"id":400,"name":"com.linkedin.events.or_test.Person"}{"id":0} mapped to physical source {"physicalPartition":{"id":1,"name":"person"}}
2016-03-13 21:31:48,633 +3915 main {StatsCollectors-AggregatedDbusEventsStatisticsCollector} adding stats collector: person:1 -> DbusEventsStatisticsCollector [_totalStats=AbstractMonitoringMBean [_event={"ownerId": 9786, "timestampLastResetMs": 1457875908631, "timeSinceLastResetMs": 0, "dimension": "person_1.inbound.total", "numDataEvents": 0, "sizeDataEvents": 0, "sizeDataEventsPayload": 0, "numSysEvents": 0, "sizeSysEvents": 0, "numDataEventsFiltered": 0, "sizeDataEventsFiltered": 0, "sizeDataEventsPayloadFiltered": 0, "numPeers": 0, "minSeenWinScn": -1, "maxSeenWinScn": -1, "maxFilteredWinScn": 0, "numInvalidEvents": 0, "numErrHeader": 0, "numErrPayload": 0, "timestampCreated": 1457875908630, "timestampAccessed": -1, "timestampMinScnEvent": -1, "timestampMaxScnEvent": -1, "latencyEvent": 0, "minWinScn": 9223372036854775807, "maxWinScn": 0, "sinceWinScn": 9223372036854775807, "numFreeBytes": 0, "maxTimestampAccessed": -1, "minTimestampAccessed": -1, "maxTimeSpan": -1, "minTimeSpan": -1, "maxTimestampMaxScnEvent": -1, "minTimestampMaxScnEvent": -1, "timeLag": 0, "maxTimeLag": -1, "minTimeLag": -1}], _id=9786, _name=person:1.inbound, _sanitizedName=person_1.inbound, _enabled=true]
2016-03-13 21:31:48,637 +3919 main {StatsCollectors-AggregatedDbusEventsStatisticsCollector} adding stats collector: person:1.inbound -> DbusEventsStatisticsCollector [_totalStats=AbstractMonitoringMBean [_event={"ownerId": 9786, "timestampLastResetMs": 1457875908631, "timeSinceLastResetMs": 0, "dimension": "person_1.inbound.total", "numDataEvents": 0, "sizeDataEvents": 0, "sizeDataEventsPayload": 0, "numSysEvents": 0, "sizeSysEvents": 0, "numDataEventsFiltered": 0, "sizeDataEventsFiltered": 0, "sizeDataEventsPayloadFiltered": 0, "numPeers": 0, "minSeenWinScn": -1, "maxSeenWinScn": -1, "maxFilteredWinScn": 0, "numInvalidEvents": 0, "numErrHeader": 0, "numErrPayload": 0, "timestampCreated": 1457875908630, "timestampAccessed": -1, "timestampMinScnEvent": -1, "timestampMaxScnEvent": -1, "latencyEvent": 0, "minWinScn": 9223372036854775807, "maxWinScn": 0, "sinceWinScn": 9223372036854775807, "numFreeBytes": 0, "maxTimestampAccessed": -1, "minTimestampAccessed": -1, "maxTimeSpan": -1, "minTimeSpan": -1, "maxTimestampMaxScnEvent": -1, "minTimestampMaxScnEvent": -1, "timeLag": 0, "maxTimeLag": -1, "minTimeLag": -1}], _id=9786, _name=person:1.inbound, _sanitizedName=person_1.inbound, _enabled=true]
2016-03-13 21:31:48,647 +3929 main {StatsCollectors-AggregatedDbusEventsStatisticsCollector} adding stats collector: person:1 -> DbusEventsStatisticsCollector [_totalStats=AbstractMonitoringMBean [_event={"ownerId": 9786, "timestampLastResetMs": 1457875908646, "timeSinceLastResetMs": 0, "dimension": "person_1.outbound.total", "numDataEvents": 0, "sizeDataEvents": 0, "sizeDataEventsPayload": 0, "numSysEvents": 0, "sizeSysEvents": 0, "numDataEventsFiltered": 0, "sizeDataEventsFiltered": 0, "sizeDataEventsPayloadFiltered": 0, "numPeers": 0, "minSeenWinScn": -1, "maxSeenWinScn": -1, "maxFilteredWinScn": 0, "numInvalidEvents": 0, "numErrHeader": 0, "numErrPayload": 0, "timestampCreated": 1457875908646, "timestampAccessed": -1, "timestampMinScnEvent": -1, "timestampMaxScnEvent": -1, "latencyEvent": 0, "minWinScn": 9223372036854775807, "maxWinScn": 0, "sinceWinScn": 9223372036854775807, "numFreeBytes": 0, "maxTimestampAccessed": -1, "minTimestampAccessed": -1, "maxTimeSpan": -1, "minTimeSpan": -1, "maxTimestampMaxScnEvent": -1, "minTimestampMaxScnEvent": -1, "timeLag": 0, "maxTimeLag": -1, "minTimeLag": -1}], _id=9786, _name=person:1.outbound, _sanitizedName=person_1.outbound, _enabled=true]
2016-03-13 21:31:48,649 +3931 main {StatsCollectors-AggregatedDbusEventsStatisticsCollector} adding stats collector: person:1.outbound -> DbusEventsStatisticsCollector [_totalStats=AbstractMonitoringMBean [_event={"ownerId": 9786, "timestampLastResetMs": 1457875908646, "timeSinceLastResetMs": 0, "dimension": "person_1.outbound.total", "numDataEvents": 0, "sizeDataEvents": 0, "sizeDataEventsPayload": 0, "numSysEvents": 0, "sizeSysEvents": 0, "numDataEventsFiltered": 0, "sizeDataEventsFiltered": 0, "sizeDataEventsPayloadFiltered": 0, "numPeers": 0, "minSeenWinScn": -1, "maxSeenWinScn": -1, "maxFilteredWinScn": 0, "numInvalidEvents": 0, "numErrHeader": 0, "numErrPayload": 0, "timestampCreated": 1457875908646, "timestampAccessed": -1, "timestampMinScnEvent": -1, "timestampMaxScnEvent": -1, "latencyEvent": 0, "minWinScn": 9223372036854775807, "maxWinScn": 0, "sinceWinScn": 9223372036854775807, "numFreeBytes": 0, "maxTimestampAccessed": -1, "minTimestampAccessed": -1, "maxTimeSpan": -1, "minTimeSpan": -1, "maxTimestampMaxScnEvent": -1, "minTimestampMaxScnEvent": -1, "timeLag": 0, "maxTimeLag": -1, "minTimeLag": -1}], _id=9786, _name=person:1.outbound, _sanitizedName=person_1.outbound, _enabled=true]
2016-03-13 21:31:48,663 +3945 main {ServerContainer} Changing container config
2016-03-13 21:31:48,676 +3958 main {RelayEventProducersRegistry} registering relay event producer for scheme mock: com.linkedin.databus2.producers.MockEventProducerServiceProvider@3d48392b
2016-03-13 21:31:48,678 +3960 main {RelayEventProducersRegistry} registering relay event producer for scheme or: com.linkedin.databus2.producers.OpenReplicatorEventProducerServiceProvider@2166ab0f
2016-03-13 21:31:48,679 +3961 main {DatabusRelayMain} SCN high bits set to 32
2016-03-13 21:31:48,680 +3962 main {DatabusRelayMain} initializing producers
2016-03-13 21:31:48,680 +3962 main {MultiServerSequenceNumberHandler} creating sequence number handler for server name:{"id":1,"name":"person"}
2016-03-13 21:31:48,681 +3963 main {FileMaxSCNHandler} creating file:/Users/zhiwei/workspace/mydatabus/tmp/maxScn/MaxSCN_person
2016-03-13 21:31:48,681 +3963 main {FileMaxSCNHandler} Trying to read initial SCN from file: /Users/zhiwei/workspace/mydatabus/tmp/maxScn/MaxSCN_person
2016-03-13 21:31:48,682 +3964 main {FileMaxSCNHandler} Starting from MAX SCN:0
2016-03-13 21:31:48,682 +3964 main {DatabusRelayMain} Starting server container with maxScnReaderWriter:/Users/zhiwei/workspace/mydatabus/tmp/maxScn/MaxSCN_person:0
2016-03-13 21:31:48,682 +3964 main {DatabusRelayMain} Adding OpenReplicatorEventProducer for uri :mysql://or_test%2For_test@localhost:3306/1/mysql-bin
2016-03-13 21:31:48,682 +3964 main {OpenReplicatorEventProducerServiceProvider} Loading schema for source id 400: {"type":"record","name":"Person_V2","namespace":"com.linkedin.events.example.or_test","doc":"Auto-generated Avro schema for sy$person. Generated at Dec 04, 2012 05:07:05 PM PST","fields":[{"name":"id","type":["long","null"],"meta":"dbFieldName=ID;dbFieldPosition=0;"},{"name":"firstName","type":["string","null"],"meta":"dbFieldName=FIRST_NAME;dbFieldPosition=1;"},{"name":"lastName","type":["string","null"],"meta":"dbFieldName=LAST_NAME;dbFieldPosition=2;"},{"name":"birthDate","type":["long","null"],"meta":"dbFieldName=BIRTH_DATE;dbFieldPosition=3;"},{"name":"deleted","type":["string","null"],"meta":"dbFieldName=DELETED;dbFieldPosition=4;"}],"meta":"dbFieldName=person;pk=id;"}
2016-03-13 21:31:48,747 +4029 main {or_person} Registered or-source statistics mbean: com.linkedin.databus2:name=com.linkedin.events.or_test.Person,type=SourceStatistics
2016-03-13 21:31:48,747 +4029 main {or_person} Registered or-source statistics mbean: com.linkedin.databus2:name=person,type=SourceStatistics
2016-03-13 21:31:48,750 +4032 main {DatabusRelayMain} done initializing producers
2016-03-13 21:31:48,902 +4184 main {ServerContainer} Saving port number in /Users/zhiwei/workspace/mydatabus/./containerPortNum_9786
2016-03-13 21:31:48,903 +4185 main {ServerContainer} Serving container 9786 HTTP listener on port 11115
2016-03-13 21:31:49,031 +4313 main {ServerContainer} Unable to start JMX server connector
java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi9988]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:826)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
at com.linkedin.databus2.core.container.netty.ServerContainer.doStart(ServerContainer.java:443)
at com.linkedin.databus.container.netty.HttpRelay.doStart(HttpRelay.java:275)
at com.linkedin.databus2.relay.DatabusRelayMain.doStart(DatabusRelayMain.java:307)
at com.linkedin.databus2.core.container.netty.ServerContainer.start(ServerContainer.java:369)
at com.linkedin.databus2.core.container.netty.ServerContainer.startAndBlock(ServerContainer.java:360)
at server.PersonRelayServer.main(PersonRelayServer.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:143)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)
at javax.naming.InitialContext.bind(InitialContext.java:419)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
... 11 more
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)
... 15 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 20 more
2016-03-13 21:31:49,032 +4314 main {DatabusRelayMain} Starting. Producers are :{{"id":1,"name":"person"}=com.linkedin.databus2.producers.OpenReplicatorEventProducer@63edf119}
2016-03-13 21:31:49,032 +4314 main {DatabusRelayMain} starting db puller: person
2016-03-13 21:31:49,035 +4317 main {DatabusRelayMain} db puller started: person
2016-03-13 21:31:49,042 +4324 main {ServerContainer} Databus service started!
2016-03-13 21:31:49,042 +4324 main {ServerContainer} waiting for shutdown request for container id: 9786
2016-03-13 21:31:49,047 +4329 OpenReplicator_person {OpenReplicator_person} Open Replicator starting from mysql-bin.000001@4 ,ignoreTransaction:false .
2016-03-13 21:31:49,057 +4339 OpenReplicator_person {TransportImpl} connecting to host: localhost, port: 3306
2016-03-13 21:31:49,078 +4360 OpenReplicator_person {TransportImpl} connected to host: localhost, port: 3306, context: AbstractTransport.Context[threadId=4,scramble=OoazbZ{|!+TD92-($z]A,protocolVersion=10,serverHost=localhost,serverPort=3306,serverStatus=2,serverCollation=8,serverVersion=5.5.48-log,serverCapabilities=63487]
2016-03-13 21:31:49,078 +4360 OpenReplicator_person {AuthenticatorImpl} start to login, user: or_test, host: localhost, port: 3306
2016-03-13 21:31:49,082 +4364 OpenReplicator_person {AuthenticatorImpl} login successfully, user: or_test, detail: OKPacket[packetMarker=0,affectedRows=0,insertId=0,serverStatus=2,warningCount=0,message=]
2016-03-13 21:31:49,096 +4378 ORListener_person {OpenReplicator_person} File Rotated : FileName :mysql-bin.000002, _binlogFilePrefix :mysql-bin
2016-03-13 21:31:49,098 +4380 ORListener_person {OpenReplicator_person} BEGIN sql: BEGIN
2016-03-13 21:31:49,098 +4380 ORListener_person {OpenReplicator_person} startXtionQueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1457872296000,eventType=2,serverId=1,eventLength=71,nextPosition=178,flags=8,timestampOfReceipt=1457875909096],threadId=1,elapsedTime=0,databaseNameLength=7,errorCode=0,statusVariablesLength=26,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=0], QCatalogNzCode[catalogName=std], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=8]],databaseName=or_test,sql=BEGIN]
2016-03-13 21:31:49,099 +4381 ORListener_person {OpenReplicator_person} BEGIN sql: BEGIN
2016-03-13 21:31:49,099 +4381 ORListener_person {OpenReplicator_person} startXtionQueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1457872376000,eventType=2,serverId=1,eventLength=71,nextPosition=374,flags=8,timestampOfReceipt=1457875909098],threadId=1,elapsedTime=0,databaseNameLength=7,errorCode=0,statusVariablesLength=26,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=0], QCatalogNzCode[catalogName=std], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=8]],databaseName=or_test,sql=BEGIN]
2016-03-13 21:31:51,490 +6772 worker9786-12 {DatabusSubscription} Registering URI codecs.
2016-03-13 21:32:17,545 +32827 ORListener_person {OpenReplicator_person} BEGIN sql: BEGIN
2016-03-13 21:32:17,546 +32828 ORListener_person {OpenReplicator_person} startXtionQueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1457875937000,eventType=2,serverId=1,eventLength=71,nextPosition=582,flags=8,timestampOfReceipt=1457875937545],threadId=1,elapsedTime=0,databaseNameLength=7,errorCode=0,statusVariablesLength=26,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=0], QCatalogNzCode[catalogName=std], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=8]],databaseName=or_test,sql=BEGIN]

i have the some question

have you got the answer??

The issue here.. I tried with a loca mysql installation and another with Docker and I have the issue in both.
the relay.log shows the following
2017-01-25 17:42:37,101 +108487 [OpenReplicator_person] (INFO) {ORListener_person} Shutdown requested 2017-01-25 17:42:37,101 +108487 [OpenReplicator_person] (INFO) {ORListener_person} Waiting for shutdown uninteruptibly 2017-01-25 17:42:37,101 +108487 [OpenReplicator_person] (INFO) {ORListener_person} Waiting for shutdown 2017-01-25 17:42:37,202 +108588 [ORListener_person] (INFO) {OpenReplicator_person} ORListener Thread done 2017-01-25 17:42:37,202 +108588 [ORListener_person] (INFO) {ORListener_person} Signalling shutdown !! 2017-01-25 17:42:37,202 +108588 [OpenReplicator_person] (INFO) {ORListener_person} Shutdown: true 2017-01-25 17:42:37,202 +108588 [OpenReplicator_person] (INFO) {ORListener_person} Shutdown: true 2017-01-25 17:42:37,203 +108589 [OpenReplicator_person] (INFO) {OpenReplicator_person} Open Replicator starting from mysql-bin.000001@4 2017-01-25 17:42:37,208 +108594 [OpenReplicator_person] (INFO) {OpenReplicator_person} start Open Replicator successfully

@imanzano Not sure if this will help, but it looks like you haven't disabled the binlog_checksum in your mysql config.

@Bhashit you can use zendesk version open-replicator, that have the same interface and can support checksum
https://github.com/zendesk/open-replicator

my log also output this:
"2016-03-13 21:31:49,031 +4313 main {ServerContainer} Unable to start JMX server connector
java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi9988]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
who know why???

Hi,
Try setting the property "databus2.relay.container.jmx.rmiEnabled=false" .
The relay is trying to expose JMX beans through RMI.
On Wed, May 17, 2017 at 2:02 AM, xuhedong notifications@github.com wrote:

my log also output this:
"2016-03-13 21:31:49,031 +4313 main {ServerContainer} Unable to start JMX
server connector
java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi9988]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost; nested
exception is:
java.net.ConnectException: Connection refused]
who know why???
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/linkedin/databus/issues/76#issuecomment-302030328,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4sGySlNRWZKpsGcS_13FJF4ebrvdI9ks5r6re8gaJpZM4HviXL
.

authors: Bhashit buptyzc chavdar godlike110 imanzano xuhedong

repo: linkedin/databus


text:
IE support

Are we not going to support IE 11?
https://github.com/linkedin/datahub/blob/550cdc51eecce9c5185c7d6713c9b9d6253703e4/datahub-web/configs/tsconfig-base.json#L3

IE 11 is hitting its end of life later this year. I don't think it is worth going out of our way to support it.

IE 11 is hitting its end of life later this year. I don't think it is worth going out of our way to support it.

And edge?

And edge?

Hello, this issue has been open for more than 1yr without activity. We will close it out for now, but please feel free to follow up with us in DataHub Slack if you need additional support!

authors: jplaisted maggiehays shubham49

repo: linkedin/datahub


text:
Initial Rust project setup and POC implementation of the Forthic toke…

…nizer
Testing
For now I've left the test-rs target out of test-all becuase it requires setting up a Rust build environment, and I don't want to break the current build. It can be run individually, though:
$ make test-rs

Forthic Rust tests
============
cargo test --manifest-path tests/tests_rs/Cargo.toml
   Compiling forthic-rs v0.1.0 (/Users/josh/Projects/forthic/forthic-rs)
   Compiling tests_rs v0.1.0 (/Users/josh/Projects/forthic/tests/tests_rs)
    Finished test [unoptimized + debuginfo] target(s) in 0.79s
     Running unittests src/lib.rs (tests/tests_rs/target/debug/deps/tests_rs-066189a2b06860a9)

running 6 tests
test test_tokenizer::tests::test_arrays ... ok
test test_tokenizer::tests::test_start_module ... ok
test test_tokenizer::tests::test_end_module ... ok
test test_tokenizer::tests::test_end_definition ... ok
test test_tokenizer::tests::test_basic ... ok
test test_tokenizer::tests::test_strings ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Performance
I ran a basic benchmarking pass against the example Forthic programs. Times were averaged over 200 runs, and only the core loop was measured, so there's no interference from system startup time. Here are the results:

Program
Python (ms)
Rust (ms)

cache-example
0.0874
0.0131

gsheet-example
0.1230
0.0230

intake-branched
0.9363
0.0946

intake-multistep
0.7884
0.0864

intake-simple
0.7779
0.0839

jira-example
0.1770
0.0289

time-in-state
0.3440
0.0390

shakespeare [1]
545.3
60.16

[1] A 1mb file containing text from Shakespeare

Notes

This is just the project setup and Tokenizer for now. The interpreter implementation is coming in a follow-on PR.

Looks great -- it's cool to see a new version of Forthic forming 👍🏼
It's interesting to see how cleanly the Python and JavaScript versions map into Rust. I'll have to study this more to understand the language. Maybe next time we chat, we can go through one of the files and I can ask you about the mental model of Rust and what some of the conventions are.

Yep, the Tokenizer was more or less a direct translation from Python. It's going to be a different story with the Interpreter though, because Rust takes something of a stance against traditional OO patterns.
Absolutely, I think there's a lot of good stuff here to talk about.
BTW -- I updated the description with a quick benchmarking comparison.

Yes, I ran into a lot of pain with the Haskell version of Forthic. I was doing lots of dynamic things, which it was trying to prevent. Let me see if I can dig it up -- maybe some of the ideas there will be helpful.
Thanks for posting the benchmarks. It's neat to see how fast Rust is. (I think the intake-multistep cells need to be swapped)

Yes, I ran into a lot of pain with the Haskell version of Forthic. I was doing lots of dynamic things, which it was trying to prevent. Let me see if I can dig it up -- maybe some of the ideas there will be helpful.
Thanks for posting the benchmarks. It's neat to see how fast Rust is. (I think the intake-multistep cells need to be swapped)

Whoops, you're absolutely right. Fixed.

authors: joshvfleming rjose

repo: linkedin/forthic


text:
Add link to gobblin IRC channel in readme

Add a badge to the readme which links to a newly created IRC channel.  If accepted, I will add all of you as admins on the channel.

@zliu41 Can you review this?

repo: linkedin/gobblin


text:
[LI-HOTFIX] Add process time breakdown log for LeaderAndIsrRequest

TICKET = LIKAFKA-46169
LI_DESCRIPTION =
To track down why in 3.0 control requests needs more time to process,
we need logs to track time for each part to process.
EXIT_CRITERIA = When better mechanism to track is implemented upstream
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Sample log line:
2022/08/25 11:37:00.827 [logger] [Broker id=0] Breakdown time in milliseconds for LeaderAndIsr request with correlationId 1 from controller 0: Map(validateTopicPartitionInfo -> 40, localLogManagerOnLeadershipChangeCallback -> 2, convertLeaderAndIsrRequestPartitionStates -> 1, constructLeaderAndIsrResponse -> 1, acquireReplicaStateChangeLock -> 0, makeFollowers -> 0, makeLeaders -> 2151, updateLeaderAndFollowerMetrics -> 4, remoteLogManagerOnLeadershipChangeCallback -> 0, findStrayPartition -> 1, deleteStrayReplicas -> 7, generateHighWatermarkCheckpoints -> 1, markPartitionOffline -> 1, startHighWatermarkCheckPointThread -> 0, maybeAddLogDirFetchers -> 0, shutdownIdleFetcherThreads -> 1, validateTopicIdInfo -> 3)

repo: linkedin/kafka


text:
Version should be configurable in plugin

The plugin currently uses the hard coded project.version which may, in development enviroments, not be compliant with PEP-0440.
Additionally, in the java/maven world, -SNAPSHOT is used for versions while python uses .preview.
This problem exposes itself when you try to create an egg as I have done in #78.
The egg for the version master_2016111701-SNAPSHOT has its version converted to master_2016111701_SNAPSHOT (notice the - character has become a _).
The result is that the egg has the name $project.name-$project.version.toString().replace("-", "_") which is very non-obvious.
The fix to this would be to put the project.version in the python plugin's properties but allow the user to override this value.
Example of location where version is hard coded

I clearly don't understand gradle plugins.
This works:
python {
    version = project.version.toString().replace("-SNAPSHOT", ".preview")
}

So in order for the artifacts to also have the correct name you must have the python block declared above the imports of the python-sdist plugin.
apply plugin: 'com.linkedin.python'

def pythonVersion = project.version.toString().replace("-SNAPSHOT", ".preview")
// This must be declared above the application of the two plugins below.
python {
    version = pythonVersion
}

apply plugin: 'com.linkedin.python-sdist'
apply plugin: com.plexxi.pygradle.PythonEggDistributionPlugin

This is because the artifacts are added by these plugins using file names that contain the version.
The artifact file name is not updated when the version number changes.

@JLLeitschuh
Two questions:

Did you try using ${ -> project.version } instead? That should resolve correctly after changes.
Is there a reason why you use master_xxx instead of semantic versioning (e.g., 1.0.4)?

We do not have these issues because internally we always use a GradleDistribution class in setup.py (see our generated setup.py) that uses the python.pythonEnvironmentDistgradle to set the name and version from the project into the Python project correctly and we always use semantic versioning. We have some specific internal overrides, but the effect is as described.
We'll take a look at making this customizable, though, because I also noticed that one of the python build tools complains about deprecation of suffixes, such as -SNAPSHOT in the package version.
Thanks for pointing this out.

The versioning schema is something that the company uses internally for feature development and our master branch. We use semantic versioning for releases.
The problem is that the artifacts are generated when the plug-in is loaded.
The apply method for the plugin is not called again when the version is changed.
You can see here that the method that declares the artifact's location is here: https://github.com/linkedin/pygradle/blob/master/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/plugin/PythonSourceDistributionPlugin.groovy#L40
This is the method that is called:
https://github.com/linkedin/pygradle/blob/master/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/tasks/SourceDistTask.java#L58
So really, the file's location is what needs to be lazily evaluated in the plugins code.

authors: JLLeitschuh zvezdan

repo: linkedin/pygradle


text:
后台登录不进去

admin123失效，不知道是什么原因

对不起，忘了演示平台限制修改密码了。
可能有人把密码修改了。
现在应该可以了

谢谢~~~

authors: WoodyWoodyLee linlinjava

repo: linlinjava/litemall

license: MIT


text:
Nav shelf re-opens when resizing the browser to a smaller width

Hide the SideMenu on window resize

Coverage decreased (-0.0006%) to 27.476% when pulling 26f79708b15350b552223617f3045f57d5e2908d on asauber:M3-966 into a0fb33371490d5a29f2a1d796d9c6dd73d2cb93d on linode:develop.

authors: asauber coveralls

repo: linode/manager


text:
Refactor: [M3-6278]: MUI refactor - Object Storage

Description 📝
MUI migration for the whole ObjectStorage section
The PR seems large but only features MUI migrations & code cleanup (exports, ordering, prop names)
How to test 🧪

navigate /object-storage/buckets
go through all flows, compare with production styles
confirm no regression was introduced as part of this PR

thanks @mjac0bs! nice catch on the small regression. Fixed it. As far as the textarea size, it was indeed intentional and will keep it as is since we all agree it is an improvement


text:
refactor: Replace VolumesActionsPanel with ActionsPanel

Description 📝
This replaces VolumesActionsPanel with ActionsPanel since it's a variation of the ActionsPanel component.
Major Changes 🔄
List highlighting major changes

Change #1
Change #2

How to test

Verify Volumes flow - create, update, clone and resize

All of the Volumes flows works as expected and didn't notice any UI regressions.
My only reservation is that it appears that we duplicate a bit of code across the codebase.
The only props that I noticed that differ in each case are label and disabled.

Since it has some redundancy, Closing this PR for now.

authors: carrillo-erik cpathipa


text:
ci: Add markdownlint, test_html_build, and build_docs workflows

markdownlint runs against README.md to avoid any issues with
converting it to HTML
test_converting_readme converts README.md > HTML and uploads this test
artifact to ensure that conversion works fine
build_docs converts README.md > HTML and pushes the result to the
docs branch to publish dosc to GitHub pages site.
Fix markdown issues in README.md

Signed-off-by: Sergei Petrosian spetrosi@redhat.com

README.md was clean, I am modifying it to trigger .github/workflows/build_docs.yml after this PR is merged.


text:
Django 1.8 compatibility?

Django 1.8 has many backwards incompatibility with database backends due to the new backend API. Is anyone working on this?

I'm not...if anyone wants to take a stab at it, I'll readily take pull requests. :)

Note that 1.7 is not really supported as well, at least no unit testing is done...

Created a PR here: https://github.com/lionheart/django-pyodbc/pull/83
I agree about the unit test coverage though for 1.7. The fixes for the backend compatibility issues with 1.8 were rather simple just by adding some ImportError exception handling but I know 1.7 had much more drastic changes worthy of proper unit testing.

I think the fact that there is no coverage for 1.7 makes the need for unit tests for 1.8 even higher. I wouldn't use it in production this way...

authors: dlo jahrain jieter

repo: lionheart/django-pyodbc


text:
6.0以上播放MP4格式音频没反应

版本  v 5.5.2
点击播放按钮，音频没有播放，进度条也没有动
log里面只有这一条：
I/JieCaoVideoPlayer: onClick start [175006174]
如果点击进度条的话，会toast"play video first"
在6.0以下的系统上面播放正常
minSdkVersion 19
targetSdkVersion 25  刚开始改成了22，现在改成25还是不行。
其他的改动：
我是直接使用的 JCVideoPlayerSimple ， 然后添加了一张图片，其他的没变

我把图片相关的代码都去掉了还是不行

如果build成功能启动和那些版本应该没关系了。
参照demo看看是不是有的参数没传全

我把示例代码下载下来，在ApiActivity中，将 JcVideoPlayerSimple的url换成我自己的url，还是那样的效果
mJcVideoPlayerSimple.setUp("http://media.snxw.com/masvod/public/2016/12/09/20161209_158e2263f56_r1_64k.mp4"
, JCVideoPlayerStandard.SCREEN_LAYOUT_NORMAL, "嫂子在家吗");

我去看看你们的源码吧，谢谢您能回答

如果，我先播放一下视频，然后来播放音频文件，就可以正常播放了。如果安装了直接来播放音频，就不行

@chen2tu 不可能吧，音频和视频没区别，我之前也试过直接播放音频的情况

repo: lipangit/JieCaoVideoPlayer


text:
Add html boolean option

Hello,
Check out: https://github.com/t4t5/sweetalert/blob/master/lib/sweet-alert.js#L25
Bests

Agreed. 5 months for a large feature missing such as HTML, or showConfirmButton... I've used this on a project and really appreciate it, but maybe this should be simplified to relying on SWAL and only tweaks for style.

I tried to merge the two.. but it's been a while and it's kind very outdated :/

It happens :)
I'd updated the readme to state that though, specifically the stable features in SA that aren't present here. It's by no means a bad code base you made, it's good. But maybe just let people know there are definitely some differences at this point.
:)

When are you guys going to merge? I'd like to use html: true soon.

Not to speak out of turn but your best option might be to use the standard
SWAL and overwrite what you need via CSS.
Or write your own JS to coat tail SWAL.
The danger of this library is that it mimics, not overlays, the original
SWAL code. So it's possible for it to fall behind easily.
Or you can update it and put in a merge request, offer the author a
donation, etc so there's incentive to get it up to date.
On Friday, April 10, 2015, Richard Lai notifications@github.com wrote:

When are you guys going to merge? I'd like to use html: true soon.
—
Reply to this email directly or view it on GitHub
https://github.com/lipis/bootstrap-sweetalert/issues/25#issuecomment-91677122
.

--
-- Mike Minor
pixelbacon.com

Okay no problem.

yes.. I tried to update it.. but failed miserably... I don't have much time at the moment..so anyone who is willing to update would be nice :)

For now, this hack works:
swal(....);                                          // as usual
var txt = $(".sweet-alert p.lead").text();           // get text, which is escaped
txt = $("<textarea/>").html(txt).text();             // unescape the text
$(".sweet-alert p.lead").html(txt);                  // put it back in

And then you get HTML text. Can do the same for HTML title.

The merge with the main project has been completed. html and showConfirmButton options are now available

authors: alekitto lipis migig pixelbacon rclai sylouuu

repo: lipis/bootstrap-sweetalert


text:
sequenceAttributes incrementBy has wrong type in XSD

Environment
Liquibase Version: 4.3.1
Liquibase Integration & Version: n/a
Liquibase Extension(s) & Version: n/a
Database Vendor & Version: n/a
Operating System Type & Version: n/a
Description
In the XSD in the attribute group sequenceAttributes the incrementBy attribute has a type of xsd:string, but if you put in any arbitrary string, you get a NumberFormatException at execution time. It should probably be xsd:long like the other incrementBy attributes or at least restrict the xsd:string to digits-only.
┆Issue is synchronized with this Jira Bug by Unito

And same for maxValue, minValue, startValue and cacheSize

Thanks @Vampire for writing up this issue.  We will add this one to the list of issues that we are processing.

authors: Vampire molivasdat

repo: liquibase/liquibase


text:
Noninteger Database Minor Version Numbers Not Allowed

Environment
Liquibase Version:
4.3.5
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
CLI via Liquibase Test Harness
Liquibase Extension(s) & Version:
Cassandra Extension 4.3.4
Database Vendor & Version:
Cassandra 4.0-rc1
Operating System Type & Version:
Docker on Centos
Description
Liquibase running against Cassandra 4.0-rc1 throws error:
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: [JDBC Driver]For input string: "0-rc1"
	at liquibase.database.AbstractJdbcDatabase.getDatabaseMinorVersion(AbstractJdbcDatabase.java:251)
	at liquibase.harness.change.ChangeObjectTests.apply #testInput.changeObject against #testInput.databaseName #testInput.version; verify generated SQL and DB snapshot(ChangeObjectTests.groovy:33)
Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: [JDBC Driver]For input string: "0-rc1"
	at liquibase.database.jvm.JdbcConnection.getDatabaseMinorVersion(JdbcConnection.java:93)
	at liquibase.database.AbstractJdbcDatabase.getDatabaseMinorVersion(AbstractJdbcDatabase.java:249)
	... 1 more
Caused by: java.sql.SQLException: [JDBC Driver]For input string: "0-rc1"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at liquibase.database.jvm.JdbcConnection.getDatabaseMinorVersion(JdbcConnection.java:91)
	... 2 more
Caused by: java.lang.NumberFormatException: For input string: "0-rc1"
	... 6 more

Steps To Reproduce
Use Cassandra 4.0-rc1. Run Liquibase.
Additional Context
I overrode getDatabaseMinorVersion in CassandraDatabase to always throw 0. But this is going to be a problem for any database that has a noninteger minor version.

@r2liquibase This is a problem with the Cassandra driver being used.  The JDBC spec has getDatabaseMinorVersion() returning an int from the java.sql.DatabaseMetaData class definition.  The driver looks to be trying to create an int from 0-rc1 which cause a SQLException to occur and they are passing that SQL Exception up the stack.
If Cassandra is allowing x.y-releasecandidate type names the driver needs to be able to strip out the -releaasecandidate portion of the name to be able to return an int per specification. (https://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getDriverMinorVersion())
The fix needs to go into the driver for release candidate type of database builds.


text:
Add response specs

Added support for generating response specs in addition to parameter specs.
With rudimentary tests.

Hey hey @bombaywalla long time! Thanks a lot for this, will take a proper look and get back asap.

Thanks for the feedback.
I've pushed a new commit with the changes discussed.

You could also take out the response coercions from the unsupported section on the readme too in this PR :)

Inspired by your experimentations with LinkedHashMap, I found that since a LinkedHashMap also implements HashMap, Clojure "just works" with it without any interop needed.  So I re-wrote linked-hash-ma->clj-map to just use reduce-kv and since it is no longer interop-dependent, I renamed it to update-kvs and changed the parameter ordering to keep the map first, like update-keys and update-vals.
I also refactored the other code to use update-kvs.  And I moved the definition of update-kvs to earlier in the file.
I updated the README to  reflect current reality.
See what you think of the current state and let me know if can be made better.
Thanks!

Thanks a lot for the efforts and it looks good! Lemme know what you think of my extra change and post that we should be good to merge.

authors: bombaywalla lispyclouds

repo: lispyclouds/navi


text:
Remove obsolete websites

FEATURE REQUEST: Remove obsolete websites
A Google search turns up Litmus Chaos-branded websites that are obsolete and/or unexplained.
Remove or archive Litmus Chaos-related websites that are obsolete.
For any related documentation website that cannot be integrated into the existing doc repo, make sure there it has a clear explanation as to its purpose, use, and which version of Litmus Chaos it is compatible with.
Audience:
This issue concerns all users of the documentation.
Type:
This is an infrastructure issue that encompasses all the information on several websites.
Context
This issue tracks recommended changes resulting from an analysis of the Litmus Chaos
documentation commissioned by CNCF. The analysis and supporting documents are
here: https://github.com/cncf/techdocs/tree/main/analyses under 0013-litmuschaos.
Possible Implementation
GraphicQL API
The following API is one of the first hits on a search of "Litmus Chaos API": https://litmuschaos.github.io/litmus/graphql/v2.0.0/api.html.
I'm not even sure where the doc repo is (it might be in the API's repo here: https://github.com/litmuschaos/spectaql). It's clear this is a Litmus Chaos component, but not whether this documetnation is current or what it is for -- there's no introduction or explanation of the API.
Tutorials
The Litmus Chaos Tutorial website (https://litmuschaos.github.io/tutorials/; repo at https://github.com/litmuschaos/tutorials) seems to have been last updated in version 2. The first tutorial, "Getting Started", was last updated in August of 2021.
Having tutorials for the major workflows of Litmus Chaos is a great idea, but this site looks like it's been abandoned and I'd be nervous about trying the tutorials on it. Update the site to reassure readers that it's current, and link to it from the main documentation page. If it's too much work to update the whole thing, cannibalize it for the most useful workflows and delete the rest of the site. Or archive the entire site and move on.
Maintaining the project
It seems as if a lot of the information about Litmus Chaos that's online was either written by contributors not directly affiliated with the project or were initiated by the project and then abandoned. Going forward, we recommend two things:

Maintainers keep tighter control of the Litmus Chaos brand (logo and trademarks) so that obsolete and unofficial information does not look like it's a current part of the project to casual observers. Use CNCF resources to help manage the brand, including website registration.
Keep all documentation about the project up to date.

I would like to work on a PR to include the tutorial under the litmus-docs repo and plan to discuss related details in the upcoming community call.

authors: dwelsch-esi suhyenim

repo: litmuschaos/litmus-docs


text:
chore(litmus-portal): ChooseWorkflow Screen with required models and actions.

Signed-off-by: ishangupta-ds ishan.gupta@mayadata.io
What this PR does / why we need it:
Added ChooseWorkflow screen and required code for integration across workflow page.
Which issue this PR fixes
fixes #1578
Checklist

[x] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[x] Have you added debug messages where necessary?
[x] Have you added task comments where necessary?
[x] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[x] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

@rajdas98 @Jonsy13 @oumkale @arkajyotiMukherjee PTAL.

@S-ayanide @oumkale @Jonsy13 @rajdas98 PTAL.

/preview

authors: arkajyotiMukherjee ishangupta-ds

repo: litmuschaos/litmus


text:
🛑 LUG FTP is down

In ebdd795, LUG FTP (https://ftp.lug.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LUG FTP is back up in 462acb6.

repo: littlekud/sites-status


text:
🛑 USTC Mirrors (Chinanet) is down

In cccfa7f, USTC Mirrors (Chinanet) (https://chinanet.mirrors.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC Mirrors (Chinanet) is back up in a86466a after 23 minutes.


text:
this demo does not work for me

Hi kisvegabor, thanks for your work. I've been trying to display resizable custom font on run time with littlevgl and freetype on my PC Sim but no luck so far.  I just simply apply this demo to littlevgl demo, the freetype part seems to work since I can get a glyph bitmap from my font, but nothing displays. Any advice for my problem would be appreciated, thanks !

Hi,
Hm, that's strange.  Please enable LV_USE_LOG and LV_USE_PRINTF in lv_conf.h.
Which simulator do you use?

Hi,
Hm, that's strange. Please enable LV_USE_LOG and LV_USE_PRINTF in lv_conf.h.
Which simulator do you use?

Hi kisvegabor,
I just folllowed the guide from https://github.com/littlevgl/lv_sim_eclipse_sdl, so I should be using SDL2 on ubuntu. The simulator project works fine alone.
To provide more details, I've uploaded my code snippets and logs to https://github.com/nezen/littlevgl_demo, please take a look and see if it helps, thanks !

I've tested it like this and it worked for me:

lv_freetype_init();

static lv_font_t font1;
lv_freetype_font_init(&font1, "./lv_lib_freetype/arial.ttf", 32);

static lv_style_t style1;
lv_style_copy(&style1, &lv_style_plain);
style1.text.font = &font1;

lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);
lv_label_set_style(label, LV_LABEL_STYLE_MAIN, &style1);
lv_label_set_text(label, "Hello world");

Could you try it?

I've tested it like this and it worked for me:
lv_freetype_init();

static lv_font_t font1;
lv_freetype_font_init(&font1, "./lv_lib_freetype/arial.ttf", 32);

static lv_style_t style1;
lv_style_copy(&style1, &lv_style_plain);
style1.text.font = &font1;

lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);
lv_label_set_style(label, LV_LABEL_STYLE_MAIN, &style1);
lv_label_set_text(label, "Hello world");

Could you try it?

I'd tried but my problem still exists. Would you mind sharing all your test codes?

Update:
I have updated my littlevgl version to 6.1.2 and half of the label displays, still working on it.

I've just added my code to the freetype_test branch.

freetype_test works perfectly for me, Thanks for your time!

Great! :)

authors: kisvegabor nezen


text:
lv_task_cb_t definition and casting to prevent warnings in lv_task_cr…

…eate calls

really, now that I know whats going on, it should really be typedef void (*lv_task_cb_t)(lv_task_t *); for greater clarity and to fix some compiler warnings.

(cc @kisvegabor)

@BrianPugh
Meanwhile, I've also fixed some of these issues. Can you test with the lates version again?

Your updates seem good, making this PR unnecessary. Thanks!

Thank you for the feedback!

authors: BrianPugh embeddedt kisvegabor

repo: littlevgl/lvgl


text:
demo

1.大佬问一下支付功能怎么体现，我在输入手机号后秒杀成功，然后也没有支付界面，mysql中库存也没变。。。
2.大佬，Jemeter怎么传不同的手机号啊。。。

谢谢支持。
回答问题1：
我这里只有秒杀功能，没有支付功能，因为支付功能可以再抢到后30分钟内支付；
相对秒杀过程来说，并发没那么高。处理相对常规，不是这个开源项目的重点，只需要按照支付api开发即可。
回答问题2：
你可以搜索一下jmeter怎么传送动态参数，我没有做过。  如果jmeter无法实现，你可以自己用java代码来模拟登陆和秒杀过程，使用多线程和线程池。

authors: CHENzQIANG liushaoming

repo: liushaoming/jseckill


text:
request: would like to have crop data output

I really like how well this node works. I think it works better for my use than WAS image crop face node.
I wish it had crop data output as well, so I can zoom into a face, use it for i2i, and paste it back onto the original image.
It might be even better if you can make separate crop paste node as well, but if WAS image paste face node is compatible with the paste data output, that may be suffice as well.
Thank you very much.

Thanks @manassm

I wish it had crop data output as well, so I can zoom into a face, use it for i2i, and paste it back onto the original image.

Can you explain this a bit more, maybe give a visual example? I am having trouble understand the feature you described.

I've installed WAS (https://github.com/WASasquatch/was-node-suite-comfyui) for the first time, and I see what CROP_DATA was.
Sorry, never installed that and didn't know there's another node for this purpose, xD

As you mentioned, I am thinking about, maybe later, I'll make a similar node to "Image Paste Crop" from WAS suite, since that suite is a bit heavy and has too many dependencies.

This is the example workflow I am working on, where I take face part of the image, crop it out, modify it, and paste it back to the original image. Here I am using the WAS node version of it, but I personally find your node to work better, in some cases, for face detection and cropping the portion with only the face.
Thank you for your support; I'd appretiate it if you notify me if you decided to or do update it.

Cropping is for rectangle areas. Do you mean you want to do face swapping? There's a node for that, I think.

Try this one: https://github.com/Gourieff/comfyui-reactor-node

I'm not sure about particular one you mentioned yet, but seemed like face swapping didn't particularly work well with stylied anime faces. But I will look into it. Thank you.

I'm not sure about particular one you mentioned yet, but seemed like face swapping didn't particularly work well with stylied anime faces. But I will look into it. Thank you.

Yeah, you're right. I think nobody has really thought about swapping faces for anime characters yet.

I think you'll be like this @manassm
workflow embedded in the png

authors: liusida manassm

repo: liusida/ComfyUI-AutoCropFaces


text:
super-resolution before reconstruction?

I note that the resolution is limited to 256? Is it possible to apply a super-resolution model like tile-controlnet to obtain high-resolution images and then use neus resconstruction to get a much higher quality 3d generation?

Hi, the current version only uses a resolution of 256. Increasing the resolution by SR module could be a promising solution but I'm not sure if this would break multiview consistency or not. Maybe, I could give it a try after I clean and release the codes. Thanks for your advice!

authors: liuyuan-pal mdarhdarz

repo: liuyuan-pal/SyncDreamer


text:
🛑 armory.worldofwarships.asia is down

In 9cb13eb, armory.worldofwarships.asia (https://armory.worldofwarships.asia) was down:

HTTP code: 500
Response time: 8253 ms

Resolved: armory.worldofwarships.asia is back up in 7690967.


text:
🛑 warehouse.worldofwarships.asia is down

In a175ece, warehouse.worldofwarships.asia (https://warehouse.worldofwarships.asia) was down:

HTTP code: 0
Response time: 0 ms

Resolved: warehouse.worldofwarships.asia is back up in eebcb50.


text:
Livebook desktop app no longer launching

Environment

Elixir & Erlang/OTP versions (elixir --version):
Operating system: MacOS Monterrey 12.5.1 on a MacBook Air M2
How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Desktop app
Livebook version (use git rev-parse HEAD if running with mix): the latest from the homepage as of today 25 May 2023 as well as the nightly build.
Browsers that reproduce this bug (the more the merrier): Safari, Orion, Firefox (different error)
Include what is logged in the browser console: cannot open any pages
Include what is logged to the server console:
Logs from Safari or Orion:

[Livebook] Application running at http://localhost:61817/?token=ngm2j47xrvab3ewqtyym4xszbnjrzg4k

12:13:43.496 [debug] Downloading NIF from https://github.com/elixir-nx/explorer/releases/download/v0.5.7/libexplorer-v0.5.7-nif-2.16-aarch64-apple-darwin.so.tar.gz

12:13:47.353 [debug] NIF cached at /Users/lehoff/Library/Caches/rustler_precompiled/precompiled_nifs/libexplorer-v0.5.7-nif-2.16-aarch64-apple-darwin.so.tar.gz and extracted to /Users/lehoff/Library/Caches/mix/installs/elixir-1.14.2-erts-13.0.4/576bce57b0be4ce37476a27575df6b40/_build/dev/lib/explorer/priv/native/libexplorer-v0.5.7-nif-2.16-aarch64-apple-darwin.so

18:01:13.059 [error] ** Node :livebook_app@mimer not responding **
** Removing (timedout) connection **

18:01:22.183 [error] ** Node :livebook_app@mimer not responding **
** Removing (timedout) connection **

[Livebook] Application running at http://localhost:52403/?token=nog64n7vkswxmfyfefsutlofhpdlky6x
[Livebook] Application running at http://localhost:52555/?token=so4ast4p4bdwgnoupjuz5i4a2jmpjdt3
[Livebook] Application running at http://localhost:52728/?token=inoqbde4ft3eydxmpm3gzkoiekkfx5ix
[Livebook] Application running at http://localhost:52940/?token=kysbmhiptjsmhm6krctevwyb2k6fqix4
[Livebook] Application running at http://localhost:53088/?token=xwpby4obxkyuizng6ueoetadizndvgfg
[Livebook] Application running at http://localhost:53327/?token=zmhn4zykpasn6hrbrwh5eofshyrqbmwn
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

Firefox error:
Secure Connection Failed

An error occurred during a connection to localhost:57888. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the web site owners to inform them of this problem.

Current behavior
Include detailed steps to reproduce error, errors and stacktraces if appropriate.
Just double-clicking the Livebook app leads to Safari/Orion stating roughly this:
Safari can't open the page https://localhost ... because Safari can't establish a secure connection.

Expected behavior
A short description on how you expect the code to behave.
Just that Livebook opens.
I had it working last week, but when returning this week it was just broken.

Livebook as a whole is broken, but if I copy the url out it works.
Let me debug a bit more to see if it is a me-problem.

It is a me-problem. I have been using Finicky to launch different browsers depending on url and by going through that script something breaks. I am closing this.

Got it.

Safari can't open the page https://localhost

This is very weird, we are definitely opening the http://localhost URL, Livebook Desktop does not use SSL.
edit: oh, ok!

For others: I kicked out Finicky and installed browserosaurus for my choose-a-browser needs and that works like a charm with Livebook.
The rest is just very weird and probably totally a me-problem that we can forget about.

authors: lehoff wojtekmach

repo: livebook-dev/livebook


text:
Increase default adaptiveStream pixelDensity on high-density screens

Mobile devices typically use high density screens (2.5-3+). On these platforms, using default CSS dimensions tends to produce less than ideal streaming quality when using adaptiveStream defaults.

Can we switch to screen pixel density by default? Or does that not work for mobile browser cases?

Can we switch to screen pixel density by default? Or does that not work for mobile browser cases?

I'm trying to avoid a change in behavior on desktop systems. If we defaulted to screen, it will increase the bandwidth consumption on most displays today. On mobile, it'll mean fetching 720p by default for a video tile that takes about 200 css pixels.
Maybe this is a change we make for 2.0? as more efficient codecs are used.

authors: davidliu davidzhao

repo: livekit/client-sdk-js


text:
Use padding for probing

Sorry, a biggish change, but that's what is required in this part of the world :-).
High level changes (will leave inline comments as usual)

Config to choose between padding and media for probing.
Default ☝ to padding
No change in behaviour (although with the large code change here, I need to spend more time with it to ensure) when using probe mode of media.
When probing with padding, abort on a wrong turn in estimate
If no wrong turn, let it run till it reaches goal (or it times out)

Thank you @cnderrauber . Sorry, this is all a bit tweaks and some empirical settings. We can go over the logic some time. I am also going to wait to merge this as I am seeing issues when subscriber is pulling screen share stream (which does not go through stream allocator) and camera simulcast (which goes through it). I have to work on that. I will make that a separate PR. But, I want to check on that in a different branch first to see if the code in this PR also shows some bug/corner case.

repo: livekit/livekit-server