JSQMessagesCollectionViewFlowLayoutInvalidationContext.context unavailable in Swift 2.2

Bug report
Expected behavior
Should be able to call JSQMessagesCollectionViewFlowLayoutInvalidationContext.context in swift
Actual behavior
Can't call JSQMessagesCollectionViewFlowLayoutInvalidationContext.context in swift
Steps to reproduce
Try to paste this into a swift file:
let context = JSQMessagesCollectionViewFlowLayoutInvalidationContext.context
It should give an error
Screenshots

Other Info:
Xcode 7.3.1
Swift 2.2

Thanks @vshahpledge !
This is a syntax error. You need ().
let ctx = JSQMessagesCollectionViewFlowLayoutInvalidationContext.context()

Whoops! Thanks for getting back to me so quickly. Also, thanks for making this awesome project.

Another problem:

@jessesquires I thought I tried that before...I got another error after doing what you suggested:

@jessesquires  I thought I tried that before...I got another error after doing what you suggested:

Can someone please reopen this issue?

hey @vshahpledge - not sure why the above suggestion doesn't work.
this should:
let ctx = JSQMessagesCollectionViewFlowLayoutInvalidationContext()

@jessesquires Cool, I was following your directions in #1163 when I ran into this issue.
This is an odd bug, it's happened with one of my core data generated classes as well where the objective-c property doesn't exist on the swift side even though similarly typed properties work just fine.
Thanks again!


EclipseCon talk: MicroProfile and Jakarta EE Panel

MP DevRel Branding Resources Community Support
MicroProfiler
Name: Emily Jiang
Twitter ID: @emilyfhjiang
Event
EclipseCon
Schedule
Day: Tuesday/Wednesday/Thursday this week
Time: 8am
Media Description
280 chararters
includes the Twitter ID of the Organizers & the name or Twitter ID of the speaker
Hello @EclipseCon attendees,  please make sure to attend the panel discussion on @MicroProfileIO @JakartaEE to have your questions answered @emilyfhjiang @ivar_grimstad
Topic: MicroProfile and Jakarta EE Panel Discussion
Time: 19 Oct 2023 - 11:35 - 12:10
Room: Bürgersaal 2
Design Card (for MicroProfile designer)
Minimal requirements highlight the MicroProfiler & the Organizers
Notes
To help with everything

scheduled


Refactor runtime compiled kernels to use the same compile_ops pipeline

This adds the infrastructure so we can compile everything in parallel, whereas before only pointwise kernels were compiled in parallel. This will also directly integrate with lowering and the gpu-driver. The kernels for pointwise and roialign are using this infrastructure. Scatternd is not since it does require standard shape.
This also makes it easier to add new runtime compiled kernels in the future.

Actually, scatternd works with non-standard, but roialign does not. PR #1126 fixes that.


Combine hand gesture and eye-gaze to manipulate objects together

