Can't install storybook-zeplin with storybook 6.5.0-alpha.49

Hi
Unable to install the latest version of the zeplin plugin due to conflicts with peerDependencies
npm ERR! Could not resolve dependency:
npm ERR! dev storybook-zeplin@"" from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@storybook/addons
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/storybook-zeplin
npm ERR!     dev storybook-zeplin@"" from the root project
npm ERR!

@smcardle Which version is this? Could you try the latest version of the addon?


FIX fields order on list bundles

Signed-off-by: acmenezes<EMAIL_ADDRESS>Description of PR
Starting CSV and Package Name are printing in the wrong order. This PR just fixes it.
Fixes #327
Changes (required)

Changed the order Starting CSV and Package Names are being printed.

Checklist (required)

[x] I have reviewed and followed the contribution guidelines
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation if needed
[x] I have checked that my changes pass all tests

/approve


Track coverage achieved in Honggfuzz after fuzzing

Hi, I wanted to get some stats on the coverage after a fuzzing run was finished.
Similar to something how afl-showmapshows the number of tuples hit.
In the display log, there seems to be support for HW-based counters which are displayed
but there seems to be no support for displaying coverage using the information in the struct
here which is updated on
hitting trace instrumentation in the target binary.
I have modified Honggfuzz to dump the feedback_t struct if a user specifies so and am in the process of writing a tool that can parse the dumped struct and then deliver results based on which instrumentations were activated in the binary.
Just wanted to double-check if there is existing functionality that I am unaware of that can be used to deliver interpretable stats to the user using the bitmap info? If not, I'll probably just go ahead with implementing this tool.
EDIT: After looking further at the hwcnt_t struct it seems like
typedef struct {
    uint64_t cpuInstrCnt;
    uint64_t cpuBranchCnt;
    uint64_t bbCnt;
    uint64_t newBBCnt;
    uint64_t softCntPc;
    uint64_t softCntEdge;
    uint64_t softCntCmp;
} hwcnt_t;

The last three members i.e. softCntPc, softCntEdge and SoftCntCmpy are the ones responsible for keeping track of software-based instrumentation coverage and are exactly what I was looking for.
Could you let me know what measure is maintained by softCntPc exactly?

EDIT: After looking further at the hwcnt_t struct it seems like
typedef struct {
    uint64_t cpuInstrCnt;
    uint64_t cpuBranchCnt;
    uint64_t bbCnt;
    uint64_t newBBCnt;
    uint64_t softCntPc;
    uint64_t softCntEdge;
    uint64_t softCntCmp;
} hwcnt_t;

The last three members i.e. softCntPc, softCntEdge and SoftCntCmpy are the ones responsible for keeping track of software-based instrumentation coverage and are exactly what I was looking for.
Let me know if I am correct.

softCntPc are basic-blocks and not edges, e.g. some block counting techniques are doing just that, providing just address of a basic block instead of edges.


Write container logs on failure

We currently write out all the containers logs before the cluster stops. This leads to a lot of log files. It's better to only log on failure

For at start we could write it to a tmp dir out of version control

Logs are written to logger on failure https://github.com/ContainerSolutions/mini-mesos/pull/54

Yes let's stop writing log files. I'll add a new issue.


MaxDestroyerEvents

The problem
In project Yellowstone, the format for Multihistory generators will be
Generator[System[rules_], generatorArgs] @ init

Some possible choices for Generator would be GenerateSingleHistory and GenerateFullMultihistory (or GenerateAllHistories). These allow one to select between generating a single or a multihistory.
However, we need a generator that can interpolate between them such as
GenerateMultihistory[system_, selectionCondition_, ordering_, stoppingCondition_]

In order to switch between single and multihistories, we will need to specify "MaxDestroyerEvents". If "MaxDestroyerEvents" -> 1, it's a single history, and if "MaxDestroyerEvents" -> Infinity, it's a multihistory.
So, to implement GenerateMultihistory completely, we need "MaxDestroyerEvents" stopping condition which we don't currently have.
Possible solution
Before GenerateMultihistory is implemented, we can add "MaxDestroyerEvents" as a WolframModel stopping condition, e.g.,
WolframModel[{{1, 2}, {2, 3}} -> {{2, 3}, {2, 4}, {3, 4}, {2, 1}},
             {{1, 1}, {1, 1}},
             <|"MaxEvents" -> 5, "MaxDestroyerEvents" -> 2|>,
             "EventSelectionFunction" -> "MultiwaySpacelike"]

To implement this, one will need to roughly do the following:
In C++,

Get rid of SystemType and pass maxDestroyerEvents instead to the Set initialization.
Add an instance variable to CausalGraph to track the number of destroyer events per expression.
In Set::replaceOnce, modify the following code to perform matcher_.removeMatchesInvolvingExpressions and related operations once the limit from step (2) is reached:
https://github.com/maxitg/SetReplace/blob/9d3d7fb3f1d405a25c208c7a1b03a69223b95ae2/libSetReplace/Set.cpp#L102-L111

In Wolfram Language:

Add another step spec to setSubstitutionSystem.m (and, as a result, to WolframModel).
Pass it as an extra parameter to the second argument of $cpp$setReplace in setSubstitutionSystem$cpp.m.

Additional context
Implementing GenerateMultihistory itself is a big refactoring and is separate from this feature (although requires it). There will be another issue for that.

@maxitg
What would be the difference between passing maxDestroyerEvents to setInitialize instead of just passing it to setReplace as the other stepSpec?
Also, is "EventSelectionFunction" -> "MultiwaySpacelike" necessary if I specify "MaxDestroyerEvents"?

