Unable to send messages direct to queues which have a DEAD-LETTER associated.

I'm trying to fork this and add X-DEAD-LETTER-EXCHANGE and X-DEAD-LETTER-ROUTING-KEY. This will enable direct to queue messages where there is a dead letter attached. I have added fields to AMQPSampler.java and AMQPSamplerGui.java is there anything else I need to update?
When I publish messages with this amended code I see messages land on the Rabbit Overview page but the message does not arrive in the queue (with an attached DEAD LETTER linked)
I've added to AMQPSampler.java
    private static final String X_DEAD_LETTER_EXCHANGE     = "AMQPSampler.XDeadLetterExchange";
    private static final String X_DEAD_LETTER_ROUTING_KEY  = "AMQPSampler.XDeadLetterRoutingKey";

    public static final String DEFAULT_X_DEAD_LETTER_EXCHANGE = "jmeterDeadLetterExchange";
    public static final String DEFAULT_X_DEAD_LETTER_ROUTING_KEY = "jmeterDeadLetterRoutingKey";

    if (getXDeadLetterExchange() != null && !getXDeadLetterExchange().isEmpty()) {
        arguments.put("x-dead-letter-exchange", getXDeadLetterExchange());
    }

    if (getXDeadLetterRoutingKey() != null && !getXDeadLetterRoutingKey().isEmpty()) {
        arguments.put("x-dead-letter-routing-key", getXDeadLetterRoutingKey());
    }

    public String getXDeadLetterRoutingKey() {
        return getPropertyAsString(X_DEAD_LETTER_ROUTING_KEY);
    }

    public void setXDeadLetterExchange(String name) {
        setProperty(X_DEAD_LETTER_EXCHANGE, name);
    }

    public void setXDeadLetterRoutingKey(String name) {
        setProperty(X_DEAD_LETTER_ROUTING_KEY, name);
    }

Added the following to AMQPSamplerGui.java
    protected JLabeledTextField xDeadLetterExchange = new JLabeledTextField("x-dead-letter-exchange");
    protected JLabeledTextField xDeadLetterRoutingKey = new JLabeledTextField("x-dead-letter-routing-key");

    xDeadLetterExchange.setText(sampler.getXDeadLetterExchange());
    xDeadLetterRoutingKey.setText(sampler.getXDeadLetterRoutingKey());

    xDeadLetterExchange.setText(AMQPSampler.DEFAULT_X_DEAD_LETTER_EXCHANGE);
    xDeadLetterRoutingKey.setText(AMQPSampler.DEFAULT_X_DEAD_LETTER_ROUTING_KEY);

    sampler.setXDeadLetterExchange(xDeadLetterExchange.getText());
    sampler.setXDeadLetterRoutingKey(xDeadLetterRoutingKey.getText());

    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    queueSettings.add(xDeadLetterExchange, gridBagConstraints);

    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    queueSettings.add(xDeadLetterRoutingKey, gridBagConstraints);

Amended GUI showing new fields.

Hello,
Is this feature going to be released?


All model classes were packed in JAR file, how can I instrument that?

It is a maven based project.

you would instrument them before packaging into a jar file. Please, refer to http://javalite.io/instrumentation


chore: fix typo in the title

I'm sorry, I forgot to update the README.zh.md.

I'm sorry, I forgot to update the README.zh.md.

Oh I'm sorry, I just saw this reply now...
It's okay. You reminded me :)


I want to know how effective centernet is on the voc data set, and whether it is completely inaccurate because the number of instances in the data set is too small

We have not done any relevant experiments.


Make the repository public

HI @krassowski ,
Please make the repository public for reviewers to access it since it is still private and reviewers will not be able to see it even if they have the link due to access privileges.
Kind regards,
Vivek

Done, it's out there now.


Code doesn't work in the CLI

System.NullReferenceException: Object reference not set to an instance of an object
at BingChat.BingChatConversation.g__GetAnswer|3_1(BingChatConversationResponse response)
at BingChat.BingChatConversation.<>c__DisplayClass3_0.g__OnMessageReceived|2(String text)
--- End of stack trace from previous location ---
at HelloWold.Program.ComposeAnswerAsync(String request)
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

Seems to be a duplicate of #3. I just left a message there, so you can check it out.


changed "Error" string to Translation variable

Didn't see this one sorry! implemented in https://github.com/getgrav/grav-plugin-error/commit/2e7c157f19161aecbc5f6919a99daf8a44116cbc


Adding AZURE_OPENAI_API_KEY in the  config.yaml file. Is it possible?

Is there any way to run promntfoo eval adding the Azure and OpenAI API keys in the config YAML file? i dont want to add the Keys in my environment variables. What are the option we have for this? -- Thanks  a lot
promt.txt
Answer the following concisely: {{message}}
Here my "promptfooconfig.yaml" --> addind the keys as follow since is the way used when running "promtfoo view". but is not running:
env:
  AZURE_OPENAI_API_KEY: XXXXXXXXXXXXXXXX
  OPENAI_API_KEY: YYYYYYYYYYYYYYYYYY
description: ''
providers:
  - id: openai:chat:gpt-3.5-turbo
    config:
      temperature: 0
      max_tokens: 128
  - id: azureopenai:chat:gpt4
    config:
      apiHost: testinstance.openai.azure.com
      temperature: 0
      max_tokens: 128
prompts:
  - prompt.txt
tests:
  - description: 'poem'
    vars:
      message: Write a poem about the sea.
    assert:
      - type: contains
        value: sea

Hi @FJLopezGarcia,
You can add the apiKey property under each provider config, like so:
providers:
  - id: openai:chat:gpt-3.5-turbo
    config:
      apiKey: abc123
      temperature: 0
      max_tokens: 128
  - id: azureopenai:chat:gpt4
    config:
      apiKey: abc123
      apiHost: testinstance.openai.azure.com
      temperature: 0
      max_tokens: 128

It looks like env config is not being passed when used in CLI.  e8170a7f0e9d4033ef219169115f6474d978f1a7 fixes this in the next release.  Thanks for opening this issue!

env is supported properly in 0.33.1.  Let me know if you encounter any issues


whisper-ctranslate2: 0.4.5 -> 0.4.6

Things done
Changelog: https://github.com/Softcatala/whisper-ctranslate2/releases/tag/0.4.6
cc @happysalada

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 350655

x86_64-linux

:white_check_mark: 2 packages built:

whisper-ctranslate2
whisper-ctranslate2.dist

aarch64-linux

:white_check_mark: 2 packages built:

whisper-ctranslate2
whisper-ctranslate2.dist

x86_64-darwin

aarch64-darwin

:white_check_mark: 2 packages built:

whisper-ctranslate2
whisper-ctranslate2.dist


Update Eventmachine deps

Also add pure ruby Eventmachine to the test matrix
Fixes #133

So I have to apologise @wallyqs but turns out this does not work and the EM docs is wrong about how to get it going, so the commit activating it does nothing - setting EVENTMACHINE_LIBRARY is a noop.
I'll do further testing with the right way of doing it but as of now it fails because some method signatures are different, will make a new ticket when I figure it out


[Draft] Add osx_64

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

the osx_arm64 build is failing for the same reason as https://github.com/conda-forge/visan-feedstock/pull/18#issuecomment-2370018462


Skopeo support for buildah images

I'm unsure if this is a separate issue from https://github.com/projectatomic/skopeo/issues/363...
skopeo copy of a buildah image from containers-storage to a private docker registry fails:
 skopeo copy containers-storage:test:latest docker://private.registry/test:latest
Getting image source signatures
Copying blob sha256:69f7f36900915d6005a0cd35663a72ea818dcd01c3316e6ee38bfe9d54b7a1c1
FATA[0000] Error reading blob sha256:69f7f36900915d6005a0cd35663a72ea818dcd01c3316e6ee38bfe9d54b7a1c1: image not known