Describe the problem
In some cases it's necessary to manipulate a gaze-selected object with hands. In this case we don't need to use gesture to select the object (for example if it's out of reach or in a different position). But seems we can manipulate the objects with either hand gesture only or eye-gaze only (or some cases combination of other inputs)
I think we had this option in Hololens1 but can't find it in Hololens2 .
Describe the solution you'd like
The requested feature is to select the object with eye-gaze and use hand to move the object. So, in this case hand gesture should behave differently because as soon as hand is moved, the gesture gets activated and take the control of the manipulation (i.e. a different object that it points to).
Describe alternatives you've considered
An alternative which I'm thinking about is to deactivate hand gesture or having a possibility to override it while  eye-gaze is used (if needed) and only hand movements are considered not the raycast or gesture.

Hey @xempie, although something like this should be possible today in the MRTK by turning off hand rays, turning on eye gaze, and writing some custom code, we are working on bringing an out of the box solution to MRTK v3. If you have a HoloLens 2, you can check out a preview of this experimental feature in the latest release of the Mesh app in the Microsoft store.


(#269) Deduplicates gameRestartHuman & gameExitHuman with new function gameExitWithHuman

Both of the offending duplicates mentioned have been removed for what hopes to be a smaller, cleaner combination of the two. Behavior is selected with the new "ExitStrategy" datatype.

re-doing this with a new pull request


Is it possible to disable TLS from the quiche C implementation?

QUIC is a secure protocol by design. Disabling security is not support by quiche.


docs: add tsdoc comments

What does this PR do?
resolves https://github.com/commercelayer/commercelayer-cart/issues/14

:tada: This PR is included in version 1.0.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Event Request]  Table 5050 Contact - OnBeforeCreateVendor

Please add a new publisher event to the function CreateVendor as follows:
.
.
[External] CreateVendor() : Code[20]

//>> Start New Publisher Call
OnBeforeCreateVendor(Rec, IsHandled, ExitValue);
IF IsHandled THEN
  EXIT(ExitValue);
//<< End New Publisher Call

CheckForExistingRelationships(ContBusRel."Link to Table"::Vendor);
CheckIfPrivacyBlockedGeneric;
CheckCompanyNo;
RMSetup.GET;
.
.

New Publisher Event:
LOCAL [IntegrationEvent] OnBeforeCreateVendor(VAR Contact : Record Contact;VAR IsHandled : Boolean;VAR ExitValue : Code[20])

Please note that the return of the created Vendor No. was requested in #2644

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


fix(dashboard): don't open with startup option args

Description
Don't open dashboard when Neovim opens with only startup option args. Took a look at how dashboard.nvim did it.
They also have an autocmd for StdInReadPre, but I tested with piping echo "hello" | nvim and it works as expected.
Not sure if it's the best solution, so feel free to make any additional changes or completely disregard for something more robust.

Related Issue(s)
Closes #221.

Screenshots

I snacks I don't need the STdInPre event. I simply check the uis and see if stdin is not a tty instead

ty!


silent failures in scripts

When a build contains a script that has failures, the build succeeds anyways:
https://github.com/secureblue/secureblue/actions/runs/8068238477/job/22040501361

Please either link the exact line in the log or paste the error you are seeing

@gmpinder on second thought, is the chmod is not actually failing at all? Is it succeeding but then being reverted by bluebuild somehow?

I was assuming it was failing since it's not persisting into the resulting image. But you're right it's not the only option.

The only explicit one we're doing is https://github.com/blue-build/cli/blob/main/template/templates/modules/modules.j2#L22C3-L22C51
You can run bluebuild template <recipe_path> to see what the resulting Containerfile looks like so you can inspect it. We are making use of some bind mounts to try to reduce bloat in the final image, but that wouldn't be messing with anything in /usr/bin

Closing as duplicate of #100


Migrate back to synapse?

is there a way to move back?

Nope: https://github.com/turt2live/matrix-media-repo/issues/60


Default currency?

Hello;
Is that possible to set a default currency for localized items.
So for french language: set to > EUR currency
For norwegian set to > NOK
All of them are USD now without looking to the default language.
Thank you!

Hello.
Default currency is selected based on system locale currency identifier. Not the language. Since user can select language and region separately. And system keeps user' locale in region settings.
Here's some code from InteractionManager class:
let currencyCode = Locale.current.currencyCode ?? ""
currency = CurrencyManager.shared.getCurrency(withCode: currencyCode) ??
 CurrencyManager.shared.defaultCurrency()

And take a look at Region Format Example in the bottom of this:

Russia's selected as Region. So there are rubles (RUB), no matter the English language as a default.

Hello;
Thank you for your reply. I have changed the local settings and the language but the default currency is still USD. I mean it's not changing the currency. Should i add the code above or the original one has that feature?
Thank you!

The code is from the original one. No need to do any additional work. Do you reinstall app after region switch? App detects the region and sets the default currency after first launch only. (According to hypothesis users don't change the locale all the time 😄 )

Hmm looks like i have selected non supported language, that may be the reason.
I will have a look and let you know!

I think you guys increase the number of currencies, because much of them are missing:)


The blank „appearnce“ of cards.

About 10% of my created cards appear blank when I try to review them. In the “blank cards,” you can see the file path, but the question space is empty. You can activate the answer button and evaluate them as you would with a normal card, but the answer space also appears blank.
1.	Go to the “review cards” interface.
2.	Click on the “Atomic Notes file” (the only one I have with Flashcards).
3.	Begin reviewing my flashcards as normal…
4.	…until one of these blank flashcards appears.

I tried to find a cause for this behavior and couldn’t find one. I didn’t find any incongruence with my setup, nor did I create the flashcards incorrectly. It appears to me as if the errors occur randomly. I also checked to have the latest update of the plugin , and the error appeared on all of my devices (iPadOS, iOS, and Windows).
Screenshots

Versions (please complete the following information):

OS: iPadOS; Windows 10; iOS
Obsidian version: 1.5.12 (134)
Plugin version: 1.12.4

Hi @Alexander-Saggau thanks for letting us know.
Could you please post a markdown file that exhibits the issue (attach, don't copy/paste).

It appears to me as if the errors occur randomly.

Do you mean:

that for a particular file, questions will sometimes display correctly, and sometimes blank
particular questions are displayed consistently, but you couldn't spot the correlation between the question format and whether or not they were displayed correctly.

Cheers
Ronny

Hi Ronny Zulaikha,
yes what I meant with "It appears to me as if the errors occur randomly."
was "particular questions are displayed consistently, but you couldn't spot
the correlation between the question format and whether or not they were
displayed correctly.".
I sent you two MD Files where the error occurred.
I thank you for your help and Cheers
Alexander
El vie, 3 may 2024 a la(s) 11:33 a.m., Ronny Zulaikha (
@.***) escribió:

Hi @Alexander-Saggau https://github.com/Alexander-Saggau thanks for
letting us know.
Could you please post a markdown file that exhibits the issue (attach,
don't copy/paste).
It appears to me as if the errors occur randomly.
Do you mean:

that for a particular file, questions will sometimes display
correctly, and sometimes blank
particular questions are displayed consistently, but you couldn't
spot the correlation between the question format and whether or not they
were displayed correctly.

Cheers
Ronny
—
Reply to this email directly, view it on GitHub
https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/948#issuecomment-2092646621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYG4BKIPPIWXQWZ2DROQIQTZANKXBAVCNFSM6AAAAABHDYXL42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGY2DMNRSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @Alexander-Saggau
Glad to hear that particular questions are displayed consistently, hopefully will make this easier to solve.

I sent you two MD Files where the error occurred.

Sorry, I didn't receive them. Easiest way is to attach them to your post.

Cheers
Ronny

Hi @Alexander-Saggau  I don't think you can send attachments by emailing GitHub. Please try through the web site, or the mobile app.

Die drei Denkschulen - Atomic Note.md
Neue und Alte Kriege - Atomic Note.md
Ok, I have tried it now via the GitHub app.

Hi @Alexander-Saggau
Please indicate which card(s) exhibit the problem as I'm not able to check each card for you. Best if you show the filename and line number of the card(s).
Also send through the plugin's options file, as it seems you are using non-default values. The filename is something like:
D:\Obsidian\.obsidian\plugins\obsidian-spaced-repetition\data.json
Cheers
Ronny


XML -> Fast RAM consumption, then "Extension Host terminated unexpectadly"

VSCode Version: 1.29.1
OS Version: Windows 10 Pro x64

I constantly get notification that Extension Host terminated unexpectadly It all started after last update to 1.29 (or 1.29.1 - I'm not sure). Here's my dev tools output:

I closed vscode, opened powershell and run these commands

set ELECTRON_NO_ASAR=
SET ELECTRON_LOG_ASAR_READS=1

as stated HERE,
started vscode, but after few minutes the same thing happened again 😢
It must be some memory leak from XML language server. When I start VSCode it uses around 500MB of RAM. But the moment I click on any .xml file, even the smallest one, VSCode starts consumig RAM rapidly: up to 2.5 GB after just few seconds and then extension host crashes. After that VSCode uses just over 200 MB of RAM. The same thing happens on any file when I change Language Mode to XML.
Any fix for that other than "do not open xml files"?
Does this issue occur when all extensions are disabled?: Yes

Maybe it was a bug with one of the extensions. Not sure which one. Live Share, Live Server, Quokka, Material theme - that's few of the ones I'm using, that have been updated lately. Problem is now gone so this issue can be closed.


Swagger UI is not rendering Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http'

I have added open api support in my function app(.net 6 Isolated) . But when I try to load swagger UI via http://localhost:7071/api/swagger/ui . it gives me an exception.
Steps

add in program file

.ConfigureFunctionsWorkerDefaults(worker => {
worker.UseNewtonsoftJson();
            })
            .ConfigureOpenApi()

added package

Microsoft.Azure.Functions.Worker.Extensions;

Added open API attribute on all HTTP trigger functions

[Function("CreateObject")]
[OpenApiOperation(operationId: "CreateObject", tags: new[] { "type-less" ,"objects", "pub/sub"})]

Executing 'Functions.RenderSwaggerUI' (Reason='This function was programmatically called via the host APIs.', Id=02e81a47-4fdd-437d-8cdb-d015476fd010)
[2022-02-06T06:37:20.007Z] [06:37:20 INF] SwaggerUI page was requested.
[2022-02-06T06:37:20.342Z] Executed 'Functions.RenderSwaggerUI' (Failed, Id=02e81a47-4fdd-437d-8cdb-d015476fd010, Duration=734ms)
[2022-02-06T06:37:20.344Z] System.Private.CoreLib: Exception while executing function: Functions.RenderSwaggerUI. System.Private.CoreLib: Result: Failure
Exception: System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)
[2022-02-06T06:37:20.347Z]  ---> System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
[2022-02-06T06:37:20.350Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Extensions.OpenApiHttpRequestDataExtensions.Queries(HttpRequestData req)
[2022-02-06T06:37:20.354Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.HttpRequestObject..ctor(HttpRequestData req)
[2022-02-06T06:37:20.357Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Functions.OpenApiTriggerFunction.RenderSwaggerUI(HttpRequestData req, FunctionContext ctx)
[2022-02-06T06:37:20.360Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.DefaultOpenApiHttpTrigger.RenderSwaggerUI(HttpRequestData req, FunctionContext ctx)
[2022-02-06T06:37:20.362Z]    --- End of inner exception stack trace ---
[2022-02-06T06:37:20.364Z]    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2022-02-06T06:37:20.366Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) [2022-02-06T06:37:20.369Z]    at System.Threading.Tasks.Task1.get_Result()
[2022-02-06T06:37:20.371Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.<InvokeAsync>b__6_0(Task1 t) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2022-02-06T06:37:20.374Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
[2022-02-06T06:37:20.377Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__271_0(Object obj)
[2022-02-06T06:37:20.379Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2022-02-06T06:37:20.382Z] --- End of stack trace from previous location ---
[2022-02-06T06:37:20.388Z]    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[2022-02-06T06:37:20.404Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2022-02-06T06:37:20.408Z] --- End of stack trace from previous location ---
[2022-02-06T06:37:20.412Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 44
[2022-02-06T06:37:20.419Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13

Related to #296
https://github.com/Azure/azure-functions-openapi-extension/pull/318

Hi, I am getting the same issue on dotnet 7 isolated AF v4
Executed 'Functions.RenderSwaggerUI' (Failed, Id=7ed1a6bf-4909-4535-a229-595cafe4f27b, Duration=243ms)
[2023-01-23T11:11:23.647Z] System.Private.CoreLib: Exception while executing function: Functions.RenderSwaggerUI. System.Private.CoreLib: Result: Failure
[2023-01-23T11:11:23.647Z] Exception: System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)
[2023-01-23T11:11:23.647Z]  ---> System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Hi, I am getting the same issue on dotnet 7 isolated AF v4
Executed 'Functions.RenderSwaggerUI' (Failed, Id=7ed1a6bf-4909-4535-a229-595cafe4f27b, Duration=243ms) [2023-01-23T11:11:23.647Z] System.Private.CoreLib: Exception while executing function: Functions.RenderSwaggerUI. System.Private.CoreLib: Result: Failure [2023-01-23T11:11:23.647Z] Exception: System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.) [2023-01-23T11:11:23.647Z] ---> System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Same here exactly.

Yeah, it was fixed in v1.2.0 - v1.4.0. It broke again on v1.5.0. It will be fixed on v.1.5.1


[DOC] add Python docs

Change in the documentation
We need to add Python code examples and docs
definition of done:

[ ] All code example blocks (search for Tabs elements) updated
[ ] Add SDK entry page under "technologies"

Is this feature closed or picked up by anyone?

Where can I find providers and hooks?
I have added an SDK entry to the technologies page.

I am unable to understand the first task

@beeme1mr Can you please check this?

Hey @adasarpan404 , the python sdk is not yet  1.0 so some of these tasks may be difficult right now. We could add the page but we would want to make it clear that it's not ready for production use cases.
The first task in the list refers to the code snippets found under the concepts section.
@toddbaert can you update the issue to say this is a post 1.0 task?

Sorry @adasarpan404 - I've only just seen this. Happy to work on this together. Check: https://github.com/open-feature/openfeature.dev/pull/134 for my work so far.


TRG 7.05 Legal information for distributions

Frontend docker image does not contain required legal documentation based on TRG 7.05. Please add these files to your image.

Looks good now, closing the issue.


Cut question bank form form short if a user has not created any questions

If a user has not created any questions, let them know they have not created any questions yet. Added a button for the user to easily go back to question form page. This was an issue as before the user would see no questions to check but would see a list of previous tests they have created.
Added error checking to tests users own servlet

LGTM


Update singly_linked_list.tpp

Move constructor corrected

Move constructor should move data from obj to this and make obj.head and tail to point to nullptr, and set obj.length to zero.


exit_communication_radius

Add exit_communication_radius parameter in ParameterSet class in objects.py and assign a value to it.

ParameterSet class is designed to accept and hold any parameter and it need not be defined before runtime. Whichever parameter is required can be directly set/initialized in a ParameterSet using dot operator(object notation) or dictionary notation.


DTLS handshake does not queue out of order messages

I'm using mbedtls to implement both a DTLS client and server. I just experience the scenario where two Handshake messages arrived out of order. The server rejected the message instead of queuing the message as required by the spec (https://tools.ietf.org/html/rfc6347#section-3.2.2).
Because the client does not currently support combining handshake messages of the same flight into a series of DTLS fragments (#334), this is a critical issue.
I'm happy to help with a PR, but some direction on implementation would help.

ARM Internal Ref: IOTSSL-530

This is on our roadmap. Help would be appreciated since you're offering it :)
Some ideas on how to implement that (just off the top of my head, I might be wrong):

In ssl_prepare_handshake_record() at dropping out-of-sequence message, the test should be refined to check if the message is from the future or the past: messages from the past will still be dropped, but messages from the future need to be copied in some area before
We want to be able to set a limit on the memory used for storing future messages, and drop them when this limit is reached. Otherwise this gives attackers an obvious DoS vector.
In ssl_read_record() near the top, after we check if in_hslen is zero, we should also check if we have the next expected handshake message (not just any one, the expected one) in our temporary storage area, and if so, copy it to the input buffer, remove from the list, and move on as if we just read those bytes from the network.

I hope it makes sense. Feel free to ask for clarifications, disagree about the design, etc. :)
Also, I'd like this whole feature to be optional controlled by a flag in config.h (as usual).

For the record, let me clarify one point about the spec: the section you cite (3.2.2) is part of the overview and is not using normative language to specify requirements. The last paragraph of section 4.2.2 has more explicit text on what is required and what is not:
If the sequence number is greater than
next_receive_seq, the implementation SHOULD queue the message but MAY
discard it.  (This is a simple space/bandwidth tradeoff).

So our current behaviour, while suboptimal in your particular use case, it explicitly allowed (though not recommended) by the DTLS specification.

A series of PR's by @hanno-arm and @mpg to introduce this feature was recently merged, which is described in #1951. This PR can now be closed and the feature was shipped in mbedtls-2.13.0.
Thanks to @brycekahle for your efforts! I'm not sure how much of your work was used in what because a much bigger feature than just this PR, but it certainly helped and took us forwards!


Cursor moves to beginning of line

When writing a tweet or response, the cursor will move back to the beginning of the first line of text, without any involvement from the user, at regular intervals. This causes the text that you're writing to appear all jumbled up in the wrong place in the tweet.

I've had this happen before, it's something that occurs in regular TweetDeck too I'm fairly sure, it would be nice to see if I can fix it though.

I've noticed that too. But as mentioned by eugenioprea, it's not happening regularly.

Hi! Is there something I can do to help you fix this?


Support OpenMetrics format for metrics merging

Fixes #33474 by enhancing the metrics merging functionality to support the OpenMetrics format in addition to the standard text-based metrics format.
This is accomplished by passing through the Accept header on the agent's scrape request to the application metrics endpoint and respecting the metrics format returned via the Content-Type. If there are no app metrics, the merging will default to FmtText.
Additionally, some post-processing of the envoy metrics must be done, namely removing empty lines, as they are not compatible as-is with FmtOpenMetrics. Also, the application metrics must be rendered last to correctly follow the FmtOpenMetrics spec.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @lgadban. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@lgadban: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
cce3483343526e4d8040423a180dda02cc46d572
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
cce3483343526e4d8040423a180dda02cc46d572
link
/test release-notes_istio

lint_istio
cce3483343526e4d8040423a180dda02cc46d572
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
cce3483343526e4d8040423a180dda02cc46d572
link
/test lint_istio

release-notes_istio
92772ca2627d4046808a73c48a1b6897a5e515dd
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
92772ca2627d4046808a73c48a1b6897a5e515dd
link
/test release-notes_istio

lint_istio
92772ca2627d4046808a73c48a1b6897a5e515dd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
92772ca2627d4046808a73c48a1b6897a5e515dd
link
/test lint_istio

release-notes_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
92772ca2627d4046808a73c48a1b6897a5e515dd
link
/test lint_istio

release-notes_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test release-notes_istio

gencheck_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test release-notes_istio

gencheck_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test gencheck_istio

lint_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test release-notes_istio

gencheck_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test gencheck_istio

lint_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test lint_istio

unit-tests_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test gencheck_istio

lint_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test lint_istio

unit-tests_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test unit-tests_istio

release-notes_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test gencheck_istio

unit-tests_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test unit-tests_istio

release-notes_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test release-notes_istio

lint_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
e245948863c1219a5ae465b431da5410e1a9aad8
link
/test unit-tests_istio

release-notes_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test release-notes_istio

lint_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test lint_istio

gencheck_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test lint_istio

gencheck_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test gencheck_istio

release-notes_istio
cf7618e71cdba7818c55f5c9f897e42870e3ad78
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
57b6abb578e10f6fa10b21bf8ca4811e7a01ff4d
link
/test lint_istio

release-notes_istio
cf7618e71cdba7818c55f5c9f897e42870e3ad78
link
/test release-notes_istio

gencheck_istio
cf7618e71cdba7818c55f5c9f897e42870e3ad78
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint_istio

The latest changes will support both FmtText and FmtOpenMetrics with the text-based merging and works around envoy's metrics not being compatible by post-processing them to remove the newlines. More sophisticated parsing and processing could be done, but the current state works without adding too much additional complexity.
To test it properly I used Prometheus' OpenMetrics parser, please let me know if there are concerns with pulling it in as a dependency.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
cf7618e71cdba7818c55f5c9f897e42870e3ad78
link
/test gencheck_istio

release-notes_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test release-notes_istio

gencheck_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test release-notes_istio

gencheck_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test gencheck_istio

unit-tests_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lgadban: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
7ba3ffc568bbc237dff445cac6d96fc31034d8d5
link
/test unit-tests_istio

gencheck_istio
42c2be892316f498fb7010cafe9a5981d106599c
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Thanks for the review @howardjohn!
@ramaraochavali @douglas-reid would either of you be able to take a look?

LGTM!  thank you @lgadban!
@douglas-reid @ramaraochavali PTAL, if no major issues, I would like to get this approved as we have users waiting on this fix!

Can this cause any regression for an existing user? Previously we were always sending content-type FmtText, now it seems we will send it based on application response type. Is my understanding correct?

You are correct that we will now respond with the Content-Type according to the application metrics.
The previous behavior didn't explicitly set a Content-Type so it defaulted to text/plain; charset=utf-8.
In the case where the application metrics only support FmtText, and given that envoy and agent metrics are FmtText, this worked fine.
The problem was that Prometheus' scrape request will allow for FmtOpenMetrics, and that is being passed through in the application scrape request.
So in the case where the application metrics understand and support FmtOpenMetrics, the previous behavior would result in a broken scrape because the application will respond with FmtOpenMetrics metrics that will then be interleaved with incompatible metrics as well as not having the correct Content-Type set.
All of that to say, I don't see a scenario where users can be hit by a regression, as the behavior is changing only for the case where application metrics are FmtOpenMetrics, which is currently broken through metrics merging.

Also this change would benefit from a integration test if we exercise merging in them.

This is good idea although I don't see any integration tests for metrics merging. Think it's worth opening an issue for?

@lgadban correct me if I am wrong, I believe we will continue send FmtText as the default scenario unless we detect from scaping that FmtOpenMetrics should be used instead.  So this should not impact existing users.
Regarding integration test, it would be nice to look into that as a follow up - do require setting up proper backend system.

@lgadban correct me if I am wrong, I believe we will continue send FmtText as the default scenario unless we detect from scaping that FmtOpenMetrics should be used instead. So this should not impact existing users.

@linsun yes, exactly

/cherry-pick release-1.11

@lgadban: only istio org members may request cherry picks. You can still do the cherry-pick manually.

In response to this:

/cherry-pick release-1.11

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Help! Error: Received certificate which is not self-signed.

Hi!
Certificates are network configurations are well out-side my field of expertise, so excuse me if my question is obvious. I've created a certificate earlier for a webserver using dehydrated and it worked fine. Now, I have to create a new certificate (same server), but this time I don't succeed. I get the error shown below and I'm stuck. Does anyone have a hint of what's gone wrong here?
I use tls-alpn-01 since port 80 is closed (and I have no possiblity to open it).
Best regards,
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 1 authorizations URLs from the CA
 + Handling authorization for my-host-name.com
 + Generating ALPN certificate and key for my-host-name.com...
 + 1 pending challenge(s)
 + Deploying challenge tokens...
 + Responding to challenge for my-host-name.com authorization...
 + Cleaning challenge tokens...
 + Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: ["type"]      "tls-alpn-01"
["url"] "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12945647193/Tpy3IQ"
["status"]      "invalid"
["validated"]   "2024-06-28T13:08:10Z"
["error","type"]        "urn:ietf:params:acme:error:unauthorized"
["error","detail"]      "Incorrect validation certificate for tls-alpn-01 challenge. Requested my-host-name.com from my.ip.number.goes.here:443. Received certificate which is not self-signed."
["error","status"]      403
["error"]       {"type":"urn:ietf:params:acme:error:unauthorized","detail":"Incorrect validation certificate for tls-alpn-01 challenge. Requested my-host-name.com from my.ip.number.goes.here:443. Received certificate which is not self-signed.","status":403}
["token"]       "q8CrSPlyeGcl_CrYfn8_tOSJX-de5A2lYGZkTLrbICc"
["validationRecord",0,"hostname"]       "my-host-name.com"
["validationRecord",0,"port"]   "443"
["validationRecord",0,"addressesResolved",0]    "my.ip.number.goes.here"
["validationRecord",0,"addressesResolved"]      ["my.ip.number.goes.here"]
["validationRecord",0,"addressUsed"]    "my.ip.number.goes.here"
["validationRecord",0]  {"hostname":"my-host-name.com","port":"443","addressesResolved":["my.ip.number.goes.here"],"addressUsed":"my.ip.number.goes.here"}
["validationRecord"]    [{"hostname":"my-host-name.com","port":"443","addressesResolved":["my.ip.number.goes.here"],"addressUsed":"my.ip.number.goes.here"}])

My fault, port 443 was occupied by other process, so the utility alpn-responder.py that I use that should respond just failed silently...


Expand-Template function is not exported so DSC resource is not able to find it

The updated version of POSHChef has a bug which means that the Expand-Template function is not exported and the Template resource is not able to find it.

To fix this some functionality has had to be removed.
The regular expression was trying to cater for the following scenario:
[[[ $node.POSHChef.name ]]]

where "$node.POSHChef.name = 'Acme'", which should result in
[Acme]

However this was failing on templates that had legitimate "[" characters for code, e.g.a PowerShell function file.  So for the moment this has been removed.  The workaround, if the above is required, is to use the following code.
[[ "[{0}]" -f $node.POSHChef.name ]]


Progress report

#worklet branch
Working on bug fixes, the addition of AudioWorklet support,  and performance improvement in the worklet branch.
So far,

AudioWorklet in AudioContext works fine but does not work in OfflineAudioContext.
-- addModule() is OK, but new AudioWorkletNode does not recognize added module.

Current status: offline rendering is only possible with ScriptProcessorNode.

Bug: the audio is not played until the end in case of slow-down playback
-- Adding silence to all the sources works at the cost of memory consumption
-- Lowest playback speed is set to 50%. Then silence is

If the sources are four tracks of 50MiB (internally decoded in PCM),
the total memory required becomes 100 x 4  + original 50 x 4 = 600MiB or more

Trying to reduce UI update by static rendering but the code became longer
-- I am trying to apply sub-component, update by a prop, style

Offline rendering  (for fast processing, recording, and export to file) with AudioWorklet is now working on Chrome.
Processed audio samples are stored in the AudioWorkletProcessor and transmitted as a large message (over 50MB)
to the AudioWorkletNode. Firefox crashes when the message is transmitted.
AudioWorkletNode is undefined on Safari. That is the reason why a blank screen appears at startup.
I prepared App.js and AppNoWorklet.js, which will be chosen automatically by a browser.
In this app, the end of playback notice is fired first in ScriptProcessorNode or AudioWorkletProcessor.
Now only one source is added silence. It turned out it is not necessary to add silence to all sources after some experiments.
(Both in the case of AudioContext and OfflineAudioContext).
Also tried with OscillatorNode (never-ending stream), but it did not work as expected.

Good news.
OfflineAudioContext's output buffer is usable in the case of AudioWorklet.  (Not in the case of ScriptProcessorNode.)
oncomplete(e) { play or export (e.renderedBuffer); }
works as described in spec.
So, the recording function in AudioWorklet is not used anymore and the worklet is offloaded and Firefox does not crash:-)
Still, e.renderedBuffer is garbage in the case of ScriptProcessorNode.
In OfflineAudioContext, ScriptProcessorNode works only as a source or the last node.
According to my experiment, the output stream from ScriptProcessorNode is garbage if the node reads input.
That causes the problem with e.renderedBuffer. Then I had to implement recording in ScriptProcessorNode.

Status of the app on major browsers:

Platform
Browser
Status

Android
Chrome
Live and offline playback doesn't work, with or withouth AudioWorklet

Android
Firefox
Live and offline playback work withouth AudioWorklet

IOS
Safari
AudioWorkletNode is not defined

IOS
Chrome
AudioWorkletNode is not defined

Desktop
Chrome
Live and offline playback work

Desktop
Firefor
Live and offline playback work

Prepared a check script to find if AudioWorkletNode, context.audioWorklet.addModule() are defined.
https://goto920.github.io/demos/simple-mixer/check-audioworklet.html
According to the results, there are three types of rendering engines.
Firefox
Chrome: Ubuntu (Linux), Windows 10, macOS
Safari: macOS Safari, iOS Safari, iOS Chrome
Details are in docs/

@goto920
I made a commit that enables user microphone record, check it out!

@dj-fiorex
Thank you for the code. Recording function works on my Linux PC but the sound is somewhat in low quality.
The sound from the speaker was not recorded. So, I think audio setup is needed including echo cancellation.
I am integrating recording function to src/App.js in main branch. The audio setup and callback function
for mediaRecorder is moved to a handler method when the mic icon is pressed.
In playAB(), only mediaRecorder.start()/ stop(), and playback of recorded track will be added.
For latency, comparing the recording of the sound from the speakers and source may be used for good estimation.


Add Bitwise NOT  Token at translator frontend

Implement the BITWISE_NOT token to recognize the ~ operator for performing bitwise NOT operations.

@Raghav-2903 will be working on this issue


Zookeeper not starting

Hi,
I'm running the playbook.rml for ansible-mesos-playbook which installs ansible-zookeeper as one of the roles. It runs through the Redhat.yml file creating data folders, log folders, setting the upstart script etc. When it comes to running/starting the zookeeper service it errors out as below. Any idea why this is?
TASK: [ansible-zookeeper | Update apt cache] **********************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Apt install required system packages.] *************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite myid file.] ******************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite default config file] *********************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Restart zookeeper] *********************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path=/opt/src state=directory] ****************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path={{zookeeper_dir}} state=directory] *******
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Download zookeeper version.] ***********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Install OS Packages] *******************************
ok: [svdpdac015.techlabs.accenture.com] => (item=libselinux-python)
TASK: [ansible-zookeeper | Unpack tarball.] ***********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | group name=zookeeper system=yes] *******************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | user name=zookeeper group=zookeeper system=yes] ****
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Change ownership on zookeeper directory.] **********
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper data folder.] *********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper logs folder.] *********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Upstart script.] ***********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Write myid file.] **********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Configure zookeeper] *******************************
changed: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Start zookeeper] ***********************************
failed: [svdpdac015.techlabs.accenture.com] => {"failed": true}
msg: zookeeper: unrecognized service
zookeeper: unrecognized service
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/playbook.retry
svdpdac015.techlabs.accenture.com : ok=21   changed=1    unreachable=0    failed=1
svdpdac016.techlabs.accenture.com : ok=6    changed=0    unreachable=0    failed=0
svdpdac017.techlabs.accenture.com : ok=6    changed=0    unreachable=0    failed=0