@daneelsan,
If you pass something to setInitialize, you can assume that it is constant and won't change during the evolution. If you pass it to setReplace, you will have to expect that it can change in subsequent calls to setReplace. There is nothing wrong with that, however, it's more difficult to implement (and we don't use that functionality from WL yet).
For example, let's say someone starts by running a single-way system, for which it's not necessary to keep track of expression separations. Then, one would continue evolving it as a multiway system. At this point, the C++ implementation will have to go back and compute all the separations before it can continue with the evolution. We will need to be able to do that once we allow multihistories to work as inits, but it's out of scope for this PR because it will require being able to change the rules, the ordering function, etc. as well.
And yes, for now, "EventSelectionFunction" -> "MultiwaySpacelike" will be necessary, but it won't be in GenerateMultihistory, so I don't think we should worry about it too much.

I understand now. What feels weird is to have "MaxDestroyerEvents" being inside stepSpec instead of being at the option level.
As I understand, it eventually will replace "EventSelectionFunction" -> "MultiwaySpacelike", so it makes sense to have it there.
Also, the value must be a positive integer or Infinity. I see that Infinity is sometimes considered converted to max int 64. Seems to me that is the way to go (?)

Yes, you are right. It's really a selection function, so in the old design it should actually be something like "EventSelectionFunction" -> {"MultiwaySpacelike", "MaxDestroyerEvents" -> 2} or some variation of that.
And yes, Infinity needs to be passed to C++, and max int 64 is just a special value to do that.

Instead of:
Instead of:
"EventSelectionFunction" -> {"MultiwaySpacelike", "MaxDestroyerEvents" -> 3},
what about:
"EventSelectionFunction" -> "MultiwaySpacelike", "MaxDestroyerEvents" -> 3.
The default value of "MaxDestroyerEvents" would be Automatic:

If "EventSelectionFunction" is "GlobalSpacelike", then "MaxDestroyerEvents" -> 1,
if None or "MultiwaySpacelike", then  "MaxDestroyerEvents" -> Infinity.

"MaxDestroyerEvents" is independent of the event selection function (even though "MaxDestroyerEvents" does depend on the value of "MaxDestroyerEvents" for performance improvements).
And I guess "EventSelectionFunction" -> "GlobalSpacelike", "MaxDestroyerEvents" -> 3 should return an error.

If we are going to do that, we should then add it as a step spec.

Out of the old design things, it's most similar to "MaxGenerations" because that works as a selection function as well.

Yes, it does look similar:

Note also that "MaxGenerations" works differently from the other limiters, as the matching algorithm would not even attempt to match edges with generations over the limit. Therefore unlike, i.e., "MaxVertices", which would terminate the evolution immediately once the limit-violating event is attempted, "MaxGenerations" would keep "filling in" events for as long as possible until no further matches within allowed generations are possible.

Does this imply there should also be some sort of "TerminationReason:MaxDestroyerEvents"?
Also, "MaxDestroyerEvents" really is "MaxDestroyerEventsPerExpression". This confused me initially as I thought the limiter was the total number of destroyer events of the causal graph.

What's the difference between the total number of destroyer events and the total number of events?
I suppose there could be another termination reason indicating that there are additional matches possible but only if "MaxDestroyerEvents" is increased. But the problem here is again that the old design conflates stopping conditions with selection conditions. In the new design, I don't think we should even have a termination reason for "MaxGenerations".
Instead, "MaxGenerations" is information about uninstantiated matches, and we need a whole other way of dealing with that.
So, in short, I think we should leave termination reasons as they are for now.


Coder: TGtPharoSuiteViewModel should pass TAsyncStream into TGtPharoSuiteExecutor

If TGtPharoSuiteViewModel passes TAsyncStream into TGtPharoSuiteExecutor, individual executors can handle differently. For example, local executors can execute one example at a time, while remote executors can execute examples in parallel.

Changed code in TGtPharoSuiteViewModel>>#playFrom::


build-logic fails to build as a stand-alone build

do:
cd build-logic
../gradlew build

it fails with:
> Task :java-convention:generateExternalPluginSpecBuilders FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':java-convention:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':java-convention:compileClasspath'.
   > Could not find com.example.buildlogic:libraries:.
     Required by:
         project :java-convention
   > Could not find com.example.idiomatic.gradle:platform:.
     Required by:
         project :java-convention
   > Could not find com.google.guava:guava:.
     Required by:
         project :java-convention

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 687ms
20 actionable tasks: 3 executed, 17 up-to-date

if you add this into dependencyResolutionManagement :
    includeBuild("../platform")
    includeBuild("../libraries")

here:
https://github.com/jjohannes/idiomatic-gradle/blob/ffb5515b444c2e1adc0aa09824c15b3f5fabd5ec/build-logic/settings.gradle.kts#L4
It will fix the build failure.

Thanks @yogurtearl - fixed now.


Why does Fastapi need more time when use CryptContext？

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
==================Fastapi==========================
from passlib.context import CryptContext
import time
from loguru import logger

pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")

def verify(plain_password, hashed_password):
    start = time.perf_counter_ns()
    verify_result = pwd_context.verify(plain_password, hashed_password)
    end = time.perf_counter_ns()
    logger.info(f"verify end at {(end - start) / (10 ** 9)}s")
    return verify_result

@user_router.get("/test")
async def test():
    plain_password = '12345'
    hashed_password = "$2b$12$9QqLfn..1PGFMLtoD1xvFOX8IGk/COLBHi8yKLFs.DTsiCyi9QmYq"
    result = verify(plain_password, hashed_password)

    return {"message": result}

--------------------result------------------------
2022-11-16 17:27:45.874 | INFO     | verify:12 - verify end at 0.280580125s
INFO:     <IP_ADDRESS>:51879 - "GET /user/test HTTP/1.1" 200 OK

=====================Python=========================

from loguru import logger
import time
from passlib.context import CryptContext

hashed_password = "$2a$10$7LwEZM8ylt6NJPGVkZZ4euMNHL68dsD3gOe9/9A69cIbjuerVV6wS"
plain_password = "12345"

v_start = time.perf_counter_ns()
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
verify_result = pwd_context.verify(plain_password, hashed_password)
v_end = time.perf_counter_ns()
logger.info(f"verify end at {(v_end - v_start) / (10 ** 9)}s")
--------------------result------------------------
2022-11-16 17:30:35.476 | INFO     | __main__:<module>:14 - verify end at 0.087431334s

Description
Fastapi speeds 0.280580125s
Python speeds 0.087431334s
why???
Operating System
macOS
Operating System Details
Macos Ventura 13.0
FastAPI Version
0.85.1
Python Version
Python 3.10.8
Additional Context
No response

this is really interesting.

this is really interesting

@yinziyan1206 Thanks a lot，i'v got confused for a long time.

Thanks for the help here @ycd ! 👏  🙇
Thanks for reporting back and closing the issue  @ssrshz 👍


Fix Wrong Intrinsic gas cost in eth_sendRawTransaction precheck calculation

Description:
Wrong intrinsic gas is calculated by eth_sendRawTransaction precheck in all cases. For example deploying this greeter contract takes around 79-80k gas, but relay calculates that it needs at least 160k. This results in error throw in the relay even before the transaction reaches consensus node.
This bug didn't surface until now, because we've used hardcoded values for estimateGas, now that we have precise calculation of estimate gas from the mirror-node it appears that relay calculations were wrong.
Calculation done according to Hedera docs
Removed estimateGas workaround for the mirror-node bug, as it's fixed there.
⚠ Should merge and release this after https://github.com/hashgraph/hedera-mirror-node/pull/6633 is ready and deployed on public network.
Related issue(s):
Fixes #1631
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Patch coverage: 78.26% and project coverage change: +1.45% :tada:

Comparison is base (a7d59b9) 78.52% compared to head (23cf9fd) 79.98%.
 Consider uploading reports for the commit e2b75dd to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1637      +/-   ##
==========================================
+ Coverage   78.52%   79.98%   +1.45%
==========================================
  Files          23       23
  Lines        2128     2143      +15
  Branches      429      432       +3
==========================================
+ Hits         1671     1714      +43
+ Misses        329      305      -24
+ Partials      128      124       -4

Files Changed
Coverage Δ

packages/relay/src/lib/errors/JsonRpcError.ts
76.92% <ø> (+10.25%)
:arrow_up:

.../lib/services/ethService/ethFilterService/index.ts
84.90% <64.28%> (-7.60%)
:arrow_down:

.../lib/services/ethService/ethCommonService/index.ts
88.23% <76.74%> (-6.57%)
:arrow_down:

packages/relay/src/lib/eth.ts
85.49% <100.00%> (+0.82%)
:arrow_up:

packages/relay/src/lib/precheck.ts
89.02% <100.00%> (+30.48%)
:arrow_up:

... and 1 file with indirect coverage changes

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

@georgi-l95 0.87.0 us in mainent now so you should be able to rebase


TripDataInt.hql issue with not using tripDataWithoutNulls

in TripDataInt.hql is created tripDataWithoutNulls but not used and into table tripDataInt are inserted values with -255 and it does problem later with AVG function
should be:
INSERT INTO TABLE tripDataInt
...
FROM tripDataWithoutNulls

PR created


Refactor Weld-based tests + fixes after Weld 1.x -> Weld 2.x upgrade

guvnor-test-utils now contains simple junit runner
(WeldJUnitRunner) which takes care of starting and
stopping the Weld behind the scenes. Using the runner
results in much less duplication in setup code

@manstis, @Rikkola could you please take a look?

WeldJUnitRunner is a good idea. Another area that is hard to test at the moment are the client side presenters. Some sort of Runner might also help there. Not to mention the base presenter our editors use could also use some refactoring to be more testable. The current setup is quite long.

Yeah, I find this idea of different custom runners very appealing. It is then very easy to capture shared setup/configuration code without the need of complex test class hierarchy (e.g. multiple abstract classes with shared code).

+1 to merge (when the WELD changes go en masse)

@psiroky Still failing....

Yeah, guvnor needed bump as well (and least I hope that was the case).


Enable plot viewer for Notebooks and Native Interactive Window

Refs: https://github.com/microsoft/vscode-jupyter/issues/6692

[x] anyOS @rzhao271
[x] anyOS @rchiodo

Complexity: 3

Plot outputs should have an icon allowing users the ability to:

Save the plot (image)
Open the plot in the Plot viewer

How to test

Install VS Code Insiders
Install Jupyter Extension
Install Python
Create a notebook

Add the following code in the cells:import matplotlib.pyplot as plt
plt.plot()

Run the above cell
Install missing dependencies:

You might be prompted to install IpyKernel, click ok.
You might get errors about matplot lib not existing.
If you are using conda, please please create a cell and run this cell

Cell with code to install matplotlib
%conda install -c conda-forge matplotlib

If you are not using please please create a cell and run this cell

Cell with code to install matplotlib
%pip install matplotlib

Run the cell with the code 			plt.plot()
Verify you have an output with a plot
Hover over the plot & verify you have two icons for save and open.

Clicking on the save icon should allow you to save the plot as svg or pdf.
Clicking on the show plot viewer icon should allow you to open the plot in the plot viewer

Icons on plots (top right, click to save or show plot viewer)

Plot viewer

I encountered https://github.com/microsoft/vscode-jupyter/issues/6851 while testing.


Synchronous createAccountWithAddress

Summary & Motivation
The viem createAccount function is asynchronous, which can make a turnkey viem client tricky to use as a plug-and-play alternative to a standard viem client.
createAccount only needs to be asynchronous if the signWith parameter is a private key ID and the corresponding ethereum address is not provided.
I've added a synchronous createAccountWithAddress which works if either the signWith parameter is an address, or, if not, if the ethereumAddress parameter is provided.
This is a minimal change that won't affect current usage of the package.  I would actually suggest making the createAccount itself asynchronous and moving the code to fetch the ethereum address corresponding to a private key ID to a separate asynchronous function.
How I Tested These Changes
I've added tests to cover the changes, as well as a small update to .env.example.
My deny policy tests fail... I'm not exactly which policy would give the required error.  I simply added a EFFECT_DENY policy to my test user I've set up for these tests.
"cause": [TurnkeyRequestError: Turnkey error 7: policy engine denied request explicitly (Details: [])],
    -   "message": "Failed to sign: Turnkey error 7: policy engine denied request explicitly (Details: [])",
    +   "cause": [TurnkeyRequestError: Turnkey error 7: You don't have sufficient permissions to take this action. Please add a policy granting this user permissions. Learn more at https://docs.turnkey.com/concepts/policies/quickstart....

My policy looks like this:
{
  "effect": "EFFECT_DENY",
  "consensus": "approvers.any(user, user.id == '<USER_ID>')",
  "condition": "eth.tx.to == '0x0000000000000000000000000000000000000000'"
}

Did you add a changeset?
I'll add a changeset if you're ok with the changes.
If updating one of our packages, you'll likely need to add a changeset to your PR. To do so, run pnpm changeset. pnpm changeset will generate a file where you should write a human friendly message about the changes. Note how this (example) includes the package name (should be auto added by the command) along with the type of semver change (major.minor.patch) (which you should set).
These changes will be used at release time to determine what packages to publish and how to bump their version. For more context see this comment.

Also, I noticed that the deny policy tests will pass if the call to signTransaction does not throw an error.

done @andrewkmin

merged via https://github.com/tkhq/sdk/pull/354 ! thank you


CreateAndEditGeometries sample: shapes, scale, rotate

Description

Adds support for shape tools, scaling, and rotating
MAUI: adds tool tip text
Keeps all event handlers in one region
Adds _toolDictionary member for readability and consistency
Simplifies tool change logic

Type of change

Sample enhancement

Platforms tested on

[x] WPF .NET 6
[x] WPF Framework
[x] WinUI
[x] MAUI WinUI
[ ] MAUI Android
[x] MAUI iOS
[ ] MAUI MacCatalyst

Checklist

[x] Self-review of changes
[ ] All changes work as expected on all affected platforms
[x] There are no warnings related to changes
[x] Code is commented and follows .NET conventions and standards
[x] Codemaid and XAML styler extensions have been run on every changed file
[x] No unrelated changes have been made to any other code or project files
[ ] Screenshots are correct size and display in description tab (800 x 600 on Windows, MAUI mobile platforms use the MAUI Windows screenshot)

Will update screenshots once UI changes are approved. Note the added white backgrounds around the combo box and check box to ensure readability.


Use rancher api to restart containers with specific label value when certs are renewed

The use case for this is when one is using the written to shared volume certs, and those certs are renewed, it would be good if after the renewal, the services with a label like "letsencrypt.should.restart=true" are restarted, providing a sure way to have those certs reloaded into memory from the fresh files (for example restarting a nginx container that's running an SSL termination). For my use case I need to use nginx so please don't tell me to use the rancher load balancers.

Any solution for this case? I need too.


Stuck with RTSP Audio + Video

Hello!
 New clock: GstSystemClock Progress: (request) Sending PLAY request Progress: (request) Sending PLAY request Progress: (request) Sent PLAY request WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink3: Error sending UDP packets Additional debug info: gstmultiudpsink.c(726): gst_multiudpsink_send_messages (): /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink3: client <IP_ADDRESS>:0, reason: Error sending message: Invalid argument INFO - kinesisVideoStreamFormatChanged(): Stream format changed. 2021-11-22 18:26:31 [140587632580352] WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:src: Delayed linking failed. Additional debug info: ./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstRTSPSrc:src: failed delayed linking some pad of GstRTSPSrc named src to some pad of GstRtpPcmaDepay named rtppcmadepay0 WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink1: Error sending UDP packets Additional debug info: gstmultiudpsink.c(726): gst_multiudpsink_send_messages (): /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink1: client <IP_ADDRESS>:0, reason: Error sending message: Invalid argument
And I've got stuck in this part... Anyone could help me?
Thanks!!

Can you please post which version of kvssink you are using?  In addition as a first debugging step have you tried to change the sink to something like filesink and see if that works?  This way we can help to narrow down if your issue is upstream near your source or truly with the plugin. I would first try the simplest pipeline and once you get it working try to add more of what you need.  Also are you sure what is coming from the source is in fact h264 encoded?

Hello!
I'm using version 1.0.
When I try just:
gst-launch-1.0 rtspsrc name=src location=rtsp://<IP_ADDRESS>:5554/playlist.m3u short-header=TRUE ! rtph264depay ! h264parse ! video/x-h264, format=avc,alignment=au ! kvssink name=sink stream-name=Teste1 storage-size=512 access-key=AKIATY2QOGFD6DC4W2PB secret-key=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 aws-region=sa-east-1
The video works like a charm, but just the video... without audio.
I did try with filesink, but i got this error:
`gst-launch-1.0 rtspsrc name=src location=rtsp://<IP_ADDRESS>:5554/playlist.m3u short-header=TRUE ! rtph264depay ! h264parse ! video/x-h264, format=avc,alignment=au ! filesink name=sink stream-name=Teste1 storage-size=512 access-key=AKIATY2QOGFD6DC4W2PB secret-key=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 aws-region=sa-east-1
WARNING: erroneous pipeline: no property "stream-name" in element "sink"
`
Yes, what's coming from the source is h264 (the encoder that the source uses is OMX.google.h264.encoder)

The latter it is because filesink does not have those parameters you only need to supply it location parameter which is where to write the file.

Try that and let's see if you get audio kn the file.  Then we can debug the audio part.

Also sorry I should have been more specific for the version, which version of the producer CPP SDK you're using to build the kvssink plugin?

Hello!
Since i'm streaming to Kinesis stream, how can I use the filesink? I mean... How can I pass he stream-name with filesink?
I'm using the last release (3.2.0).
Thanks!

The strange part that the filesink produces the output file... But I can't open. Maybe the format is not h264?

I saw in VLC, the stream information is:

I did include mpegtsmux = mux and succeed to record the video from rtsp source... But how can I do it to misc the audio too?
gst-launch-1.0 rtspsrc name=src location=rtsp://<IP_ADDRESS>:5554/playlist.m3u ! rtph264depay ! h264parse ! mpegtsmux name=mux ! filesink location="test.ts"

Hello!

However, I'm getting a lot of Warnings. I think that these warning can cause to my stream to get stuck in some points, frozing and start to loading to start again (resulting in delay).
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink1: Error sending UDP packets Additional debug info: gstmultiudpsink.c(726): gst_multiudpsink_send_messages (): /GstPipeline:pipeline0/GstRTSPSrc:src/GstUDPSink:udpsink1: client <IP_ADDRESS>:0, reason: Error sending message: Invalid argument [DEBUG] [23-11-2021 01:03:32:778.782 GMT] postReadCallback(): Wrote 14456 bytes to Kinesis Video. Upload stream handle: 0 [DEBUG] [23-11-2021 01:03:32:839.333 GMT] postReadCallback(): Wrote 22526 bytes to Kinesis Video. Upload stream handle: 0 [WARN ] [23-11-2021 01:03:32:851.661 GMT] putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp:<PHONE_NUMBER> presentation timestamp:<PHONE_NUMBER>8540335 [WARN ] [23-11-2021 01:03:33:006.363 GMT] putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp:<PHONE_NUMBER> presentation timestamp:<PHONE_NUMBER>8883004 [DEBUG] [23-11-2021 01:03:33:140.054 GMT] postReadCallback(): Wrote 35945 bytes to Kinesis Video. Upload stream handle: 0 [WARN ] [23-11-2021 01:03:33:213.371 GMT] putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp:<PHONE_NUMBER> presentation timestamp:<PHONE_NUMBER>1100114 [DEBUG] [23-11-2021 01:03:33:249.056 GMT] Kinesis Video client and stream metrics 	>> Overall storage byte size: 536870912 	>> Available storage byte size: 536465842 	>> Allocated storage byte size: 405070 	>> Total view allocation byte size: 576080 	>> Total streams elementary frame rate (fps): 4908 	>> Total streams transfer rate (bps): 1110096 (1084 Kbps) 	>> Current view duration (ms): 89 	>> Overall view duration (ms): 2887 	>> Current view byte size: 16868 	>> Overall view byte size: 400606 	>> Current elementary frame rate (fps): 30.0155 	>> Current transfer rate (bps): 1110096 (1084 Kbps) [WARN ] [23-11-2021 01:03:33:263.550 GMT] putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp:<PHONE_NUMBER> presentation timestamp:<PHONE_NUMBER>2380004
Do you know how to fix that?

The error you're seeing 0x30000005 means STATUS_CONTENT_VIEW_INVALID_TIMESTAMP and looking at your DTS and PTS values they are not in the correct scale, please correct your timestamps that should resolve this issue.

The video and audio work like a charm!
I got this error:
WARNING: erroneous pipeline: could not link mux to kvssink0

Can you run with GST_DEBUG=5 ?

I examined your timestamps the diff between the successive pts timestamps is:
853300
853400
400400
824200
1249300
420000
1372700
707200
It looks like your encoder is not consistent these diffs should roughly be the same value this will cause errors because the frames have durations so when a fragment ends if you try to insert a frame with a time code overlapping you will see other errors (I do not see indication of that right now) but it will most likely happen with an encoder which is not consistent.
You cannot send mux'd video to kvssink it will accept raw h264 (either annex b or avcc) so if you delete mpegtsmux name=mux from the pipeline with kvssink it should work.

Hi!
With GST_DEBUG=5:
INFO - createKinesisVideoClient(): Creating Kinesis Video Client
2021-11-23 17:18:04 [139871915054144] INFO - heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
2021-11-23 17:18:04 [139871915054144] INFO - heapInitialize(): Creating AIV heap.
2021-11-23 17:18:04 [139871915054144] INFO - heapInitialize(): Heap is initialized OK
2021-11-23 17:18:04 [139871915054144] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-11-23 17:18:04 [139871915054144] DEBUG - getSecurityTokenHandler invoked
2021-11-23 17:18:04 [139871915054144] DEBUG - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER>874218140 Expiration: 0
2021-11-23 17:18:04 [139871915054144] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000010
2021-11-23 17:18:04 [139871915054144] INFO - createDeviceResultEvent(): Create device result event.
2021-11-23 17:18:04 [139871915054144] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-11-23 17:18:04 [139871915054144] DEBUG - clientReadyHandler invoked
2021-11-23 17:18:04 [139871915054144] INFO - try creating stream
2021-11-23 17:18:04 [139871915054144] INFO - Creating Kinesis Video Stream Teste1
2021-11-23 17:18:04 [139871915054144] INFO - createKinesisVideoStream(): Creating Kinesis Video Stream.
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo(): Kinesis Video Stream Info
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Stream name: Teste1
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Streaming type: STREAMING_TYPE_REALTIME
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Content type: video/h264,audio/aac
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Max latency (100ns): 600000000
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Fragment duration (100ns): 20000000
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Key frame fragmentation: Yes
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Use frame timecode: Yes
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Absolute frame timecode: Yes
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Nal adaptation flags: 0
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Average bandwith (bps): 4194304
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Framerate: 100
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Buffer duration (100ns):<PHONE_NUMBER>
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Replay duration (100ns): 400000000
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Connection Staleness duration (100ns): 600000000
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Store Pressure Policy: 1
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  View Overflow Policy: 1
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Segment UUID: NULL
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Frame ordering mode: 5
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo(): Track list
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track id: 1
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track name: kinesis_video
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Codec id: V_MPEG4/ISO/AVC
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track type: TRACK_INFO_TYPE_VIDEO
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track cpd: NULL
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track id: 2
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track name: audio
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Codec id: A_AAC
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track type: TRACK_INFO_TYPE_AUDIO
2021-11-23 17:18:04 [139871915054144] DEBUG - logStreamInfo():  Track cpd: NULL
2021-11-23 17:18:04 [139871915054144] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-11-23 17:18:04 [139871915054144] INFO - writeHeaderCallback(): RequestId: 9c1d4e0d-f78a-450d-b4ee-eca7afeb7e7d
2021-11-23 17:18:04 [139871345846016] DEBUG - describeStreamCurlHandler(): DescribeStream API response: {"StreamInfo":{"CreationTime":1.637259545601E9,"DataRetentionInHours":2,"DeviceName":"Kinesis_Video_Device","IngestionConfiguration":null,"KmsKeyId":"arn:aws:kms:sa-east-1:259477352775:alias/aws/kinesisvideo","MediaType":"video/h264","Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:sa-east-1:259477352775:stream/Teste1/1637259545601","StreamName":"test","Version":"dasdasdqwd222"}}
2021-11-23 17:18:04 [139871345846016] INFO - describeStreamResultEvent(): Describe stream result event.
2021-11-23 17:18:04 [139871345846016] WARN - describeStreamResult(): Content type returned from the DescribeStream call doesn't match the one specified in the StreamInfo
2021-11-23 17:18:04 [139871345846016] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000020
2021-11-23 17:18:04 [139871345846016] INFO - writeHeaderCallback(): RequestId: 4f35e68a-f8f5-4dd1-8439-5dd26460ea18
2021-11-23 17:18:05 [139871337453312] DEBUG - getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"endpoint"}
2021-11-23 17:18:05 [139871337453312] INFO - getStreamingEndpointResultEvent(): Get streaming endpoint result event.
2021-11-23 17:18:05 [139871337453312] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000010
2021-11-23 17:18:05 [139871337453312] DEBUG - getStreamingTokenHandler invoked
2021-11-23 17:18:05 [139871337453312] DEBUG - Refreshing credentials. Force refreshing: 1 Now time is:<PHONE_NUMBER>193199406 Expiration:<PHONE_NUMBER>3709551615
2021-11-23 17:18:05 [139871337453312] INFO - getStreamingTokenResultEvent(): Get streaming token result event.
2021-11-23 17:18:05 [139871337453312] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-11-23 17:18:05 [139871337453312] DEBUG - streamReadyHandler invoked
2021-11-23 17:18:05 [139871337453312] Stream is ready
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
INFO - kinesisVideoStreamFormatChanged(): Stream format changed.
2021-11-23 17:18:06 [139871345846016] INFO - kinesisVideoStreamFormatChanged(): Stream format changed.
2021-11-23 17:18:06 [139871337453312] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080
2021-11-23 17:18:06 [139871345846016] INFO - putStreamResultEvent(): Put stream result event. New upload handle 0
2021-11-23 17:18:06 [139871345846016] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000100
2021-11-23 17:18:06 [139871345846016] DEBUG - postReadCallback(): Pausing CURL read for upload handle: 0
2021-11-23 17:18:07 [139870433437440] INFO - writeHeaderCallback(): RequestId: ecd751f1-26df-d972-b6c0-1f4f352fc3ef
2021-11-23 17:18:07 [139870433437440] DEBUG - Dropping frame with flag: 8768
2021-11-23 17:18:08 [139871345846016] DEBUG - Kinesis Video client and stream metrics
        >> Overall storage byte size: 536870912
        >> Available storage byte size: 536870912
        >> Allocated storage byte size: 0
        >> Total view allocation byte size: 576080
        >> Total streams elementary frame rate (fps): 100
        >> Total streams transfer rate (bps): 33554432 (32768 Kbps)
        >> Current view duration (ms): 0
        >> Overall view duration (ms): 0
        >> Current view byte size: 0
        >> Overall view byte size: 0
        >> Current elementary frame rate (fps): 100
        >> Current transfer rate (bps): 33554432 (32768 Kbps)
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 14493908 presentation timestamp:<PHONE_NUMBER>7920039
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 14595979 presentation timestamp:<PHONE_NUMBER>5834824
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 14597093 presentation timestamp:<PHONE_NUMBER>8271933
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 16612376 presentation timestamp:<PHONE_NUMBER>9452105
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 17619898 presentation timestamp:<PHONE_NUMBER>9865485
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 18635135 presentation timestamp:<PHONE_NUMBER>0693585
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 18636016 presentation timestamp:<PHONE_NUMBER>1523314
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 19651578 presentation timestamp:<PHONE_NUMBER>2773177
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 20671095 presentation timestamp:<PHONE_NUMBER>4023173
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 21532266 presentation timestamp:<PHONE_NUMBER>4746706
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 22666574 presentation timestamp:<PHONE_NUMBER>4863173
2021-11-23 17:18:08 [139871345846016] DEBUG - Kinesis Video client and stream metrics
        >> Overall storage byte size: 536870912
        >> Available storage byte size: 536858307
        >> Allocated storage byte size: 12605
        >> Total view allocation byte size: 576080
        >> Total streams elementary frame rate (fps): 112
        >> Total streams transfer rate (bps): 33554432 (32768 Kbps)
        >> Current view duration (ms): 981
        >> Overall view duration (ms): 981
        >> Current view byte size: 11405
        >> Overall view byte size: 11405
        >> Current elementary frame rate (fps): 12.0482
        >> Current transfer rate (bps): 33554432 (32768 Kbps)
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x32000002 decoding timestamp: 23673596 presentation timestamp:<PHONE_NUMBER>5693173
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 24691213 presentation timestamp:<PHONE_NUMBER>6943173
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 24693164 presentation timestamp:<PHONE_NUMBER>8610581
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 25678720 presentation timestamp:<PHONE_NUMBER>9016486
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 26722873 presentation timestamp:<PHONE_NUMBER>9430421
2021-11-23 17:18:08 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 27708506 presentation timestamp:<PHONE_NUMBER>0255462
2021-11-23 17:18:08 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 28738505 presentation timestamp:<PHONE_NUMBER>1090582
2021-11-23 17:18:09 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 29744708 presentation timestamp:<PHONE_NUMBER>2743408
2021-11-23 17:18:09 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 30744509 presentation timestamp:<PHONE_NUMBER>4406404
2021-11-23 17:18:09 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 31623636 presentation timestamp:<PHONE_NUMBER>5000762
2021-11-23 17:18:09 [139871337453312] DEBUG - postReadCallback(): Wrote 13333 bytes to Kinesis Video. Upload stream handle: 0
2021-11-23 17:18:09 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 32766931 presentation timestamp:<PHONE_NUMBER>5225100
2021-11-23 17:18:09 [139871337453312] DEBUG - postReadCallback(): Wrote 4889 bytes to Kinesis Video. Upload stream handle: 0
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191469610520588504794486392407257964"}

2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x32000002 decoding timestamp: 33776384 presentation timestamp:<PHONE_NUMBER>6892893
2021-11-23 17:18:09 [139871345846016] DEBUG - streamLatencyPressureHandler invoked
2021-11-23 17:18:09 [139871337453312] DEBUG - Reported streamLatencyPressure callback for stream handle<PHONE_NUMBER>8904. Current buffer duration in 100ns:<PHONE_NUMBER>3708901616
2021-11-23 17:18:09 [139871337453312] DEBUG - streamLatencyStateMachineHandleStreamLatency(): Stream Latency State Machine starting from NORMAL_STATE
2021-11-23 17:18:09 [139871337453312] DEBUG - streamLatencyStateMachineToResetConnectionState(): Stream Latency State Machine move to RESET_CONNECTION_STATE
2021-11-23 17:18:09 [139871337453312] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000100, Next state: 0x0000000000000200
2021-11-23 17:18:09 [139871337453312] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000200, Next state: 0x0000000000000020
2021-11-23 17:18:09 [139871337453312] DEBUG - streamLatencyPressureHandler invoked
2021-11-23 17:18:09 [139871337453312] DEBUG - Reported streamLatencyPressure callback for stream handle<PHONE_NUMBER>8904. Current buffer duration in 100ns:<PHONE_NUMBER>3708471616
2021-11-23 17:18:09 [139871337453312] WARN - getStreamData(): Indicating an end-of-stream for a terminated stream upload handle 0
2021-11-23 17:18:09 [139870433437440] INFO - postReadCallback(): Reported end-of-stream for stream Teste1. Upload handle: 0
2021-11-23 17:18:09 [139870433437440] DEBUG - postReadCallback(): Wrote 0 bytes to Kinesis Video. Upload stream handle: 0
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191469610520588504794486392407257964"}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698688527,"FragmentNumber":"91343852333191469615472348661936007493524558005"}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191469610520588504794486392407257964"}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1637698688527,"FragmentNumber":"91343852333191469615472348661936007493524558005"}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698689522,"FragmentNumber":"91343852333191469620424108819077528629899444298"}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 0 returned: {"EventType":"ERROR","FragmentTimecode":1637698689522,"FragmentNumber":"91343852333191469620424108819077528629899444298","ErrorCode":"FRAMES_MISSING_FOR_TRACK","ErrorId":4011}