The "missing" layer skopeo is looking for is visible with skopeo inspect containers-storage:test:latest (so that works!):
skopeo inspect containers-storage:test:latest{
    "Digest": "sha256:096b9fc0009db2705d2254941ee427c577b6deec5f7e9dff3c8b32bfe25cb448",
    "RepoTags": [],
    "Created": "2017-06-29T05:48:39Z",
    "DockerVersion": "",
    "Labels": {
        "maintainer": "Chris Collins<EMAIL_ADDRESS>    },
    "Architecture": "amd64",
    "Os": "linux",
    "Layers": [
        "sha256:69f7f36900915d6005a0cd35663a72ea818dcd01c3316e6ee38bfe9d54b7a1c1",
        "sha256:35277e731b5e48d284d127c48f5beb788c6b75359aafff32ed53d69173aa8845"
    ]
}

However, buildah push allows the image to be pushed to the local Docker storage with the  docker-daemon transport, and then Skopeo knows how to deal with the image correctly:
$ sudo buildah push test:latest docker-daemon:test:latest
Getting image source signatures
Copying blob sha256:7f11d4f4c9b0a958ca8078c3de168ff11c16d3678a810362655e2fdd99870481
 49.13 MiB / 75.48 MiB [===================================>------------------]
Copying blob sha256:ce2cd8bb05ecae44e1c804fd8c3a184ffad9f77cd5400349185f0b4b7c911a13
 172.19 MiB / 198.80 MiB [=============================================>------]
Copying config sha256:294a6165d13f9332fbaeaf309a7d720ccc2d23f7e0c64755df1a366bbc7cd5a0
 0 B / 2.58 KiB [-------------------------------------------------------------]
Writing manifest to image destination
Storing signatures
 2.58 KiB / 2.58 KiB [========================================================]

$ sudo skopeo copy docker-daemon:test:latest docker://private.registry/test:latest
Getting image source signatures
Copying blob sha256:53e6d99f7596f656354b326bd771a14ed68f0676f05793a9c3d3b799ae447977
 229.41 MB / 229.41 MB [======================================================]
Copying blob sha256:1866690f499d27dd71e340185458240115b9283ce9cc394761b74ca6c076d27f
 322.71 MB / 322.71 MB [======================================================]
Copying config sha256:294a6165d13f9332fbaeaf309a7d720ccc2d23f7e0c64755df1a366bbc7cd5a0
 2.58 KB / 2.58 KB [==========================================================]
Writing manifest to image destination
Storing signatures

This happens regardless of whether the image is "docker formatted" or not during the buildah commit.
Please let me know if this is a buildah issue rather than a skopeo issue, and I'll submit it there.

@nalind @runcom @mtrmac PTAL

It's a known buildah issue.  It's being worked in https://github.com/containers/image/pull/305 and associated PRs that are linked to from there.

In the meantime, and afterward, buildah push should be able to get the job done.  It's not the ideal, but it's something.

containers/image#305 has been merged. What is the status of this issue?

I think we have support for this now.  Reopen if I am incorrect.


Parallelize eigenvector_centrality and katz_centrality

What do these changes do?
Parallelize eigenvector_centrality and katz_centrality

Related issue number

Fixes #1257

Codecov Report

Merging #1262 (cfc5a38) into main (83c6842) will decrease coverage by 32.18%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1262       +/-   ##
===========================================
- Coverage   72.46%   40.27%   -32.19%
===========================================
  Files          89       89
  Lines        9474     9474
===========================================
- Hits         6865     3816     -3049
- Misses       2609     5658     +3049

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_lazy.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_cython_ast.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_serailaize.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/tests/unittest/test_app.py
0.00% <0.00%> (-98.39%)
:arrow_down:

python/graphscope/analytical/udf/patch.py
3.47% <0.00%> (-96.53%)
:arrow_down:

...thon/graphscope/tests/unittest/test_scalability.py
0.00% <0.00%> (-96.16%)
:arrow_down:

...hon/graphscope/tests/unittest/test_create_graph.py
0.00% <0.00%> (-92.00%)
:arrow_down:

python/graphscope/tests/unittest/test_graph.py
0.00% <0.00%> (-85.22%)
:arrow_down:

python/graphscope/tests/unittest/test_context.py
0.00% <0.00%> (-81.04%)
:arrow_down:

python/graphscope/analytical/udf/wrapper.py
27.27% <0.00%> (-72.73%)
:arrow_down:

... and 35 more

Continue to review full report at Codecov.

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


Issue with input size for WinML models

Hi Mitchell!
Just tried out your modified sample. BTW, love what you are doing here. 👍
I made sure the ONNX model is part of the assets and it can be loaded and the labels file but it still won't work. I don't have much time to debug it myself but see below exception which could be causing this. Maybe just a model update with the wrong dimensions or input binding name?
Exception thrown at 0x00007FF943D345FC (KernelBase.dll) in HoloLens-2-Machine-Learning.exe: WinRT originate error - 0x80070057 : 'Got invalid dimensions for input: input_2 for the following indices
 index: 0 Got: 1 Expected: 0
 Please fix either the inputs or the model.'.
Exception thrown at 0x00007FF943D345FC in HoloLens-2-Machine-Learning.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000010032FF280.

Hi @reneschulte, thanks for checking out the sample! The current ONNX model requires a tensor with an input shape of  (0, 3, 224, 224); based on your error, it sounds like that could be causing the issue.  I've modified the included ONNX model to reset its input shape to (1, 3, 224, 224). Let me know if that resolves the issue! Also, my HL2 device is currently on build 19041.1134 - not sure if that could be causing some ONNX incompatibilites as well.

Hi @reneschulte, thanks for checking out the sample! The current ONNX model requires a tensor with an input shape of  (0, 3, 224, 224); based on your error, it sounds like that could be causing the issue.  I've modified the included ONNX model to reset its input shape to (1, 3, 224, 224). Let me know if that resolves the issue! Also, my HL2 device is currently on build 19041.1134 - not sure if that could be causing some ONNX incompatibilites as well.

Thanks @doughtmw 🙏
It was indeed the model input that fixed it. I'm on Insider build and it works now after you updated the model. 😁
HL2 Windows version	20279.1006.arm64fre.fe_release_svc_sydney.210108-1600
Curious where you are going with this. 🚀

Thanks @doughtmw 🙏
It was indeed the model input that fixed it. I'm on Insider build and it works now after you updated the model. 😁
HL2 Windows version	20279.1006.arm64fre.fe_release_svc_sydney.210108-1600
Curious where you are going with this. 🚀


Add further cql examples to docs & update workflows

Overview
Update the documentation with further examples of CQL queries.

The workflows were in conflict on https://github.com/geopython/pygeoapi/pull/964 , this PR resolves this conflict

The doc changes look okay to me. I trust the workflow changes are fine or do you want those reviewed by @volcan01010 ?

Thanks, I'll merge. The workflows are in line with the origin repo so don't need review,


Remove redundant conda channel

InterMol is now live on the conda-forge channel, so I'm removing the mwt channel from the test_env.yaml file.

Codecov Report

Merging #149 into master will not change coverage.
The diff coverage is n/a.

Closing, this is fixed in https://github.com/slochower/pAPRika/pull/151


chore: rename features.openapi to oasFeatures

What/Why/How?
Reference
Testing
Screenshots (optional)
Check yourself

[x] Code is linted
[x] Tested with redoc/reference-docs/workflows
[ ] All new/updated code is covered with tests

Security

[ ] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

Put this on hold because we are unclear on the naming.


是否适用于小目标前景图的合成？

如题，对于像素小于30*30的小目标是否具有较好的效果呢

和前景的种类、质量有关，你可以试试

Hi, do you have any suggestions if small foreground image remains grey(failed to synthesize)?

If you use ControlCom, downsampling in the autoencoder and U-Net of the diffusion model can result in synthesis failure when the input bounding box is too small. To mitigate this, I recommend directly enlarging the bounding box or enlarging it by cropping and zooming in the background region, which may help prevent such issues.


How to disable showing js errors

What OS are you using (uname -a, or Windows version)?
Windows 8.1
What programming language are you using (C/C++/Go/Rust)?
go 1.12
What did you expect to see and what you saw instead?
Is there a way to disable showing js errors in pop-up messages?

Go to line 1128 and add this snippet:
webBrowser2->lpVtbl->put_Silent(webBrowser2, true);

it doesn't work for me

Sorry my fault, i didnt think that the source code would change anytime soon. To fix it simple add this line of code webBrowser2->lpVtbl->put_Silent(webBrowser2, true); after the initialization of WebBrowser2 in the DisplayHtmlPage function, for the current source that would be line 1131 in webview.h
It should look like this then:
IWebBrowser2 *webBrowser2; 		VARIANT myURL; 		LPDISPATCH lpDispatch; 		IHTMLDocument2 *htmlDoc2; 		BSTR bstr; 		IOleObject *browserObject; 		SAFEARRAY *sfArray; 		VARIANT *pVar; 		browserObject = *w->priv.browser; 		int isDataURL = 0; 		const char *webview_url = webview_check_url(w->url); 		if (!browserObject->lpVtbl->QueryInterface( 			browserObject, iid_unref(&IID_IWebBrowser2), (void **)&webBrowser2)) { 			LPCSTR webPageName; 			isDataURL = (strncmp(webview_url, WEBVIEW_DATA_URL_PREFIX, 				strlen(WEBVIEW_DATA_URL_PREFIX)) == 0); 			webBrowser2->lpVtbl->put_Silent(webBrowser2, true); 			if (isDataURL) { ...

Thank you for a help!
But I have fixed it in that way


Improvements

@pieterlange
Fix #4

Looks very good to me :+1:

Why run multiple databases in the same job? Just schedule a run for each database? :)

Why run multiple database backups in the same job? Just schedule a run for each database? :)

I rollback to just one backup per job


serial port source with bit-stream output

GNU Radio block that:

takes packet from serial interface.
and produce bit-stream.

https://github.com/jmalsbury/gr-pyserial


Result File upload does not work

We already have the "result file upload button" in the frontend, but never have connected this to the backend.

#112


Update SinusPulsator to accept "reverse" parameter

The "reverse" parameter allows the effect to begin in the applied state, progressing towards the unapplied state. Useful for ImageOverlayPulsate effect to fade out from an ImageOverlay effect.

Looks good to me! Thanks :smile:


Fix: Prediction text wrap

Removed display: block; from Match styled-component

Removed OuterSpan styled-component since display: inline; is default with span

Fixed GoogleSuggest demo for noResult

cc: @saikatharryc can you verify that this works for #37 #38

This PR will fix the following issue:

Codecov Report

Merging #40 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #40   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          46     45    -1
  Branches       12     12
=====================================
- Hits           46     45    -1

Impacted Files
Coverage Δ

src/components/Prediction/index.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you for the fix. I just published v3.6.1


[25.x][WFCORE-6952] Upgrade WildFly Elytron to 2.5.1.Final

https://issues.redhat.com/browse/WFCORE-6952
Upstream PR: https://github.com/wildfly/wildfly-core/pull/6129

/retest

/retest


[BEAM-7794] Upgrade Localstack in DyanmoDB connector tests

Previously, io.aws.dynamodb.DynamoDBIOTest failed due to this issue https://github.com/localstack/localstack/issues/2702. This PR upgrades Localstack version to the one including the fix, and re-enable the tests.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @iemejia

Merged manually to update the IOIT part too, fix the title and squash the commits
CC: @aromanenko-dev for awareness


Bring back the product website

Guys, please bring back the product website as it might me needed for various grading purposes later.

Hello professor, the issue about the product website has been fixed. Please check.

Looks like it is still showing AB3 stuff?

Should not be, in my computer, the following link indeed links to our README file.
https://ay1920s1-cs2103-t14-3.github.io/main/

Should not be, in my computer, the following link indeed links to our README file.

Oh, right. I followed this link, which you haven't updated.

Your Ui.png is still missing though.


docs: add a ckb tuning guide

@doitian Please review.

@doitian Please review.

日志可以看下 Grafana 的全家桶 https://github.com/grafana/loki
-- Aligned to O2KR4. Deploy Central Log System To Search Logs Of Testnet Nodes

日志可以看下 Grafana 的全家桶 https://github.com/grafana/loki
-- Aligned to O2KR4. Deploy Central Log System To Search Logs Of Testnet Nodes

stalled and conflicting


get rid of the dependency ch.qos.logback:logback-classic:jar:1.4.8:compile

resolves https://github.com/trinodb/trino-gateway/issues/195

Discussed with @andythsu .. we will just declare the dependency since this is approach is not really helping us improve the overall setup. Andy will send a PR for the dependency declaration.


janus_template_role question

Hi,
I have a question about the intended use of janus_template_role.
First, I am repeating all the possible values of this enumeration:
ENROLLMENT_11, VERIFICATION_11, ENROLLMENT_1N, IDENTIFICATION, CLUSTERING

I assume I know what VERIFICATION_11 and ENROLLMENT_1N mean (in the first case, the template will be used for the one-to-one verification protocol; in the second case, the template will be used for the one-to-n search protocol, and it is being enrolled to the gallery).  I am guessing that IDENTIFICATION means that the template will be used in the one-to-n search protocol and will be used as a probe? I am unsure what ENROLLMENT_11 would mean. Can you confirm my previous descriptions, and also explain ENROLLMENT_11?

Does the presence of these enrollment types mean that we can assume the test harness will call create_template() separately for the identification protocol and the verification protocol for templates that happen to be included in both protocols? If not, it is unclear what these template_role hints can be used for, if there is no guarantee that the test harness will pass them to us. If so, it seems that the test harness would be repeating work unnecessarily unless an implementation actually made use of these hints.

The presence of this comment in the janus_create_template() function seems to indicate that we are prohibited from actually making use of these hints.  (I'm unsure what use we would make out of them, I'm just trying to understand their purpose in the API)

All media necessary to build a complete template will be passed in at
one time and the constructed template is expected to be suitable for
verification and search.

If all templates we create are supposed to be suitable for both verification and search (which seems reasonable to me, by the way), that seems to imply that we aren't allowed to create different templates depending on the value of janus_template_role.
Can you explain the intended use of janus_template_role?
Thanks,
Stephen Rawls (ISI)

Hi Stephen,
This was created based on what NIST had seen in it's commercial FR evaluations, where vendors liked to create different templates for different use cases.

I am going to let NIST speak to the roles they see for each of these values.

You can assume that the test harness will call create_templates() with the proper value so templates that occur multiple times will be created with the correct role.

This was poorly worded by me. I was trying to convey that there is no more janus_flatten_template and that the output of janus_create_template() should be ready for whatever role is intended for it, verification, search etc. not that the template has to be ready for both roles simultaneously.

Hi Stephen,
The intent is to support an end-state in which a developer is free to use different representations for 1:1 and 1:N.  This is quite common in commercial face, finger, and iris implementations, often with larger templates being used in 1:N.   The role additionally gives you freedom to develop asymmetric templates so the 1:N search template could have different length and content than a 1:N enrollment (gallery) template.  For example, suppose a fast 1:N gallery is implemented using a tree or hash.  This may necessitate computation of data that does not need to be present in the 1:N search template.  A similar situation can occur for multi-stage search templates.  Also, asymmetric templates can support gallery training.
So to answer your questions

Enrollment_11 indicates the template is the reference template. Verification_11 is compared with it, later. Just because many implementations have identical representations for these, doesn’t mean all do.  I have a smart card that has asymmetric fingerprint templates for example.

The test hardnesses will assign the correct role.  If the same input imagery is used in multiple Janus evaluations, then this will duplicate effort IF the particular algorithm behaves that way.

Best,
Patrick Grother

Hi Patrick,
Thanks for the explanation, I understand now.
I'm still unsure how we'd make use of Enrollment_11 and Verification_11 differently, given that the verification function has to be symetric (see comment below from API), but I suppose we can always just treat them the same if we want to.
* The returned \p similarity score is \em symmetric. In other words, swapping
* the order of \p a and \p b will not change \p similarity.

That brings up another question, though. Is it guaranteed that we will always have one Enrollment_11 template and one Verification_11 template passed to the janus_verify() function (which could appear in any order in the arguments)? Or is it possible that we would be comparing an Enrollment_11 template with another Enrollment_11 template, for example?
Thanks,
Stephen Rawls (ISI)

Stephen,
I'd advocate to: a) drop the requirement that the similarity score be symmetric (they're sometimes not); and b) allow the algorithm to throw an error if anything other than (enrol_template, verif_template) is passed to janus_verify i.e. order and semantics are fixed.
Best,
Patrick