I'm actually in the middle of adding test scripts for this playbook.  So it will get some testing in some manner. Next after this is the Mesos playbook. I know there are issues there but since this playbook is a dependency I had address this repo first.
-Jason

On Mar 3, 2015, at 5:25 PM, sonali2197<EMAIL_ADDRESS>wrote:
Hi,
I'm running the playbook.rml for ansible-mesos-playbook which installs ansible-zookeeper as one of the roles. It runs through the Redhat.yml file creating data folders, log folders, setting the upstart script etc. When it comes to running/starting the zookeeper service it errors out as below. Any idea why this is?
TASK: [ansible-zookeeper | Update apt cache] **********************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Apt install required system packages.] *************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite myid file.] ******************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite default config file] *********************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Restart zookeeper] *********************************
skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path=/opt/src state=directory] ****************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path={{zookeeper_dir}} state=directory] *******
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Download zookeeper version.] ***********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Install OS Packages] *******************************
ok: [svdpdac015.techlabs.accenture.com] => (item=libselinux-python)
TASK: [ansible-zookeeper | Unpack tarball.] ***********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | group name=zookeeper system=yes] *******************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | user name=zookeeper group=zookeeper system=yes] ****
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Change ownership on zookeeper directory.] **********
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper data folder.] *********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper logs folder.] *********************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Upstart script.] ***********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Write myid file.] **********************************
ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Configure zookeeper] *******************************
changed: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Start zookeeper] ***********************************
failed: [svdpdac015.techlabs.accenture.com] => {"failed": true}
msg: zookeeper: unrecognized service
zookeeper: unrecognized service
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/playbook.retry
svdpdac015.techlabs.accenture.com : ok=21 changed=1 unreachable=0 failed=1
svdpdac016.techlabs.accenture.com : ok=6 changed=0 unreachable=0    failed=0
svdpdac017.techlabs.accenture.com : ok=6 changed=0 unreachable=0    failed=0
—
Reply to this email directly or view it on GitHub.