2021-11-23 17:18:09 [139870433437440] WARN - streamFragmentAckEvent(): An ACK is received for an already expired upload handle 0
2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - putStreamCurlHandler(): Network thread for Kinesis Video stream: Teste1 with upload handle: 0 exited. http status: 200
2021-11-23 17:18:09 [139870433437440] INFO - writeHeaderCallback(): RequestId: e6233e2c-7b74-46dd-9e34-98c83e367424
2021-11-23 17:18:09 [139870425044736] DEBUG - getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"https://s-d45ffc09.kinesisvideo.sa-east-1.amazonaws.com"}
2021-11-23 17:18:09 [139870425044736] INFO - getStreamingEndpointResultEvent(): Get streaming endpoint result event.
2021-11-23 17:18:09 [139870425044736] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000010
2021-11-23 17:18:09 [139870425044736] DEBUG - getStreamingTokenHandler invoked
2021-11-23 17:18:09 [139870425044736] DEBUG - Refreshing credentials. Force refreshing: 1 Now time is:<PHONE_NUMBER>582220449 Expiration:<PHONE_NUMBER>3709551615
2021-11-23 17:18:09 [139870425044736] INFO - getStreamingTokenResultEvent(): Get streaming token result event.
2021-11-23 17:18:09 [139870425044736] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-11-23 17:18:09 [139870425044736] DEBUG - streamReadyHandler invoked
2021-11-23 17:18:09 [139870425044736] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080
2021-11-23 17:18:09 [139870425044736] INFO - putStreamResultEvent(): Put stream result event. New upload handle 1
2021-11-23 17:18:09 [139870425044736] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000100
2021-11-23 17:18:09 [139870425044736] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 34766858 presentation timestamp:<PHONE_NUMBER>8554241
2021-11-23 17:18:09 [139871337453312] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 35787528 presentation timestamp:<PHONE_NUMBER>9274351
2021-11-23 17:18:09 [139871345846016] DEBUG - postReadCallback(): Wrote 19034 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:09 [139870433437440] INFO - writeHeaderCallback(): RequestId: d3b898a6-ebe8-e1e3-89af-d667f9a1b83c
2021-11-23 17:18:09 [139870433437440] DEBUG - streamLatencyPressureHandler invoked
2021-11-23 17:18:09 [139871337453312] DEBUG - Reported streamLatencyPressure callback for stream handle<PHONE_NUMBER>8904. Current buffer duration in 100ns:<PHONE_NUMBER>3709141616
2021-11-23 17:18:09 [139871337453312] DEBUG - postReadCallback(): Wrote 76 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191474562280745646315586086303734012"}

