404 Not Found - Selfmade Error

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
Hi,
so I'am not sure whether it's a bug or not but I found a specific problem in yt-dlp sending default request paramters.In some +/- cases I got that 404 not found response error from yt-dlp when trying to check some URLs and other tools or manually sending requests was working.I thought already that the problem must be the used yt-dlp sending paramters in the header.I wanted to know what parameter yt-dlp does send but there is no command anymore to let output the entire debug log with all info what means I don't get any infos about request / response from yt-dlp itself to see (just add this please).Now I was using a HTTP toolkit to get those infos logged when using yt-dlp and now I found also the problem for that 404 error.
YT does send this: accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Problem: accept: text/html
Some sites seems to reject this "text/html" paramter when you send it which then results into 404 error.
Solution: Just remove the specific "text/html" paramter.
So as user I can bypass this problem successfully by setting it manually...
--add-header "Accept:*/*"
...to overwrite the default used paramter.
Just wanted to post that info also for all others who having the same trouble.
Verbose log
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 4.0.1, ffprobe 4.0.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] [generic] Extracting URL: https://......
[generic]<PHONE_NUMBER>jgjvp: Requesting header
WARNING: [generic] Could not send HEAD request to https://......: HTTP Error 404: Not Found
[generic]<PHONE_NUMBER>jgjvp: Downloading webpage
ERROR: [generic] Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "yt_dlp\extractor\common.py", line 730, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3558, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default

I wanted to know what parameter yt-dlp does send but there is no command anymore to let output the entire debug log with all info what means I don't get any infos about request / response from yt-dlp itself to see (just add this please).

--print-traffic

Some sites seems to reject this "text/html" paramter when you send it which then results into 404 error.

And some supported sites may reject the request without it. This cannot be changed in general.
While you redacted the specific site from the logs, I can see that it is not a supported site. So you will have to pass the headers manually. Or, you can create a site request for it


Cannot run

(node:1523) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'number' of undefined
    at run (/home/runner/work/_actions/zattoo/output/v1/dist/index.js:7383:53)
    at Object.676 (/home/runner/work/_actions/zattoo/output/v1/dist/index.js:7445:1)
    at __webpack_require__ (/home/runner/work/_actions/zattoo/output/v1/dist/index.js:24:31)
    at startup (/home/runner/work/_actions/zattoo/output/v1/dist/index.js:43:19)
    at /home/runner/work/_actions/zattoo/output/v1/dist/index.js:47:18
    at Object.<anonymous> (/home/runner/work/_actions/zattoo/output/v1/dist/index.js:50:10)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
(node:1523) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1523) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

name: Do things
on: push
jobs:
  job1:
    runs-on: ubuntu-latest
    outputs:
      url: ${{ steps.step1.outputs.url }} # map step output to job output
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - uses: zattoo/output@v1
        with:
          token: ${{github.token}}
          sources: 'test/HELLO_WORLD.md'

The action only works in pull requests, if is triggered on: push there is no PR comment to modify.
on:
  pull_request:
    types: [
        opened,
        ready_for_review,
        reopened,
        synchronize,
    ]
    branches:
      - hotfix
      - master

Ok, is there something else that i've missed ?
Run jdvr/action-add-comment@main
  with:
    comment: Current build $BUILD_NUMBER has passed ✅
  env:
    BUILD_NUMBER: 1234
    GITHUB_TOKEN: {{ secrets.GITHUB_TOKEN }}
running with Current build $BUILD_NUMBER has passed ✅
Error: This action must run only on PR triggered workflows
Error: TypeError: Cannot read property 'number' of undefined

That's under pull request:
https://github.com/shafr/test/pull/1

Ok, maybe it's messing up data between steps & my echo does not work properly from previous step:
      - name: Echo file
        run: echo "test<PHONE_NUMBER>" >> file.md
      - uses: zattoo/output@v1
        with:
          token:  ${{github.token}}
          sources: 'file.md'

Anyway, even if i'm referencing path dimi/HELLO_WORLD.md there's no data.

@saikek create a secret ACTIONS_STEP_DEBUG on the repo and set it to true.
The logs will then include debugging output. (Reference documentation.)


Add --error-on-fail flag to exit with error code when test suite failed

We've hooked spook up to perform integration tests on CircleCI for pull requests. Unfortunately, while the test suite runs successfully, spook doesn't have a way to expose whether the suite passed or failed. To enable this without breaking legacy installations, I added an --error-on-fail flag which, if set, will exit 1 in the event of failed tests. If you have a better solution that I should use, just let me know.

:+1:

@diffsky If this requires any other work to merge I'd be happy to do so.

@joshuafcole looks good. I'm out of the country at the moment and had reduced access to the interwebs.  I'll try and get this merged in.

Ah sorry about that, and thanks!
On Fri, Sep 18, 2015 at 12:22 PM, Matthew Hadley<EMAIL_ADDRESS>wrote:

Merged #6 https://github.com/creativelive/spook/pull/6.
—
Reply to this email directly or view it on GitHub
https://github.com/creativelive/spook/pull/6#event-413555657.

no worries, all done.
$ npm publish
+<EMAIL_ADDRESS>


Improve Weave Net docs for Kubernetes

A few suggestions:

In the installation part mention how to use Weave Net with kops.
Mention limitations of NPC: no ipBlock support in policyTypeIngress, cases when traffic is allowed (#3285).
Mention known problems: minikube, vxlan kernel panic on 4.14 with links to GH issues, etc (check open GH issues).
Explain how the reclaim mechanism works.

Probably more.

Start the troubleshooting part with "is it running at all"

CrashLoop -> get the weave container logs
ContainerCreating -> get the kubelet logs


Overlay text being cut off on Android device

Using a moto g 5 play, Android 7.1.1. Need to be more responsive for devices with different aspect ratios?

Looking ok right now, but let's test on some devices.


[WIP] CUDA api error check and correct invalid API calling

This is similar to #112. This change inserts return value check for all CUDA API calls.

There are some memory leaks. Log of cuda-memcheck is here.
https://gist.github.com/syohex/ec06cc13aab79366c8ed


add ability for mods to reject a post up for approval

-Add another reaction to user submissions with the ❌ emoji
-Clicking it as a mod removes the ReactionCollector and all emojis added by the bot (including the ❌ added by the mod)

Implemented with d01fd73dcd2fd8657f7affce44ddf44cefa274d0

Verified on prod


Intezer-Analyze short-circuit download

Is your feature request related to a problem? Please describe.
Intezer counts download-file actions against a user's quota. See: https://support.intezer.com/hc/en-us/articles/360021366619-How-is-Your-Analysis-Quota-Calculated
Describe the solution you'd like
To prevent un-necessary API hits against Intezer and depletion of the user's quota, I propose that when the assemblyline intezer service is processing sub-analyses, that it look in the AL holdings before trying to download the file from Intezer.
Describe alternatives you've considered
Setting the config download_subfiles=False also prevents the quota from being used this way, but further analysis of the extracted files does not happen in this case.

Would you know, for your Intezer use-case, if you have the subfiles by hash?
Allowing a service to request another file is on our roadmap. For the moment, we are looking at adding requesting by hash (sha256, sha1, md5), or by display name based on the names in the current submission.
I believe Intezer is running as a privileged service, then if you have the sha256, it would be possible to do it today with the following:
from assemblyline.common import forge
fs = forge.get_filestore()
subfile_hash = <insert sha256>
fs.download(subfile_hash, os.path.join(self.working_directory, subfile_hash))

Would you know, for your Intezer use-case, if you have the subfiles by hash?

Yes, the service is attempting to download the sub-files from interzer by sha256. See: https://github.com/ed4wg/assemblyline-service-intezer/blob/6b3703033243d3baf6962c362247ce3d4b6a3fb7/intezer.py#L974
We don't run the service as privileged today, but could change that to make this solution work.


Fixes Create #references for all the arguments to an endpoint in /api docs.

Linked Issue
Create #references for all the arguments to an endpoint in /api docs.
https://github.com/zulip/zulip/issues/15384
Testing Plan:
GIFs or Screenshots:

@timabbott Please review this PR . This is my first PR .

@Amitsinghyadav thanks for working on this! Added a comment. Other than that the commit message isn't according to the syntax. For correct syntax an example would be: api_docs: Add this feature.  .

@orientor Please review the changes again.

@Amit Singh Yadav Thanks for working on this issue. Can you also add the chain icon on hover so that it is easier to create and copy links to these references?

Yes, it will be good, I will add the chain icon on hover.

@amanagr When you get time review PR again.

@amanagr  Whenever get time please review PR again.

@amanagr When you get time review PR again.

LGTM, You need to squash your commits into 1 commit.

@amanagr ,Please again have a look when get time on PR and tell about procedure to merge it, as this is my first issue.

@Amitsinghyadav you should also squash the 2 commits into 1 commit. You can expect a review from @timabbott when he gets time next week.

@timabbott Review this PR when you get time.

Maybe let's call the IDs e.g. parameter-{argument}?  That way the namespace can't conflict with other names we use.
(As a sidenote, we should probably do a follow-up refactoring PR renaming s/argument/parameter/ in that file)

@amanagr  I want help as reviewed by @timabbott  ,I am not getting what he want me to change ,what I understood is that he want that I should do like http://localhost:9991/api/register-queue#parameter-client_capabilities,
id will be id="parameter-{argument}" in place of id="{argument}".
Also one more, to remove conflict I have to do git pull --rebase origin master or any thing else.

You are correct, that is what Tim meant. You need to do git pull --rebase upstream master to fix conflicts; upstream being https://github.com/zulip/zulip

@amanagr  ,I am very sorry , I have done a big mistake here during trying to solve conflict, because of which I am closing this PR and now I will do a new clean setup according to zulip guide and I will open a new PR for this issue.

No need to say sorry. Resolving merge conflict can be very hard for someone doing it for the first time. Try to read some tutorials online.


Add a flag to emit which options are used

Any config option which is queried should be output. This will mean refactoring the config system to some extent so a method is called rather than a bool field accessed. I don't expect this to be too difficult.

:+1:
Do you mean output it every time it's queried, or just once per option?

once per option, otherwise the output will quickly get overwhelming

Now that #1558 has been merged, perhaps this should be closed?


Get an option to opt for another port if the current requested port is occupied during swa start

Is your feature request related to a problem? Please describe.
Currently, if I am running a project using npm start, and try to do swa start --port:3000 on the same port, it terminates the command with an error message "Port 3000 is already used. Choose a different port"

Describe the solution you'd like
I would like to be able to switch to an alternate port without having to rerun the command.
For e.g. in the react environment, when we try to run an application on a currently used port, it shows an option to switch to another port (automatic allocation in this case), or to continue in the same port (in which case the command terminates).

So, if we have a similar option for swa start, we can reduce the hassle of manually killing and re-running the application and instead get access to the next free port.
Describe alternatives you've considered
Current alternative is to manually kill the server and re-run the script, or manually request for a different port while re-running the script (e.g. swa start --port:4828)

Fixed in 1810590


Automatically setup any post-build steps

As a Jenkins newbie, I want the Slack plugin to automatically setup any post-build steps for me. I don't want to have to explicitly add a Slack post-build step to every job I manage, and I keep forgetting to do this.

I don't actively develop this plugin.  I only maintain pull requests and releases.  You're welcome to contribute this feature!

Agreed. This would be a complex development considering customization options plus the fact not all jobs require notifications usually...

closing as unlikely to be added


[Create New Issue]:  JavaScript stack

Description
In this issue, I will explain different stacks, their recommended tools, and everything in detail. Please assign me this issue.
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

I want to contribute to this issue : JavaScript stack
Name-Arya Gupta
Domain-Frontend with HTML CSS
Batch-16
Serial No-3172
Issue Number-3634
Contribution Approaches-What is the call stack, relation between call stack and the data structure stack, what is stack overflow
Type-Audio


[Question] How does the markdown styling mode work?

Hi there,
I just found this mode: https://codemirror.net/mode/markdown/index.html which properly styles some elements of markdown text (e.g. make headlines bigger and bold).
I would like to have the same behavior (and more) for asciidoc-text. Unfortunately, I’m not able to figure out how you make it work.. As far as I see there is no guide/explanation/commend in code on how to create an own overlay style..
Can you point me to the right place? Maybe give me a small example on how to create such a formatting-overlay? And maybe point out the limitations of this mode? E.g. I’m wondering whether it’s possible to format tables with it as well..
Thanks in advance :)