I agree that the requirement for symmetry should be removed. I can update the parameter names of the janus_verify function to reflect the fixed ordering

Okay, sounds good to me. Thanks for clearing that up!

The documentation and signature of janus_verify have been updated in 8945de357e0ecd6a8a2c8557a3dc1d1c7376674a


[2.0] Allow Dex to redirect to the Dashboard's external FQDN

Some scenarios where the admin node's private IP is not accessible
to the outside world require that we use a end user provided FQDN

e.g. as is the case on OpenStack and possibly other cloud
environments. Allow redirections to this FQDN.

Part of bsc#1062291
Backport of https://github.com/kubic-project/salt/pull/251

 Bug 1058079 — kubernetes-salt uses hardcoded eth0


Update renderingng link in scheduling.md

The link https://developer.chrome.com/blog/renderingng/ referenced by text "only recently" is outdated.
I guess the link you want to link is https://developer.chrome.com/docs/chromium/renderingng. Please feel free to edit to the desired link.

Thanks for the fix!


Change ebpf error logs to warnings

The issue #916 pointed that libbpf and bcc attach functions are reporting different logs.
This PR make their logs similar, include more explanation in the log and change the error message to warning message.

/lgtm


Suggestion: Use PSR-6 cache interface

Instead of using CacheProviderInterface, you could use Psr\Cache\CacheItemPoolInterface, which would allow developers to use any PSR-6 compatible caching library.

Would be great! Maybe @Nyholm can give some input? Also see https://github.com/EmanueleMinotto/TwigCacheBundle/issues/12

Done by @rvanlaak in https://github.com/asm89/twig-cache-extension/pull/32. 🎉


Polish language support

Please add Polish support and Polish keyboard key bindings (Polish keyboard does not use alt+[letter] for shortcuts as this conflicts with inputting letters like ążółćń).
I'd be happy to help with translations in case you are open to contributions via services like getlocalization.

I know we've worked a lot on international keyboards, so can you clarify exactly what problem you're having with the polish keyboard?

@roblourens, there's a lot of trouble when using Polish keyboard and trying to enter Polish diacritic signs. I believe that US keyboard copies some shortcuts like ctrl+s to alt key as well; the thing is, alt+[aceszxnlo] are used for entering letters: ąćęśżźńłó respectively. This results in a conflict and inability to enter said letters.
This is a very common problem with American software in Poland, even Windows 10 Mail and Store app were having it for a while.
The problem with keybindings has already been raised by issues: #14234 #13198 #11090 #9205
Please mind that this request is for Polish language support in general, including the UI, which was not mentioned before on GitHub, I believe.

Assigning to @dbaeumer as the keybindings issues seem to be closed or tracked elsewhere.

@wojtekmaj just to be clear: when pressing alt+e for example VS Code takes you to the main menu bar and opens the edit menu. VS Code doesn't define any keyboard shortcut alt+e for a specific command.

Actually, that's not correct for my case.
Pressing alt+e creates letter ę for me :) And it works in VSCode as well. The only one not working in VSCode as of now is alt+l that should make the letter ł. Interestingly, capital Ł (shift+alt+l) works fine.

OK thanks. Then this has nothing to do with i18n.
@alexandrudima I checked and by default we don't define any keyboard shortcut for alt+l

But it is about i18n! It's about adding Polish UI language!

@wojtekmaj there are different things here: having the UI strings in Polish is indeed a i18n issue. But translating it to Polish will not fix the problem that if you press alt+I you don't get the correct input letter.
I will move the item back to i18n then. Please keep discussing the letter input in the other issues then.

@wojtekmaj re: keyboard layouts.
I believe it is AltGr+letter that introduces special characters (i.e. it is usually printed on the key as AltGr, otherwise it is the Alt located on the right hand side of the spacebar). Alt+letter will not produce any characters on the Polish keyboard layout.
https://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdpl1.html
In VSCode (driven by Chromium) AltGr+letter is, AFAIK detected as ctrl+alt+letter.
On Windows, we don't ship with default keybindings for ctrl+alt+letter especially because ctrl+alt+ is AltGr+ and used for special characters on different keyboard layouts. Can you please tell us what keyboard combinations (only coming from the default installation -- i.e. code --disable-extensions) do not work for Polish out of the box?

That is correct, I meant AltGr for the whole time. AltGr + l does not produce the letter ł. But let's keep that discussion in related issues that has already been created:
#14234 #13198 #11090 #9205 (especially the last one, that says specifically about this specific letter)

@wojtekmaj Agreed, please also see the resolution on #9205:
https://github.com/Microsoft/vscode/issues/9205#issuecomment-232889957

"I have extension "Bookmarks Alessandro Fragnani" and the problem is with that extension.

Please create an issue on that extension. Here is the root cause -- https://github.com/alefragnani/vscode-bookmarks/blob/master/package.json#L112

@wojtekmaj, in case you are interested in contributing translation. Here is the instruction. http://aka.ms/vscodeloc. Discussion is still ongoing about what % of translation need to reach before integrate to VS Code product.

@danyeh Sweet! Just what I dreamed of. Thanks!

Hi,
I've just installed new version of VSCode (1.14.0 for Mac), and I have same problem as @wojtekmaj. I removed keybindings for alt+z (for Polish location still is binded to wordwrap #13198) but in integrated console I cant type alt+l => ł . I removed all extension from ~/.vscode and before installation I removed ~/Library/Application Support/Code so my installation is clean.
In iTerm alt+l works fine (terminal shows "ł").