2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"RECEIVED","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191474562280745646315586086303734012"}

2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 36851177 presentation timestamp:<PHONE_NUMBER>9373810
2021-11-23 17:18:09 [139871337453312] DEBUG - postReadCallback(): Wrote 165 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698688527,"FragmentNumber":"91343852333191474567232505803457107188639917374"}

2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 37831448 presentation timestamp:<PHONE_NUMBER>0201773
2021-11-23 17:18:09 [139871345846016] DEBUG - streamLatencyPressureHandler invoked
2021-11-23 17:18:09 [139871337453312] DEBUG - Reported streamLatencyPressure callback for stream handle<PHONE_NUMBER>8904. Current buffer duration in 100ns:<PHONE_NUMBER>3709131616
2021-11-23 17:18:09 [139871337453312] DEBUG - postReadCallback(): Wrote 132 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:09 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"RECEIVED","FragmentTimecode":1637698688527,"FragmentNumber":"91343852333191474567232505803457107188639917374"}

2021-11-23 17:18:09 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:09 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 38914806 presentation timestamp:<PHONE_NUMBER>1443789
2021-11-23 17:18:10 [139871337453312] DEBUG - postReadCallback(): Wrote 358 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:10 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"BUFFERING","FragmentTimecode":1637698689522,"FragmentNumber":"91343852333191474572184265960598628288221217755"}