Hi! Any updates on this? Is the issue specific to Redhat?

I'm about a day behind, tonight is when I have time.
-Jason

On Mar 4, 2015, at 1:17 PM, sonali2197<EMAIL_ADDRESS>wrote:
Hi! Any updates on this? Is the issue specific to Redhat?
—
Reply to this email directly or view it on GitHub.

I've managed to update the CI of this repo, as you can see under travis it does pass. A accompanied dockerfile is also now available.
Knowing this can you supply some more information on your situation? I'l see if I can help.

No reply. Closing this issue.


Multilanguage redirect to 500

Summary
We have 'Remove URL language prefix for default language' turned on in Aldryn-Django addon from Divio Control Panel, which disables /en/ prefix from our url.
There are some pages we have no translations for, hence, we tried redirecting other languages to redirect to our default language by having /en/blog in page advanced settings.
When user is on other languages, for example Spanish, the link to blog page says /en/blog. This expects user to redirect to English version of our blog page, however, we get 500 error.
Though, when the page is refreshed, the page reloads successfully.

Expected behaviour
When user clicks on a link that has a redirect to other language, they should be redirected to correct page without having to refresh after 500 error.
Actual behaviour
When user clicks on a link that has a redirect to other language, they see error 500. They need to refresh the page again to be redirected successfully.
Environment