Great, now when I removed binding to alt+z, word wrap is not working from menubar (view -> toggle wordwrap) :(

The problem is that Polish keyboard layout, 'right alt' + letter: [acelnoszx] produces a Polish diactric character i.e. [acelnoszx] -> [ąćęłńóśżź].
VS Code has no concept of left/right alt key - at least on Windows, hence many 'alt + letter' combinations produce Polish special letters instead of activating commands.
It also applies to to more complex keybindings like Ctrl + Alt + letter and it effectively renders using VSCode keyshortcuts useless.
There is no issue in full Visual Studio, so I do not see why it is not working as expected in VS Code.
Can you fix it somehow?

Looks like this (RIGHT)ALT+l problem cannot be solved for a year now :(
Hey that can't be so difficult!
I'd gladly unbind this shortcut only if it only was possible.

In Version 1.21.0
Alt - l is bound to toggleFindInSelection
when removed, nothing happens on Alt - l

alt + z doesn't work at all

In my case the problem was created by on of the VSC extensions - it took over the Polish letter shortcut, so as a first step in solving the problem I'd try to run VSC with all extensions removed to see if the problem still exists.

I see there's already an open issue here. Such a shame this has been an issue for at least 1.5 years :/ I don't have a lot of high hopes of the creator fixing this basic international issue.
This is the issue I opened: #50341
I can see another old one that's sadly been dismissed without much thought with flawed reasoning: #41225

I'm resolving this as a duplicate of https://github.com/Microsoft/vscode/issues/50341.  if that's not the case, please let me know and i'll reopen and assign accordingly.  cc @alexandrudima

altGr keys work fine for me now, aren't for you?

Yep. But the interface is still in English.

@wojtekmaj , Polish language was enabled in community localization tool - Transifex. Translation completion rate has not reached the threshold (50%) that we setup to start to publish beta version of the Polish language pack. It will be great if you can help to nurture Polish community to contribute more. We certainly wish can have Polish language pack as early as possible.
VS Code community localization project info is here: https://aka.ms/vscodeloc.
Language request process info is here: https://github.com/Microsoft/Localization/wiki/How-to-request-a-new-UI-language-for-VS-Code-project
Current Polish completion rate is around 23% or so.

@aldonetti , FYI.


New CSS Custom Highlight API feature

A few resources about the feature:

https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
https://css-tricks.com/css-custom-highlight-api-early-look/
https://www.youtube.com/watch?v=1qldqyT324o

I'll open a BCD PR to add the corresponding tags there.

In https://github.com/web-platform-dx/web-features/pull/771 I also suggest a name for a feature that nobody else has used, by following the style that we have established. I even go so far as to claim it's "also known as" Compute Pressure API even though I think that's the main name it is known by.
My confidence that we should almost always omit "API" is decreasing. @ddbeck in the interest of making progress, perhaps we should collect some names that we're not so sure about in an issue, but keep adding features even when in doubt about the name?

My confidence that we should almost always omit "API" is decreasing. @ddbeck in the interest of making progress, perhaps we should collect some names that we're not so sure about in an issue, but keep adding features even when in doubt about the name?

I'm also not super confident with our current naming strategy. Keeping names as short as possible, and omitting common terms feels like unnecessary rules at this point, creating more problems than they're solving.

My confidence that we should almost always omit "API" is decreasing. @ddbeck in the interest of making progress, perhaps we should collect some names that we're not so sure about in an issue, but keep adding features even when in doubt about the name?

I'm also not super confident with our current naming strategy. Keeping names as short as possible, and omitting common terms feels like unnecessary rules at this point, creating more problems than they're solving.

Can you comment on https://github.com/web-platform-dx/web-features/issues/548 with what you think we should do for "API" specifically?
I do think that the current rules solve at least one real issue, which is when we should include "CSS" in the shortname. The current answer is "never" and easy to apply consistently.

@ddbeck @foolip are we ok to merge this one as is?

By the way, the corresponding BCD PR is https://github.com/mdn/browser-compat-data/pull/22731

Thanks @captainbrosset! Let's keep figuring out naming and descriptions in https://github.com/web-platform-dx/web-features/issues/822. I'm not happy with all of the decisions we've made so far, but it's also quite hard to articulate guidelines that don't have any drawbacks...


tts: 0.2.1 -> 0.2.2

Motivation for this change
https://github.com/coqui-ai/TTS/releases/tag/v0.2.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

The failure in ARM is expected?

Result of nixpkgs-review pr 136943 run on x86_64-linux 1

1 package built:

tts

@AndersonTorres aarch64 fails due to pytorch, which has not been changed in this pr and is therefore a different issue.


DMA2D causes hard fault in lv_draw_stm32_dma2d_blend_fill() function

I found the problem with the lv_draw_stm32_dma2d_blend_fill() function. You need to add the following to the DMA2D configuration in the function to prevent the hard fault:
DMA2D->OPFCCR = LV_DMA2D_COLOR_FORMAT;
Dan

Thank you for pointing it out!
Could you send a pull request?

I see that being done here and a few other places in _lv_draw_stm32_dma2d_blend_fill. Is there a place where it was left out accidentally?

Oh I see, it's correct in LVGL release/v8.4 but not the submodule version of this port. Maybe we can use the latest version of v8.

Oh, nice! I think we should do this:

create a release/v8.4 branch
create the release/v9.0, release/v9.1, release/v9.2 branches. Hopefully in v9.2 we will have your new DMA2D driver.

I'll do it when testing this DMA2D of v9.


OCI nginx ingress controller http to https redirect doesn't work

I have installed nginx ingress controller through helm and at ingress service level we are not terminating SSL, SSL is terminated at nginx ingress controller (OCI LB).
I have used nginx.ingress.kubernetes.io/force-ssl-redirect: "true" but this didn't help

Hi @sureshkachwa, did you figure out how to solve this problem?


investigate browser support

let's test the live demo in force mode in various browsers, see if the images decode correctly, and fix anything that's broken!
desktop

[x] :heavy_check_mark: good — chrome 71
[x] :heavy_check_mark: good — firefox
[x] :heavy_check_mark: good — ie 11 — #11 fixed :dancer:
[x] :heavy_check_mark: good — edge 42 (edgehtml 17) — thanks @06Games
[ ] ??? — safari

mobile

[x] :heavy_check_mark: good — chrome
[x] :heavy_check_mark: good — ios safari
[ ] ??? — firefox

Tried your testing URL in IE11 with '?force' and got this error:
SCRIPT1003: Expected ':' const webpMachine = new webpHero.WebpMachine({webpSupport})
: is expected after 'webpSupport' on the above line.

@Lumbearjack — thank you for testing it in IE11 and letting me know, much appreciated!
i've added an npm script "polyfills" to package.json which generates webp-hero/dist/polyfills.js, restores support to IE11

the webp-hero consumer must opt-in to using polyfills.js, it's not included in webp-hero.bundle.js
the fix as merged with commit 6334019
the fix has been published to npm<EMAIL_ADDRESS>the fix has been deployed to the live demo https://chasemoskal.com/webp-hero/
changelog has been updated
readme instructions have been updated

let me know if you notice any more problems :beers:

the experience of running in nextjs app/server is that there is no satisfying the initial check for "document"
the code runs in the browser statically as expected.
testing on an iphone, the page crashed in safari and chrome, likely OOM.  howeever the developer im working with was able to manually integrate image-by-image react rendering for exported static content.
due to the presumed OOM, we just bit the bullet and added a jpg asset alongside the webp and the developer chose his favorite image-tag-workaround library.

fwiw, firefox 63 is available for download and excludes webp support.

confirmed it works on ios safari, tested with an ipad the other day

It works fine with EdgeHTML 17 (Edge 42).
Thank you for your library.

thanks @06Games, i've updated the list :+1: :+1:

First of all , @chase-moskal , thank you for this awesome package.
Regarding this situation of IE11, I'm using version v0.0.0-dev.24 of your package and I'm importing the "webp-hero/dist/polyfills.js" in my project but I'm still facing an issue with Async/Await. For some reason some functions aren't being transpiled.
export async function detectWebpSupport() {
    const testImageSources = [
        "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAACyAgCdASoCAAEALmk0mk0iIiIiIgBoSygABc6zbAAA/v56QAAAAA==",
        "data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="
    ];
    const testImage = (src) => {
        return new Promise((resolve, reject) => {
            var img = document.createElement("img");
            img.onerror = error => resolve(false);
            img.onload = () => resolve(true);
            img.src = src;
        });
    };
    const results = await Promise.all(testImageSources.map(testImage));
    return results.every(result => !!result);
}

I'm using your package in a VueCli 4 project and below you can see my main entry point of the project where I'm  importing the required files for the package to work.
import Vue from 'vue'
import App from './App.vue'
import router from './router'

import './assets/scss/app.scss'

require ('webp-hero/dist-cjs/polyfills.js')
import {WebpMachine} from "webp-hero"
const webpMachine = new WebpMachine()
webpMachine.polyfillDocument()

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

In attachment you can find the package.json, babel.config.js and .browserslistrc, but it's a standard configuration of a VueCli project
files.zip

@MacedoRAC sorry for my late reply
webp-hero/dist/** — target esnext — cutting edge es modules distribution
webp-hero/dist-cjs/** — target es5 — legacy-compatible commonjs modules
webp-hero/dist-cjs/webp-hero.bundle.js — browserify bundle, attaches webpHero global object to window

I'm still facing an issue with Async/Await. For some reason some functions aren't being transpiled.

see

dist/detect-webp-support.js (modern esm)
dist-cjs/detect-webp-support.js (transpiled for compatibility)

@MacedoRAC — i think you need to import from webp-hero/dist-cjs/ explicitly because your environment for some reason is defaulting to the es module distribution, not sure

@chase-moskal thank you very much for your help.
changing the import from
import {WebpMachine} from "webp-hero"

to
import {WebpMachine} from "webp-hero/dist-cjs"

actually did the trick.

Hello, is there anything I can do to help out?
I wanted to let the dev know that safari is actually getting webp support
https://developer.apple.com/documentation/safari-release-notes/safari-14-beta-release-notes
Might be handy to adjust the code for this change :)

@Macley-Kun hello! i have heard about safari introducing webp support, that's great
at this time, we're blocked on upgrading webp-hero until we can get the google libwebp build working, i got stuck on that task and had to abandon it to focus on other things...
we have some other open issues about it
but the plan generally, if i ever get around to it, is to

fix the google libwebp build (happens inside a docker container here in the webp-hero repo)
consider some refactors and incorporating features and fixes from various open issues
test all browsers with a tool like browserstack
publish a new stable version of webp-hero

it's possible that next month i might have some time to spare to dive into this, but if anybody's willing to contribute, the best i can do is provide pointers on discord or something on how to proceed
it's been awhile since i've attempted the libwebp build, so that problem may resolve itself if we try again with fresh versions of libwebp and emscripten

Sure np! I hope libwebp will work for ya in docker and that you can work on this wonderful project! Gl on it!

hello! i'm closing this issue as browser support is now mentioned in the readme
if you experience any issues in any browsers that matter to you, please open a new issue!
thanks everyone involved!


Device tracker works intermittently

So I been testing the device tracker with the android app and the minimum time setting is 15 minutes but sometimes it takes up to an hour or so to update the location. On the Android phone I disabled the battery saving settings

May be relates to #490

Closing ad duplicate of #490
Please follow #490 for updates.


Using Oro/File as field in an Entity

Hi everyone
I have an entity that contains file (OroAttachmentBundle:File) as a field. How can I config the mime types that it can accept?
This is my code
/**
* @var File
* @Assert\Valid()
* @ORM\ManyToOne(targetEntity="Oro\Bundle\AttachmentBundle\Entity\File", cascade={"persist"})
* @ORM\JoinColumn(name="file_id", referencedColumnName="id")
*/
protected $file;
Thanks in advance;
Farzam

Hi @fsabeti
You can add new mime types there and configure them in System -> Configuration -> Upload Settings

Thank you so much Mykhailo
I did that but the problem is not that. I have a problem in validator.
At this part of code:
$fieldConfigId = $entityAttachmentConfig->getId();
            if ($fieldConfigId->getFieldType() === 'file') {
                $configValue = 'upload_file_mime_types';
            } else {
                $configValue = 'upload_image_mime_types';
            }
           $mimeTypes = $this->getMimeArray($this->config->get('oro_attachment.' . $configValue));
it goes to ELSE blobk insted of IF block. I want to set fieldType to "file".
How should I do that?
Thanks in advance,
Farzam

Hi @fsabeti
I have tried this migration:
attachmentExtension = $attachmentExtension;
    }

    public function up(Schema $schema, QueryBag $queries)
    {
        $this->attachmentExtension->addFileRelation(
            $schema,
            'orocrm_call',
            'custom_file_attachment'
        );
    }
}