2021-11-23 17:18:10 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:10 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 39921354 presentation timestamp:<PHONE_NUMBER>3109892
2021-11-23 17:18:10 [139871345846016] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 40841132 presentation timestamp:<PHONE_NUMBER>3548699
2021-11-23 17:18:10 [139871337453312] DEBUG - postReadCallback(): Wrote 858 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:10 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"PERSISTED","FragmentTimecode":1637698687546,"FragmentNumber":"91343852333191474562280745646315586086303734012"}

2021-11-23 17:18:10 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:10 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 40961211 presentation timestamp:<PHONE_NUMBER>4354162
2021-11-23 17:18:10 [139871337453312] DEBUG - postReadCallback(): Wrote 757 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:10 [139870433437440] DEBUG - postWriteCallback(): Curl post body write function for stream with handle: Teste1 and upload handle: 1 returned: {"EventType":"PERSISTED","FragmentTimecode":1637698688527,"FragmentNumber":"91343852333191474567232505803457107188639917374"}

2021-11-23 17:18:10 [139870433437440] DEBUG - fragmentAckReceivedHandler invoked
2021-11-23 17:18:10 [139870433437440] DEBUG - postReadCallback(): Wrote 356 bytes to Kinesis Video. Upload stream handle: 1
2021-11-23 17:18:10 [139870433437440] WARN - putKinesisVideoFrame(): Failed to submit frame to Kinesis Video client. status: 0x30000005 decoding timestamp: 42897129 presentation timestamp:<PHONE_NUMBER>4768569
2021-11-23 17:18:10 [139871345846016] DEBUG - Kinesis Video client and stream metrics
        >> Overall storage byte size: 536870912
        >> Available storage byte size: 536857642
        >> Allocated storage byte size: 13270
        >> Total view allocation byte size: 576080
        >> Total streams elementary frame rate (fps): 136
        >> Total streams transfer rate (bps): 27377848 (26736 Kbps)
        >> Current view duration (ms): 41
        >> Overall view duration (ms): 995
        >> Current view byte size: 3774
        >> Overall view byte size: 12022
        >> Current elementary frame rate (fps): 24.4999
        >> Current transfer rate (bps): 27377848 (26736 Kbps)
2021-11-23 17:18:10 [139871337453312] DEBUG - postReadCallback(): Wrote 3774 bytes to Kinesis Video. Upload stream handle: 1

Yes, if i delete mpegtsmux name=mux it works, but I got the 0x30000005 error... What should I do, in this case? Since my video stream has this infos:

Which codec did you suggest and how can I implement? Sorry, I'm newbie in this audio/video world =(

Yes we're back to the original problem you have to figure out your video source and why it's not producing frames with the proper pts values and why they are all over the place and not consistent.  If it's 24fps your frames should be ~approx 42ms apart. Here it looks like you're feeding from some publicly available test video source, what is your actual production use case where will the video come from, if the video source there doesn't have this issue then we might be wasting time debugging why this public source doesn't have correct pts/dts values.
One way to correct it is to have an appsink element then in your code you implement a callback (you will not be able to do this with gst-launch you have to write some code to do it) which modifies the pts values and then an appsrc to pick up the changed timestamp in the buffer, the callback would be trivial all it does is set a correct pts.  That's ok if you want to test but really your source needs to produce the correct pts value.  You can probably use ffmpeg to rewrite those values as well.

Hi Hassan.
Unfortunately, I don't have control of my video source... How can I use ffmpeg to rewrite those values?
Thanks

There is another issue, I looked at your more detailed logs and I see failures with reason:  FRAMES_MISSING_FOR_TRACK you can see documentation here explaining this error:  https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html
This will happen if you have both audio/video tracks and one of the tracks is missing frames for a fragment.  This will be rejected by the backend which is what is happening in your case as shown in the logs.
Unfortunately we cannot provide support how to rewrite those values but if you search ffmpeg or GStreamer forums you should be able to get help from there.

Also please make sure you're using the latest release 3.2.0:  https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/releases

Thank you, Hassan!
I'm using the last version.
Appreciated.


[TEST][KERAS] convert tvm output to channels_last format

To compare the outputs of Keras and TVM, we should convert the TVM output format from channels_first to channels_last.  Otherwise, the tests of the keras frontend will fail when the target model doesn't contain flatten operators.

@Huyuwei @siju-samuel can you review please?


optimize check for pygpgme

We were doing some profiling to troubleshoot slow puppet runs and noticed that this fact was taking longer than we'd expect.  This change speeds it up by only checking for the pygpgme package
[root@389f9a260f7a /]$ time (rpm -qa |grep pygpgme)
pygpgme-0.3-9.el7.x86_64

real	0m0.867s
user	0m0.135s
sys	0m0.065s

[root@389f9a260f7a /]$ time (rpm -q pygpgme)
pygpgme-0.3-9.el7.x86_64

real	0m0.033s
user	0m0.024s
sys	0m0.009s

[root@6f1cf2b76513 /]$ rpm -q fakepackage
package fakepackage is not installed

Thank you @kpankonen , just added this fix to our internal repo


Gc test fix