Python version: 3.6.3
Django version: 1.11.20
django CMS version:3.5.3

@chris542 This is very old now. If this is still an issue can you please provide your settings for languages.

@Aiky30  Thanks for yor response. I'm no longer working on this project :)


GitHub Actions hygiene 2021-12

Ensure all actions are invocable with repository_dispatch.
Ensure all actions have sufficiently distinct types so that they only run when desired.
Ensure all actions that run integration tests have integration-test-all type.

Please add these labels:

liberty.aro
liberty.aks
twas-image

Hello @edburns The recommended changes were applied to all related repos:

https://github.com/WASdev/azure.liberty.aks/pull/14
https://github.com/WASdev/azure.liberty.aro/pull/37
https://github.com/WASdev/azure.websphere-traditional.cluster/pull/119
https://github.com/WASdev/azure.websphere-traditional.singleserver/pull/7/commits/fbf20fd5a3741ccc4ab3dd5a89bcb2e53cb14ebd
https://github.com/WASdev/azure.websphere-traditional.image/pull/55

Pls close the issue, thanks.


Tina Admin POC

For the initial POC, I'm setting out to achieve a few preliminary, very primitive goals:

Discovering where TinaAdmin will live
What is needed to get routing (specifically, dynamic) working
What of tinacms are we hoping to reuse

Give my brief discussions with @jeffsee55 and @spbyrne , a few of these can be answered now:
TinaAdmin will exist as a sort of "mini-site" within the tinacms package.  The intent is to fully leverage tailwind-css and headless-ui to build out the pages, sidebars, and toolbars.  We will still use existing tinacms form and fields when it comes to the Document Creator.
The routing will be handled by a catch-all route set up in the user's website until /admin/[[...tina]].tsx (though, in the future, we intend for /admin to be completely optional).  TinaAdmin will make use of react-router-dom to embed a series of dynamic routes that are based off the results of generic GraphQL queries (getCollections(), getDocumentFields()).
The first PR should set up the foundation for all of this.

[ ] Figure out why tailwindcss is not building properly
[ ] Verify the cms is missing solution
[ ] Allow for different file types other than json (might require a change to getDocumentFields())

Bonus Points

[ ] Set up an AdminContext for use throughout the TinaAdmin

Here's the working Draft PR that @spbyrne and myself will being poking at.  The intent is to keep folding any updates to tinacms back into it as the work is fairly isolated (so conflicts should be rare outside of probably yarn.lock or .pnp.js):
https://github.com/tinacms/tinacms/pull/2140


update refactor-dev branch jenkins file

Coverage decreased (-0.3%) to 75.777% when pulling d0280308e8c2e9b8064726b31ead045bd57de81d on canwan/update-jenkins into 1b9a9c31f2d384626ca17cb3f516f0fd7ac08727 on refactor-dev.


Translate javascript

This adds javascript string translation to browserifyi18n.
Fixes https://github.com/yola/browserifyi18n/issues/7

what about creating a dictionary of extensions => translators, so when passing a file through, you just use the translator stored at the file's extension on the dictionary?

what about creating a dictionary of extensions => translators, so when passing a file through, you just use the translator stored at the file's extension on the dictionary?

Sure. Will do after figuring out why these tests are busted.

:sparkles: No lint errors found. :sparkles:

:sparkles: No lint errors found. :sparkles:

:sparkles: No lint errors found. :sparkles:

:bell:

:+1:


TS compiler to compile only changed files

VSCode Version:
OS Version:

Steps to Reproduce:

TS compiler to compile only changed files
for eg 100 files  only one changed

@ydcoming thank you for opening this issue. Can you provide me with a simple example I can use to recreate the issue you are seeing?

Closing until more info is given.


#220 support free trial period for subscriptions

Subscriptions support free trial period before starting to charge for the subscription.
This PR adds the free trial period information for Google Play Billing and App Store Robovm implementation.
Verified the implementation with our own app (which has a free trial period of 3 days).
Not looked at any other implementations (such as Amazon or Huawei) as I'm not using them and thus are not able to test them. Those implementation will not expose the Free trial information even when there is actually one configured in one of those stores.
Can you have a look?

@MrStahlfelge the review comments have been processed. Can you have a look?

It's good to me! Merge yourself when you are fine with the change.

Thanks! Merged PR

Would be time for a new release because of the Huawei changes, too. What do you think of #221, shoud we include it?


Update dependencies

Dependencies are pretty outdated, some of them even for several major releases. Would be great if they were updated.

Happy if you could help 😉


Add mapstructure tags to config structures for viper config read package support

Is your feature request related to a problem? Please describe.
When using viper package to read config files, we can't parse config directly to struct provided by package which is config.Connector . It's because viper uses mapstructure tags and we have yaml tags. With yaml:",inline" tag dcp field in config.Connector, viper unable to read inlined config fields.
Describe the solution you'd like
If we add mapstructure tags to config struct it will be resolved.

I can do this since it's 1 minute solution :)
Also we need this in go-dcp and other projects.

Thank you, I want to ask a question. If we did this, what would be their benefits?

Right now we can't read configs with viper package by just parsing viper data to config.Connector struct. If anybody wants to use viper it's not possible. In our team we use viper for dynamic configuration also and it will provide that.
Our current logic is parsing config file to another struct and map it to  config.Connector.
I don't know if i explained well. I can provide more detail.

@emrekosen I understand your concerns you are right. If we remove the inline tag and add mapstructure, will it work the same? We need to test it. If you find an available time I would be happy to review your pull request.