and further i have added custom_file_attachment to form type and twig template

I'm closing the issue because it has no activity. Feel free open it if you have any question.


Enable field inheritance for containers, add test, fixes #648

Do you also want to allow:
class ContainerA(Container):
    a = Field('a')
    great_field = Field(None)
class ContainerB(Container):
    a = Field('b')
    awesome_field = Field(None)
class ContainerC(ContainerA, ContainerB):
    c = Field(None)

???

I would, python does not.
Python does not allow inheritance from two classes who share the same base class

Ok. thanks

Seems fine to me, though so far we do not have containers inheriting from others since we used composition over inheritance, since they are supposed to be similar to database schema definitions,  but perhaps we will in the future (e.g it might be nice to have all containers that have an event_id and time to have a common base to avoid some duplication). In any case it should probably work sensibly.

One question: does this slow down construction much? e.g. does it make the concerns of #642  worse?

@kosack
This code runs once at class definition. (It is in the metaclass)


404 response (Keine geeignete Ressource gefunden) on upload

Hi,
so I get
Warning: Error: got 404 response (Keine geeignete Ressource gefunden) Use --force to continue.
on the upload try.
/sap/bc/adt is on - so bsp container creation, package association etc all works fine, except the file upload itself.
config:
"ABAP"       : {
	"server"      : "https://bla.org",
	"client"      : "100",
	"useStrictSSL": false,
	"ui5"         : {
	  "language"         : "DE",
	  "package"          : "ZYYY",
	  "bspcontainer"     : "ZXXX",
	  "bspcontainer_text": "some text",
	  "transportno"      : "ABCK900020",
	  "calc_appindex"    : true
	},
	"resources"   : {
	  "cwd": "./deploy/testing",
	  "src": "**/*"
	}
  }

grunt verbose output:
Running "nwabap_ui5uploader:default" (nwabap_ui5uploader) task
Verifying property nwabap_ui5uploader.default exists in config...OK
File: [no files]
Options: resources={"cwd":"deploy/testing","src":"**/*.*"}, conn={"server":"https://bla.org","client":"100","useStrictSSL":false}, auth={"user":"USR","pwd":"THEPWD"}, ui5={"language":"DE","package":"ZYYY","bspcontainer":"ZXXX","bspcontainer_text":"some text","transportno":"ABCK900020","calc_appindex":true}
Options: <snip - same as above>
Files: Component-preload.js,Component.js,controller/App.controller.js, <snip />
Artifacts to Sync:  [ { type: 'file',
    id: '/Component-preload.js',
    modif: 'update',
    levelCount: 1 },
  { type: 'file',
    id: '/Component.js',
    modif: 'update',
    levelCount: 1 },
  { type: 'file',
    id: '/controller/App.controller.js',
    modif: 'create',
    levelCount: 2 },
  <snip />
  { type: 'folder', id: '/i18n', modif: 'update', levelCount: 1 },
  { type: 'folder', id: '/lib', modif: 'update', levelCount: 1 },
  { type: 'folder', id: '/model', modif: 'update', levelCount: 1 },
  { type: 'folder', id: '/view', modif: 'update', levelCount: 1 } ]
Warning: Error: got 404 response (Keine geeignete Ressource gefunden) Use --force to continue.

environment:
macOS 10.13.1
node v8.7.0
grunt-nwabap-ui5uploader-0.2.0
Any idea what causes this? Tried running an ICF trace, but boy, too much ASCII.. :)

What NW Backend Version (incl. Patch level) you are using?

oh, ja, should have posted that in the first place: 7.50 SP7.
(SAP_BASIS	750	0007	SAPK-75007INSAPBASIS	SAP Basiskomponente)

digging in deeper: upload iva /UI5/UI5_REPOSITORY_LOAD works, same settings for bsp-container, app name and transportno as in the grunt task

Just tested. For me it works.
Maybe you can make a trace (the ASCII things should'nt be to confusing).
Comparing that thing with the UI5_REPOSITORY_LOAD is not really helpful, cause the thing works a little bit different :).
/sap/bc/adt (+ all sub-pathes) is enough cause all requests are done against /sap/bc/adt/filestore/ui5-bsp/objects.

debugging the grunt task, there seems to be something off in filestore.js:584ff.
when constructing the REST URI: the encoding of the first "/" looks odd (this corresponds to file "/controller/App.controller.js"):
https://server/sap/bc/adt/filestore/ui5-bsp/objects/ZXXX**%2**Fcontroller/content?type=file&isBinary=false&name=App.controller.js&devclass=%24TMP&charset=UTF-8