This removes the scrub-bits test which was bad and made the build bots complain

Merged!!


How to generate platform-specific controller, template, etc. in Cordova merges/

It's unclear where to jump in to create platform-specific overrides in the Cordova merges/ directory. Use generator-m, or do it manually?
The m:controller generator needs an option to restrict to one or more platforms.

Hi @kzurell, thank you for your suggestion.
Right now we haven't used merges in any of our projects because our platform-specific needs are either handled by ionic or we handle them using plugins.
Since we're not familiar with merges and don't see cases that could benefit from them, they're not a priority right now.
However we're always eager to learn how others use cordova, so if you want, just provide some cases where it's convenient to use cordova merges and we might reconsider.


The specified port becomes a random port

rancher 2.3.3
deploy Workload   , input  port  30001,  after deploy, the port becomes a random port such as 30123

Also experience this, new cluster latest versions.
Any NodePort defined on a container, with a port manually defined inside the approved range it changes to random in the gui and assigns a random port.

Reproduced in  2.3.3
Steps:

Deploy a workload with NodePort On listening port 30001
Click Deploy
Check the auto generated svc.

Results:
Instead of using 30001 as nodeport , it changed to use a random port. It looks like UI passed the correct sourcePort field but server didn't populate it correctly.

Close in favor of https://github.com/rancher/rancher/issues/24551
It will be fixed in 2.3.4


[Bug]: VSCode 1.94 (Insiders) is incompatible

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Extension doesn't activate.
Expected Behavior
Extension should activate.
Steps To Reproduce

Install latest vscode-insiders version
Install vibrancy-continued
Open logs and check extension host
There should be following error or something similiar

2024-09-12 06:47:11.816 [info] ExtensionService#_doActivateExtension illixion.vscode-vibrancy-continued, startup: false, activationEvent: '*'
2024-09-12 06:47:11.831 [error] Activating extension illixion.vscode-vibrancy-continued failed due to an error:
2024-09-12 06:47:11.831 [error] TypeError: Cannot read properties of undefined (reading 'filename')
    at activate (/Users/royalfoxy/.vscode-insiders/extensions/illixion.vscode-vibrancy-continued-1.1.37/extension/index.js:244:42)
    at Function.kb (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:15217)
    at Function.jb (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:14924)
    at file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:13082
    at a0.n (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:4450)
    at a0.m (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:4413)
    at a0.l (file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:3869)

Environment
- OS: MacOS 15
- VSCode: 1.94.0
- Extension: 1.1.37
- Theme: Catppuccin Mocha

Anything else?
I'm sad vscode broke it with the latest update :(

Thanks for discovering and posting about this, 1.94 changes some of the variables and file names we use, and workbench.html now uses ESM for JS. I've made some initial fixes in this commit and will look into a full fix over the weekend.

Thank you a ton for your quick work Illixion, you're the best <3

I've fixed ESM-related issues, but the vibrancy effect still doesn't seem to activate even though there are no errors, I couldn't find any leads so far but will continue looking. My changes are in feature/esm-refactor branch if anyone wants to help, to debug simply clone the branch and press F5 while editing extension/index.js.

Thanks a lot for your help! I'll try and look into it the next couple days if I find time after my day job.

I've found what was causing this, and version 1.1.38 should now work on VSCode 1.94, though it is a pre-release version so make sure to opt into it using the cog menu in Extensions. Feel free to try it out and let me know if it works properly for you.

It works flawlessly again. Thank you so very much Illixion ❤


why not depend on the flutter-maintained camera plugin?

Hi, I've been looking for any ready-made widgets to take pictures in flutter and so far this looks the most promising, I just have a quick question: there's a camera plugin that the flutter team seems to be maintaining for a couple years now: https://pub.dev/packages/camera
Taking a quick look at this, it seems like you're not using that and instead I suppose you're writing the interfacing code yourself, right? I'm just curious as to what the reason was to decide so.

Hi,
the reason is because the official plugin was not maintained months ago when we started this.
So we decided to make a try to help the community. Maybe this pushed the flutter team to work again on the official camera plugin... Anyway we have fun working on this plugin so when we can we fix and add new features.

Hi,
the reason is because the official plugin was not maintained months ago when we started this.
So we decided to make a try to help the community. Maybe this pushed the flutter team to work again on the official camera plugin... Anyway we have fun working on this plugin so when we can we fix and add new features.


Correcting header typo on scroll-tracking.js

Correcting typo on heading 'When you can claim Universal Credit' on /guidance/universal-credit-how-it-helps-you-into-work which prevented the scroll event from firing.

I wonder if in the future, it would be worth adding the links into the PR description, so we can click through and verify the target page exist, and that the headings exist.
For example:
URL on gov.uk

Add scroll tracking to heading "When you can claim Universal Credit"

Even though it doesn't verify the heading text is matching, it will make it easier for the reviewer of the PR to go to the target page and check

Yep good idea, will do from now on


ci: running apt-get update in downstream.yaml

Testing to resolve the error below:
Run sudo apt-get install libxml2-utils
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  libxml2-utils
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 37.1 kB of archives.
After this operation, 194 kB of additional disk space will be used.
Ign:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2-utils amd64 2.9.10+dfsg-5ubuntu<IP_ADDRESS>
Err:1 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libxml2-utils amd64 2.9.10+dfsg-5ubuntu<IP_ADDRESS>
  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2-utils_2.9.10+dfsg-5ubuntu<IP_ADDRESS>_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

It worked.


Zano pos

hello everyone. I need help. Zano pos does not start.

Starting PoS mining iteration
PoS mining: 1737 iterations finished, status: NOT_FOUND, used 9 entries with total amount

@lexar201111  this messages means that PoS actually works fine, every few seconds it iterates over all your wallet outputs(9 entries in your case) and try to see if it fit to build the block. Reopen if you have more questions!

Hello. Thank you for responding. and why when the daemon is running it does not show new blocks? that is,"2022-Dec-26 21:09:22.076108 [P2P5][<IP_ADDRESS>:11121 OUT][REQUEST_MISSING_OBJECTS]: SYNCHRONIZED OK
2022-Dec-26 21:09:30.279186 [P2P9]Synchronized set to TRUE (5 of 8 con. synced)" is this normal?

2022-Dec-26 21:12:25.499983 [RPC0][W:ZxCwtB] Starting PoS mining iteration
2022-Dec-26 21:12:25.511985 [RPC0][W:ZxCwtB] PoS mining: 2187 iterations finished, status: NOT_FOUND, used 9 entries with total amount: 18.4682243
2022-Dec-26 21:12:27.527503 [RPC0]wallet RPC idle: refreshing...
2022-Dec-26 21:12:27.529354 [RPC0][W:ZxCwtB] [PULL BLOCKS] 1905847 --> 1905847
2022-Dec-26 21:12:27.530280 [RPC0][W:ZxCwtB] Refresh done, blocks received: 0, balance: 18.468224300000, unlocked: 18.468224300000
2022-Dec-26 21:12:27.530280 [RPC0]wallet RPC idle: scanning tx pool... Is this how it should be?

Hello. Thank you for responding. and why when the daemon is running it does not show new blocks? that is,"2022-Dec-26 21:09:22.076108 [P2P5][<IP_ADDRESS>:11121 OUT][REQUEST_MISSING_OBJECTS]: SYNCHRONIZED OK
2022-Dec-26 21:09:30.279186 [P2P9]Synchronized set to TRUE (5 of 8 con. synced)" is this normal?

2022-Dec-26 21:12:25.499983 [RPC0][W:ZxCwtB] Starting PoS mining iteration
2022-Dec-26 21:12:25.511985 [RPC0][W:ZxCwtB] PoS mining: 2187 iterations finished, status: NOT_FOUND, used 9 entries with total amount: 18.4682243
2022-Dec-26 21:12:27.527503 [RPC0]wallet RPC idle: refreshing...
2022-Dec-26 21:12:27.529354 [RPC0][W:ZxCwtB] [PULL BLOCKS] 1905847 --> 1905847
2022-Dec-26 21:12:27.530280 [RPC0][W:ZxCwtB] Refresh done, blocks received: 0, balance: 18.468224300000, unlocked: 18.468224300000
2022-Dec-26 21:12:27.530280 [RPC0]wallet RPC idle: scanning tx pool... Is this how it should be?

Понедельник, 26 декабря 2022, 20:49 +07:00 от cryptozoidberg @.***>:

Closed  #56 as completed.
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
You are receiving this because you were mentioned. Message ID:  <hyle-team/zano_ui/issue/56/issue_event/8111449496 @ github . com>

--
алексей дайбов
Отправлено из Почты  Mail.ru

@lexar201111 probably because your wallet didn't make ones yet, it might take some time, depends of the balance.


[Suggestion] Https integration with greenlock-express

It would be great to implement https for this API, so that we could deploy fast secured communication with our front end.
Is this a good pull request idea for the project ?
Documentation here

OK to close.  greenlock-express was taken down to a DMCA request.


Explicitly label closed source apps as such

Add "Closed Source" labels to every closed source app tile in all the app sections. This could inform the users better about the apps they use. The label should have full "Closed Source" text in them for extra clarity and awareness

Thanks, also a good idea

Prerequisite: https://github.com/accrescent/meta/issues/4
Also yes, it seems preferable to do the inverse of this.


Visual tweaks.

Updated icons
Updated some colors

Screenshot or it didn't happen :o)

Anyway, @djrm could introduce backdoors in his SVGs that I would still trust his opinion on making the visuals better :P