@mhmtszr No we don't need to remove inline tag, we can use both yaml and mapstructure. With a tag like yaml:",inline" mapstructure:",squash" we can support both inline yaml and inline mapstrucure. I will implement and create pull request.


Homepage

The PR updates the main index.php document.

For the first blue section, where we have the text Highly optimised pipelines with excellent reporting. Validated releases ensure reproducibility. The heading For facilities does not show up in dark mode. How to fix that?

The change has been made, can we pull it through and see how it looks? https://github.com/nf-core/nf-co.re/pull/1641


CONTRIBUTING.md does not exist

CONTRIBUTING.md does not exist in https://github.com/data-gov-my/datagovmy-front/blob/9c127a0c8c24a97c87d0945da116a1a5df57010a/apps/docs/README.md?plain=1#L9C1-L9C1

Thanks, we overlooked this bit. The team will write one up in the near future

Hi @junyang-chin , thanks for notifying this to our team. The CONTRIBUTING.md shouldn't be there and we have properly adjusted the README to properly link the Contribution.
Refer to #365
Thanks for alerting us!


chore: omit remote metastore service

Want to run some things through CI.
We sholdn't merge this as it'll require some changes to cloud
(granting access to the appropriate nodes,) passing new arguments to
the service, which we should do some testing to figure out how to do
that first.
Once this does land we can remove all the client/service abstraction
and clean up a fair amount of the code, which might make some things
more clear (and make the metastore just a storage subsystem, and
interace onto the catalog).

In talking with @greyscaled, it became clear to us that we can drop all of the new configuration except the bucket name from the configuration options, because the access to that bucket will be added to the "main" credentials, which makes a lot of the code more simple.
I want to hold of merging this until after things calm down a bit and we have time to coordinate landing this with cloud.

adding cloud label, with love ❤


cChocoPackageInstaller with AutoUpgrade enabled continuously drifts

Hi,
When using the cChocoPackageInstaller with AutoUpgrade set to $true the testing code continusly causes drifts due to the handling of the source parameter.
Version: Chocolatey v1.0.1
OS: Windows Server 2019
cChoco Module version: <IP_ADDRESS>
Powershell:
Name                           Value
----                           -----
PSVersion                      5.1.17763.2268
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.2268
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

DSC trace log;
VERBOSE: [TEST-SERVER]: LCM:  [ Start  Resource ]  [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]
VERBOSE: [TEST-SERVER]: LCM:  [ Start  Test     ]  [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Start Test-TargetResource
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Test-ChocoInstalled
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Env:Path contains: C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.292.10-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;;c:\WINDOWS\System32\WBem;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files (x86)\Silk\SilkTest;C:\Program Files (x86)\Silk\SilkTest\ng\gui
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Test-Command choco
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] choco exists
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] YES - Choco is Installed
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Start IsPackageInstalled GoogleChrome
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Path variables: C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.292.10-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;;c:\WINDOWS\System32\WBem;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files (x86)\Silk\SilkTest;C:\Program Files (x86)\Silk\SilkTest\ng\gui
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Finding packages -eq GoogleChrome
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Found 1 matching packages
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Found: GoogleChrome with version 101.0.4951.41
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Checking if GoogleChrome is installed
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Testing if GoogleChrome can be upgraded
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Testing if GoogleChrome can be upgraded: 'choco upgrade GoogleChrome --noop --source="-pSource"sys-Baseline""'
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Chocolatey v1.0.1
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] _ Chocolatey:ChocolateyUpgradeCommand - Noop Mode _
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] GoogleChrome was not found with the source(s) listed.
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]  If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]  Version: ""; Source(s): "-pSource sys-Baseline"
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Chocolatey can upgrade 0/1 packages.
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] Warnings:
VERBOSE: [TEST-SERVER]:                            [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]  - GoogleChrome - GoogleChrome was not found with the source(s) listed.
VERBOSE: [TEST-SERVER]: LCM:  [ End    Test     ]  [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome] False in 1.1990 seconds.
VERBOSE: [TEST-SERVER]: LCM:  [ End    Resource ]  [[cChocoPackageInstaller]GoogleChrome::[tag_chrome]tag_chrome]

The main issue is with the upgrade test line. The source value of "-pSource"sys-Baseline" causes it to fail.
'choco upgrade GoogleChrome --noop --source="-pSource"sys-Baseline""'
See below;
choco upgrade GoogleChrome --noop --source="-pSource"sys-Baseline""
Chocolatey v1.0.1
_ Chocolatey:ChocolateyUpgradeCommand - Noop Mode _

GoogleChrome was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""; Source(s): "-pSourcesys-Baseline"

Chocolatey can upgrade 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
- GoogleChrome - GoogleChrome was not found with the source(s) listed.

Adjusting the source option to remove the "-pSource" bit fixes the issue;
choco upgrade GoogleChrome --noop --source="sys-Baseline"
Chocolatey v1.0.1
_ Chocolatey:ChocolateyUpgradeCommand - Noop Mode _
GoogleChrome v101.0.4951.41 is the latest version available based on your source(s).

Chocolatey can upgrade 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

This issue can be closed. It is fixed in <IP_ADDRESS> but my code was still loading the old <IP_ADDRESS> module.


now the cross color is the same as the current class

Whenever the class index changes the color of the cross will also change to the class color.

wow, it looks so much better like this!
great idea!


refactor(rgbpp-sdk/btc): split BtcAssetsApi as a separate package

Changes

BREAKING CHANGE: Split the code/docs of BtcAssetsApi as a separate package

The class is now exported from @rgbpp-sdk/service instead of @rgbpp-sdk/btc
BTC APIs in the BtcAssetsApi are now renamed to be differentiated from RGBPP APIs

Import BtcAssetsApi from @rgbpp-sdk/service in the @rgbpp-sdk/btc

Rebased onto the main branch to resolve conflicts.


[Feature Request] Mocha spec test

Can we use second, hour instead of ms for spec test? As far I know there's no conventions time info should be milliseconds.

@fncolon see related issue #4149
No, we are not planing to change the time format in our reports. Quite a few third-party reporters are using mocha/lib/reporters/base.js, so this would be a breaking change.
You can create your own reporter and implement your desired time format.


ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header

I am getting this error when i am trying to stream video but got this error,
this is my code
LFLiveStreamInfo *stream = [LFLiveStreamInfo new];
stream.url = @"rtmp://xxx.xxx.xx.xxx:1935/live/myStream";
[self.session startLive:stream];

I was having this problem, which was fixed by the suggestion in #127. Admittedly your issue may not be related as mine was due to using the streamID property.

I am also facing this issue. Why doesn't this library just use whatever comes after "..live/" as the stream key?
For instance if use my url:
rtmp://xxx.xxx.xx.xxx:1935/live/myStream
I receive the error.
However, if I simply tack on a character (or string of characters)
"rtmp://xxx.xxx.xx.xxx:1935/live/myStream/1"
it works.
But why? And does it simply use the character(s) at the end for some kind of local stream organization and strip it before connecting? Because It claims it connects.

I tried everything！！But it was always a mistake
this is my code:
LFLiveStreamInfo *stream = [LFLiveStreamInfo new];
stream.url = @"rtmp://live.hkstv.hk.lxdns.com:1935/live/FEMH";
[self.session startLive:stream];
But why? whatever,Xcode is always ------ failed to read PILI_RTMP packet header
Please！

I also had the same issues and did what rhedgpth said of putting a single character after stream name and it worked - This must be an issue with the packet header reader parser

原因是连接失败。您可以尝试将URL更改为您自己的服务器的URL; 或者试试这个：（rtmp：//<IP_ADDRESS>：1935 / live / VC000099）注意“VC000099”是自定义的，不要与其他人重复。推荐两个测试软件：OBS，VLC


Mark limitation resolved as of 2.1

Follow-up to https://github.com/cockroachdb/docs/pull/3013

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2d981dfaaed3c4e71e083cb30c0dca1b0b075543/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2d981dfaaed3c4e71e083cb30c0dca1b0b075543/


Dictionary Encoder

Based on the latest JSON encoder/decoder code.
Use encoder to generate dictionary to extract json payload, instead of encoding JSON, decoding to a dictionary.

This also fixes https://github.com/swift-aws/aws-sdk-swift-core/issues/78


openssh: keychain support for macOS Sierra?

Is there any way to get openssh working with macOS Sierra keychain?
On El Captian all was fine.

AFAICT, no.  Sierra indeed broke the interaction between the system openssh's ssh-agent and the Keychain.