The Markdown mode is a regular mode, not an overlay. There's some background on how modes work in this blog post, but there's no step-by-step guide that'll tell you what to do.
The bug tracker is not the right place for questions, as you could plainly read in the default text that was in the input field when you created this bug. We have a forum for that.

You're right. I'm sorry. Thanks for the blog post link :)

Hi @marijnh, I noticed that there are many broken links in the blog post.


More than one port by domain

Is your feature request related to a problem? Please describe.
Maybe. I created a gitlab container, the same on the site releases ports 80, 443 and 22, in the proxy dashboard I informed to redirect the domain "gitlab.mydomain.com" to port 80 of the gitlab container, however when trying to use ssh for push it didn't work, only with http that works, then I thought it's because port 22 isn't listening to the domain and therefore never receives requests.
Describe the solution you'd like
The possibility of a domain redirecting to more than one port would probably solve the problem.

DNS does not work that way, domain names are simply a phone-book of IP addresses :)
So as long as the SSH instance you're trying to connect to, is hosted on the same server that the webserver instance is listening on it should be fine.
Example:
example.domain.tld points to <IP_ADDRESS>
Your host NPM on the server server that also has the SSH and webservers (on a different port) example:
https://example.domain.tld points to <IP_ADDRESS> which then proxies you to the actual web-server <IP_ADDRESS>:80 AND the SSH server is hosted on the same server it would work, as the SSH instance would also be listening on IP <IP_ADDRESS>.
If your using NPM as a front-door (public-facing) instance then forwards the HTTP(s) requests to another back-end instance via a different IP address, then use the streams option to forward SSH connections to that same backend server instance.
Example:
example.domain.tld points to <IP_ADDRESS>
Your server on <IP_ADDRESS> only has NPM deployed to it, and is acting as a front-door/gatekeeper/proxy host only.
NPM is configured to forward example.domain.tld to IP <IP_ADDRESS> then when you try to connect to SSH at example.domain.tld it is trying to connect to the SSH instance on <IP_ADDRESS>. To forward SSH (normally port 22) to <IP_ADDRESS> reconfigure the SSH instance on server <IP_ADDRESS> to use a different port, then configure a stream on the NPM server to stream port 22 to server <IP_ADDRESS>.
Does this make sense? Hopefully, it does.
Thanks,

But I'm using one machine only, only one machine is with the gitlab and proxy container, I know it's probably not the most correct way and that the proxy should be in a separate instance.
The best way in this case would be for me to create another VM, I use lightsail, just for the proxy and then use the internal ips to redirect to the right container on the right port, eg:
<IP_ADDRESS>:81 - http gitlab
<IP_ADDRESS>:811 - ssh gitlab
and so on the vm of the proxy I add in "proxy hosts" the domain "gitlab.mydomain.com" pointing to <IP_ADDRESS>:81 and create a "stream" of "80" and "443" to <IP_ADDRESS>:811 TCP . That?

Does AWS Lightsail only allow ssh connections via a web browser?
source: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-ssh-in-amazon-lightsail
You need to find away to use a SSH client such as Putty to work and connect directly to the SSH server instance, rather than a web-browser, but if you do, then try the following:
I am making the following presumtions here:

Your gitlab is not a docker container
The following is true:

NPM (running as a docker container) and is configured to listen to requests on ports 80 and 443
GitLab is hosted on a seperate VM/host to NPM (IP <IP_ADDRESS>)
SSH is enabled on the server hosting the gitlab instance (IP <IP_ADDRESS>)

I would redirect all http traffic to https on the front end, unencrypted http traffic's days are now numbered).
So I recommend trying this:
Your web-instance:
Create a proxy host using the following options:
[Details]
Domain Name: example.domain.tld (your FQDN)
Scheme: http (this presumes your running http on the backend instance only)
Forward Hostname / IP: <IP_ADDRESS>
Forward Port: 81
Cache Assets: Enable
[SSL]
SSL Certificate: Select the relevant LE certificate
ForceSSL: Enable
HSTS Enabled: Enable
HTTP/2 Support: Enable
Stream option:
Incoming Port: 22 (standard SSH port - ensure that the hosting provider is not blocking this port)
Forward IP: <IP_ADDRESS>
Forward Port: 811
TCP Forwarding: Enable
UDP Forwarding: Disable

@sigmagf any news?

Sorry, hadn't seen it yet.
In my case now I use gitlab and NPM on the same machine and both in the docker, and in case the docker doesn't let me activate port 22 of the gitlab container.
I'm still opting for a way to do it using the same instance as lightsail.
This alternative you gave me is using two instances and installing, as you said, gitlab directly on the instance, right?

Hello,
I want to reverse proxy some service on my QNAP nas.
For example:
https://nas.domain.com:1111   <--->   http://<IP_ADDRESS>:5678
https://nas.domain.com:2222   <--->   http://<IP_ADDRESS>:1234
https://nas.domain.com:3333   <--->   http://<IP_ADDRESS>:4321
I really can't find how to configure using  Nginx Proxy Manager.
For some personal reason, I donnot want to do like this:
https://a.domain.com   <--->   http://<IP_ADDRESS>:5678
https://b.domain.com   <--->   http://<IP_ADDRESS>:1234
https://c.domain.com   <--->   http://<IP_ADDRESS>:4321
Can you help me?
thanks a lot

@neatgz This would not be possible by using a reverse proxy, what you are looking at is using an internal DNS solution to do this.
I would recommend Pi-Hole, as it now allows as well as network level ad-blocking, also local DNS resolution options.

Sorry, hadn't seen it yet.
In my case now I use gitlab and NPM on the same machine and both in the docker, and in case the docker doesn't let me activate port 22 of the gitlab container.
I'm still opting for a way to do it using the same instance as lightsail.
This alternative you gave me is using two instances and installing, as you said, gitlab directly on the instance, right?

@sigmagf , yes my solution uses two instances, you generally can not access the SSH instance within a docker container, as generally it does not exist. You can however SSH onto the VM instance, and use docker exec -it NAMEOFCONTAINER COMMAND commands.

I tried to do the same as you said, I created another vm, propio lightsail has bitnami's gitlab, and directed it to its ip, went to streans and configured it to redirect "22 ->2222" which is the port I defined, but it still doesn't works, my user is still not authorized

@sigmagf I'll have to spin up a test environment on my VM Host to see whats the issue. Can you provide links to the application stacks your using. Thanks.

my gitlab real url?