Hum, I just checked what changed. I'm just not conviced by the new zoom-in and zoom-out, they are less nice than before.
I like the other changes.


Fix voucher tax model fields

1. Why is this change necessary?
When a voucher is configured with a fix tax group instead of the special choises 'automatic, 'default' or 'none', the tax rate is not preselected in the tax configuration combo box of the voucher configuration. Instead there is just the id in the combobox.
2. What does this change do, exactly?
In the ExtJS model, declare the id explicit as string and not as automatic. This fixes the problem and autoselects the correct entry when opening
3. Describe each step to reproduce the issue or behaviour.
Creating a new vouche with (for example) 19 % tax:

Reopen the voucher:

The tax configuration is '1' instead of '19 %'

6. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-20552
Please use this issue to track the state of your pull request.

@windaishi, please rebase for SW 5.5.

I rebased to 5.4 because this can be merged as a bugfix for 5.4

Hey @windaishi,
thank you for your contribution, your changes were merged with 617a96d71e4e24.
We're sorry you had to wait so long! 😰


A question about Symbol().valueOf

Version
chakra-1.11.8
Test case
var NISLFuzzingFunc = function(){
    print(typeof Symbol());
    print(Symbol().valueOf());
};
NISLFuzzingFunc();

Execution steps
./ChakraCore/out/Debug/ch testcase.js

Output
symbol
TypeError: No implicit conversion of Symbol to String

Expected behavior
symbol
Symbol()

Description
According to ES2019 standard, the steps of Symbol.prototype.valueOf()  are as follows.

<IP_ADDRESS> Symbol.prototype.valueOf ()
The following steps are taken:

Return ? thisSymbolValue(this value).

And

The abstract operation thisSymbolValue(value) performs the following steps:

If Type(value) is Symbol, return value.
...

For this test case,  this value is Symbol(),  and it should be returned. So the final output should be Symbol(), but chakra threw a TypeError: No implicit conversion of Symbol to String.
Is my understanding wrong or chakra implementation incorrect?
Reference
http://www.ecma-international.org/ecma-262/10.0/index.html#sec-symbol.prototype.valueof

Thanks for the report, I've had a look and the behaviour of valueOf is not an issue here - it is returning the correct symbol.
The question comes in what print() does - only a string can be output to the console and a Symbol is not a string.
If you do print(Symbol().toString()); OR print(Symbol().valueOf().toString())  you'll get the output that you were expecting.
The print() method is not spec defined and is included in ch (the test harness) purely for displaying test results, so this isn't a bug or problem with chakracore itself - just a difference in how the test harness works.
For detail: print() within ch when given something that isn't a string uses the internal abstract operation ToString as defined here https://www.ecma-international.org/ecma-262/10.0/index.html#sec-tostring this operation throws a TypeError for symbols.


marker constraints and jacobians of NaturalSegment

This needs to be implemented in NaturalSegement and BiomechanicalModel.

Some ideas
ns=NaturalSegment
ns.markers[0]
ns.markers[0].constraint(marker_location=m, Qi)
ns.markers[0].jacobian(marker_location=m, Qi)
To get it for all markers in the segment:
ns.marker_constraints (marker_location=m, Qi)
Same for the jacobian...
First it should be methods of NaturalMarker

Some ideas
ns=NaturalSegment
ns.markers[0].constraint(marker_location=m, Qi)
ns.markers[0].jacobian(marker_location=m, Qi)
To get it for all markers in the segment:
ns.marker_constraints (marker_location=m, Qi)
Same for the jacobian...
First it should be methods of NaturalMarker


Fall 2017 patch issue: sometimes can't see combat preview

Before the patch, I would see the combat results preview when I selected a unit, then held right click over an enemy unit. Now I don't see it.

part of #152


Update README.md

Creating a Test PR

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


Add View Employee Feature

As a user, I can view details of employee, so that I can contact them if necessary.
This requires a few changes:

Change the base UI to be dual windowed (second window shows command output)
Trim down on information shown in the normal list command #77
Finally, implement the view command #76

All done.


Weather app using api

I  created  a website that fetches weather data and display to frontend using API , i used weatherapi

Congratulation   for successfully PR

Thanks for adding ,


Increment version for standbypool releases

Increment package version after release of Azure.ResourceManager.StandbyPool

API change check
API changes are not detected in this pull request.

/check-enforcer override

Failures are unrelated to these changes.  Merging.


RFC: Handle affinity assistant deadlock for node maintenance

Prior to this commit, when cordoning a node for maintenance, the affinity assistant can deadlock. This happens because if the placeholder pod is scheduled to a node which is then marked unschedulable, new TaskRun pods cannot schedule or trigger scaleup for the cluster autoscaler because they have inter-pod affinity for the placeholder pod on the unschedulable node.
This commit adds a new controller which watches for nodes. If the nodes become unschedulable, it deletes any affinity assistant pods running on them (but leaves any TaskRun pods). The affinity assistant statefulset will then recreate the placeholder pod, which will be scheduled to an available node (or trigger scale-up if there's a volume node affinity conflict). Existing TaskRuns cannot be scheduled until the placeholder pod is re-scheduled.
Prerequisite for https://github.com/tektoncd/pipeline/issues/6543.
This commit only handles situations where nodes are unschedulable. It doesn't handle situations where nodes run out of resources or reach their cap on the number of pods (e.g. https://github.com/tektoncd/pipeline/issues/4699).
Tested locally, it appears to work.
Closes https://github.com/tektoncd/pipeline/issues/6586.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

@skaegi @pritidesai hoping this could address your concerns? This feels a bit hacky but would like to hear your thoughts.
@jlpettersson you might have thoughts as well?

Closing in favor of @pritidesai's alternate approach #6596, thanks Priti!


Updated images from Kim

Hi @jasongroce, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@jasongroce, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Hi @jasongroce, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Hi @jasongroce, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@jasongroce do you know to rebase your branch with master? Otherwise, just close this one and open a new PR and the builds should start working again.

@mairaw Thanks Maira, I was wondering if that was what I should do, so I shall.


Private key dropdown greyed out on publishing config

Describe the bug
You can not select a private key in the publishing server configuration even if there is a key located under Percussion/rxconfig/ssh-keys/

This is working as expected in 8.1.1


URL navigation works for IP numbers but not for hostnames

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.10.3

Plugin version
5.3.2

Android version
11.0

iOS version
15.4

Xcode version
13.3

Device information: Only tried in iOS Simulator for iPhone 12 mini, iPhone SE (3d generation) and iPad mini.
Developing in Mac mini (M1, 2020), macOS v12.3
EDIT 2022-03-25
Tested on Android device and there, it works as intended.
Description
Expected behavior: The user can navigate to URLs that contain hostnames.
Current behavior: The user cannot access the URL with the hostname, the app stays on a blank page. When they try to access the same webpage but using its IP address, it works correctly. THIS ONLY HAPPENS ON iOS. IN ANDROID, IT WORKS AS INTENDED.
Steps to reproduce

Get hostname or IP address from Textfield
Get port from Textfield
Form full address like: https://${IP or hostname}:${port}
Navigate to widget that contains InAppWebView
Navigate to address from within the widget

Code for InAppWebView custom widget:
import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'package:flutter/services.dart';

class MpWebView extends StatefulWidget {
  final String selectedUrl;

  // ignore: use_key_in_widget_constructors
  const MpWebView({required this.selectedUrl});

  @override
  _MpWebViewState createState() => _MpWebViewState();
}

class _MpWebViewState extends State<MpWebView> {
  // ignore: unused_field
  late InAppWebViewController _webViewController;

  @override
  void initState() {
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
        overlays: [SystemUiOverlay.bottom]);
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        resizeToAvoidBottomInset: false,
        body: SafeArea(
          child: Flex(
            direction: Axis.vertical,
            children: [
              Expanded(
                  child: InAppWebView(
                onWebViewCreated: (InAppWebViewController controller) {
                  _webViewController = controller;
                },
                initialUrlRequest:
                    URLRequest(url: Uri.parse(widget.selectedUrl)),
                onReceivedServerTrustAuthRequest:
                    (controller, challenge) async {
                  // ignore: avoid_print
                  print(challenge);
                  return ServerTrustAuthResponse(
                      action: ServerTrustAuthResponseAction.PROCEED);
                },
              )),
            ],
          ),
        ));
  }
}

Tried accessing a hostname that has a valid TLS certificate and it accesses it without any issue.
I guess there's something wrong with
onReceivedServerTrustAuthRequest:
                    (controller, challenge) async {
                  // ignore: avoid_print
                  print(challenge);
                  return ServerTrustAuthResponse(
                      action: ServerTrustAuthResponseAction.PROCEED);
                }

Also, when you try to access a hostname with an invalid TLS certificate, it seems like that function is called twice.


Builder: Disable intent

We should be able to disable an intent.
In the intent advanced section, a checkbox could enable/disable the current intent.
Intent list should display which one are enable or disable

Start working on this one, but blocked by https://github.com/Zoapp/core/issues/33, since we can't reset intent.state value to NULL.
Can still be done by adding an SQL script to avoid NULL value in intents table, but this shouldn't be our solution, since https://github.com/Zoapp/core/issues/33 is critical


feat(auth_test.go): add interactive register spec

The caveat here is the semi-interactive compromise.  I could not get interactive password entry (and re-entry for confirmation) to work -- the cli always claimed the passwords did not match.  After an initial dive/experimentation into the gexpect library code we use here, I determined quite a bit of effort would be needed to shape up the code to begin to debug...
Therefore, I believe our bases are still covered (in checking behavior after an interactive register -- albiet only with username and email here).  I can file a follow-up issue to revisit the aforementioned conundrum, if that is deemed necessary.