@chdiza is correct. Homebrew used to carry the keychain support patch optionally but it was a huge chunk of code nobody seemed to be security reviewing & upstream had no appetite to accept and maintain officially, so we removed it.
Don't quote me but people seem to be having some luck with sticking AddKeysToAgent yes in their ssh_config.

people seem to be having some luck

Do you mean luck in getting Sierra's "system" ssh-agent to interact properly with the macOS Keychain?
(I hope so, because that breakage is some top-flight BS.)

Yeah, indeed, allegedly. That's what I've seen floating around. There's also this repo: https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychain

Thanks @DomT4.  The main problem I had was not that the system ssh-agent couldn't remember my password for my private key, it's that it remembers it despite it not being stored in the Keychain.  Nobody seems to know where it's being stored.  So I have no idea how to "clear" it if I wanted to.


fix: Added Resend Welcome Email button user

Ref: Asana

@hitenshKharva you need to fix the indentation

@neilLasrado proper indentation shown on my local. I will check it again and fix it.


Feature/update js interfaces

After adding geolocation IDL and trying to regenerate Kotlin JS interfaces I realised some of IDL specs were moved.

Updated location of IDLs
Adapted CSS selector for extracting IDL from https://raw.githubusercontent.com/whatwg/html-mirror/master/source
Added extra IDL locations

This MR is closed because of this repository is now used for Kotlin WasmJs implementation. The Kotlin JS platform implementation we have no plans to yet.


Failed to build node-libcurl ("Couldn't load")

When trying to build node-libcurl, I get the following error:

The full error message is:
Error: [getRequest] Failed at request<EMAIL_ADDRESS>Error: Couldn't load<EMAIL_ADDRESS>(404 code)

✘ [ERROR] [getRequest] Failed at request<EMAIL_ADDRESS>
Error: Couldn't load<EMAIL_ADDRESS>(404 code) [plugin http-url]