It is a "%2F" (escaped slash), not a "%2". That is necessary that the folder is interpreted correctly.
What about the blank spaces before and after the %2 in your provided URL. Are they added by you or is that the real generated URL (which I don't think)?

added the spaces for illustration purposes.
funny thing is that in my environment, the synchronisation for folders works (FileStore.syncFolder), for files (FileStore.syncFile) it doesn't.
will try different node versions and report back on that.

tried it with 6.12.0, 8.9.1, 9.2.0 - same 404 error.
next: will try with different network access path (currently via VPN) to exclude any reverse-proxy related issues.

urgh found it: the reverse proxy seems to mess up POST/PUT requests.
grunt task works fine if target NW system is accessed from the same LAN segments.
Sorry for causing effort here :( Closing this.
But still thanks for your hints!


Connect to SQL server

Unable to connect to SQL server.

Pretty sure this extension has no capability to connect to Sql Server. Despite the fact that the connection view shows "Connect to SQL server." It only connects to MySql and Postgress.


adding more platforms and archs

Pull Request Test Coverage Report for Build 940910478

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 92.141%

Files with Coverage Reduction
New Missed Lines
%

pkg/trace_stream_subscriber.go
2
96.0%

Totals

Change from base Build 940269349:
-0.1%

Covered Lines:
1700

Relevant Lines:
1845

💛  - Coveralls


No output when using watch

Expected behavior
(Duplicate of https://github.com/kubecolor/kubecolor/issues/107 but it's closed)
shows color
kubecolor get pods

doesn't show color:
watch --color kubecolor get pods

Package manager
Homebrew
What operating system are you running?
MacOS
Kubectl and kubecolor version
kubecolor --kubecolor-version
v0.4.0

kubectl version
Client Version: v1.31.1

Hello @luebken! Thanks for reporting this. Sadly, when running inside watch kubecolor can't figure out if the output has color support or not. What you have to do is to force it to use colors like so:
watch --color kubecolor get pods --force-colors

If you're making use of truecolor color codes in your themes then you can force kubecolor to use that (due to it falling back to basic ANSI when just specifying --force-colors, read more: https://kubecolor.github.io/usage/how-it-works/#dynamic-color-support):
watch --color kubecolor get pods --force-colors=truecolor

Going to close this as "Won't do" as we can't really do anything about this.


Move CI to arm-none-eabi-gcc to 5.4.1

I think we should move the arm-none-eabi toolchain to the same version as used with the Ubuntu 16.04 installation which is 5.4.1. Currently, it's still on 4.8.4, see https://travis-ci.org/PX4/Firmware/jobs/166972099#L449, and https://semaphoreci.com/px4/firmware/branches/master/builds/512.
The installation recommendation in the Devguide is 5.4.1 from the team-gcc-arm-embedded ppa.

That seems like quite a jump, but we might as well go for it. @LorenzMeier talked about 1.5 being a stable release before updating nuttx, etc. Should we play it safe for 1.5 and keep 4.8.4 for one last release?

How does this sound.
Note - I have not vetted gcc 5.4.1 on all SoC (M7 etal)
For the update of nuttx we will have to move to gcc 4.9.3.
So if the code is stable at 1.5 an and then the only change to gcc 4.9.3 and do a 1.5.1 release - that will reaffirm @dagar usage of 4.9.3 in flight.
Then 1.5.1 -> nuttx_v3 is just a OS and code change not a tool change.

That sounds good to me, I just think we need a working gdb.

Yep -I Use 4.8.4 gdb with 4.9.3. But it would be sweet to get to the bottom of the seg fault.

Is there another incremental 4.9 release we can try (with good packages)? It would be ideal to have gcc and gdb together given the manual install instructions.

@dagar if we have to vet something new with all the SoCs we could try the version that @julianoes is suggesting. But we would have to build all the targets in nuttx_v3 and test it on all the SoCs. That is a lot of regression testing and at the moment I am not able to do that.

So @bkueng and I both have used versions > 5.x.x for a while now (several months if I'm not mistaken) without issues. We have not flown it extensively but done all the bench testing with it.

@julianoes - that is good to know. Have either you or @bkueng built and tested all the target on nuttv_v3? Including the F7?
Would you please do a build and run 'make sizes;

I use gcc 5.2.0 for ARM and px4fmu-v4 and gcc 6.2.1 on the host, and havn't run into any problems so far. But I agree with @davids5 that we should be careful and switch only one at a time, not both compiler and OS version.
nuttx_v3 currently fails for me with:
px4io-v2/NuttX/nuttx-export/include/nuttx/fs/ioctl.h:374:27: error: "/*" within comment [-Werror=comment]
 /* see nuttx/include/modem/*.h */

For me that point is that we should match the Devguide to what we build and ship with CI. If the consensus is to use 4.8, 4.9, or any particular version, we should also reflect that in the Devguide.
I don't have a strong opinion or any knowledge of the difference, I just used it because it was in that repo and convenient.

@julianoes - got it!
@bkueng - hmm - is that a fresh pull and current Nuttx? There is a patch should be applied on older version that fixed that and on the latest it was fixed in upstream.
My "goto" script when switching from master to nuttx_v3 is
git submodule sync --recursive && git submodule update --init --recursive
from nuttx_v3 to master
rm -fr NuttX && git submodule sync --recursive && git submodule update --init --recursive
The rm NuttX is needed because the repo layout is different from old NuttX and the latest upstream that uses submodules.

@davids5 Thanks, that helped. Compiles fine now. make sizes:
   text    data     bss     dec     hex filename
 928072    4548    9828  942448   e6170 build_px4fmu-v1_default/src/firmware/nuttx/firmware_nuttx
1012068    4828   19644 1036540   fd0fc build_px4fmu-v2_default/src/firmware/nuttx/firmware_nuttx
1241732    5476   23588 1270796  13640c build_px4fmu-v4_default/src/firmware/nuttx/firmware_nuttx

 make px4nucleoF767ZI-v1_default fails however:
  File "/home/beat/px4/src/Firmware_nuttx_next/cmake/nuttx/bin_to_obj.py", line 52, in <module>
    locals())
  File "/home/beat/px4/src/Firmware_nuttx_next/cmake/nuttx/bin_to_obj.py", line 47, in run_cmd
    raise RuntimeError(stderr)
RuntimeError: Assembler messages:
Error: unknown cpu `cortex-m7'
Error: unrecognized option -mcpu=cortex-m7

I did some googling and the m7 error is a bug in gcc 5.2.0: https://bugs.archlinux.org/task/46951

@bkueng
Thank you!
LOL so much for for using the built-in package....
What do you feel our best option is?

Haha, true! Actually I'm using the built-in fedora package which also happens to be 5.2.0.
I think you can make the better call on this since you have far more experience than I have. In my opinion the risk of using a newer compiler is in that case not so high, as Julian and I have been using it (and some others as well), but we should at least do some testing for all supported platforms, so we could switch soon, and then focus on the nuttx upgrade which requires more in-depth testing.

@julianoes , @bkueng
It seems we are between as rock and a hardplace. I think we should try to determine the root cause of the fault in 4.9.3 gdb with our build. If it can be eliminated easily, then  we have a vetted solution in 4.9.3.
@LorenzMeier - What would like to see done here?
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977]

@dagar @julianoes, @bkueng
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715]
It builds F7 and Debugger works on F4 ! :)

Just to add as a reference here: I tested arm GCC 6.1.0 (which is in my testing repo) and after fixing some compiler Errors, I got this:

Pixracer aka fmu-v4 builds and seems to boot & run properly
Pixhawk aka fmu-v2 builds but gets stuck on boot with this output:

sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
WARN  [param] selected parameter default file /fs/mtd_params
rgbled on I2C bus 2 at 0x55 (bus: 100 KHz, max: 100 KHz)

@bkueng
Good data point. Will you be debugging it?
We should also add the make sizes from nuttx_v3 Makefile to master and the check targets to start getting bin file size data.

Would be an interesting task, but as it could end up being a much bigger task than expected, I don't plan to do it at the moment.

Understood. Please give me a link to the version of the compiler you are using or the --version output and I will take a look when time permits.

Here you go: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff04fe5b97
And the binary downloads:
http://koji.fedoraproject.org/koji/buildinfo?buildID=778715
http://koji.fedoraproject.org/koji/buildinfo?buildID=776054
http://koji.fedoraproject.org/koji/buildinfo?buildID=777227

yes


Daemon not responding yet net.OpError - Connection refused

Hey guys,
Great work here. Today I looked at the amazonec2 driver and used it against Eucalyptus. It works without any problem, I had to modify the driver to not have VPC mandatory because Eucalyptus currently does not have VPC support.
The thing that seems weird is when I create a machine it seems to always hung up on
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
I have to Ctrl+C this and if I then check it seems to be reportedly running just fine (not sure if it's ACTIVE though)
$ docker-machine_linux-amd64 ls
NAME                      ACTIVE   DRIVER      STATE     URL                         SWARM
docker-host-euca-jeevan            amazonec2   Running   tcp://<IP_ADDRESS>:2376
The complete debug output along with the parameters is shown below:
$ docker-machine_linux-amd64 -D create --driver amazonec2 --amazonec2-ami emi-544780e1 --amazonec2-access-key  --amazonec2-secret-key  --amazonec2-zone emea-az-01 --amazonec2-region eucalyptus --amazonec2-instance-type m1.large docker-host-euca-jeevan
Launching instance...
creating key pair: docker-host-euca-jeevan
configuring security group
found existing security group (docker-machine)
configuring security group authorization for <IP_ADDRESS>/0
launching instance
waiting for ip address to become available
Got the IP Address, it's "<IP_ADDRESS>"
created instance ID i-60771744, IP address <IP_ADDRESS>, Private IP address
Settings tags for instance
Getting to WaitForSSH function...
generating server cert: /home/jeevanullas/.docker/machine/machines/docker-host-euca-jeevan/server.pem ca-key=/home/jeevanullas/.docker/machine/certs/ca.pem private-key=/home/jeevanullas/.docker/machine/certs/ca-key.pem org=docker-host-euca-jeevan
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
Daemon not responding yet: %!(EXTRA *net.OpError=dial tcp <IP_ADDRESS>:2376: connection refused)
I could use the SSH private key and login to the instance. I found docker to be running and listening correctly on the right port. I tried doing a telnet from the same host where I created the machine from and it worked for port 2376.
I checked the security group and all looks good there as well.
GROUP	sg-402dda41<PHONE_NUMBER>45	docker-machine	Docker+Machine
PERMISSION<PHONE_NUMBER>45	docker-machine	ALLOWS	tcp	22	22	FROM	CIDR	<IP_ADDRESS>/0	ingress
PERMISSION<PHONE_NUMBER>45	docker-machine	ALLOWS	tcp	2376	2376	FROM	CIDR	<IP_ADDRESS>/0	ingress
$ ssh -i id_rsa<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is 9a:85:76:69:c3:82:c8:d8:f3:71:24:24:fa:ae:55:ad.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)

Documentation:  https://help.ubuntu.com/

System information as of Tue May  5 10:48:05 UTC 2015
System load:  0.9               Processes:              116
Usage of /:   65.7% of 2.11GB   Users logged in:        1
Memory usage: 22%               IP address for eth0:    <IP_ADDRESS>
Swap usage:   0%                IP address for docker0: <IP_ADDRESS>
Graph this data and manage this system at:
https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
*** System restart required ***
Last login: Tue May  5 10:45:17 2015 from
ubuntu@docker-host-euca-jeevan:~$ sudo su -
root@docker-host-euca-jeevan:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      1051/sshd
tcp6       0      0 :::22                   :::*                    LISTEN      1051/sshd
tcp6       0      0 :::2376                 :::*                    LISTEN      29947/docker
udp        0      0 <IP_ADDRESS>:36472           <IP_ADDRESS>:*                           557/dhclient
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           557/dhclient
udp6       0      0 :::34284                :::*                                557/dhclient
root@docker-host-euca-jeevan:~# ps aux | grep docker
root     29947  0.1  2.0<PHONE_NUMBER>8 ?
Connected to <IP_ADDRESS>.
Escape character is '^]'.
quit
Connection closed by foreign host.
Is it because the instance needs a reboot or the service is listening on an IPv6 address? Any thoughts on how to proceed further are really appreciated.
Version of docker machine:
$ docker-machine_linux-amd64 -v
docker-machine_linux-amd64 version 0.2.0 (e4b6ff1)
Cheers,
Deependra

Docker daemon log file on the instance looks good as well
cat /var/log/upstart/docker.log
Waiting for /var/run/docker.sock
INFO[0000] +job init_networkdriver()
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
/var/run/docker.sock is up
INFO[0000] -job init_networkdriver() = OK (0)
WARN[0000] Your kernel does not support cgroup swap limit.
INFO[0000] Loading containers: start.
INFO[0000] Loading containers: done.
INFO[0000] docker daemon: 1.6.0 4749651; execdriver: native-0.2; graphdriver: aufs
INFO[0000] +job acceptconnections()
INFO[0000] -job acceptconnections() = OK (0)
INFO[0000] Daemon has completed initialization
INFO[0004] GET /v1.18/version
INFO[0004] +job version()
INFO[0004] -job version() = OK (0)
INFO[0008] GET /v1.18/version
INFO[0008] +job version()
INFO[0008] -job version() = OK (0)
INFO[0015] Received signal 'terminated', starting shutdown of docker...
INFO[0015] -job serveapi(unix:///var/run/docker.sock) = OK (0)
INFO[0000] +job init_networkdriver()
INFO[0000] +job serveapi(tcp://<IP_ADDRESS>:2376, unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on tcp (<IP_ADDRESS>:2376)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] -job init_networkdriver() = OK (0)
WARN[0000] Your kernel does not support cgroup swap limit.
INFO[0000] Loading containers: start.
INFO[0000] Loading containers: done.
INFO[0000] docker daemon: 1.6.0 4749651; execdriver: native-0.2; graphdriver: aufs
INFO[0000] +job acceptconnections()
INFO[0000] -job acceptconnections() = OK (0)
INFO[0000] Daemon has completed initialization
INFO[0112] Received signal 'terminated', starting shutdown of docker...
INFO[0112] -job serveapi(tcp://<IP_ADDRESS>:2376, unix:///var/run/docker.sock) = OK (0)
INFO[0000] +job serveapi(tcp://<IP_ADDRESS>:2376, unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on tcp (<IP_ADDRESS>:2376)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
INFO[0000] -job init_networkdriver() = OK (0)
WARN[0001] Your kernel does not support cgroup swap limit.
INFO[0001] Loading containers: start.
INFO[0001] Loading containers: done.
INFO[0001] docker daemon: 1.6.0 4749651; execdriver: native-0.2; graphdriver: aufs
INFO[0001] +job acceptconnections()
INFO[0001] -job acceptconnections() = OK (0)
INFO[0001] Daemon has completed initialization
I tried by rebooting the instance but no luck.

The issue seems to be that Machine is attempting to dial <IP_ADDRESS>:2376, instead of <IP_ADDRESS> (the public IP address).  I wonder why.

Actually, <IP_ADDRESS> is the public IP of the instance in this case.

Coming back at it. I modified the placement of this line here:
https://github.com/docker/machine/blob/master/drivers/amazonec2/amazonec2.go#L399
And moved it up a bit before the IP address check kicks in. This way we always get the public IP address , note that in Eucalyptus when the instance is kicked off it takes at-least 5 seconds before a public IP gets on to it.
But I still continue to face issue with the connection. I found out that telnet does not work. My bad. I did telnet earlier from the same host as the instance and did work but if I try it out from outside the instance it does not work.
This brought me back to ipv6 issue. It appears that the docker daemon listen on tcp6 but can accept connection on ipv4 and ipv6 both (netstat output can be misleading?). Some useful links I found but got no further help on this and I am still stuck:
http://gesellix.net/docker-and-ipv6-on-ubuntu-13-10-saucy-salamander/
https://github.com/docker/docker/issues/2174
Hope this is useful information. Let me know if you want me to contribute the pull request as mentioned above for the IP address thing. Cheers,

Looks like the changes I did were launching the instance in default security group instead of the docker-machine security group. Fixed this and now everything works like a charm. Closing this issue down.
Thank you!


[14.0.x] ISPN-14760 Infinispan thirdparty integration tests failure with JDK17

https://issues.redhat.com/browse/ISPN-14760
Backport of #10800

Merged, thanks


mesa: 18.2.3 -> 18.2.4

bug-fix release:
https://www.mesa3d.org/relnotes/18.2.4.html
Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

Timed out, unknown build status on x86_64-linux (full log)
Attempted: mesa
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/yinlzvw6az2daa5995h6cdricpqzzk6b-libvdpau-1.1.1/lib
patching script interpreter paths in /nix/store/yinlzvw6az2daa5995h6cdricpqzzk6b-libvdpau-1.1.1
checking for references to /build in /nix/store/yinlzvw6az2daa5995h6cdricpqzzk6b-libvdpau-1.1.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/d9a40jp3cc4s4ifcvvb3ggfwvh7nn2cn-libvdpau-1.1.1-dev
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d9a40jp3cc4s4ifcvvb3ggfwvh7nn2cn-libvdpau-1.1.1-dev/lib
patching script interpreter paths in /nix/store/d9a40jp3cc4s4ifcvvb3ggfwvh7nn2cn-libvdpau-1.1.1-dev
checking for references to /build in /nix/store/d9a40jp3cc4s4ifcvvb3ggfwvh7nn2cn-libvdpau-1.1.1-dev...
cannot build derivation '/nix/store/9y4gygmhxwnkyvq55wmnln9zf3n1xfc8-mesa-noglu-18.2.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9y4gygmhxwnkyvq55wmnln9zf3n1xfc8-mesa-noglu-18.2.4.drv' failed

@dtzWill this release has the cache fix

util: Change remaining uint32 cache ids to sha1

so we should be able to remove our patch, but it's not going to cause any harm as long as there are no conflicts.


Move as much configurations as possible to IConfiguration

Is your feature request related to a problem? Please describe.

Mongo connection string (MONGO_CON_STRING) and Discord Bot's Token (BOT_TOKEN) are retrieved using environment variables, this forces developers to change launchSettings.json file to provide their own values during debugging and, therefore, exposingn them to the risk of pushing sensitive data in the repository.
Kinda the same happens for BotId and PublicKey (Constants.cs file), but those are not really sensitive data and will mutate very rarely.
Describe the solution you'd like
Retrieve MONGO_CON_STRING and BOT_TOKEN variables from IConfiguration object. This would be transparent for those who retrieves data from environment variables, but would enable the use of both appSettings.json file and userSecrets.json file (which are local, encrypted and not versioned in GIT, so perfectly suits storing sensitive datas like connection strings and bot token).

Btw, I think that the secret manager should be used for tokens and connection strings. https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-6.0&tabs=windows

It was not very clear, but yes, I was suggesting using Secrets Manager! Anyway, I have a draft on this branch, check it out if you prefer: https://github.com/federinik/Discord-Bot-Template/tree/feature/configs


[Addon] Allow velaux use traefik ingress

Description of your changes

How has this code been tested?

Checklist

I have:

[x] Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
[ ] Updated/Added any relevant documentation and examples.
[ ] Update addon should modify the version in metadata.yaml to generate a new version.

Let's hold this until next release.


Support mixed children test types in test suites

In the latest Xcode build tools 15.1 and iOS 17.0.1 versions we've been randomly getting some "dangling" test data, meaning they are in a test group a level higher than they should be. This causes the HTML report tool to end early resulting in many missing tests because it assumes since there is a child test there can't be a child test group.
This changes handles the bad data better by checking all children regardless of their type. We'll reach out to Apple support to see if they are already aware of the issue but for now this unblocks us.
I ran the unit tests and manually ran reports on known good and bad data. There is no difference to users not experiencing the issue.

Thank you @kevin-brotcke ! I'll get a release published with this shortly.
If you hear back from Apple please let us know in a new issue or discussion topic!


username/password authentication method broken, results in "bad credentials" error

Describe the bug
I have compiled a recent dev-version of Librelspot (3rd Sep., build with --release) and tried to authenticate with username and password. As a result I get an error "Login failed with reason: Bad credentials". This happens with blocking "https://apresolve.spotify.com" as well as without blocking "https://apresolve.spotify.com", see log below. This is also seen on related projects, e.g. here:
https://github.com/librespot-org/librespot-java/issues/921
To reproduce
Steps to reproduce the behavior:

Launch librespot with ./librespot --system-cache ./cache --username my_username --password my_password --verbose

Log
Without blocked "https://apresolve.spotify.com":
[2024-09-07T21:14:48Z INFO  librespot] librespot 0.5.0-dev VERGEN_IDEMPOTENT_OUTPUT (Built on 2024-09-03, Build ID: upyelh1p, Profile: release)
[2024-09-07T21:14:48Z TRACE librespot] Command line argument(s):
[2024-09-07T21:14:48Z TRACE librespot] 		system-cache "./cache"
[2024-09-07T21:14:48Z TRACE librespot] 		username "XXXXXXXX"
[2024-09-07T21:14:48Z TRACE librespot] 		password "XXXXXXXX"
[2024-09-07T21:14:48Z TRACE librespot] 		verbose
[2024-09-07T21:14:48Z DEBUG librespot_core::session] new Session
[2024-09-07T21:14:48Z DEBUG librespot_discovery::server] Zeroconf server listening on <IP_ADDRESS>:40595
[2024-09-07T21:14:48Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2024-09-07T21:14:48Z DEBUG librespot_connect::spirc] new Spirc[0]
[2024-09-07T21:14:48Z DEBUG librespot::component] new MercuryManager
[2024-09-07T21:14:48Z DEBUG librespot::component] new ApResolver
[2024-09-07T21:14:48Z DEBUG librespot_playback::player] new Player [0]
[2024-09-07T21:14:48Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
[2024-09-07T21:14:48Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
[2024-09-07T21:14:48Z INFO  librespot_playback::audio_backend::rodio] Using Rodio sink with format S16 and cpal host: ALSA
[2024-09-07T21:14:48Z INFO  librespot_playback::audio_backend::rodio] Using audio device: default
[2024-09-07T21:14:48Z DEBUG librespot_playback::audio_backend::rodio] Rodio sink was created
[2024-09-07T21:14:48Z INFO  librespot_core::session] Connecting to AP "ap2-gew4.spotify.com:4070"
[2024-09-07T21:14:48Z ERROR librespot] could not initialize spirc: Permission denied { Login failed with reason: Bad credentials }
With blocked "https://apresolve.spotify.com":
[2024-09-08T08:25:24Z INFO  librespot] librespot 0.5.0-dev VERGEN_IDEMPOTENT_OUTPUT (Built on 2024-09-03, Build ID: upyelh1p, Profile: release)
[2024-09-08T08:25:24Z TRACE librespot] Command line argument(s):
[2024-09-08T08:25:24Z TRACE librespot] 		system-cache "./cache"
[2024-09-08T08:25:24Z TRACE librespot] 		username "XXXXXXXX"
[2024-09-08T08:25:24Z TRACE librespot] 		password "XXXXXXXX"
[2024-09-08T08:25:24Z TRACE librespot] 		verbose
[2024-09-08T08:25:24Z DEBUG librespot_core::session] new Session
[2024-09-08T08:25:24Z DEBUG librespot_discovery::server] Zeroconf server listening on <IP_ADDRESS>:39319
[2024-09-08T08:25:24Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2024-09-08T08:25:24Z DEBUG librespot_connect::spirc] new Spirc[0]
[2024-09-08T08:25:24Z DEBUG librespot::component] new MercuryManager
[2024-09-08T08:25:24Z DEBUG librespot::component] new ApResolver
[2024-09-08T08:25:24Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
[2024-09-08T08:25:24Z DEBUG librespot_playback::player] new Player [0]
[2024-09-08T08:25:24Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
[2024-09-08T08:25:24Z INFO  librespot_playback::audio_backend::rodio] Using Rodio sink with format S16 and cpal host: ALSA
[2024-09-08T08:25:24Z INFO  librespot_playback::audio_backend::rodio] Using audio device: default
[2024-09-08T08:25:24Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
[2024-09-08T08:25:24Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
[2024-09-08T08:25:24Z INFO  librespot_core::session] Connecting to AP "ap.spotify.com:443"
[2024-09-08T08:25:24Z DEBUG librespot_playback::audio_backend::rodio] Rodio sink was created
[2024-09-08T08:25:24Z ERROR librespot] could not initialize spirc: Permission denied { Login failed with reason: Bad credentials }
Host (what you are running librespot on):

OS: Linux

Spotify has officially announced that they're no longer supporting authentication using username/password. See https://github.com/librespot-org/librespot/issues/1308#issuecomment-2276196094

Duplicate of #1308


⚠ ClamAV has degraded performance

In 12d35b0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 99 ms

Resolved: ClamAV performance has improved in fac66e8.


Test simplifier idempotence

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock

I'm going to close this because we haven't worked on it in awhile.


Can't load zone UI in the App and Webinterface

I really like the concept of this plugin and want to thank you for it!
I installed it and got in working in the way that the zone shows artist and title. But after clicking it, the interfaces does not open and keeps hanging on the loading-screen. I see those kind of errors in the Chrome Developer Console:

<IP_ADDRESS> is the miniserver.
<IP_ADDRESS> is the loxberry.
My plugin settings

Music servers: 1
Music Server 1 is located in port 6091:
Zones: 2
Send to miniserver as virtual inputs/outputs: checked
IPs to send messages (comma separated list): <IP_ADDRESS>

Aside of that I have trouble receiving the UDP messages in Loxone. Receiving port seems to be correct and sending those kind of messages via bash works from the loxberry.
Any ideas what I could check next?

I would like to find out whether the problem is, that the minsierver tries to retrieve data from port 7091 or whether the problem is, that the loxberry is not listening on this port:
root@loxberry:~# netstat -lntup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:139             <IP_ADDRESS>:*               LISTEN      830/smbd
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      1/init
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      807/sshd
tcp        0      0 <IP_ADDRESS>:445             <IP_ADDRESS>:*               LISTEN      830/smbd
tcp6       0      0 :::6090                 :::*                    LISTEN      988/node
tcp6       0      0 :::6091                 :::*                    LISTEN      988/node
tcp6       0      0 :::139                  :::*                    LISTEN      830/smbd
tcp6       0      0 :::111                  :::*                    LISTEN      1/init
tcp6       0      0 :::80                   :::*                    LISTEN      821/apache2
tcp6       0      0 :::21                   :::*                    LISTEN      815/vsftpd
tcp6       0      0 :::22                   :::*                    LISTEN      807/sshd
tcp6       0      0 :::445                  :::*                    LISTEN      830/smbd
udp        0      0 <IP_ADDRESS>:1900            <IP_ADDRESS>:*                           970/perl
udp        0      0 <IP_ADDRESS>:50601           <IP_ADDRESS>:*                           970/perl
udp        0      0 <IP_ADDRESS>:6091            <IP_ADDRESS>:*                           988/node
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           583/dhclient
udp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*                           1/init
udp        0      0 <IP_ADDRESS>:137       <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:137         <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:137             <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:138       <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:138         <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:138             <IP_ADDRESS>:*                           791/nmbd
udp        0      0 <IP_ADDRESS>:58514           <IP_ADDRESS>:*                           406/avahi-daemon: r
udp        0      0 <IP_ADDRESS>:5353            <IP_ADDRESS>:*                           406/avahi-daemon: r
udp6       0      0 :::49166                :::*                                406/avahi-daemon: r
udp6       0      0 :::111                  :::*                                1/init
udp6       0      0 :::5353                 :::*                                406/avahi-daemon: r

Had the same problem
After installed: https://github.com/mjesun/loxberry-music-server-gateway everyhting was working

Had the same problem
After installed: https://github.com/mjesun/loxberry-music-server-gateway everyhting was working


Update the Telegram section

Done following @ilyabirman’s suggestions.

Change the example text to “Check this out”
Move the section before the Pinterest one

The updated Readme can be seen here: https://github.com/iamakulov/Likely/tree/iamakulov-patch-1

Ilya approved.


Support harbor version 2.0

In harbor 2.0, we enable the TLS between harbor components

Hi is there any progress here?

work has been done, close this issue now.


ObsidianSearch gives error that fzf.vim can not be found.

🐛 Describe the bug
When I run :ObsidianSearch with fzf.vim configured I get below error. I know it's working because I have a custom fzf-function in my config.
[Obsidian] ...l/share/nvim/plugged/obsidian.nvim/lua/obsidian/util.lua:473: Either telescope.nvim or fzf-lua or fzf.vim is required for :ObsidianSearch command

Versions
$ nvim --version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

$ nvim --headless -c 'lua print("Obsidian v" .. require("obsidian").VERSION)' -c q
Obsidian v1.15.0

Hey @FilipHarald, I have not been able to reproduce this. Could you try some debugging? The relevant part of the code is here: https://github.com/epwalsh/obsidian.nvim/blob/bda04549f26a192f2167c56d2e2e52b30141adea/lua/obsidian/command.lua#L249-L264
There must be an error happening in that block which gets swallowed since the function is wrapped in a pcall(...).

Ok, never mind, I can reproduce it now. The real error is:
Error  15:19:33 msg_show.lua_error Error executing Lua callback: ...ithub.com/epwalsh/obsidian.nvim/lua/obsidian/command.lua:259: function fzf#vim#with_preview[51]..<SNR>103_escape_for_bash, line 2: Vim(return):E117: Unknown function: fzf#shellescape
stack traceback:
	[C]: in function 'nvim_call_function'
	...ithub.com/epwalsh/obsidian.nvim/lua/obsidian/command.lua:259: in function '_run_with_finder_backend'
	...ithub.com/epwalsh/obsidian.nvim/lua/obsidian/command.lua:210: in function 'func'
	...ithub.com/epwalsh/obsidian.nvim/lua/obsidian/command.lua:719: in function <...ithub.com/epwalsh/obsidian.nvim/lua/obsidian/command.lua:718>

#224 should fix and help surface these errors better in the future.

I just tested it and it works :+1:
Thank you!


Add --help documentation

This is a neat tool, I'm using it to help test an MFA implementation, so I end up having a lot of throw-away codes that otherwise clutter up my authenticator app on my phone. Thank you for your work on it :)
One small thing I noticed:
Running --help yields:
$ totp-cli --help
Usage of totp-cli:

(this is on ubuntu jammy).
It'd be nice if this could alias to totp-cli help and print the same output, since --help is more standard/familiar, I think.

When I created the library used for the cli interface, I did not add global flags intentionally. They can be useful, but I tried to go with no global functions to see how it works as an experiment. As a result the main command can't have --help flag, that's why totp-cli help is there.
There is an issue to move from my cli interface to use others like urfave, but until it's done, this can't be closed. Of course I can add this extra feature to go-commander, but that feels wasted efforts.

Blocked on https://github.com/yitsushi/totp-cli/issues/39

Fixed :tada:
❯ totp-cli --help
NAME:
   totp-cli - Authy/Google Authenticator like TOTP CLI tool written in Go.

USAGE:
   totp-cli [global options] command [command options] [arguments...]

VERSION:
   v1.4.0

AUTHOR:
   Efertone<EMAIL_ADDRESS>
COMMANDS:
   add-token, add   Add new token.
   change-password  Change password.
   delete           Delete an account or a whole namespace.
   dump             Dump all available accounts under all namespaces.
   generate, g      Generate a specific OTP
   import           Import tokens from a yaml file.
   instant          Generate an OTP from TOTP_TOKEN or stdin without the Storage backend.
   list             List all available namespaces or accounts under a namespace.
   set-prefix       Set prefix for a token.
   update           Check and update totp-cli itself
   help, h          Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version


Delegate for menu opened/closed?

How can I listen to an event when menu was closed or opened? I can't even find in code some bool like isOpened or something like that. I have a bar button item, which opens or closes menu (also I have pan gesture) and I want to display different image when menu is closed and opened.

You can test the position of the frontViewController (property frontViewPosition). Also you can implement the delegate method to be informed when the position change :
// The following delegate methods will be called before and after the front view moves to a position

(void)revealController:(SWRevealViewController *)revealController willMoveToPosition:(FrontViewPosition)position;
(void)revealController:(SWRevealViewController *)revealController didMoveToPosition:(FrontViewPosition)position;

Great! Thanks for help!
Here's my code:
func revealController(revealController: SWRevealViewController!, willMoveToPosition position: FrontViewPosition) {
        switch(position){
        case FrontViewPosition.LeftSideMostRemoved:
            print("LeftSideMostRemoved")
            // Left most position, front view is presented left-offseted by rightViewRevealWidth+rigthViewRevealOverdraw

        case FrontViewPosition.LeftSideMost:
            print("LeftSideMost")
            // Left position, front view is presented left-offseted by rightViewRevealWidth

        case FrontViewPosition.LeftSide:
            print("LeftSide")

            // Center position, rear view is hidden behind front controller
        case FrontViewPosition.Left:
            print("Left")
            //Closed
            //0 rotation

            let menuButtonView = menuButton.valueForKey("view") as! UIView
            menuButtonView.transform = CGAffineTransformMakeRotation(CGFloat(0))

            // Right possition, front view is presented right-offseted by rearViewRevealWidth
        case FrontViewPosition.Right:
            print("Right")
            //Opened
            //rotated

            let menuButtonView = menuButton.valueForKey("view") as! UIView
            menuButtonView.transform = CGAffineTransformMakeRotation(CGFloat(M_PI_2))

            // Right most possition, front view is presented right-offseted by rearViewRevealWidth+rearViewRevealOverdraw

        case FrontViewPosition.RightMost:
            print("RightMost")
            // Front controller is removed from view. Animated transitioning from this state will cause the same
            // effect than animating from FrontViewPositionRightMost. Use this instead of FrontViewPositionRightMost when
            // you intent to remove the front controller view from the view hierarchy.

        case FrontViewPosition.RightMostRemoved:
            print("RightMostRemoved")

        }
    }

Hi How I can call the above method I need to change the Menu Button Icon when it is touched or menuView is opened
thank you

@kanumuri9593 the above method (delegate method) is called by SW when you adopt SWRevealViewControllerDelegate protocol.

Thanks for the response Is there a way to animate the menu icon during the swipe?

Yes I think so. Could you explain what you want to do?

can I change the menu icon  into a left arrow with transformation if possible?

You have the code above from @piotrros to do this


Add support for being able to highlight selections

There are two parts to this (separating the VisPy part from the Glue part)

We need to make sure the VisPy Qt widget can be passed a 3-d mask which indicates a selection, and have the VisPy viewer show that selection.

We need to update the Glue data viewer part to listen for messages relating to subsets and ask the VisPy Qt widget to show these (I've started to explain this here: http://www.glueviz.org/en/stable/customizing_guide/full_custom_qt_viewer.html#setting-up-a-client).

I can volunteer to help with the second bullet point.

I would like to help with the first point.

For the first point, basically I think a good first step would be to add a method to the VisPy widget so that one can do:
   my_widget.set_subset(array)

where array is a boolean array that indicates which values belong in the subset, and it would show that subset. Then we can easily connect it from the Glue side (which I can do). Does this make sense?

Yeah, this sounds great.
Maybe we can first add a simple polygon 3d selection to vispy ( I can do it if needed) and return a subset to glue. Then optimize the selection method with some more advices.
I cannot find an advanced selection method from the existing examples of Vispy so we might have to be creative on it.

@PennyQ - I think the 3-d selection will be harder, which is why I was suggesting that first we could just find a way to highlight selections (made in other viewers), but I'll leave it up to you to decide which to do first :)


High CPU usage

I've tested plugin with samples from gltf khronos repository and I got QuickLook service running all the time at 50% of CPU, even if QuickLook already closed.

Thank you for your report!
Do you remember which model did you try?
Does it happen every time?

It happened to me either when I repeatedly opened and closed QuickLook.
Each time I open a QuickLook window, the number of QuickLookUIService threads increases.
It seems that QuickLook forgot to stop SceneKit threads.
I filed this bug to Apple Bug Reporter.
I'll let you know when I get any response.

The bug report I had sent was marked as duplicate of 34946387.
I couldn't find it at Open Radar, but I believe they are working on this problem.

Does QuickLook has any API which notifies when it closed?
Hm, check this one, it's has topic about thread safety.
https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/Articles/QLImplementationOverview.html#//apple_ref/doc/uid/TP40005020-CH6-SW5

It's difficult to control the thread's life cycle, because the thread is produced by SceneKit.qlgenerator.
What GLTFQuickLook does is to convert gltf data into scn data, and give back the data to QuickLook service.
And SceneKit.qlgenerator will receive the data and show it.
The bug I reported is about showing QuickLook of scn files, and I think it's difficult to fix the problem from this plugin.


Dns seeds not working

This is caused by dns resolving times out and this is because it tries to resolve via <IP_ADDRESS>
Options:

Possible solution:
Use http://proot.me/ a user space chroot mechanism and setup /etc/resolv.conf or /etc/hosts

Faster/hacky solution:
Use glibc HOSTALIASES env var to pass an arbitrary hosts file ( http://man7.org/linux/man-pages/man3/gethostbyname.3.html )

Either way if the hosts file is used it needs to be generated at run time by resolving the dns servers just before starting the node

Preferred solution: reimplement it properly:
Compile Core using the Android NDK, this should reduce the binary size (and it's dependencies) but it will require building and hosting various architectures just for Android.

This was fixed with a native NDK build, aka solution 3. Closing.