I worked with @vdice on this particular problem and can confirm it was hell to debug. This is a great alternative. LGTM

Nice! Deis V1 used to use gexpect with the python CLI, but when porting over to golang I had similar problems and wasn't able to track them down.

but when porting over to golang I had similar problems and wasn't able to track them down.

The mystery continues...

This is fine since it constitutes a test that would have caught the regression fixed by deis/workflow-cli#278. We can figure out the gexpect dain bramage later.


List nodes for deployed K8s solution

List nodes for deployed K8s solution

Done
we just need to handle the actions

Done
we just need to handle the actions

Info Action

Delete Action

Info Action

Delete Action

Done
Branch
development_vdc_kube
PR
https://github.com/threefoldtech/js-sdk/pull/2447

Verified in #2225


Generating route fails for wildcard hosts due to invalid name

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The following ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: wildcard-domain
  annotations:
    konghq.com/strip-path: 'true'
    konghq.com/preserve-host: 'true'
spec:
  ingressClassName: 'kong'
  rules:
  - host: '*.foo.com'
    http:
      paths:
      - path: /
        pathType: ImplementationSpecific
        backend:
          service:
            name: foo-service
            port:
              number: 80

tries to generate a route object that looks like this
{
  "protocols": [
    "http",
    "https"
  ],
  "paths": [
    "/"
  ],
  "methods": null,
  "sources": null,
  "hosts": [
    "*.foo.com"
  ],
  "name": "sbc-dev.wildcard-domain.foo-service.*.foo.com.80", // <-- invalid due to the asterisk (*)
  "created_at":<PHONE_NUMBER>,
  "updated_at":<PHONE_NUMBER>,
  "headers": null,
  "request_buffering": true,
  "response_buffering": true,
  "https_redirect_status_code": 426,
  "tags": null,
  "destinations": null,
  "preserve_host": true,
  "regex_priority": 0,
  "strip_path": true,
  "snis": null,
  "service": {
    "id": "cf59b775-dcf7-52e1-add6-ce91f55acba9"
  },
  "path_handling": "v0",
  "id": "f37b8676-2de6-567b-9cf6-90d9d1bcb5cb"
}

This won't be accepted by the Admin API giving the following error (from the kong-proxy logs):
time="2022-12-30T15:26:23Z" level=error msg="could not update kong admin" error="posting new config to /config: HTTP status 400 (message: \"declarative config is invalid: {services={{routes={[2]={name=\\\"invalid value 'sbc-dev.subscriptions-ingress.subscriptions-spaceblocks-subscriptions-main.*.subscriptions.eu1.dev.spaceblocks.cloud.80': the only accepted ascii characters are alphanumerics or ., -, _, and ~\\\"}}}}}\")" subsystem=dataplane-synchronizer

Expected Behavior
The route should be generated successfully.
Steps To Reproduce
See above. Pls note, that the service and ingress resource are in the same namespace, which is different from the kong namespace
Kong Ingress Controller version
v3.1

Kubernetes version
No response
Anything else?
1.23

It might have worked in the past, as this user here reported a successful route generation of a similar Ingress object: https://discuss.konghq.com/t/workaround-kubernetes-ingress-to-allow-wildcard-hosts/5015

My current solution is to downgrade to version 2.7 (Helm Chart Version 2.13.1), which does not have the CombinedRoutes feature flag enabled.

Looks like the new combined routes feature is root of this problem.
My current solution is to downgrade to version 2.7 (Helm Chart Version 2.13.1), which does not have the CombinedRoutes feature flag enabled.

You can also turn off CombinedRoutes by setting CONTROLLER_FEATURE_GATES=CombinedRoutes=false in 2.8.0. It is verified OK to use wildcard hosts.

You can also turn off CombinedRoutes by setting CONTROLLER_FEATURE_GATES=CombinedRoutes=false in 2.8.0. It is verified OK to use wildcard hosts.

Thanks, is there a straight-forward way to set this via Helm?

You can also turn off CombinedRoutes by setting CONTROLLER_FEATURE_GATES=CombinedRoutes=false in 2.8.0. It is verified OK to use wildcard hosts.

Thanks, is there a straight-forward way to set this via Helm?
It could be configured by ingressController.env.feature_gates.
Add such section in values.yaml:

ingressController:
  env:
    feature_gates: "CombinedRoutes=false"


Settings Page is Broken

The host for the settings page, Rawgit, has been taken down, and the settings page needs to be hosted elsewhere.

@123qwe33 we're not really interested in maintaining this project since Pebble got shut down. Feel free to fork the project though, that would be cool.


feat(api): support recording slow query log

Purpose of the PR
subtask of https://github.com/apache/incubator-hugegraph/issues/2325

Main Changes

change the log4j.xml to record slow query log to single log file.
record log in AccessLogFilter.java
add some config items about threshold and enabled.

Verifying these changes
we can run test , and we can see:

Does this PR potentially affect the following parts?

[ ]  Nope
[ ]  Dependencies (add/update license info)
[x]  Modify configurations
[ ]  The public API
[x]  Other affects (typed here)

Documentation Status

[ ]  Doc - TODO

Could also add some basic introduction for the record in doc


Remove triangle brackets from element names

[EoDE] This is to prevent pings in element names.

i would suggest entirely blocking elements with <@ in the name instead because honestly id rather keep as many characters available as possible


How to use Crow with Tcmalloc?

It is hinted in the doc to link with Tcmalloc, but how exactly?
The output of building Crow is just a single header: crow_all.h, but there is no difference whether Crow project was build with or without tcmalloc found.
So should I link tcmalloc with my Crow-based project? But Tcmalloc has no Cmake support yet, so it is not exactly clear how can I take advantage if it.

looking at the code, find_package(Tcmalloc) in CMakeLists.txt and FindTcmalloc.cmake seem to be the main relevant files, but as far as I understand, you only need to link Tcmalloc to your program when you compile it.


Variables are no longer displayed when debugging in VS Code 1.9.0 and {N} plugin 0.6.x

Watches and Evaluation still works, but the Variables view is empty and when hovering over a variable the popup does not appear.

Related to https://github.com/NativeScript/nativescript-vscode-extension/issues/21

@DavyDeDurpel https://github.com/NativeScript/nativescript-vscode-extension/issues/21#issuecomment-281364660

@Pip3r4o Since this PR is merged can I close this issue?


Getting below exception when permission is denied second time in fragment

 java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=42, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) }} to activity {com.shopfeur.user/com.karumi.dexter.DexterActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.finish()' on a null object reference
        at android.app.ActivityThread.deliverResults(ActivityThread.java:4472)
        at android.app.ActivityThread.handleSendResult(ActivityThread.java:4515)
        at android.app.ActivityThread.-wrap22(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1687)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.finish()' on a null object reference
        at com.karumi.dexter.DexterInstance.onPermissionsChecked(Unknown Source)
        at com.karumi.dexter.DexterInstance.updatePermissionsAsDenied(Unknown Source)
        at com.karumi.dexter.DexterInstance.onPermissionRequestDenied(Unknown Source)
        at com.karumi.dexter.Dexter.onPermissionsRequested(Unknown Source)
        at com.karumi.dexter.DexterActivity.onRequestPermissionsResult(Unknown Source)
        at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7434)
        at android.app.Activity.dispatchActivityResult(Activity.java:7260)
        at android.app.ActivityThread.deliverResults(ActivityThread.java:4468)
        at android.app.ActivityThread.handleSendResult(ActivityThread.java:4515)
        at android.app.ActivityThread.-wrap22(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1687)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Hi @rohit6027 could you please provide more information about the error? What's the version of the library you are using when reproducing the error? Can you paste here the piece of code requesting the permission? Could you please list the steps to reproduce the error?

Hi, I received this too a few moments ago. I am using an AppCompatActivity and I call this code when a button is tapped. Exception stack trace is same as above.
I am using Kotlin with MVVM.
Library: 'com.karumi:dexter:6.0.0'
OS: Android Emulator v9.0
Dexter.withActivity(this)
                .withPermission(Manifest.permission.READ_EXTERNAL_STORAGE)
                .withListener(object: BasePermissionListener() {
                    override fun onPermissionGranted(response: PermissionGrantedResponse?) {
                        openProfileImageSelector()
                    }

                    override fun onPermissionDenied(response: PermissionDeniedResponse?) {
                        toast(R.string.error_perm_image_pick)
                    }
                })
                .check()

Is there any quick solution? I rely heavily on Dexter.

Hi @rohit6027 and @rupinderjeet I've sent a tentative fix for this error because even with the steps to reproduce you mentioned we are not able to reproduce the crash. I'd need you to try to reproduce this error in a demo project we can test manually and also to check if the new version we are going to publish as soon as https://github.com/Karumi/Dexter/pull/246 is merged fixes your issue. If the PR I've doesn't sent doesn't fix the error, please reopen this issue.

ok I will provide you a demo project for this bug asap.

Hi, @pedrovgs I have created a demo project for this exception. Please check it.
Step to produce Exception:-

Permission dialog will be prompted when app launch
deny permission
dialog will be prompted again
deny it again and app will be crashed.

Thank you so much @rohit6027 your project helped me a lot to confirm the latest Dexter release fixed this issue. Update your app to use Dexter 6.0.1 and you won't ever see this error again.