http-url:https://unpkg.com/node-libcurl@3.0.0/dist/Multi:5:25:

      5 │ const bindings = require('../lib/binding/node_libcurl.node');
        ╵                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(if you are having trouble solving this issue, please create a new issue in the repo, https://github.com/okikio/bundle)

Source: https://bundlejs.com/?q=node-libcurl%403.0.0&treeshake=[*]
Potentially related to #58.

bundlejs currently doesn't support node-gyp, and the automatic fetching of node binaries like that, I'll add this to the TODO list.


Unauthorise character in all krypton label

Hello Wagnerp, Smurf,
I found a little bug when using  krypton label and button.
When i use the "&" character in the text propertie, it display an underscore instead of "&".

Maybe some other characters could not work...
Cheers

Hi @herledant
To get an ampersand, you simply put &&

ok, thank's

That's standard winforms practice.. double ampersand is the way described in the MSDN.


Access research mode from a c# script

Hello, we have the SensorVisualization sample working and would like to use the IR and depth camera in our C# (unity) application. The  Media Foundation contains code that seems to created for this purpose, with functions like:  “MediaFrameSourceKind.Depth” there are also people mention that its possible: (https://stackoverflow.com/questions/59948317/mediafoundation-gives-four-cameras-into-one-single-frame)
Somehow we can only see the locatable camera, not the depth/IR camera using this method. Do you know if it is possible to acces the other camera's of the hololens2 in this way? Any help would be appreciated!

The current research mode APIs can not be used from c#. They are c++ only. I think it is possible to write a C++ unity plugin that would access the cameras using native c++.

Another possibility is using COM interop in .NET: https://docs.microsoft.com/en-us/dotnet/standard/native-interop/cominterop .
Visual studio has a C# Holographic DirectX11 App(Universal WIndows) template. This shows using COM interop in .NET with DX11 interfaces.

Thank you for the information. Over the last days I managed to deploy a simple C++ dll on the HoloLens. But I sadly don’t have the skills I need to create a dll for the research mode.
Do you know if there are plans to create an unity plugin?

The current research mode APIs can not be used from c#. They are c++ only. I think it is possible to write a C++ unity plugin that would access the cameras using native c++.

Yes, you can do that. You need to wrap the needed API calls in accessible functions in your DLL, via __declspec(dllexport). In Unity you can import these with  [DllImport("myDll.dll", EntryPoint = "-dll funtion name-")] and use them.
I currently rebuild my DLL so that it fits our requirements. But generally you need a function to initialize the sensors and some to query the respective data. you can orientate on the SensorVisualization sample for that or have a look in the API doc

I found two C++ Unity Plugins HoloLens2-Unity-ResearchModeStreamer and HoloLens2-ResearchMode-Unity that provide some features of the Research Mode using a DLL, they should work fine.
I tried enabling the research mode in C# and .NET using COM interop (https://docs.microsoft.com/en-us/dotnet/standard/native-interop/cominterop) as mentioned by @dorinung. Using the following snippets, I'm aquiring an IntPtr to the unmanaged ResearchModeSensorDevice:
IntPtr hrResearchMode = NativeAPI.LoadLibraryA("ResearchModeAPI");
if (hrResearchMode == IntPtr.Zero) throw new InvalidOperationException("The ResearchModeAPI library could not be loaded.");
IntPtr procAddress = NativeAPI.GetProcAddress(hrResearchMode, "CreateResearchModeSensorDevice");
if (procAddress == IntPtr.Zero) throw new InvalidOperationException("Procedure CreateResearchModeSensorDevice not found.");
CreateResearchModeSensorDevice pfnCreate = (CreateResearchModeSensorDevice) Marshal.GetDelegateForFunctionPointer(procAddress, typeof(CreateResearchModeSensorDevice));
Marshal.ThrowExceptionForHR(pfnCreate(out IntPtr device));

Guid guid = typeof(IResearchModeSensorDevicePerception).GUID;
int queryInterface = Marshal.QueryInterface(device, ref guid, out IntPtr devicePerception);
Marshal.ThrowExceptionForHR(queryInterface);

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
delegate int CreateResearchModeSensorDevice([Out] out IntPtr sensorDevice);

static class NativeAPI
{
     [DllImport("kernel32.dll")]
     public static extern IntPtr LoadLibrary(string dllToLoad);

     [DllImport("kernel32.dll", CharSet = CharSet.Ansi, ExactSpelling = true)]
     public static extern IntPtr LoadLibraryA(string lpLibFileName);

     [DllImport("kernel32.dll")]
     public static extern IntPtr GetProcAddress(IntPtr hModule, string procedureName);

     [DllImport("kernel32.dll")]
     public static extern bool FreeLibrary(IntPtr hModule);
}

But I can't use Marshal.GetObjectForIUnknown(devicePerception) (API), which leads to an InvalidCastException. The HRESULT error code corresponds to 0x80004002 (E_NOINTERFACE). Using Marshal.GetTypedObjectForIUnknown(devicePerception, typeof(IResearchModeSensorDevicePerception) (API) leads to a MissingMethodException)
[ComImport]
[Guid("C1678F4B-ECB4-47A8-B6FA-97DBF4417DB2")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IResearchModeSensorDevicePerception
{
     [PreserveSig]
     int GetRigNodeId([Out] out Guid rigNodeId);
}

I took IResearchModeSensorDevicePerception instead of IResearchModeSensorDevice for simplicity, but tried the above with both interfaces. I'm stuck here, does anyone have an idea or hint?

Had some issues with marshaling too and ended up using an unsafe block to circumvent them and just worked with pointers in C#:
...
 unsafe {
   // get data from dll
   SensorDataStruct* dataPointer = getAccDataBatched();

   // save it in struct
   for (int i = 0; i < ACCBATCHSIZE; i++) {
     accData.timestamp = dataPointer[i].VinylHupTicks;
     accData.sensorData = new Vector3(dataPointer[i].SensorValueX, dataPointer[i].SensorValueY, dataPointer[i].SensorValueZ);

     ...
     // fire event with new sensor data
     ...
   }
 }
...

The sruct on the plugin side looks like this:
extern "C" {
  //##### Structs #####
  struct SensorDataStruct {
    uint64_t VinylHupTicks;
    float SensorValueX;
    float SensorValueY;
    float SensorValueZ;
  };

  //##### Class #####
  class DllExports {
public:
    DllExport static SensorDataStruct* GetAccDataBatched();

    ...
  };
}

Had some issues with marshaling too and ended up using an unsafe block to circumvent them and just worked with pointers in C#:
...
 unsafe {
   // get data from dll
   SensorDataStruct* dataPointer = getAccDataBatched();

   // save it in struct
   for (int i = 0; i < ACCBATCHSIZE; i++) {
     accData.timestamp = dataPointer[i].VinylHupTicks;
     accData.sensorData = new Vector3(dataPointer[i].SensorValueX, dataPointer[i].SensorValueY, dataPointer[i].SensorValueZ);

     ...
     // fire event with new sensor data
     ...
   }
 }
...

The sruct on the plugin side looks like this:
extern "C" {
  //##### Structs #####
  struct SensorDataStruct {
    uint64_t VinylHupTicks;
    float SensorValueX;
    float SensorValueY;
    float SensorValueZ;
  };

  //##### Class #####
  class DllExports {
public:
    DllExport static SensorDataStruct* GetAccDataBatched();

    ...
  };
}

@dakesse
I built my own dll  below, but when I imported  the dll file in unity and deployed it to hololens2, there was something wrong . The program stopped at  OpenAccSensorStream().
I 'm kind of confused where the error is.Could you help me?
#pragma once
#include "pch.h"
#include "ResearchModeAPI.h"
#ifdef myResearchMode
#define  DllExport _declspec(dllexport)
#else
#define  DllExport _declspec(dllimport)
#endif
#ifdef _cplusplus
extern "C"
{
#endif
struct  SensorDataStruct
{
uint64_t VinylHupTicks;
uint64_t SocTicks;
float SensorValueX;
float SensorValueY;
float SensorValueZ;
float temperature;
};
class DllExport DllExports
{
public:
static void InitSensors();
static void OpenAccSensorStream();
		static SensorDataStruct *GetAccDataBatched();

		static void CloseAccSensorStream();

		static void ReleaseSensors();

		static void ImuAccessOnComplete(ResearchModeSensorConsent consent);

};
	//##### Global Vars #####
	// static vars for research mode init
       static IResearchModeSensorDeviceConsent* m_pSensorDeviceConsent;
	static IResearchModeSensorFrame *pSensorFrame;

	static IResearchModeSensorDevice *m_pSensorDevice;
	static std::vector<ResearchModeSensorDescriptor> m_sensorDescriptors;
	static IResearchModeAccelFrame *m_pSensorAccelFrame;

	// static vars for sensor access
	static IResearchModeSensor *m_pAcclSensor;

	HRESULT hr = S_OK;

#ifdef _cplusplus
}
#endif
and the .cpp file like this
#define myResearchMode
#include "pch.h"
#include "myResearchMode.h"
extern "C"
HMODULE LoadLibraryA(
LPCSTR lpLibFileName
);
static ResearchModeSensorConsent imuAccessCheck;
static HANDLE imuConsentGiven;
_declspec(dllexport)	void ImuAccessOnComplete(ResearchModeSensorConsent consent)
{
imuAccessCheck = consent;
SetEvent(imuConsentGiven);
}
_declspec(dllexport)	void InitSensors()
{
size_t sensorCount = 0;
imuConsentGiven = CreateEvent(nullptr, true, false, nullptr);
HMODULE hrResearchMode = LoadLibraryA("ResearchModeAPI");
if (hrResearchMode)
{

	typedef HRESULT(__cdecl* PFN_CREATEPROVIDER) (IResearchModeSensorDevice** ppSensorDevice);
	PFN_CREATEPROVIDER pfnCreate = reinterpret_cast<PFN_CREATEPROVIDER>(GetProcAddress(hrResearchMode, "CreateResearchModeSensorDevice"));
	if (pfnCreate)
	{
		hr = pfnCreate(&m_pSensorDevice);
	}
	else
	{
		hr = E_INVALIDARG;
	}

}
m_pSensorDevice->QueryInterface(IID_PPV_ARGS(&m_pSensorDeviceConsent));
m_pSensorDeviceConsent->RequestIMUAccessAsync(ImuAccessOnComplete);

m_pSensorDevice->DisableEyeSelection();

m_pSensorDevice->GetSensorCount(&sensorCount);
m_sensorDescriptors.resize(sensorCount);

m_pSensorDevice->GetSensorDescriptors(m_sensorDescriptors.data(), m_sensorDescriptors.size(), &sensorCount);

for (auto& sensorDescriptor : m_sensorDescriptors)
{
	if (sensorDescriptor.sensorType == IMU_ACCEL)
	{

		m_pSensorDevice->GetSensor(sensorDescriptor.sensorType, &m_pAcclSensor);
	}
}

}
_declspec(dllexport)	void OpenAccSensorStream()
{
m_pAcclSensor->GetNextBuffer(&pSensorFrame);
hr = pSensorFrame->QueryInterface(IID_PPV_ARGS(&m_pSensorAccelFrame));

}
_declspec(dllexport)	SensorDataStruct* GetAccDataBatched()
{
// get the sensor Frame and next buffer
	const AccelDataStruct* accelBuffer;
    size_t BufferOutLength;
	// read sensor values ...
	hr = m_pSensorAccelFrame->GetCalibratedAccelarationSamples(&accelBuffer, &BufferOutLength);

	SensorDataStruct* data = new SensorDataStruct[BufferOutLength];  // ?
	// … and copy them to return array
	for (UINT i = 0; i < BufferOutLength; i++)
	{
		data[i].VinylHupTicks = accelBuffer[i].VinylHupTicks;
		data[i].SocTicks = accelBuffer[i].SocTicks;
		data[i].SensorValueX = accelBuffer[i].AccelValues[0];
		data[i].SensorValueY = accelBuffer[i].AccelValues[1];
		data[i].SensorValueZ = accelBuffer[i].AccelValues[2];
		data[i].temperature = accelBuffer[i].temperature;
	}
	return data;

}
_declspec(dllexport)	void CloseAccSensorStream()
{
m_pAcclSensor->CloseStream();
}
_declspec(dllexport)	void ReleaseSensors()
{
m_pSensorAccelFrame->Release();

}

Sorry for my very late response. As far as I could see the difference between our approaches is that you export the whole class into the DLL. I can remember that I had some issues with that, so I exported every element/function of the class instead the class itself.
So:
class DllExports {
  public:
    DllExport static void InitSensors();
    DllExport static void OpenAccSensorStream();
    DllExport static void GetAccDataStamped(float& accX, float& accY, float& accZ, UINT64& timestamp);
    DllExport static void CloseAccSensorStream();
    ....
    DllExport static void ReleaseSensors();
};

instead of:
class DllExport DllExports {
  public:
    static void InitSensors();
    static void OpenAccSensorStream();
    static SensorDataStruct *GetAccDataBatched();
    static void CloseAccSensorStream();
    static void ReleaseSensors();
    static void ImuAccessOnComplete(ResearchModeSensorConsent consent);
};


DO NOT MERGE Use separate plugin for AWS

WDYT?
Fixes #99
Probably fixes #63
Requires https://github.com/rabbitmq/rabbitmq-common/pull/141
Enabling AWS backend now requires enabling just autocluster_aws
plugin  (rabbitmq_aws and autocluster will be loaded by rabbitmq
automatically).
The same approach will work for any other backend with external
dependences.

Current coverage is 41.71% (diff: 0.00%)

No coverage report found for master at a2e2aa0.

Powered by Codecov. Last update a2e2aa0...7379895

I missed the do not merge, I got excited by this.  What did you want to do in addition?

I wanted some early feedback on whether you like this approach - and looks like this question is answered =)
It was DO NOT MERGE because it depends on https://github.com/rabbitmq/rabbitmq-common/pull/141 and I haven't thoroughly tested it (as my free Amazon credits expired long ago).


Implement apply test for keras

This PR contains the test to be run by github actions for  keras apply workflow.
This test includes training models based on these workflows:

2D_seismic_imgtoimg
3D_seismic_imgto_img
seismic_classification
loglog_regression
log_classification

And also trying to apply the apply the trained models from these workflows based on different conditions.
Test covers:

checks for null results
checks for the proper result key present in the result dictionary (prediction, probabilities, confidence)

@arnauddgbes, I think we might need to do a bit more documentation for dgbpy


When using the post sending a request, including &

including &, pipe pp_json no working

& is a  special character that instructs bash to run the command before in the background. If you don't want Bash interpreting it as such, you need to quote it or escape it:
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_03.html

Like this
http mo-moko.com/go.php date=123\&hello=123123123 | pp_json
Single quotes, Double quotes like too
Response like, only one param


OCM-5698 | ci: Implement proxy on rhcs rosa creation

based on the following test case: OCP-67607

/test rosa-sts-advanced-critical-high-presubmit

/test rosa-sts-advanced-critical-high-presubmit

/approve

/test rosa-sts-advanced-critical-high-presubmit

/lgtm


CLOUD-895 - add Unit tests

@doktoric

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1547/