Apparently even configuring to redirect 22 to <IP_ADDRESS>:2222 or 22 to <IP_ADDRESS>:22 doesn't work, I used the ip of the vm directly that is in gitlab and it worked

NPM Proxy Hosts listen by default only on Port 80 and 443. Through the advanced settings you can add additional ports:
listen 22;

But this does not work for every type of traffic. I don't know if it works with SSH. Please test it and return feedback.


[bug] Loading unity in the app

Describe the bug
I exported a unity app as webgl,
added it to the public folder
loaded it using iframe
In the browser, it works but in tauri app it does not work.
doing build for windows
In tauri app it displays:
Unable to parse Build/UnityWebGlTest.framework.js.br! This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: br" present. Check browser Console and Devtools Network tab to debug.
Reproduction
exported a unity app as webgl,
added it to the public folder
loaded it using iframe
https://github.com/maddevjose/tauri-unity-bug
yarn run bld
Expected behavior
unity loads
Platform and versions
Windows: 11 22H2
@tauri-apps/cli: 1.3.1

Stack trace
No response
Additional context
in tauri dev it works build is the issue

Please provide a minimal reproduction. Thanks.

Why reproduction is required

here is a sample code
https://github.com/maddevjose/tauri-unity-bug

@maddevjose can you try the following and see if it works?
In Unity under Project Settings -> Player -> Publishing Settings

Try different Compression Format
Try enable Decompression Fallback

afaik this is potentially a limitation of Unity itself

@maddevjose can you try the following and see if it works?
In Unity under Project Settings -> Player -> Publishing Settings

Try different Compression Format
Try enable Decompression Fallback

afaik this is potentially a limitation of Unity itself

it still does not work build. It works in yarn tauri dev

i added
.setup(move |app| {
let resource_path = app.path_resolver().resolve_resource("UnityWebGlTest/").expect("failed to resolve resource");
let resource_path_string = resource_path.to_str().unwrap().to_owned();
let server = thread::spawn( move || {
let sys = actix_rt::System::new();
let _ = HttpServer::new(move || {
App::new().service(fs::Files::new("/UnityWebGlTest", resource_path_string.clone()).show_files_listing())
})
.bind("<IP_ADDRESS>:8000")
.unwrap()
.run();
let _ = sys.run();
});
        Ok(())
    })

in main.rs
moved UnityWebGlTest into src-tauri
and added
"resources": [
"UnityWebGlTest/*"
],
in tauri.conf.json. hoping to load it from the localhost:8000 but it is not getting hosted there

yikes I wasted 1 hour trying to debug and fix this only to discover you're using an iframe which is the root cause of the problem. So it is duplicate of https://github.com/tauri-apps/tauri/issues/7114 l basically requests from within the iframe doesn't reach our internal server.

yikes, I wasted an hour trying to debug and fix this only to discover you're using an iframe which is the root cause of the problem. So it is duplicate of #7114, basically requests from within the iframe doesn't reach our internal server. We are waiting for microsoft to release the new API in stable WebView2.

so i could potentially use actix_web and add resources in config and self host it and call it via iframe right? that is what i tried before,

usually I won't recommend using a localhost server but for this use-case there is no other workarounds at the moment

How to achieve this function, can you guide me

you could try using tauri-plugin-localhost or bundle the unity files as resources and use any rust server to serve them.

Are you hosting the build files on your device?
I just got the unity web app working in tauri by simply putting all the build files in the root static folder (all webeditor files are in the /static/ folder) and setting my config like this:
const config = {
        dataUrl: '/webeditor.data',
        frameworkUrl: '/webeditor.framework.js',
        codeUrl: '/webeditor.wasm',
        StreamingAssetsUrl: null,
        companyName: "com.somecompany.test",
        productName: "0.1.0",
        showBanner: null
    }

and applying it like this:
canvasElement = document.querySelector("#unity-canvas");
    const unityScript = document.createElement('script');
    unityScript.src = "/webeditor.loader.js";
    unityScript.onload = () => {
        console.log("loading unity...");
        createUnityInstance(canvasElement, config, (progress) => {
            console.log(progress);
        }).then((instance) => {
                unityInstance = instance;
            }).catch((msg) => {
                console.log(msg);
            });
    }
    document.body.appendChild(unityScript);
  }

This is all without a localhost, using the plugin or iframes. I am not sure if this helps you for a workaround, but id be happy to assist if there is further trouble.


Added Jest to test frameworks for JS. Renamed Angular JS to Angular & JS

=

I personally don't think the section should be labeled 'Angular & JS' as Angular is JavaScript.
As this covers Angular and JavaScript then I'd suggest it should be just 'JavaScript'. If we rename this we should move this row down (as it's alphabetical order)

Thanks Christian, I changed that - see
7c5e0de918ac207cde977c7f00fc695174793f24
Dr. Markus Struzyna | He/Him
Senior Development Manager, Trimble Technology
Bonner Bogen 6, 53227 Bonn
Germany
+49228608830 Direct
www.trimble.com
This email may contain confidential information that is intended only for
the listed recipient(s) of this email. Any unauthorized review, use,
disclosure or distribution is prohibited. If you believe you have received
this email in error, please immediately delete this email and any
attachments, and inform me via reply email.
Trimble Germany GmbH, AG Darmstadt HRB 83893, Geschäftsführer: Rob Reeder,
Jürgen Kesper
On Wed, Sep 21, 2022 at 4:01 PM Christian Oliff @.***>
wrote:

I personally don't think the section should be labeled 'Angular & JS' as
Angular is JavaScript.
As this covers Angular and JavaScript then I'd suggest it should be
just 'JavaScript'. If we rename this we should move this row down (as it's
alphabetical order)
—
Reply to this email directly, view it on GitHub
https://github.com/trimble-oss/devguide/pull/150#issuecomment-1253756755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUET5PGYEV6RJOQ5B5TCOQ3V7MILPANCNFSM6AAAAAAQP7OXA4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Great PR! Thanks again for taking the time to make it - appreciate the contribution!
(pls ignore the failed Azure / Whitesource PRs which aren't yet setup properly for forks - something we need to fix!).


How to style with Tailwind CSS

Hi @markmead, nice library! Makes Alpine components nice and simple!
I had a look at the docs on styling, but I am struggling to style the components with a utility lib like Tailwind.ccs, or UnoCSS (in my case). Any idea how I could apply styles from the utility lib in my components?

Example here - https://github.com/markmead/alpinejs-component/pull/25

thanks to the example you provided, I reverted my hardcoding of the stylesheet into the component.min.js

Thanks for the example, @markmead! Is similar achievable without package managers, and using the CDN?

Thanks for the example, @markmead! Is similar achievable without package managers, and using the CDN?

Not really without loading the CDN version into the components. If you're OK with that then it should be A-OK.

how to fix it?


Add documentation for regression tests

I wanted to add a link to documentation about the regression tests from CONTRIBUTING.md, but realised that none of the existing documentation was really suitable or detailed enough.
This is my first stab at some more comprehensive documentation about the regression tests. Feedback welcome.
/cc @chrisroos @tadast

Looks great to me.

I've rebase this against master and force-pushed in preparation for merging.


Differentiate instructions link to make it clear it's a modal

All four links show up the same here. It would be good for the instructions link to look different to indicate it's not going to redirect the user and lose their work. I'm not exactly sure what would work here, maybe a disclosure triangle, or maybe something else?

We decided to replace the instruction link with an svg info icon to make it more clear that current progress won't be lost. Pushed the changes just now!

Looks good!


RFC: Deprecate admit

Proposal
Currently, admit and sorry are synonyms.
If we deprecate the one that is less used, which is admit, beginners have one less thing to worry about what it does and if there's subtle differences to sorry.
Community Feedback
Deprecation suggested in this discussion after a beginner asked if there is a difference.
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

The motivation here is not very strong, "one less thing to worry about" doesn't strike us as significant given the large number of tactics Lean already comes with. On the other hand, users coming from other ITPs may benefit from this familiar name. While this RFC does come with quite a few +1's, we would have to hear from more specific voices like educators to consider accepting this change.


Fixed: case to handle the case when enum data is missing for specific type

Related Issues

If the enum data is missing then the label for the sort options is not displayed and the option selection modal is displayed empty.
Closes #
Short Description and Why It's Useful

Added empty state in option selection modal when the enum data is missing
Added check to display the code if the enum label is missing

Screenshots of Visual Changes before/after (If There Are Any)

Before:

After:

Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

Verified and working fine in release v1.3.0.


Atlas Opacity

Description
Description
I believe Atlas could cover a wider range of use-cases with support for individual opacity. I've done some experimentation, and as far as I can tell, it's not possible even with creative usage of colors and blendMode. (Closest I've gotten was setting colors using rgba(255, 255, 255, ${opacity}) and blendMode="srcOut", but that loses the opacity of the original texture).
If this is possible, I'd be happy to help out with a pull request with guidance.
Thanks as always for all the awesome work on this package!

Could the issue be that colors are expected to be premultiplied? e.g: rgba(${255 * opacity}, ${255 * opacity}, ${255 * opacity}, ${opacity}). I'm closing it for now but let me know if that doesn't fix the issue.


Unable to suppress Quart serving logs after Python 3.10 upgrade

I'm moving a Quart webapp from python 3.7 to python 3.10 and I'm suddenly unable to suppress the server logs.
I would expect getLogger('quart.serving').setLevel(ERROR)  to suppress most logging messages, but after switching to 3.10 I get everything.
Environment:

Python version: 3.10.9
Quart version: 0.18.3

Since 0.18.0, there isn’t a separate serving logger, that’s why this code no longer works.

Ah, yep. That would explain it. It's worth noting the docs are out of date (part of my confusion).
But more importantly: it is not obvious to me how to recover the functionality I'm interested in. Previously I was able to easily suppress all of the serving logs (and since my app runs as a systemd daemon, I really don't want them, I'm only interested in seeing errors in the logs). Based on the comments in that commit, I thought maybe I could suppress the hypercorn logging: getLogger('hypercorn.serving').setLevel(ERROR) but no luck there.

You can manually construct hypercorn's config and ask it to serve your Quart app, then you can configure logging as you wish. That's what I do, since my app needs to be served on multiple ports simultaneously, and I couldn't achieve what I wanted with plain Quart.
--
Cheers,
Andrej

Hypercorn as used by Quart.run is a development server. In production, you should run Hypercorn directly, at which point you can configure it as needed.

Why don't you want them in development?

I am using the same app to serve some endpoints that are pinged every few seconds by other parts of the app. There is one important page that needs to refresh some tables and graphs in near real time so if I'm working on that page the logs are a constant stream of requests for those endpoints.
This is probably not best practice? But I'm self-taught and the only developer for this project, and it's only one of my responsibilities.
Also "serving" is never the thing that's broken, haha. But if I knew how to suppress those logs, I could un-suppress them if I ever needed to.

This is probably not best practice?

No, you probably want websockets, especially since you're using Quart so they're easily available.

We are supposed to be able to customize loggers via hypercorn.config.Config:
# define your own logger
logger = ...

from hypercorn.config import Config

Config.accesslog = logger
Config.errorlog = logger

However, the following code from quart prevents us to do this:
https://github.com/pallets/quart/blob/c9768af63097c6ef3405cfd42d46b49ad6d1436d/src/quart/app.py#L1469-L1480
We should not overwrite the config directly but set the default values instead.
Something like:
if not isinstance(config.accesslog, (logging.Logger, logging.LoggerAdapter)):
    config.accesslog = "-"

PS: We should not only allow logging.Logger, but also logging.LoggerAdapter here:
https://github.com/pgjones/hypercorn/blob/8ae17ca68204d9718389fb3649ca0ed6ba851906/src/hypercorn/logging.py#L31-L33
    if isinstance(target, logging.Logger):
        return target

Hypercorn as used by Quart.run is a development server. In production, you should run Hypercorn directly, at which point you can configure it as needed.

@davidism I agree.
@johndonor3 Just in case you do want to customize your logger with Quart in development mode:
See if this helps:
https://github.com/pwwang/pipen-board/blob/2429a64746c1eb4a3ccf48c7ad20c42f43ca22ff/pipen_board/defaults.py#L38-L61
class Quart(_Quart):

    def run_task(
        self,
        host: str = "<IP_ADDRESS>",
        port: int = 5000,
        debug: bool | None = None,
        ca_certs: str | None = None,
        certfile: str | None = None,
        keyfile: str | None = None,
        shutdown_trigger: Callable[..., Awaitable[None]] | None = None,
    ) -> Coroutine[None, None, None]:
        config = HyperConfig()
        config.access_log_format = "%(r)s %(s)s %(b)s %(D)s"
        config.accesslog = logger.logger
        config.bind = [f"{host}:{port}"]
        config.ca_certs = ca_certs
        config.certfile = certfile
        if debug is not None:
            self.debug = debug
        config.errorlog = config.accesslog
        config.keyfile = keyfile

        return serve(self, config, shutdown_trigger=shutdown_trigger)


Site becomes fixed after opening

opened website in chrome at 1682px width:

full screened my chrome window to 1920px width after opening site:

Thanks for writing the issue. I actually don't have a big display monitor. So, I just need to ask you: which one looks better? The first image or the second?

To be honest, that is the actual behavior. MaterialUI doesn't provide a whole lot of screen size breakpoints. There's only two breakpoints between 1682 and 1920, which are LG and XL. So, I just coded it with the default breakpoints.
Thanks for writing the issue btw. But it seems to be working the way I intended it to work.

You can make your own breakpoints in materialUI and make the website responsive.

If you'd like to fix the issue, pull requests are most welcome :)


Fix CI scripts to make nightly builds pass

Currently the nightly builds are failing and we likely need to have different stack.yaml for it to make it work.

Fixed via https://github.com/fakedata-haskell/fakedata/pull/36


other: update sbt-scoverage from 1.6.1 to 1.9.2

Updates org.scoverage:sbt-scoverage from 1.6.1 to 1.9.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor

Codecov Report

Merging #9 (e6a9b27) into master (0706e54) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   98.64%   98.64%
=======================================
  Files          10       10
  Lines          74       74
  Branches        5        5
=======================================
  Hits           73       73
  Misses          1        1

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 0706e54...e6a9b27. Read the comment docs.


Adding support for integration tests with remote cluster.

Signed-off-by: Sarat Vemulapalli<EMAIL_ADDRESS>Description
Adding support for running integration tests with remote cluster.
Plugin integration tests depend on opensearch.testclusters gradle plugin exported by OpenSearch. Plugins use the same framework to run integration tests against a remote cluster. The problem is it internally downloads the right distribution to setup the test cluster even though it's not used.
Until now that worked since the min artifact is published for every release.
In order to step up our testing flow as part of the release, we now would like to run integration tests before the artifacts are published to verify the bundle via https://github.com/opensearch-project/opensearch-build#integration-tests. But since the artifact is not published the tests would see:
Before:
* What went wrong:
Execution failed for task ':integTest'.
> Could not resolve all files for configuration ':opensearch_distro_extracted_testclusters--integTest-0-1.1.0-'.
   > Could not resolve opensearch-distribution:opensearch:1.1.0.
     Required by:
         project :
      > Could not resolve opensearch-distribution:opensearch:1.1.0.
         > Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/1.1.0/opensearch-min-1.1.0-linux-x64.tar.gz'.
            > Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/1.1.0/opensearch-min-1.1.0-linux-x64.tar.gz'. Received status code 403 from server: Forbidden
      > Could not resolve opensearch-distribution:opensearch:1.1.0.
         > Could not get resource 'https://artifacts.opensearch.org/release-candidates/core/opensearch/1.1.0/opensearch-min-1.1.0-linux-x64.tar.gz'.
            > Could not HEAD 'https://artifacts.opensearch.org/release-candidates/core/opensearch/1.1.0/opensearch-min-1.1.0-linux-x64.tar.gz'. Received status code 403 from server: Forbidden

After:
% ./gradlew integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=admin
82 tests completed, 12 failed, 1 skipped

So this PR adds support to run integration tests for remote clusters without the min artifacts being published at artifacts.opensearch.org.
Issues Resolved
https://github.com/opensearch-project/OpenSearch/issues/1240
https://github.com/opensearch-project/opensearch-plugins/issues/101
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #298 (2f4f964) into main (29c6e08) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #298      +/-   ##
============================================
- Coverage     76.31%   75.93%   -0.39%
+ Complexity     3963     3950      -13
============================================
  Files           295      295
  Lines         17165    17165
  Branches       1812     1812
============================================
- Hits          13100    13034      -66
- Misses         3236     3299      +63
- Partials        829      832       +3

Flag
Coverage Δ

plugin
75.93% <ø> (-0.39%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...java/org/opensearch/ad/task/ADBatchTaskRunner.java
75.22% <0.00%> (-6.54%)
:arrow_down:

...port/SearchAnomalyDetectorInfoTransportAction.java
60.00% <0.00%> (-4.45%)
:arrow_down:

...rch/ad/transport/ForwardADTaskTransportAction.java
94.06% <0.00%> (-3.39%)
:arrow_down:

...ain/java/org/opensearch/ad/task/ADTaskManager.java
75.43% <0.00%> (-1.61%)
:arrow_down:

...ava/org/opensearch/ad/task/ADHCBatchTaskCache.java
88.88% <0.00%> (-1.24%)
:arrow_down:

.../opensearch/ad/transport/StopDetectorResponse.java
42.85% <0.00%> (+23.80%)
:arrow_up:

@saratvemulapalli is it reasonable for this to be skipped for 1.2 specifically? Only concern is backporting to 1.2 branch can delay the bundle builds more.

@ohltyler how much of an effort/time is it to run the builds again?
This will help avoid running manual tests for the release for the plugin owners.
cc: @peternied @peterzhuamazon

@saratvemulapalli considering we already have bug fixes backported to 1.2 today, we can add this as well if it gets merged today. Changes make sense to me.

@ohltyler how much of an effort/time is it to run the builds again? This will help avoid running manual tests for the release for the plugin owners. cc: @peternied @peterzhuamazon

Build is automatic every 2 hours for around 20+10 = 30min for tar + docker.
So I think I agree with @ohltyler to approve and merge.
Thanks.


Update deployment section

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-extend-domain.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-extend-domain.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-extend-domain.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/add-servers-dialog.png
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-extend-domain.png
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-forest.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/adds-extend-domain.md
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/add-servers-dialog.png
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-extend-domain.png
:white_check_mark:Succeeded
View

docs/reference-architectures/identity/images/adds-forest.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix enum compile issue in C++11

Fix for #213 and alternative to #251.
The fix involved introducing a DBMyEnum+Private.h generated file, in order to include my_enum.hpp only where necessary (in the ObjC++ private sources).  I needed to generate the new files to maintain the assumption (in the generators, and yams definitions) that each type needs only one header for marshaling.
In order to validate this properly, I converted the test-suite to use C++11 rather than C++14, which is a good idea since Djinni is intended to work with C++11.  This conversion required importing a reference definition of std::experimental::optional.
I can merge this myself, but am posting here for comment.  I'm particularly hoping that @steweg will try this out to confirm that it fixes his issue, and that @xianwen and @mknejp will take a look and comment.

A few notes:

I think that because the new generated files are headers, this won't actually break anyone's compilation, though those headers may not show up in people's projects.  That was already truew of a lot of headers in the test suite, as you can see me fixing here.
I added some additional usages of enums in the test suite, though even without that the existing test-suite triggered the bug when compiled with C++11 due to the check_enum_map method in test_helpers.

Hi, I have tested it, and it works as expected. Thanks


Refactor predefined builders declaration to improve readability

Improved readability by extracting the verbose declaration to a helper methods. That makes it simpler to read those definitions and there are less chances to make a typo.
@moodmosaic Your review is welcome 😉

@moodmosaic Fixed to make consistent 😉

@moodmosaic I've reworked the approach a bit (renamed a few methods), so please take a look. Also I've replied to your concern about indirection.


Tracker issue for 8.15 package tag creation

This issue exists to track the issues on the package upstream repos to create tags for Coq 8.15.
There is no manual interaction required - this ticket is referenced in all package issues and automatically updated with the package issue status.
Discussions should take place in the individual upstream issues.
ToDo:

[x] Update OCaml to 4.13+flambda if possible - see (https://github.com/coq/coq/issues/11652)
[x] Coqhammer: update smoke test to check ATP availability
[x] Give Windows installers similar names as Mac installers and change default install folder
[x] Add 8.14~2022.03 pick
[x] Try to fix ott for windows and / or fix smoke test kit for ott / coq-ott
[x] Use 8.15 in snap package
[x] Review release notes
[x] Think about switching all picks to lablgtk<IP_ADDRESS> (See https://github.com/coq/coq/issues/15857, https://github.com/coq/coq/issues/15486)
[x] Update dev pick
[x] Check if lablgtk<IP_ADDRESS> needs the same patch as lablgtk<IP_ADDRESS> on Windows (CoqIDE works fine without the patch)
[x] Move Coq relation algebra after coq-aac-tactics.
[x] Create coq-interval-flocq3 and coq-gappa-flocq3 packages
[x] Adjust synopsis / description in flocq3 legacy packages
[x] Recreate readme files for new picks

Issue links to non github projects

[x] coq-stdpp
[x] coq-coquelicot
[x] coq-flocq
[x] coq-interval
[x] coq-gappa
[x] coq-menhirlib
[x] coq-iris

Updates to be done

[x] https://github.com/mattam82/Coq-Equations/issues/471
[x] https://github.com/unicoq/unicoq/issues/66
[x] https://github.com/Mtac2/Mtac2/issues/350
[x] https://github.com/LPCIC/coq-elpi/issues/327
[x] https://github.com/coq-community/coq-dpdgraph/issues/95
[x] https://github.com/HoTT/HoTT/issues/1619#issuecomment-1018866387
[x] https://github.com/lukaszcz/coqhammer/issues/120
[x] https://github.com/math-comp/analysis/issues/519
[x] https://github.com/math-comp/math-comp/issues/843
[x] https://github.com/UniMath/UniMath/issues/1442
[x] https://github.com/QuickChick/QuickChick/issues/269 test and reenable QuickChick
[x] Consider creating z3_tptp.4.8.14

Local opam packages to be removed

[x] https://github.com/coq/opam-coq-archive/pull/2047
[x] https://github.com/coq/opam-coq-archive/pull/2050
[x] https://github.com/coq/opam-coq-archive/pull/2051
[x] https://github.com/coq/opam-coq-archive/pull/2052
[x] https://github.com/coq/opam-coq-archive/pull/2053
[x] https://github.com/coq/opam-coq-archive/pull/2054
[x] https://github.com/coq/opam-coq-archive/pull/2055
[x] https://github.com/coq/opam-coq-archive/pull/2058
[x] https://github.com/coq/opam-coq-archive/pull/2063
[x] https://github.com/coq/opam-coq-archive/pull/2064
[x] https://github.com/coq/opam-coq-archive/pull/2071
[x] https://github.com/coq/opam-coq-archive/pull/2135
[x] https://github.com/coq/opam-coq-archive/pull/2133
[x] Check if more can be removed

Local opam packages to be merged upstream
Issues to be fixed

[x] https://github.com/coq/platform/issues/186
[x] Provide more info for https://github.com/ocaml/opam/issues/5021#issuecomment-1019513701

Looks all good.


[release-1.19] fix dns cluster missing endpoint when there are more than one service…

Manual cherrypick required.
#49507 failed to apply on top of branch "release-1.19":
Applying: fix dns cluster missing endpoint when there are more than one services within same namespace with same hostname
Using index info to reconstruct a base tree...
M	pilot/pkg/model/push_context.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/model/push_context.go
CONFLICT (content): Merge conflict in pilot/pkg/model/push_context.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 fix dns cluster missing endpoint when there are more than one services within same namespace with same hostname
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

1.19 does not have the regression


upgrading formulae compiled as universal results is thin version being installed

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always follow these steps:

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed all issues and retried your prior step?
[x] Ran brew config and brew doctor and included their output with your issue?

$ brew config
HOMEBREW_VERSION: 1.3.6-150-g302bc8b
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 302bc8be22c9f645a110815f52f252a78c666d0f
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: de6b738db712ae50829a9d0d4fff61646f04346c
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.15.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
macOS: 10.12.6-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1506734476
X11: 2.7.11 => /opt/X11

$ brew doctor
Your system is ready to brew.

To help us debug your issue please explain:

What you were trying to do (and why)
Project I'm working requires use of the universal version of the Python interpreter. Unfortunately, Python 3 is not included in the macOS, so I have to compile myself. I've been using --universal option until it was removed, so I started to maintain tap for universal Python and another one with required libraries, pulled  out of homebrew-core before removal of the --universal.

What happened (include command output)
Recently, I've upgraded python using brew update && brew upgrade command and resulting python27 and python36 taps where resulted in creation of the thin binaries, only x86_64. Running brew reinstall sashkab/python/python27 --universal didn't help, so I had to brew uninstall <formulae> && brew install <formulae> --universal in order to fix this problem. I've made sure that these taps are installed as kegs, and then I just use them in my python's virtual environments.

What you expected to happen
I expected brew update && brew upgrade will create universal binaries for formulaes which were complied with the universal flag on.

Step-by-step reproduction instructions (by running brew commands)

brew install sashkab/python/python27 --universal
wait for updated formulae.
brew update && brew upgrade

I can confirm this with weechat. When the formula is updated, it should be rebuilt with the options that had been stored in the Tab, but it is not:
https://github.com/Homebrew/brew/blob/b806a53d88938ab2d2aeb5e96651ed6d47efcdf9/Library/Homebrew/cmd/upgrade.rb#L122-L124
Can you replace f.build with tab in the line above and check if the problem persists?

It’s not been fixed yet. So it’s still valid but report.

If you're already maintaining it in your own tap, you can use ENV.universal_binary in the install method unconditionally and not have --universal as an option.

I still want to allow users to install not only universal versions.

brew install sashkab/python/python27 --universal
wait for updated formulae.
brew update && brew upgrade

@sashkab Can you paste the output of running them, please?

@amyspark You deleted your previous comment; were you able to reproduce this? If so, can I also get the commands you ran and the full output? Thanks!

I cannot reproduce this.
iMac-TMP:homebrew-python joe$ file /usr/local/Cellar/python27/2.7.14/bin/python2
/usr/local/Cellar/python27/2.7.14/bin/python2: Mach-O universal binary with 2 architectures
/usr/local/Cellar/python27/2.7.14/bin/python2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
/usr/local/Cellar/python27/2.7.14/bin/python2 (for architecture i386):	Mach-O executable i386
iMac-TMP:homebrew-python joe$ file /usr/local/Cellar/python27/2.7.14_1/bin/python2
/usr/local/Cellar/python27/2.7.14_1/bin/python2: Mach-O universal binary with 2 architectures
/usr/local/Cellar/python27/2.7.14_1/bin/python2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
/usr/local/Cellar/python27/2.7.14_1/bin/python2 (for architecture i386):	Mach-O executable i386
iMac-TMP:homebrew-python joe$

@MikeMcQuaid No, I wasn't able to reproduce this. I recall that I even checked if the --universal flag was stored in the tab and reused upon upgrade.

I tried with a much smaller example: the usqlite formula from the reporter's tap. I manually rolled it back to:
  url "https://sqlite.org/2017/sqlite-autoconf-3200100.tar.gz"
  version "3.20.1"
  sha256 "ec66595b29bc0798b023a5122021ea646ab4fa9e2f735937c5426feeba950742"

brew install result:
amalia@Sakura:/usr/local/Homebrew$ brew install sashkab/homebrew-universal/usqlite --universal
==> Installing usqlite from sashkab/universal
==> Downloading https://sqlite.org/2017/sqlite-autoconf-3200100.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/usqlite/3.20.1 --enable-dynamic-extensions --enable-readline --disable-editline
==> make install
==> Caveats
Homebrew has detected an existing SQLite history file that was created
with the editline library. The current version of this formula is
built with Readline. To back up and convert your history file so that
it can be used with Readline, run:

  sed -i~ 's/\\040/ /g' ~/.sqlite_history

before using the `sqlite` command-line tool again. Otherwise, your
history will be lost.

This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/usqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/usqlite/lib
    CPPFLAGS: -I/usr/local/opt/usqlite/include

==> Summary
🍺  /usr/local/Cellar/usqlite/3.20.1: 11 files, 5.2MB, built in 1 minute 14 seconds
amalia@Sakura:/usr/local/Homebrew$ file /usr/local/Cellar/usqlite/3.20.1/lib/libsqlite3.dylib
/usr/local/Cellar/usqlite/3.20.1/lib/libsqlite3.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [i386:Mach-O dynamically linked shared library i386]
/usr/local/Cellar/usqlite/3.20.1/lib/libsqlite3.dylib (for architecture x86_64)Mach-O 64-bit dynamically linked shared library x86_64
/usr/local/Cellar/usqlite/3.20.1/lib/libsqlite3.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

After "updating" the formula:
amalia@Sakura:/usr/local/Homebrew$ brew upgrade usqlite
==> Upgrading 1 outdated package, with result:
sashkab/universal/usqlite 3.21.0
==> Upgrading sashkab/universal/usqlite --universal
==> Downloading https://sqlite.org/2017/sqlite-autoconf-3210000.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/usqlite/3.21.0 --enable-dynamic-exten
==> make install
==> Caveats
Homebrew has detected an existing SQLite history file that was created
with the editline library. The current version of this formula is
built with Readline. To back up and convert your history file so that
it can be used with Readline, run:

  sed -i~ 's/\\040/ /g' ~/.sqlite_history

before using the `sqlite` command-line tool again. Otherwise, your
history will be lost.

This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/usqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/usqlite/lib
    CPPFLAGS: -I/usr/local/opt/usqlite/include

==> Summary
🍺  /usr/local/Cellar/usqlite/3.21.0: 11 files, 5.2MB, built in 1 minute 17 seconds
amalia@Sakura:/usr/local/Homebrew$ file /usr/local/Cellar/usqlite/3.21.0/lib/libsqlite3.dylib
/usr/local/Cellar/usqlite/3.21.0/lib/libsqlite3.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [i386:Mach-O dynamically linked shared library i386]
/usr/local/Cellar/usqlite/3.21.0/lib/libsqlite3.dylib (for architecture x86_64)Mach-O 64-bit dynamically linked shared library x86_64
/usr/local/Cellar/usqlite/3.21.0/lib/libsqlite3.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

Judging from the output above, ENV.universal_binary if build.universal? is a successful workaround.

successful workaround

That's not a workaround. That's how it works.

@ilovezfs apologies, I misunderstood your comment above.

Given multiple maintainers/contributors cannot reproduce this: closing.


Docs - Corrected admonition issue

Corrected an underlying MD issue on this page that caused the admonition to be incorrectly rendered.
This PR has:

[X] been self-reviewed.
[ ] been tested in a test Druid cluster.

@techdocsmith a quick one for ya!

@kfaraz I thought I'd have a go at rewording the intimidating sentence while I was there...


Update version to 0.9.1-SNAPSHOT.

0.9.0 development is happening in a branch, master is destined to become 0.9.1.
Fixes #2462

:+1:


ENHANCEMENT: Fetch Project Cover Directly insted of Linking it in Constants

Currently, the project cover property is stated directly in the projects constants. This is repetitive as it is the same for every project entry. It also means that the cover needs to be added for each project manually. The site should be able to read the cover automatically and assign it to the correct project.

#227


discovery doc

while reading the current discovery doc, i wonder whether the "discovery" class needs to be in a specific namespace or anything or if its automatically discoverd. or are only guzzle 5, 6 and dactilos automatically discovered and other adapters must be registered manually to be found?

Discoveries are some sort of registries of different components (message implementations, adapters) supported by us. Every adapter which we create will land in the HttpAdapterDiscovery. Every other major implementation (like a PSR-7 one) will get into the Message discovery. Any other custom stuff must be manually registered.
This is not the best solution, but I couldn't come up with anything better which allows zero-configuration.

yeah, i think as long as we don't have the java-style discovery
mechanisms built right into the language, its the best we can do.


Update annotations to io.cncf.*

Resolves #106
Signed-off-by: Steve Lasker<EMAIL_ADDRESS>

@shizhMSFT for visibility to update notation-go to use the new annotations.


sample issuse seems unresolved.

I have the same problem and I couldn't find drawing lib.

Same over here. An updated and working example for loading a model and displaying it in the browser would be really helpful. Unfortunately, the index.html file seems broken.
Also, I can't just include sd.js, need to declare it as a module to make it load at all, then Chrome complains that it can't load common, etc.
@bpowers - if you could fix that, it would help me with my PhD ... cheers

sorry, I don't have the bandwidth right now to help with this.  I have been working on https://github.com/bpowers/model-app as a more comprehensive solution to SD in the browser, which I hope to open up in a month or so.

Awesome!
On Thu, 19 Mar 2020 at 16:04, Bobby Powers<EMAIL_ADDRESS>wrote:

sorry, I don't have the bandwidth right now to help with this. I have been
working on https://github.com/bpowers/model-app as a more comprehensive
solution to SD in the browser, which I hope to open up in a month or so.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bpowers/sd.js/issues/5#issuecomment-601265004, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKKVDOXPNJXTSOPU4KTBI3RII7B3ANCNFSM4IS7QCNA
.


TODO: Allow changing other people's pronouns

Suggested by Just__a__Goat, this'd require a separate permission of course.

Done, will be added in the next version


Clean database from previously failed MigrationsSqlServerTest

One of the tests in MigrationsSqlServerTest. It must've hung before dropping the database.


It takes too long to load the library

Steps to reproduce
TachiyomiSY:
https://user-images.githubusercontent.com/96607644/206187674-233736fa-eb49-44f7-a50d-59171b82af17.mp4
Tachiyomi stable (I have restored a backup of sy):
https://user-images.githubusercontent.com/96607644/206188137-be525e99-2499-48fa-83ca-536f42363107.mp4
Expected behavior
.
Actual behavior
.
Crash logs
No response
Tachiyomi version
TachiyomiSY 1.8.5 / Tachiyomi 0.14.2
Android version
Android 11
Device
Redmi 9A
Other details
No response
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

your tachiyomisy build is very old and outdated. i would recommend installing preview version of sy

your tachiyomisy build is very old and outdated. i would recommend installing preview version of sy

The latest stable version is considered outdated? 😁
I have already used the preview version and it is even worse, a lot of bugs and bad optimization, they add bugs instead of functions, that's why I went to the stable version

your tachiyomisy build is very old and outdated. i would recommend installing preview version of sy

The latest stable version is considered outdated? 😁
I have already used the preview version and it is even worse, a lot of bugs and bad optimization, they add bugs instead of functions, that's why I went to the stable version

Yes stable sy is based on 0.13.6, and preview is based on 0.14.x. The codebase is completely different.
The bad optimization is Android issue, it will stay on next stable build too. Preview become faster the longer you use.

@AethersKz I experienced it back then, when I installed TachiyomiSY on a phone with an outdated "Android System Webview." I fixed it by updating it. I have already tested it on most of my android devices.  Just update it if you haven't, but if it doesn't work, maybe its a bug or something(?).

@SSL-ACTX
It didn't work, I'll try to use the preview version again


Dopry 609 add codecov

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

sorry this was meant for my fork...

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@37d4330). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #612   +/-   ##
=========================================
  Coverage          ?   16.08%
=========================================
  Files             ?      149
  Lines             ?     3176
  Branches          ?        0
=========================================
  Hits              ?      511
  Misses            ?     2665
  Partials          ?        0

Impacted Files
Coverage Δ

.../Widgets/Markdown/serializers/remarkPaddedLinks.js
100% <100%> (ø)

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 37d4330...1718aad. Read the comment docs.


Adding Footer

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
Please allow me to add interactive footer.
social medial links , contact us and Site logo or name
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Proceed!! @vishal0316


IQA Engine

Some reference to the engine, such as the developer site or a wikipedia article.
Run on javaScript, all online. Now company closure, server shutdown, game can't play, steam downgrade.
be detected as SDK.Greenworks, SDK.NodeJS
https://moegirl.uk/index.php?title=IQA_Engine
https://zh.wikipedia.org/wiki/视觉小说引擎列表
https://zh.wikipedia.org/wiki/轻文轻小说
https://august-z.github.io/IQA-Guide/
SteamDB links
https://steamdb.info/app/895920/info/
https://steamdb.info/app/1036690/
https://steamdb.info/app/962940/info/
https://steamdb.info/app/1310720/
Possible way to detect it
/resources/app/local/style/index.css
/LICENSES.chromium.html
/resources/app/local/game.js
/resources/app/local/polyfill/jquery.min.js
/resources/app/main.js

#704

PR #704


Documentation needs examples and better explanations for implementation.

Problem description:
I was able to implement SecureLS as stated in example, but there is no documentation on how to actually do anything with the storage methods. How do I call the three methods getItem, setItem, and removeItem? All of the examples that are show, don't actually show how the plugin methods can be triggered. I am looking for an example that shows how to call removeItem() so that when a User clicks logout, I can clear the data within SecureLS. How is that done?
Also, the API documentation uses terms like path as if the Reader should know what path means, and the definition uses the term path to define it. What exactly is a path? How is it used?
Same thing for reducer... what is a reducer and how does it affect the ill-defined path?
Suggested solution:
Update your documentation with real-world code examples that show how a Developer can add code to remove data from storage, so that the data no longer persists.
Thanks.

@uxinkc would it be an idea that you create a PR with changes to the documentation where you see it lacks?

I would certainly help, but that would require me to understand how the code works, which requires the Documentation to to be updated. How am I supposed to help with documentation if I don't understand what part of the documentation needs to be updated?
What is lacking in the documentation is an example as to how to call the storage methods. I don't know how or where a global delete works, so how can I do a PR and tell you what is missing, when I don't know how the code works?

If this is still relevant, please open a new issue.


Add step

this is just a test

Hi hal-ey, thank you for your contribution! We will review your changes and get back to you soon.


New version fails on Chef 11.10

Cookbook version
3.4.0
Chef-client version
Chef 11.10
Platform Details
Amazon Linux
Scenario:
Bootstrap fails as 'file' referenced by 'cookbook_file' resource has moved out of default directory
Steps to Reproduce:
Include default recipe
Expected Result:
Failing with error Cookbook 'sudo' (3.4.0) does not contain a file at any of these locations:
Actual Result:
Converge failing.

This cookbook requires 12.1 or later. You'll need to pin to an older version of the cookbook if you want to continue using Chef 11 which is EOL. I'd highly recommend upgrading to a newer release

Thank you
On Fri, Apr 28, 2017 at 3:34 PM, Tim Smith<EMAIL_ADDRESS>wrote:

This cookbook requires 12.1 or later. You'll need to pin to an older
version of the cookbook if you want to continue using Chef 11 which is EOL.
I'd highly recommend upgrading to a newer release
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chef-cookbooks/sudo/issues/100#issuecomment-297911236,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXlCdV7iUPI9mlkDHxXCXpToHOPd_o4Oks5r0Xp2gaJpZM4NLEW3
.

--
//kiranツith


Windows drive letters missing from comment based title

# c:\temp\somefile becomes \temp\somefile in title.
I'm not using this personally, but mentioned in case it was supposed to work. Feel free to close with workaround title="c:\temp\somefile".

Good catch! I'll add a detection for Windows drive letters, it's definitely unexpected that they get cut off.

Should be fixed in 0.17.0! I just released it to NPM.


Add support for molecule

I'm not familiar with building omnibus-style, so this is just my first (untested) stab at including molecule into ansible-dk for Issue https://github.com/omniti-labs/ansible-dk/issues/40
In particular, I would prefer ansible-dk should not pin to the version I have specified here, but instead follow the latest released version on PyPI. But the other examples seem to refer to following the master git branch not the latest release.

Clean build on MacOS:
[Software: molecule] I | Building because `preparation' dirtied the cache
                [Builder: molecule] I | Starting build
                [Builder: molecule] I | $ /opt/ansible-dk/embedded/bin/pip install -I --install-option="--install-scripts=/opt/ansible-dk/embedded/bin" molecule==1.0.5
                [Builder: molecule] I | Execute: `/opt/ansible-dk/embedded/bin/pip install -I --install-option="--install-scripts=/opt/ansible-dk/embedded/bin" molecule==1.0.5': 41.724s
                [Builder: molecule] I | link `/opt/ansible-dk/embedded/bin/molecule' to `/opt/ansible-dk/bin': 0.0004s
                [Builder: molecule] I | Build molecule: 41.726s
                [Builder: molecule] I | Finished build
               [Software: molecule] I | Dirtied the cache

and thusly:
(ADK)[clinton@and-cheese ~]$ which molecule
/opt/ansible-dk/bin/molecule
(ADK)[clinton@and-cheese ~]$ molecule --version
1.0.5
(ADK)[clinton@and-cheese ~]$ molecule --help
Usage:
  molecule create      [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule converge    [--platform=<platform>] [--provider=<provider>] [--tags=<tag1,tag2>] [--debug]
  molecule idempotence [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule test        [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule verify      [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule destroy     [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule status      [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule list        [--platform=<platform>] [--provider=<provider>] [--debug]
  molecule login <host>
  molecule init  <role>
  molecule -v | --version
  molecule -h | --help

Commands:
   create      create instances
   converge    create and provision instances
   idempotence converge and check the output for changes
   test        run a full test cycle: destroy, create, converge, idempotency-check, verify and destroy instances
   verify      create, provision and test instances
   destroy     destroy instances
   status      show status of instances
   list        show available platforms, providers
   login       connects to instance via SSH
   init        creates the directory structure and files for a new Ansible role compatible with molecule

Options:
   -h, --help             shows this screen
   -v, --version          shows the version
   --platform <platform>  specify a platform
   --provider <provider>  specify a provider
   --tags <tag1,tag2>     comma separated list of ansible tags to target
   --debug                get more detail


Question: safe to re-use DslPart in multiple tests? (Junit)

I know that pre #619 reusing a DslPart in multiple interactions would result in extra $ appearing in the matchingRules field of the produced pacts -- is it now safe & supported to reuse a DslPart in multiple interactions?

Yes, it should be fine to fine to do that now.

Thanks!


Non root

Breaking changes
v2.0.0 allows you to execute container as non-root user. It implies one breaking change from v1.x.x versions: default container port is now 8080 (was 80). If your pipeline has broken after switch to v2.0.0 you have two options:
Option 1: update your pipeline to expect port 8080
This option is preferrable as it is a best practice of Docker to not use root user within container.
Option 2: update your script to use v1.x.x version of buildpack
You should provide a tag in your script in the step when you fetch the buildpack:
git clone --branch <TAG> https://github.com/mendix/docker-mendix-buildpack
List of tags is available here.
Other features

CF buildpack version selection support
Base rootfs image selection support

Draft of release notes is available.


Hot Fix - Renamed abstract class form atom DBs

And fixed test cases related to unordered links, which are not supposed to be managed yet.

@marcocapozzoli   I'll merge this PR asap because it's a hotfix but I'd like to have you revising the PR anyway.


Quick Actions For iOS 17 Not Appearing

I was doing some testing on a physical iOS 17 device for our application recently and we noticed that on iOS 17 that the quick actions were not displaying like they did on iOS 16. I have included a video below that demonstrates the issue. Interestingly, we still get notifications, it is just the quick actions that are not appearing. Furthermore, we are seeing quick actions when using an iOS 17 simulator, but there are occasionally discrepancies between the simulators and physical devices.
Due to the sensitivity of the code we've written, i've left out code samples for now. If there's something that I can provide which will help in debugging the problem please let mek now and I will cooperate the best I can!
https://github.com/invertase/notifee/assets/99361605/7c98f3bd-9851-413d-a803-708eeb0baba3

Long press notification for quick actions to appear


[CONTINT-3679 Make the SBOM telemetry global

What does this PR do?
This PR makes the SBOM telemetry global.
It avoids a panic when two scanners are started because we're trying to register the same metrics twice:
panic: duplicate metrics collector registration attempted [recovered]
        panic: duplicate metrics collector registration attempted

I think it does not happen in practice but I discovered it while writing unit tests.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
The metrics should still show up and the tests in this PR should pass.
https://dddev.datadoghq.com/notebook/7744286/workqueue-telemetry

/trigger-ci --variable RUN_E2E_TESTS=true

/merge


CIFilter(name: "CIQRCodeGenerator") 崩溃

您好:我在使用EFQRCode时,在真机器iPhone X以上机型中:CIFilter(name: "CIQRCodeGenerator") 方法会崩溃,在真机器iPhone X以下,及iPhone 8 等,系统版本均为iOS13.1.3最新的,方法会无缘无故崩溃掉.请帮忙分析以下.谢谢

在真机器iPhone X以下,即iPhone 8 等正常.手机版本均为iOS13.1.3

抱歉,是在使用QRCodeReader.swift时

Sorry I don't know Mandarin. Can you write in English please?

I have also encountered this and this crash problem, which has been solved just now. The specific reason is that your application or the third-party module you use refers to fishhook, which only needs to be removed

Thank you very much. I'll have a try. @yannickl @xhl916235259

Ok, you press this train of thought to try, should be ok settle, I also searched this problem to search good for a while, wish you good luck

You also good luck


Update CNI version for the dropgz image

Update the CNI release version (1.5.0) to be used in the dropgz image

Reason for Change:

Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

/azp run


Participant list is empty on incoming calls, even after the call is established.

Describe the issue
When answering a call using ICall.AnswerAsync, the calls participant list is initially empty, both when accessing it from the state of ICall.Participants, but also when making an api request to communications/calls/{CallId}/participants after the call has been established.
Querying for specific participantIds, like sourceParticipantId, gives error message "Participant not found"
The list only starts to work after an additional participant update (other than the app joining) happens in a call, for example a third participant joining, or a participant going on hold. Then the client receives an update notification, which updates ICall.Participants, and any subsequent api request correctly returns a populated list.
Code Snippet
public ILocalMediaSession CreateMediaSession()
{
	return communicationsClient.CreateMediaSession(
		new AudioSocketSettings
		{
			StreamDirections = StreamDirection.Sendrecv,
			SupportedAudioFormat = AudioFormat.Pcm16K,
			ReceiveUnmixedMeetingAudio = true
		},
		new VideoSocketSettings
		{
			StreamDirections = StreamDirection.Inactive
		}
	);
}

private async void registerIncomingCall(ICallCollection sender, CollectionEventArgs<ICall> args)
{
	foreach(ICall newCall in args.AddedResources)
        {
		var mediaSession = CreateMediaSession();
		await newCall.AnswerAsync(mediaSession);

		newCall.OnUpdated += OnCallUpdated;
	}
}

private async void OnCallUpdated(ICall sender, ResourceEventArgs<Call> args)
{
	Call call = args.NewResource;
	CallState state = call.State.Value;
	if(state == CallState.Established)
        {
		var statefulParticipants = sender.Participants;
		Console.WriteLine("Number of participants in the stateful participant collection " + statefulParticipants.Count);
		//Number of participants in the stateful participant collection 0

		var callId = sender.Id;
		var participantsRequest = graphClient.Communications.Calls[callId].Participants.Request();
		Console.WriteLine(participantsRequest.GetHttpRequestMessage().ToString());
		/*
                Method: GET, RequestUri: 'https://graph.microsoft.com/v1.0/communications/calls/401f5d00-0765-4f40-afe5-72d29f138841/participants', Version: 2.0, Content: < null >, Headers:
		{
		}*/

		var requestedParticipants = await participantsRequest.GetResponseAsync();
		Console.WriteLine(await requestedParticipants.Content.ReadAsStringAsync());
		//{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#communications/calls('401f5d00-0765-4f40-afe5-72d29f138841')/participants","value":[]}

		var callerId = sender.Resource.IncomingContext.SourceParticipantId;
		var sourceParticipant = await sender.Participants.GetAsync(callerId);
		/*Microsoft.Graph.Communications.Core.Exceptions.ServiceException: 'Code: 8522
		Message: Participant not found*/
	}
}

Expected behavior
A notification is sent when the incoming call is established, to update the state of ICall.Participants
After the incoming call is established, requests to communications/calls/{CallId}/participants return a populated list
Graph SDK (please complete the following information):

Microsoft.Graph version 4.18.0
Microsoft.Graph.Communications version <IP_ADDRESS>22

Call ID
401f5d00-0765-4f40-afe5-72d29f138841
Additional context

Problem does not occur when making a meeting with the graphclient and joining it.
Web client is able to display the participant list correctly for the same calls:

Found a work around: Invite someone into the call (They do not have to join).
This triggers a participant update which updates the stateful participant list and makes api request work.


Suggestion of Add a comparer

There are two instances(A & B) of a certain class. These two instances are exact the same, but they have different hash. Is it possible to add a comparer so that if A is selected, then B cannot be added.

Can you please be a bit more specific regarding the issue you have? Do you use/bind those object instances (A and B) as selectable items in MultiSelectComboBox control? Maybe you are referring to using IGroupIdentityService (that's where a comparer is needed)? And what do you mean that the objects are the same by have different hash? Generally I think equal objects should have the same hash.

A and B have the same ID(int), an attribute of the class, so in this case, I may regard A and B as the same. If A is selected, B cannot be selected as another item. But I think you are right. equal objects should have the same hash. I should address this problem in my codes.
Another issue is that I cannot get the MultiSelectComboBox's Name, AutomationID, and etc. attributes in the "inspect.exe", even if I set these attribtutes. It may cause some confusion in the application having several multiselect combobox when making UI automation.

MultiSelectComboBox is based on custom UI which may be "misunderstood" by inspection software. Maybe you can workaround that issue by using a custom template for the control, and then place the Name, AutomationID on inner elements that you actually want to inspect. Anyway, if you have multiple instances of the control, you should still be able to see the different Name values on the containers of the custom UI they trigger.
Note, regardless, that (according to Microsoft) inspect.exe is considered a legacy tool and it may be unable to "dig in" into the most advanced stuff. Maintained professional inspection tools should have no issue finding the controls.

Thanks so much for your quick response!!!
Could you recommend some professional inspection tools?


Clarify where ngDisabled should be used

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Update documentation.
What is the current behavior? (You can also link to an open issue here)
n/a
What is the new behavior (if this is a feature change)?
n/a
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
My understanding is that ngDisabled is for form elements only so I propose that the documentation reflect this more clearly.

():

@samuraijane No need to close it, you can update the PR.

@Narretz Thank you. Still learning how to do this.

@samuraijane are you going to update this PR? If not, I'm gonna close it, and you can reopen it once you have time to update it.


Fix: HttpsHelloWorld

The keystore in examples had expired. Have added a new keystore and certificate, along with instructions to create one.

closing in favour of #481


on_init should only trigger if the parameter is set in the constructor

My hope when suggesting #513 was that a parameter would be triggered if it were passed into the constructor. It appears that the on_init argument always triggers on init regardless of whether the parameter was passed or not.
In the following example when Test is instantiated without any arguments then it still triggers the method that depends on s.

I think it should work equivalent to this:
def __init__(self, **params):
        super().__init__(**params)
        if 's' in params:
            self.param.trigger('s')

It may be useful to always trigger a method on initialization, but since that behavior is independent of any parameters then it should be a separate decorator that isn't associated with parameters. For example:
class Test(param.Parameterized):
    s = param.String(default='default')

    @param.on_init
    def run_on_initialization(self):
        print(self.s)

Having the on_init argument in the depends decorator makes it seem like it is associated with the parameters that are also passed in to the depends decorator. Currently it's not, but I think it should be.

I think on_init is correctly implemented as independent of any parameter or argument passing; it was designed to cover the case where some parameter values would be undefined unless the method gets invoked, and shouldn't depend on what the user may or may not have passed in the constructor. It's true that it could be a separate decorator, but then we'd have to document and make people aware of that separate decorator, and I think it's easier to tell people to just examine the options available for param.depends and select the behavior you want.
That said, I think you're right that there is functionality missing here, and I think it's what you originally pointed out in #513, i.e. that when a user passes in a parameter to the constructor, that should trigger the method getting called, even if on_init=False. I think that's a valid bug report and at a semantic level, I think the method should get triggered (and should always have gotten triggered) when such values were specified, independently of any setting of on_init (which is largely for different purposes). I'm not sure if it's safe to make that change now, but I'd guess the typical worst outcome of doing so would be to have the method invoked unnecessarily many times? If that's a problem, we could add a new keyword on_argument, which invokes the method specifically in the case that an argument for the indicated parameter values is supplied in the constructor. But I'd support making one of those two fixes.

@philippjfr are there any remaining functionalities needed after #620? Or can we close this?

@philippjfr, can you please clarify the status of #620 -- is it sufficient to address this issue? Only partial? To be abandoned?


Multi-user playback of RTSP live streams

I used ffmpeg to convert RTSP into FLV, and used websocket to push to FLVJS. When there were two users connected, I directly transmitted the stream from the first ffmpeg to the second user, and then the second user client FLVJS reported an error: non-flv, Unsupported media type!

Have you considered using a media server like nginx with nginx-http-flv-module? This would allow you to publish flv from ffmpeg and have any many consumers as you like. This would be using flv over http. If you really want websockets you could use node-media-server but I've found this to have a higher CPU load compared to nginx.


Enable Push Notifications after Elastic Beanstalk deployment

I've been able to successfully deploy Parse Server to AWS Elastic Beanstalk using the button on https://github.com/ParsePlatform/parse-server-example, update my iOS client with the appropriate custom ParseClientConfiguration, and create a _PushStatus document on my mLab managed mongoDB through a curl request. However, when I do the latter, my sample iOS device does not receive a APNS Push Notification. How do I add a .p12 certificate and specify my bundle id and development status on EB?

please follow this to setup your Parse Server on AWS

and this to setup your ios app to receive push

I deployed parse server to AWS Elastic Beanstalk successfully but couldn't get push notification.
"Error:XMLHttpRequest failed: 'Unable to connect to the Parse API'"
How to connect Parse API? I think server configuration has no problem.

Update: Downloaded code through EB CLI and edited index.js and uploaded .p12 certificate. However, now the pushes say "sending" on dashboard and have status of "pending" on mLab database for hours on end. How do I get the pushes to actually get sent?

I would do a local machine test first.

I don't get any error but my device couldn't get push notification.

@david-koch-pro , @gkswamy98    Were you guys able to resolve it? Can you guys add instructions here ?

Originally, I've uploaded .p12 production file and couldn't receive notification on my device. So I recreated certificated file for both of development and distribution and uploaded again.
Now, I can receive any push message on device.

push: {
ios: [
{
pfx: 'Certificates.p12',
bundleId: 'com.asdf.qwer',
production: true
},
{
pfx: 'CertificatesDev.p12',
bundleId: 'com.asdf.qwer',
production: false
}
]
}

@david-koch-pro Thanks. I regenerated the certs.Still not getting the notifications.
Here is my push code:
var query = new Parse.Query(Parse.Installation);
query.equalTo("installationId", instalationId);
Push.send({
where: query,
data: {
header: "Status : " + status ,
alertMessage: receiverNumber + " " + status,
alert: receiverNumber + " " + status,
badge: "Increment",
sound: "cat.caf",
receiverName : receiverName,
receiverNumber : receiverNumber,
message : message,
status : status
}
},{
success: function() {
console.log("notification sent to [" + receiverName + ";" + receiverNumber + "; Message : " + message +"]");
},
error: function(error) {
console.log("Error sending senderPush: " + error.message);
},
useMasterKey: true
});
I can see success statements printing on console but no push being received.

I had same problem when I test on my local machine Mac OS X.     But once it's on the aws ebs.  , everything is fine.   So I would suggest when you test your push notification.  , setup one a nodejs server machine.  And try again.

In my case. It's was apeared to be a thread issue.


refactor: Improve context of assignment

Description:
Now it also shows the normalized form.

I extracted this from https://github.com/dudykr/stc/pull/566