Nuget restore on .NET Core project does not publish all the dependencies to build info

I am trying to use the jfrog cli to collect Nuget dependencies for a .NET core project using a virtual repository in Artifactory. During the restore, I see that some of the packages are skipped with the error "[Warn] The file C:\Users***.nuget\packages\microsoft.aspnetcore.http.connections.common\1.0.4\microsoft.aspnetcore.http.connections.common.1.0.4.nupkg doesn't exist in the NuGet cache directory but it does exist as a target in the assets files. Skipping adding this file to the build info.". Because of this, the number of dependencies that I see on the build in artifactory does not seem to match the actual number of dependencies on the project. Any way to get around this? I tried running the nuget restore with "-NoCache" and "-Force" option and tried clearing all the local caches before running the restore command but to no avail.

Thanks for raising this question @jigar61.
When the jfrog rt nuget restore command is executed, JFrog CLI first executes the restore command using the nuget client, and then starts collecting the list of packages (build dependencies), which were resolved (downloaded from Artifactory or cached locally) by nuget. This list of dependencies is then added to the build-info. JFrog CLI supports both .net projects with use the project.assets.json file (like in this case) or packages.config. The project.assets.json includes the details of the dependencies used by the project. Some dependencies however may be "core packages" which were not downloaded from Artifactory by the nuget client, but are included as part of .net framework or operating system. In this case, the package is microsoft.aspnetcore.http.connections.common. This package file therefore is located in a different location on the file system, and therefore, is not picked up by JFrog CLI, as the message in logs states.
This behaviour is expected, since this package comes with the framework, and is not an external dependency that the build uses. We may need to change this warning log message into an info message.
Please let me know what you think.

@jigar61,
Are you still facing the issue of the missing dependencies?
Which NuGet resolving method are you using?
We tried to reproduce this issue with several .NET projects, but unfortunately we didn't receive these warning messages.
Is it possible for you to provide us some minimal example project (or even just packages.config or .csproj file) to reproduce the issue?

Yup we still are seeing those missing dependencies. As @eyalbe4 said above, we are accepting those missed dependencies as "core packages" that don't need to be included in the build info.

@jigar61
Can you please list some of the full names and versions of these dependencies?
Are you using packages.config or the reference method?

We are using the jfrog cli nuget restore command on both .NET Framework and .NET Core projects. I am attaching a sample csproj file that produces the missing dependencies. Some examples of those are below:
microsoft.aspnetcore.razor.design\2.1.2\microsoft.aspnetcore.razor.design.2.1.2.nupkg
microsoft.aspnetcore.session\2.1.1\microsoft.aspnetcore.session.2.1.1.nupkg
microsoft.identitymodel.clients.activedirectory\3.14.2\microsoft.identitymodel.clients.activedirectory.3.14.2.nupkg
runtime.win-arm64.runtime.native.system.data.sqlclient.sni\4.4.0\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg
system.diagnostics.tools\4.3.0\system.diagnostics.tools.4.3.0.nupkg
system.reflection.extensions\4.3.0\system.reflection.extensions.4.3.0.nupkg
microsoft.aspnetcore.http\2.1.1\microsoft.aspnetcore.http.2.1.1.nupkg
runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg
runtime.native.system.security.cryptography.openssl\4.3.0\runtime.native.system.security.cryptography.openssl.4.3.0.nupkg
system.composition.runtime\1.0.31\system.composition.runtime.1.0.31.nupkg
system.diagnostics.process\4.3.0\system.diagnostics.process.4.3.0.nupkg
system.security.cryptography.pkcs\4.5.0\system.security.cryptography.pkcs.4.5.0.nupkg
messagepack\<IP_ADDRESS>\messagepack.<IP_ADDRESS>.nupkg
microsoft.extensions.hosting\2.1.1\microsoft.extensions.hosting.2.1.1.nupkg
microsoft.extensions.logging.abstractions\2.1.1\microsoft.extensions.logging.abstractions.2.1.1.nupkg
system.diagnostics.fileversioninfo\4.3.0\system.diagnostics.fileversioninfo.4.3.0.nupkg
system.reflection.emit.lightweight\4.3.0\system.reflection.emit.lightweight.4.3.0.nupkg
microsoft.extensions.fileproviders.embedded\2.1.1\microsoft.extensions.fileproviders.embedded.2.1.1.nupkg
microsoft.extensions.localization.abstractions\2.1.1\microsoft.extensions.localization.abstractions.2.1.1.nupkg
microsoft.extensions.logging.eventsource\2.1.1\microsoft.extensions.logging.eventsource.2.1.1.nupkg
system.io\4.3.0\system.io.4.3.0.nupkg
microsoft.aspnetcore.applicationinsights.hostingstartup\2.1.1\microsoft.aspnetcore.applicationinsights.hostingstartup.2.1.1.nupkg
stackexchange.redis.strongname\1.2.6\stackexchange.redis.strongname.1.2.6.nupkg
system.net.sockets\4.3.0\system.net.sockets.4.3.0.nupkg
microsoft.aspnetcore.diagnostics.entityframeworkcore\2.1.1\microsoft.aspnetcore.diagnostics.entityframeworkcore.2.1.1.nupkg
microsoft.aspnetcore.staticfiles\2.1.1\microsoft.aspnetcore.staticfiles.2.1.1.nupkg
microsoft.extensions.diagnosticadapter\2.1.0\microsoft.extensions.diagnosticadapter.2.1.0.nupkg
system.collections.specialized\4.3.0\system.collections.specialized.4.3.0.nupkg
system.reflection.primitives\4.3.0\system.reflection.primitives.4.3.0.nupkg
microsoft.aspnetcore.dataprotection.azurestorage\2.1.1\microsoft.aspnetcore.dataprotection.azurestorage.2.1.1.nupkg
system.collections.immutable\1.5.0\system.collections.immutable.1.5.0.nupkg
microsoft.extensions.configuration\2.1.1\microsoft.extensions.configuration.2.1.1.nupkg
sqlitepclraw.provider.e_sqlite3.netstandard11\1.1.11\sqlitepclraw.provider.e_sqlite3.netstandard<IP_ADDRESS>.nupkg
system.identitymodel.tokens.jwt\5.2.0\system.identitymodel.tokens.jwt.5.2.0.nupkg
microsoft.aspnetcore.authentication.core\2.1.1\microsoft.aspnetcore.authentication.core.2.1.1.nupkg
microsoft.extensions.configuration.commandline\2.1.1\microsoft.extensions.configuration.commandline.2.1.1.nupkg
system.reflection\4.3.0\system.reflection.4.3.0.nupkg
microsoft.aspnetcore.diagnostics\2.1.1\microsoft.aspnetcore.diagnostics.2.1.1.nupkg
runtime.native.system.data.sqlclient.sni\4.4.0\runtime.native.system.data.sqlclient.sni.4.4.0.nupkg
system.collections.concurrent\4.3.0\system.collections.concurrent.4.3.0.nupkg
system.composition.attributedmodel\1.0.31\system.composition.attributedmodel.1.0.31.nupkg
microsoft.aspnetcore.localization.routing\2.1.1\microsoft.aspnetcore.localization.routing.2.1.1.nupkg
microsoft.codeanalysis.csharp.workspaces\2.8.0\microsoft.codeanalysis.csharp.workspaces.2.8.0.nupkg
microsoft.extensions.configuration.ini\2.1.1\microsoft.extensions.configuration.ini.2.1.1.nupkg
microsoft.extensions.fileproviders.composite\2.1.1\microsoft.extensions.fileproviders.composite.2.1.1.nupkg
runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg
microsoft.aspnetcore.authentication.abstractions\2.1.1\microsoft.aspnetcore.authentication.abstractions.2.1.1.nupkg
microsoft.aspnetcore.localization\2.1.1\microsoft.aspnetcore.localization.2.1.1.nupkg
sqlitepclraw.lib.e_sqlite3.linux\1.1.11\sqlitepclraw.lib.e_sqlite3.linux.1.1.11.nupkg
microsoft.netcore.dotnethostresolver\2.1.0\microsoft.netcore.dotnethostresolver.2.1.0.nupkg
system.io.filesystem\4.3.0\system.io.filesystem.4.3.0.nupkg
microsoft.extensions.configuration.xml\2.1.1\microsoft.extensions.configuration.xml.2.1.1.nupkg
microsoft.identitymodel.tokens.saml\5.2.0\microsoft.identitymodel.tokens.saml.5.2.0.nupkg
remotion.linq\2.2.0\remotion.linq.2.2.0.nupkg
system.diagnostics.stacktrace\4.3.0\system.diagnostics.stacktrace.4.3.0.nupkg
system.threading.timer\4.3.0\system.threading.timer.4.3.0.nupkg
microsoft.aspnetcore.websockets\2.1.1\microsoft.aspnetcore.websockets.2.1.1.nupkg
microsoft.extensions.configuration.json\2.1.1\microsoft.extensions.configuration.json.2.1.1.nupkg
runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg
microsoft.aspnetcore.responsecaching\2.1.1\microsoft.aspnetcore.responsecaching.2.1.1.nupkg
microsoft.extensions.logging\2.1.1\microsoft.extensions.logging.2.1.1.nupkg
microsoft.rest.clientruntime\2.3.8\microsoft.rest.clientruntime.2.3.8.nupkg
runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg
system.componentmodel.annotations\4.5.0\system.componentmodel.annotations.4.5.0.nupkg
system.reflection.emit.ilgeneration\4.3.0\system.reflection.emit.ilgeneration.4.3.0.nupkg
microsoft.aspnetcore.antiforgery\2.1.1\microsoft.aspnetcore.antiforgery.2.1.1.nupkg
sqlitepclraw.lib.e_sqlite3.osx\1.1.11\sqlitepclraw.lib.e_sqlite3.osx.1.1.11.nupkg
system.text.encodings.web\4.5.0\system.text.encodings.web.4.5.0.nupkg
microsoft.aspnetcore.diagnostics.abstractions\2.1.1\microsoft.aspnetcore.diagnostics.abstractions.2.1.1.nupkg
microsoft.visualstudio.web.browserlink\2.1.1\microsoft.visualstudio.web.browserlink.2.1.1.nupkg
newtonsoft.json.bson\1.0.1\newtonsoft.json.bson.1.0.1.nupkg
system.composition.typedparts\1.0.31\system.composition.typedparts.1.0.31.nupkg
system.diagnostics.contracts\4.3.0\system.diagnostics.contracts.4.3.0.nupkg
system.runtime\4.3.0\system.runtime.4.3.0.nupkg
system.threading\4.3.0\system.threading.4.3.0.nupkg
system.threading.tasks\4.3.0\system.threading.tasks.4.3.0.nupkg
system.security.accesscontrol\4.5.0\system.security.accesscontrol.4.5.0.nupkg
microsoft.aspnetcore.responsecaching.abstractions\2.1.1\microsoft.aspnetcore.responsecaching.abstractions.2.1.1.nupkg
system.io.pipelines\4.5.2\system.io.pipelines.4.5.2.nupkg
system.linq.parallel\4.3.0\system.linq.parallel.4.3.0.nupkg
system.text.regularexpressions\4.3.0\system.text.regularexpressions.4.3.0.nupkg
microsoft.aspnetcore.hosting\2.1.1\microsoft.aspnetcore.hosting.2.1.1.nupkg
microsoft.aspnetcore.http.extensions\2.1.1\microsoft.aspnetcore.http.extensions.2.1.1.nupkg
microsoft.extensions.fileproviders.abstractions\2.1.1\microsoft.extensions.fileproviders.abstractions.2.1.1.nupkg
system.security.cryptography.primitives\4.3.0\system.security.cryptography.primitives.4.3.0.nupkg
system.security.cryptography.xml\4.5.0\system.security.cryptography.xml.4.5.0.nupkg
My.csproj.txt

@jigar61,
I was able to restore the the project defined in the attached .csproj file, and my build info includes all the dependencies listed in your comment above.
It is documented in our source code that those dependencies might be located in NuGetFallbackFolder.
As described here, NuGetFallbackFolder folder "contains a cache of NuGet packages used by an SDK during the restore operation...This folder is only used prior to .NET Core 3.0."
I checked .NET Core SDK version:
$ dotnet --version 3.1.201
After downgrading
$ dotnet --version 2.2.207
I started to see the warning messages, and my build info is now missing 142 dependencies.
Can you please tell us the .NET Core SDK version in use?

The .NET Core SDK version in use is 3.1.201 for us as well. However we are using jfrog rt nuget restore to restore the project which I assume uses msbuild and not the dotnet cli.

We have the same issue here during JFrog/XRay evaluation.
I tried 'jf dotnet restore' and 'jf nuget restore' - tried in various combinations including nuget locals all -clear.
Any plan to resolve this issue from JFrog?

@voneinem -
Will you be able to share more information about the issue?
What exactly is the challenge you're facing?


Raise hand button component

What

Why

How Tested

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


Raspberry Pi OS doesn't seem to adhere to DoH but clients do?

Operating System
32-bit
Project
Cloudflare
Platform
Linux
Browser
Chrome
Issue
Not working, Other (explain in description)
Issue Description
My Rasperry Pi when testing via <IP_ADDRESS>/help seems to not show that DoH is working
Only DoT indicates that it is working
But all my client devices are able to correctly show it
I even checked the service on the raspberry pi and it is running

This is on my RPI

I have followed these articles
https://github.com/trinib/AdGuard-WireG ... TTPS-proxy
https://github.com/trinib/AdGuard-WireG ... d-with-doh
To reiterate :
All my devices that are on my LAN are able to get the DoH and DoT working.
It's only when I test it on the RPI that runs it and only for DoH that I see this happening.

@eltonajmenezes It would not show. Explanation:
Cloudfared tunnel daemon  creates outbound-only connections to Cloudflare's edge. This daemon sits between Cloudflare network and your origin. Cloudflare attracts client requests and sends them to you via the daemon
Dns resolving software like unbound / bind / stubby / powerdns etc automatically advertises itself as the DNS server automatically on Linux. They provide a combination of a lightweight resolver library that can be run on DNS clients, such as host operating systems or routers, and a resolver daemon process which can run on a local host.

To get DoH locally,  there are ways with dnscrypt or dnsmasq for example. You will need to do some tweaking to get unbound to work with it being both using port 53. There are maybe other ways as well.

Thank you @trinib for this explanation.
Do you have any articles that you can send my way so that I can achieve this?
The main reason why I am asking is when I am out of my home network I want to VPN into my network and achieve the security I setup.

Thank you @trinib for this explanation.
Do you have any articles that you can send my way so that I can achieve this?
The main reason why I am asking is when I am out of my home network I want to VPN into my network and achieve the security I setup.

correct me if I'm wrong, do want the server side(pi/linux) to have dns security as the client side do?
if so that can be tricky with one of the two sides communicating with ports for traffic, request etc. I don't think I saw a specific guide for that anywhere, I could be wrong.

@eltonajmenezes  I think if you want a Linux system that is self-hosting some type of server ( if that's is your case), it makes more sense to have a second Linux system as a VPN server and the other connected as a client that is hosting something like yunohost, home assistant etc...

Thank you @trinib for this explanation.
Do you have any articles that you can send my way so that I can achieve this?
The main reason why I am asking is when I am out of my home network I want to VPN into my network and achieve the security I setup.

correct me if I'm wrong, do want the server side(pi/linux) to have dns security as the client side do?
if so that can be tricky with one of the two sides communicating with ports for traffic, request etc. I don't think I saw a specific guide for that anywhere, I could be wrong.

Yes I would like the server side to have security.
As it stands if I connect to my server via a VPN and do a <IP_ADDRESS>/help test then I see DoT is marked Yes!
I would like to have DoH as well.
And unfortunately I don't have any other system(s) I can use.
I have setup my RPI with AdGuard by following your perfect instructions.
But would really like to have the ability to securely route my traffic when I am outside as I do from home.
Hope this makes my ask/query a bit clearer.

@eltonajmenezes  Ohhh I now get what you're thinking. You want DoH to show on the server side of things for WireGuard. No! that is not how it works. WireGuard uses an encrypted tunnel between two devices that has it's own IP and DNS security protocols. Running DoH tunnel or resolver, and DoT services on linux has NOTHING to do with a WireGuard connection accessing DoH/DoT security from outside.
You get DoH and DoT security with the VPN by adding it through it's DNS SERVERS, which I stated in guide it might not make much difference using them together(it's optional). WireGuard is good enough for encrypting data from hackers that is using some sort of network sniffing tool or middle man attack. DoH/DoT is more for privacy, security and speed on your home network when browsing websites mostly , also can blocks websites phishing.

But would really like to have the ability to securely route my traffic when I am outside as I do from home.

And do not worry, your traffic is secure using with or without Unbound or Cloudflare DNS servers alongside it.

@eltonajmenezes  Ohhh I now get what you're thinking. You want DoH to show on the server side of things for WireGuard. No! that is not how it works. WireGuard uses an encrypted tunnel between two devices that has it's own IP and DNS security protocols. Running DoH tunnel or resolver, and DoT services on linux has NOTHING to do with a WireGuard connection accessing DoH/DoT security from outside.
You get DoH and DoT security with the VPN by adding it through it's DNS SERVERS, which I stated in guide it might not make much difference using them together(it's optional). WireGuard is good enough for encrypting data from hackers that is using some sort of network sniffing tool or middle man attack. DoH/DoT is more for privacy, security and speed on your home network when browsing websites mostly, also can block websites phishing.

But would really like to have the ability to securely route my traffic when I am outside as I do from home.

And do not worry, your traffic is secure using with or without Unbound or Cloudflare DNS servers alongside it.

Thanks for this clarification. Though I read in quite a few places that in some instances you would want to funnel outside traffic into your home network.
That's why I was hoping I could have DoH enabled as well so the device would always be subjected to the same thing e.g. AdGuard, unbound etc.

That's why I was hoping I could have DoH enabled as well so the device would always be subjected to the same thing e.g. AdGuard, unbound etc.

If you want it like that maybe I can try to get it to work .. I'll find some guide for now to share, maybe you can get it to work

Ok, I think I might have a way to what you want. First I think there is no way that you can get DoH and DoT to show on the server side cause, these resolving DNS tools all need port 53 to listen openly on systems, firewalls, and clients to transmit DNS queries. What you need is to get DoH client(native) for Linux.
DNSCrypt is a protocol that encrypts, authenticates and optionally anonymizes communications between a DNS client and a DNS resolver. It can forward queries(like stubby) from a local DNS cache. It needs to listen on a different port from the default 53, cause the DNS cache using with Unbound needs to listen on 53.
Here is a guide from archlinux : https://wiki.archlinux.org/title/Dnscrypt-proxy#Local_DNS_cache_configuration (use service method to change ports)and configure unbound : https://wiki.archlinux.org/title/Dnscrypt-proxy#Unbound

Just know, what you want to accomplish here only make sense if you are actually home physically, browsing websites on the Linux server system.

Thanks for this clarification. Though I read in quite a few places that in some instances you would want to funnel outside traffic into your home network

I think your whole point of view on this,  is that you think you are like actually home using a device locally on your network with outside traffic around it. Understand WireGuard just routes to your home network using an encrypted tunnel,  in result, making your devices on public networks seems like it's home but actually NOT .. That is one of the main concepts and feature of a VPN(virtual private network) like the paid ones, that change to different country locations(for restrictions) when you are actually not there.
I hope you understand now, DNS security tools on Linux has nothing to do with protecting traffic data from outside to home with WireGuard Tunnel. The DoH/DoT applies only when you add it to WireGuard DNS servers. That client(device) is still in WireGuard tunnel network with all DNS security regardless from Cloudfare<IP_ADDRESS> on Linux server side showing DoH : yes

Ok, I think I might have a way to what you want. First I think there is no way that you can get DoH and DoT to show on the server side cause, these resolving DNS tools all need port 53 to listen openly on systems, firewalls, and clients to transmit DNS queries. What you need is to get DoH client(native) for Linux.
DNSCrypt is a protocol that encrypts, authenticates and optionally anonymizes communications between a DNS client and a DNS resolver. It can forward queries(like stubby) from a local DNS cache. It needs to listen on a different port from the default 53, cause the DNS cache using with Unbound needs to listen on 53.
Here is a guide from archlinux : https://wiki.archlinux.org/title/Dnscrypt-proxy#Local_DNS_cache_configuration (use service method to change ports)and configure unbound : https://wiki.archlinux.org/title/Dnscrypt-proxy#Unbound

Just know, what you want to accomplish here only make sense if you are actually home physically, browsing websites on the Linux server system.

Thanks for this clarification. Though I read in quite a few places that in some instances you would want to funnel outside traffic into your home network

I think your whole point of view on this,  is that you think you are like actually home using a device locally on your network with outside traffic around it. Understand WireGuard just routes to your home network using an encrypted tunnel,  in result, making your devices on public networks seems like it's home but actually NOT .. That is one of the main concepts and feature of a VPN(virtual private network) like the paid ones, that change to different country locations(for restrictions) when you are actually not there.
I hope you understand now, DNS security tools on Linux has nothing to do with protecting traffic data from outside to home with WireGuard Tunnel. The DoH/DoT applies only when you add it to WireGuard DNS servers. That client(device) is still in WireGuard tunnel network with all DNS security regardless from Cloudfare<IP_ADDRESS> on Linux server side showing DoH : yes

Thank you for this information @trinib
So I read this statement

Just know, what you want to accomplish here only make sense if you are actually home physically, browsing websites on the Linux server system.

I want to also have the DNScrypt to be encrypting traffic of my LAN network through AdGuard.
Can this be done and if so how?
(I have seen many articles of AdGuard and DNS crypt but I am unsure which is the one I should be using)
Is this a replacement of cloudflared DoH?

yes you can add to adguard it will be <IP_ADDRESS>:53000

is this a replacement of cloudflared
DoH?

cloudflare tunneling and resolving are not the same so you can have it installed with dnscrpyt

Also keep in mind devices that is connected to adguard using cloudflare and dnscrpyt both using dns over https and querying traffic can have complicatations. Use one or the other if I was you.

yes you can add to adguard it will be <IP_ADDRESS>:53000

is this a replacement of cloudflared
DoH?

cloudflare tunneling and resolving are not the same so you can have it installed with dnscrpyt

I have seen this article
https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Installation-linux
I guess this is similar to what you mentioned right? I.E. installing it locally for the Linux system?
https://wiki.archlinux.org/title/Dnscrypt-proxy#Unbound
And I found these articles
https://blog.cloudflare.com/deploying-gateway-using-a-raspberry-pi-dns-over-https-and-pi-hole/
https://github.com/AdguardTeam/AdGuardHome/wiki/DNSCrypt
https://dev.to/cipherops/using-dnscrypt-with-adguard-home-pi-hole-7j6
In short:
What I would like to do is to have DoH on the Linux system but also have it so that I have DoH for clients working with AdGuard the way that cloudflared DoH is working now
And finally uninstall cloudflared DoH because it also throws errors.
Would you be able to clarify how to get this setup?

you can't because of port 53 needed for DNS resolvers.. they cannnot all work on the same port to resolve on <IP_ADDRESS>

you can't because of port 53 needed for DNS resolvers.. they cannnot all work on the same port to resolve on <IP_ADDRESS>

So how does DoT show them on the client and server side?
And if it's one or the other can you tell me how to properly setup for the client side the way cloudflare for AdGuard is setup now? as that is more important than having the system be DoH only

you can't because of port 53 needed for DNS resolvers.. they cannnot all work on the same port to resolve on <IP_ADDRESS>

@trinib
So how does DoT show them on the client and server side?
And if it's one or the other can you tell me how to properly setup for the client side the way cloudflare for AdGuard is setup now? as that is more important than having the system be DoH only

I guess you did not read FAQ
AdGuard Home is basically a DNS proxy

So how does DoT show them on the client and server side?

because port 53 is a reserved DNS port that listens openly on systems, firewalls, and clients to transmit DNS queries.

you can't because of port 53 needed for DNS resolvers.. they cannnot all work on the same port to resolve on <IP_ADDRESS>

@trinib

So how does DoT show them on the client and server side?

And if it's one or the other can you tell me how to properly setup for the client side the way cloudflare for AdGuard is setup now? as that is more important than having the system be DoH only

I guess you did not read FAQ
AdGuard Home is basically a DNS proxy

Forgive me for asking again.
I did read that FAQ, but the manner in which you have shown the setup for cloudflare with AdGuard to get DoH; is there a procedure I need to follow to get DNSCRYPT with DoH on AdGuard?
Because I'm sorry but I am quite confused about how to go about this.

you already asked that https://github.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare/issues/28#issuecomment-1115733792  ..  there are alot of different ways to achieve these DNS security and it can confusing for someone new to it.. you need utilize google search, read documents, test and trial like I did.  Asking people all the time eliminates your skills in problem solving , trust me.. think like no one understands it and your on only one learning it.  It's a confident  learning strategy i made for myself 😎

you already asked that https://github.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare/issues/28#issuecomment-1115733792  ..  there are alot of different ways to achieve these DNS security and it can be confusing for someone new to it.. you need utilize google search, read documents, test and trial like I did.  Asking people all the time eliminates your skills in problem solving , trust me.. sometimes think like no one understands it and your the only one learning it.  It's a confident  learning strategy i made for myself 😎
@trinib
I understand what you mean very clearly.
Could you at least guide me on which articles from the ones I found are correct for DoH on AdGuard via DNSCRYPT? Because there are quite a few I found that I listed or is what you suggested the way I can get the DoH for clients?

bro just try it


add crc32c and crc32 support

Coverage increased (+0.04%) to 91.178% when pulling da330f6b4e8832622669c6210edf0cd653b7896b on crc32 into 57f4d0ba6e5a816f577e8cb46bb856cb7a07348c on master.


Decomposition: add counter-rotating component

This PR adds the counter-rotating components cr_thin_d, cr_thick_d, and cr_disk=cr_thin_d+cr_thick_d to decomposition.
Also:

Moved both the component and ocut definitions to Decomposition.__init__() for consistency. Passing ocut to decompose_orbits() still works, but causes a deprecation warning.
Renamed warm_d -> thick_d for consistency.
Calculate the total flux via the all component rather than adding up individual components' fluxes.

Tested with dev_tests/test_decomp.py.
Open:

Shall we add another component consisting of disk+cr_disk?
Which parts of the hardcoded definitions shall be made accessible via parameters?

@juliala2504, could you have a look and test with your galaxy?
Closes #419.

Tested with bayes losvd kinematics and an orbit library of nE 7 nI2 5 nI3 5 dithering 3 (dont have results yet for the big orblib)
Plotting: The 'all' component seems very shallow but this might be due to the CR orbits canceling out the non-CR orbits.
I would suggest to implement a check where the weights of the components are summed up in different ways to see whether they're the same eventually e.g. 1) disk + bulge + cr_cold + cr_warm 2) cold + warm + bulge + cr_cold + cold_warm 3) sum up all weights independently of components.
Counterrotation should mainly be in the center, the velocity plots could mislead here (can this be changed? so that the red and blue shift does not reach to the outskirts since its not physically true?) but in the SB plots it can be seen well. It would be helpful if the colorbar adapts to the values if possible? so we can see some structure in the SB plots although weights are low.
What is strange is that we see the counterrotating nucleus in the think disk and also a bit in the thick disk component. This should not be this way as it should be displayed within „CR thin/thick disk“ only. Possible reason could be that the signs of the losvd histograms for the CR orbits have not been flipped while the lz signs have been?

Calculating kinematics of components (def comps_aphist):
It only calculates the lsb, velocity and sigma for the 'all' component, the other ones are missing, not sure why?
Open questions:

Disk+cr_disk is not needed
Besides the ocut it would be nice to choose the components for the plotting i.e. when you only want to investigate the cold and warm orbits you can choose those and dont get every single component in the plot

Besides the ocut it would be nice to choose the components for the plotting i.e. when you only want to investigate the cold and warm orbits you can choose those and dont get every single component in the plot

Implemented in last commit.

Calculating kinematics of components (def comps_aphist):
It only calculates the lsb, velocity and sigma for the 'all' component, the other ones are missing, not sure why?

This was a bug (fixed in last commit) - many thanks for catching it!
Also added the decomp_table=True option. Whet set, it saves the orbit-component mapping (see dev_tests/test_decomp.py).

I would suggest to implement a check where the weights of the components are summed up in different ways to see whether they're the same eventually e.g. 1) disk + bulge + cr_cold + cr_warm 2) cold + warm + bulge + cr_cold + cold_warm 3) sum up all weights independently of components.

As a step towards this, the last commits implement creating a table that has the aggregate weight assigned to each component (via the parameter Decomposition(..., comps_weights=True) when instantiating the Decomposition object). It does not do the different summations but this should be easily done, given that there are only few components.

Counterrotation should mainly be in the center, the velocity plots could mislead here (can this be changed? so that the red and blue shift does not reach to the outskirts since its not physically true?) but in the SB plots it can be seen well. It would be helpful if the colorbar adapts to the values if possible? so we can see some structure in the SB plots although weights are low.

This is also done in the last commits:  Added the individual_sb_colorbars parameter to plot_decomp(). If set to True, sb plots will have individual colorbar ranges.


Show inline diff for commit in the GRAPH tab

The Show commit option in the GRAPH tab shows the normal diff, but usually I prefer to see the inline diff.

I may be wrong, but I believe the inline diff is currently only reserved to staged/unindexed changed, at least the commands it supports (staging/unstaging hunks or lines, etc).
If you're looking for the nice word-diff coloring, there's another feature request for that (#527) which discusses just this.

You're right, cool, I will start following that other thread then.


Added regex test coverage

This adds a little regex test coverage tool/test. It tracks all matches (= the result of /some regex/.exec(code)) of all of Prism's regexes on all language tests. If a regex doesn't produce any non-null matches, it will be reported. Reported regexes are grouped by language, so the error message will look like this:

  1) Pattern test coverage
       Coverage
         - should cover all patterns in bison:
     AssertionError: 1 pattern(s) in bison are untested:
You can learn more about writing tests at https://prismjs.com/test-suite.html#writing-tests

Prism.languages.bison.bison.inside.number.pattern:
        /(^|[^@])\b(?:0x[\da-f]+|\d+)/gi
This pattern is completely untested. Add test files that match this pattern.
      at Context.<anonymous> (tests\coverage.js:98:13)
      at processImmediate (internal/timers.js:456:21)

  2) Pattern test coverage
       Coverage
         - should cover all patterns in gml:
     AssertionError: 5 pattern(s) in gml are untested:
You can learn more about writing tests at https://prismjs.com/test-suite.html#writing-tests

Prism.languages.gml.keyword:
        /\b(?:if|else|switch|case|default|break|for|repeat|while|do|until|continue|exit|…
This pattern is completely untested. Add test files that match this pattern.

Prism.languages.gml.number:
        /(?:\b0x[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ulf]*/gi
This pattern is completely untested. Add test files that match this pattern.

Prism.languages.gml.operator:
        /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not|with|at|xor)\…
This pattern is completely untested. Add test files that match this pattern.

Prism.languages.gml.constant:
        /\b(?:self|other|all|noone|global|local|undefined|pointer_(?:invalid|null)|actio…
This pattern is completely untested. Add test files that match this pattern.

Prism.languages.gml.variable:
        /\b(?:x|y|(?:x|y)(?:previous|start)|(?:h|v)speed|direction|speed|friction|gravit…
This pattern is completely untested. Add test files that match this pattern.
      at Context.<anonymous> (tests\coverage.js:98:13)
      at processImmediate (internal/timers.js:456:21)

This also means that all languages without any tests will be reported (we had 3: GML, Ren'py, and Arduino).
The current coverage only reports completely untested patterns and simple keyword lists that are not exhaustively tested. We might want to expand this in the future. Those future applications are not part of this PR because it takes a lot of time to make all of Prism's >200 languages conform to a new standard.
Edit: The only reason I included a test for exhaustive keyword tests is that I only needed to add 13 tests. It was quite easy to add.
The main motivation for this PR is code review.
With this test, we will never merge a language with missing tests ever again.

~I'm not quite done fixing all tests yet. I'll do the rest tomorrow or the day after.~
Edit: I'm done.

@mAAdhaTTah Could you please review this? I change a lot of files, so I kinda don't want to resolve merge conflicts for this. I would appreciate it if we could merge this quickly.
The main reason so many language definitions change is that I found and fixed bugs. (As it turns out, untested code can contain bugs.)
Most of the new code snippets in the new (and changed) test files are either from the official documentation of the respective programming language or from various sources (credited) I found while googling.
I also want to point out that the code coverage is by far not perfect. A regex (except for keyword lists) is considered covered if it has 1 match and since we don't know what parts of the pattern its matches cover, there is probably still a lot of untested code. I plan to address this problem in the future but the PR is already big enough for now.

@RunDevelopment For the future, for big PRs like this, it would be helpful to ship it without whitespace or style changes. It would make it easier to review, as I wouldn't have to determine whether a change is style or functional.

For the future, for big PRs like this, it would be helpful to ship it without whitespace or style changes.

Sorry about that.

It would be really nice if we could merge this. @mAAdhaTTah


Inherit namespace from enclosing element?

It might be nice if append and insert inherited their namespace from the enclosing element. For example, you could append("svg:svg") then append("g"), and the latter would be interpreted as "svg:g" rather than "xhtml:g". It seems like this would be a relatively safe change; the only thing I could see breaking would be SVG foreignObject elements; you'd need to append "xhtml:body" rather than "body", but that seems relatively innocuous.
(We might also want to make "html:" an alias for "xhtml:".)

The other magic thing we can do is that if you append("svg"), we can implicitly use the svg namespace because the element name matches the namespace prefix. (This could also work for the root html element, and similar for other namespaces such as math for MathML, provided that they are registered appropriately in d3.ns.prefix.)
And that would me ZERO* NAMESPACES!

with the exception of attr xlink:href … but close enough.

I like this idea, implicit namespaces will 'make simple things simple' while keeping stranger things possible.


How to obtain filename of currently building library or executable

I'm trying to make a change to the build system so that the name of the program database is specified. This is necessary for debugging under visual studio and will also prevent a stray vc143.pdb file from being generated directly in the mruby root.
In order to do this, for each src file that is being compiled I need to know the filename of the library or executable that it will end up in so I can base the pdb name on that, eg libmruby.lib -> libmruby.pdb, mrbc.exe -> mrbc.pdb etc. I thought that something like Build.current might lead me there but I've been unable to find a way to do it. The build system is rather complex...
Anyone help me out?

The other, really simple option is to use the /Z7 switch instead of /Zi which will embed the debug info in the library/exe itself, but using a separate pdb is better.

If in the build configuration file, you can refer to MRuby::Build#build_dir.
MRuby::Build.new do |conf|
  ...
  bindir = File.join(conf.build_dir, "bin")
  libdir = File.join(conf.build_dir, "lib")
  ...
end

Thanks. That gets me part of the way there. Now I need the name of the current library or executable being built. I'm happy to delve into the build system to do this (and submit a PR) but I've not been able to find a method to return me this information anywhere.

Currently, there is no mechanism to obtain the final library and executable names from within the build configuration file.
Therefore, you will need to type the file name yourself.

libmruby.lib => File.join(conf.build_dir, "lib/libmruby.lib")
mrbc.exe => File.join(conf.build_dir, "bin/mrbc.exe")
mruby.exe => File.join(conf.build_dir, "bin/mruby.exe")

One thing to note is that when executing the linker, it is not possible to specify a different debug file name for each individual executable name (Build system needs to be extended).
However, since the .pdb file says that it can incrementally update debugging information for multiple executables, I would expect this to not be a problem.
https://learn.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2022#cc-options


Paper: "Envisaging a global virtual image infrastructure for research on biological collection"

Led by Quentin Groom - multiple links to SDR work. In-progress, target journal TBC, target submission date TBC.

Being publishing as a pre-print in Authorea. Target journal being discussed again.

Preprint live!
Cite as: Quentin Groom, Mathias Dillen, Wouter Addink, et al. Envisaging a global infrastructure to exploit the potential of digitised collections. Authorea. October 26, 2022.
DOI: 10.22541/au.166678848.82362633/v1


Remove dead food providers

I suggest to remove food providers which are no longer in or service.
Although some came back....

Fixed


Added option to FullScan detecting

Codecov Report
Attention: Patch coverage is 88.63636% with 10 lines in your changes missing coverage. Please review.

Project coverage is 78.80%. Comparing base (e46c943) to head (efbaf8a).

Files
Patch %
Lines

...src/main/java/tech/ydb/jdbc/context/QueryStat.java
88.63%
5 Missing :warning:

...rc/main/java/tech/ydb/jdbc/context/YdbContext.java
87.09%
2 Missing and 2 partials :warning:

...main/java/tech/ydb/jdbc/impl/YdbStatementImpl.java
87.50%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #58      +/-   ##
============================================
+ Coverage     78.63%   78.80%   +0.17%
- Complexity     1774     1794      +20
============================================
  Files            55       56       +1
  Lines          4667     4752      +85
  Branches        475      483       +8
============================================
+ Hits           3670     3745      +75
- Misses          786      793       +7
- Partials        211      214       +3

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


cloudflare adapter

Maybe can use this as inspo https://www.gatsbyjs.com/docs/deploying-to-cloudflare-workers/

some caching info at the bottom https://github.com/cloudflare/kv-asset-handler


Can output full-size image when testing

When testing, output image size and input image size can be the same

When testing, output image size and input image size can be the same

You can resize output. If the size of testing is different from training, the results may be poor.


add x-ms-api-version for operations that api-version is required

modelerfour need the x-ms-api-version extention to notify it that this api-version does not need special handling (which happens for most api-version paramter),
Azure/autorest.modelerfour#183
#8803 fixed 2019-09-01 version, this PS is to fix 2019-10-01 version.
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@qiliao123 , could you have a look at the JS SDK failures?

/azp run


Add conversion to rotation matrices

Let me know if this seems useful, and if you want any changes.

@WestleyArgentum I can offer to continue this package if you still don't plan to do so at Forio.

Sorry, getting married tomorrow and totally distracted. I haven't actually been at Forio for a long time though and I don't have admin access to this. I can merge stuff, and I should be better about that, but the real answer is probably to talk with people there about turning it over. My guess is they'd be amenable to transferring the repo into a Julia organization perhaps, but I really don't know and will have to get back to you in a few days

Sure. I hope you have had awonderful wedding. If it simplifies anything, we can transfer it to JuliaLang instead of my personal account. Thanks for taking care of this.

bump

@andreasnoack I merged your PR, will try and rebase and merge the others soon.
@wglasshusain what do you think about moving this repo into one of the Julia organizations so that more people can pitch in and maintain it? There have been a few PRs that I haven't been qualified to review, and I hate feeling like I'm slowing everyone down :)

Hi Wes!  Like the new last name.   Does this mean that S. now has a triple hyphenated name?
I'm up for moving Quaternions.jl to one of the Julia organizations.  Do you want to start an email thread with the three of us<EMAIL_ADDRESS>for me) to discuss?   Do you think the Julia organization would be interested in the other Forio-hosted Julia libraries (like the logging library Lumberjack.jl )?
WGH


Add Moreleta Kloof

please add Moreleta Kloof hiking trail - Gauteng

Assigning to you. Thanks!

Thank you @runningdeveloper


r5x-pixelplusui-snowcone-12.1-amritoj2

U forgot first line

U forgot first line

First line bro ?


Add type inference for _inRange

For dart2js builds this doesn't (yet) affect them, but for DDC builds
this is important as _inRange is usually one of the most called methods
and the lack of type annotations make it so all these are dynamic
unnecessarily.
Since the only two usages of this are private and are either int or
double then  is a correct restriction.
DDC with this infers either 'int' or 'double' depending on the case.

Done. Feel free to merge whenever you have some time.


Added RegistartionId and RegistrationType attributes to CustomAction,…

Added RegistrationId and RegistrationType attributes to CustomAction entity in provisioning template which allows for Ribbon customizations

Hi @jcerniauskas, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

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

TTYL, MSBOT;

Hi,
Thanks for your contribution. I have added the suggested changes to the 2015-12 schema release. We will implement the capability pretty soon, and you will be credited for your efforts. I will close this PR. Thanks!


parser: move policyinfo test from tidb to parser

Signed-off-by: ailinkid<EMAIL_ADDRESS>
What problem does this PR solve?
In https://github.com/pingcap/parser/pull/1327 we move policyInfo into parser but the related test case.
So this pr move the missed policyInfo test from TiDB repo to Parser repo
What is changed and how it works?
move some tests.
Check List
Tests

Unit test
Integration test

/merge


Integration with WSL 2

Suggested new feature or improvement
Integration with WSL 2
Scenario
When cloning repositories, I'd like to set it up in a path inside WSL
Additional details
No response

Duplicate of #748


Fixes an assert / infinite loop / sigsegv in CreateIfStmt()

There's a change at line 29
ifstmt->setElse(nullptr);

In clang-8.0 the Create static method for clang::IfStmt was introduced and it changes how memory is allocated for the optional part of a condition. Trying to call clang::IfStmt::setElse() with a condition object that was not created with memory for the else branch allocated results in an assert in debug builds and undefined behavior in releases.


Correction to next steps section in how-to-creator-wfs and updated links in tutorial

#sign-off

@stevemunk - i'll merge this, but encourage you to test the links after this is live. (validation will verify the in-repo links to '.md' files, but cross repo links should be checked after publish). thanks.

@Jak-MS Thanks, will do.


Low performance in image manipulation

First of all I'm not sure I'm not doing something wrong or trying to accomplish something this library is not suited for.
I'm trying to manipulate an image at the byte level (stenography) and I'm getting a very slow performance.
This is what I'm doing:
lwip = require('lwip')

// obtain an image object:
lwip.open('image.jpg',
  function(err, image){
    if (!err) {

      var width = image.width();
      var height = image.height();
      var x;
      var y;
      var pixel;

      lwip.create(width, height, function (err, newImage) {

        var batch = newImage.batch();

        for (var i = 0; i < width * height; i++) {
          x = i % width;
          y = Math.floor(i / width);
          pixel = image.getPixel(x, y);
          // perform some manipulation
          batch.setPixel(x, y, pixel);
        }

        batch.writeFile('test.jpg', function (err) {
          if (err) return console.log(err);
        });

      });

    }
  }
);

Is there a better way of doing this?
This takes ~2.5 minutes with a 2000x1500 pixels JPEG file in an 1,8 GHz Intel Core i5

You have 3,000,000 operations which need to be done sequentially. Unfortunately I don't see a way to improve this on the JS side.


Lower the barrier for creating new specific Model Instance resource types

Since there are so many hydrological models, and since currently it is very difficult to create a specific model instance resource type, we would like to do an easy methodology to implement a new specific Model Instance resource type. This way a HydroShare user could create a specific model instance type for their specific model in a simplified way. This could be implemented as the following:

The user submit an Excel file that includes the required metadata elements for the new resource type based on defined Control Vocabulary through HydroShare. The user should indicate which of the metadata elements are repeatable and which are non repeatable.
This Excel sheet should be revised by a HS team member, then after the approval, it should be implemented automatically.

@mohamedmorsy Would like to discuss this issue with you on HipChat.

@pkdash Sure. We can do that.

@mohamedmorsy @pkdash
Could we delve into more details about this?
Could you give a sample spreadsheet and/or append it to this thread?

@alvacouch From my discussion with @mohamedmorsy it seems developers like @mohamedmorsy find it most difficult as it relates to client side coding for developing a new resource type. I am not sure how we can make that easier.

@pkdash @mohamedmorsy Let me think about this a bit. Is the issue that there is substantive client-side code that it is necessary to write in order to fetch a specific metadata attribute on the client? Or is it that the catalog of available attributes is difficult to manage and remember?

@alvacouch @mohamedmorsy  I don't think the difficulty is with fetching a metadata attribute. That's very simple to do. The difficulty is creating the form with necessary css and js for proper layout of metadata elements on the web page, dealing with repeatable metadata elements and making the UI elements responsive via js code. Now as I think about it, I think it can be made easier if snippets consisting of html, css and js are developed (this is how tethys platform does) which developers who are not comfortable writing client-side can easily glue together to create necessary UI functionalities.

@pkdash Where is the client? In Tethys? Elsewhere?

@alvacouch In Tethys

No longer relevant


Puppeteer + lighthouse:  subsequent targetchanged actions throws

I'm attempting to get Lighthouse playing "ok" with Puppeteer
use case: inject css/js into the page using puppeteer and have Lighthouse audit the page.
Since lighthouse reloads the page several times, I've used targetchanged to observer when those points in time happen. Here's an example:
const fs = require('fs');
const {URL} = require('url');
const puppeteer = require('puppeteer');
const lighthouse = require('lighthouse');
const ReportGenerator = require('lighthouse/lighthouse-core/report/v2/report-generator');

(async() => {
const url = 'https://www.chromestatus.com/features';

const browser = await puppeteer.launch({
  appMode: true, // see https://github.com/GoogleChrome/puppeteer/pull/1954
});

// Observer when Lighthouse opens/reloads the page and inject our script:
browser.on('targetchanged', async target => {
  const page = await target.page();
  page.on('console', msg => msg.text());
  if (page && page.url() === url) {
    // Throws after first `targetchanged`.
    await page.addScriptTag({content: 'console.log("here")'});
  }
});

const lhr = await lighthouse(url, {
  port: (new URL(browser.wsEndpoint())).port,
  output: 'json',
  // logLevel: 'info',
  // disableDeviceEmulation: true,
});

const html = new ReportGenerator().generateReportHtml(lhr);
fs.writeFileSync('lhr_results.html', html);

console.log(`Lighthouse score: ${lhr.score}`);

await browser.close();
})();

After the first targetchanged, puppeteer starts throwing "Cannot find context with specified id undefined" (ref: https://github.com/GoogleChrome/puppeteer/issues/1325).

Any update on this? I am stuck at this point

This happens because page.addScriptTag is called while lighthouse is re-loading the page.
There are two options:

catch error in page.addScriptTag since noone guarantees that page is not reloading
use page.evaluateOnNewDocument to evaluate before the page actually navigates.

The following works fine for me:
const fs = require('fs');
const {URL} = require('url');
const puppeteer = require('puppeteer');
const lighthouse = require('lighthouse');

(async() => {
  const url = 'https://www.chromestatus.com/features';

  const browser = await puppeteer.launch({
    defaultViewport: false,
    headless: false,
  });

  // Observer when Lighthouse opens/reloads the page and inject our script:
  browser.on('targetchanged', async target => {
    const page = await target.page();
    page.on('console', msg => msg.text());
    if (page && page.url() === url) {
      // Throws after first `targetchanged`.
      await page.addScriptTag({content: 'console.log("here")'}).catch(e => void e);
    }
  });

  const lhr = await lighthouse(url, {
    port: (new URL(browser.wsEndpoint())).port,
    output: 'html',
    // logLevel: 'info',
    // disableDeviceEmulation: true,
  });

  fs.writeFileSync('lhr_results.html', lhr.report);

  await browser.close();
})();


Sorry about this. I made a mistake. Please close this pull request.

翻译了几个条目。

Closing this like requested.
TaiXuan91, you know that you can also close every PR that you have created.


Warnings are not shown in the Notebook editor

Bug: Notebook Editor, Interactive Window, Editor cells

Warnings are not shown in the Notebook Editor.
Steps to cause the bug to occur

If I run the following code in a .py from terminal, I get the warning message, but if I run it inside a cell in the Notebook editor, nothing appears.

import warnings
warnings.warn('Warning Message')

Actual behavior
Expected behavior

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local
Extension version: 2020.5.80290
VS Code version: 1.45.1
Setting python.jediEnabled: false
**Python version: Python 3.8.0
OS: Windows | Mac | Linux (distro): Linux (Ubuntu)
Virtual environment: conda | venv | virtualenv | N/A | ... venv

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Using the VS Code Python extension v2021.1.502429796, I had to use the following settings:
    "jupyter.runStartupCommands": [
        "import warnings",
        "warnings.simplefilter(action='default')"
    ]

I would also like to encourage the developers to take a look at this issue – it's really a big problem for numerous colleagues of mine too, who constantly miss important warnings when working with the interactive console.

Using the VS Code Python extension v2021.1.502429796, I had to use the following settings:
    "jupyter.runStartupCommands": [
        "import warnings",
        "warnings.simplefilter(action='default')"
    ]

I would also like to encourage the developers to take a look at this issue – it's really a big problem for numerous colleagues of mine too, who constantly miss important warnings when working with the interactive console.

Moving back to triage.

Moving back to triage.

@IanMatthewHuff Not sure if this was intentional or not, but you didn't add the triage label :)

@IanMatthewHuff Not sure if this was intentional or not, but you didn't add the triage label :)

@hoechenberger We don't actually use that label these days. We do our tracking for what stage issues are in with zenhub. Which sadly isn't publicly visible. But I've moved it back to the triage lane for our team to discuss.

@hoechenberger We don't actually use that label these days. We do our tracking for what stage issues are in with zenhub. Which sadly isn't publicly visible. But I've moved it back to the triage lane for our team to discuss.

@IanMatthewHuff Thanks for the clarification!

@IanMatthewHuff Thanks for the clarification!

Validated. Fix should become available in the March release of the Jupyter extension.


[LANGUAGES] Creating and manipulating word(.docx) documents in android using Kotlin and the Apache POI library

Topic Suggestion
Writing sample(s):
Samples
Proposal Submission
Proposed title of article
Creating and manipulating word(.docx) documents in android using Kotlin and the Apache POI library
Use keyword research to improve your article's SEO.
Proposed article introduction
As android developers, we may get ourselves in situations where handling .docx files is easier and faster than doing it using other platforms. In this article, we are going to look at how to create the documents, format them, and most importantly, extract text from them. We will be using Kotlin.
Key takeaways
Using Kotlin to do these in android:

Create .docx files
Formatting the files
Extracting text from the created files(We may also look at extracting text from existing files)

Article quality
It is easy to follow through, and the use of Kotlin with the library is not much explored.
References
N/A
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @munubi254
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Support exporting pdf files?

Question
Support exporting pdf files?

what do you think about @moedong ?

Unfortunately, we don't support export pdf files like Gitbook, but this is a good feature, maybe we can develop in the future. Please, give your suggestion for us on our roadmap 🙏


improvementadd show table stats

Proposed changes

add table stats for external table.
delete column statistic for iceberg.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


language/call/method_must_not_be_field_test/03 is failing on arm64c

The tests
language/call/method_must_not_be_field_test/03 RuntimeError (expected Pass)

are failing on configurations
vm-aot-android-release-arm64c

The state had been RuntimeError for years. Yesterday it switched to Fail for exactly one run, then reverted to RuntimeError, so is now showing up as red, even though nothing really has changed.
Example RuntimeError log: https://dart-ci.appspot.com/log/vm-aot-android-release-arm64c/vm-aot-android-release-arm64c/558/language/call/method_must_not_be_field_test/03

Duplicate of #51517


[ADDING] New company which use your solution

Hello,
Javier Ramirez from VirusTotal asked us to open an issue about this .. Well, that's not a issue at all.
Thanks for all the work you did and do, it's an amazing jobs.
Our company use your solution since 3 years - we would be glad to be within the company list : www.touchweb.fr / TouchWeb - as you proposed in the README.
Thanks for all,
Kind regards,
Vincent

Added in 9a3b4e3d7d246df9cadd43420d24195a7a7ea758. Thank you very much for your feedback!


Establish template for structure of guides

Across all guides we should establish a common structure for how it's written and make sure we follow this for all of them.

With #238 and #239, we can close this one now.


Renovate bot creates PR with "fix(deps)" instead of "deps"

Currently all dependency update PRs to the pom.xml are created as "fix(deps)" instead of "deps", need to configure renovate.json to create PRs as "deps".

Yes, this is on my to-do list once release and publish_javadoc jobs are configured correctly. Will update my progress here.


Running targeted robustness

Hi I'm writing to ask how hard it would be to use the tool for targeted attack.
Concretely, instead of checking whether the correct label is always the maximum, I hope to check whether an adversarial label can be the maximum.
Could you provide some pointers regarding which part of the code I should modify?
Thanks a lot!
Andrew

Hi @anwu1219,
The tool actually checks the robustness by trying to find targeted attacks using all the incorrect labels. As shown below, you can find a targeted attack by setting out_idx to the adversarial target label and get rid of the for loop.
https://github.com/rcpsl/PeregriNN/blob/7974eaa8e0cc6dc7e98287c7c9d47d7cd79b0dce/peregriNN.py#L115-L122
I'd be happy to help if you have other questions so please let me know if you do.
Regards,
Haitham

Hi @haithamkhedr , thanks a lot for the prompt response!
If I read this code correctly, it checks whether the out_idx can be greater than the original label, but does not check whether the out_idx is the max.
https://github.com/rcpsl/PeregriNN/blob/7974eaa8e0cc6dc7e98287c7c9d47d7cd79b0dce/peregriNN.py#L52-L57
It seems these methods are also specific to un-targeted attack? https://github.com/rcpsl/PeregriNN/blob/7974eaa8e0cc6dc7e98287c7c9d47d7cd79b0dce/peregriNN.py#L28-L38
It'd be tremendously helpful if you could point out which methods require modification!
Best regard,
Andrew

I don't think you're missing anything. Can you retry with the latest solver.py on the master branch ?


Validator: Why are golf=* features "incomplete" without landuse=grass?

Why are golf=* features flagged as "incomplete" without landuse=grass?
https://www.openstreetmap.org/edit?way=841794494#map=18/51.38320/-2.33330
Was this include as a 'tag incorrectly for the renderer' to get it to do so before OSM-Carto included golf features?
landuse=grass in not required. It is for specific areas as indicated in the wikipage's first sentence:
https://wiki.openstreetmap.org/wiki/Tag:landuse%3Dgrass
The landuse of golf features is 'golf' not grass.
To distinguish any differences the 'surface' tag should be used.
golf=* are a specific sport subset of leisure=pitch.
The tag to distinguish it's playing finish is 'surface'
https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch
I believe this validation check is an error & reduces the quality of the OSM database.
Same for golf=bunker &  natural=sand. Use surface=sand

These items are tagged as Golf because that is the land use. They are not tagged incorrectly, they are all associated with a golf course. This tagging method allows for programs to pull in golf course features from OSM. They certainly are not tagged incorrectly, it actually adds value to the item tag by creating more detail and making it more accurate. Please do not flag these items.

@jpotas
To counter most of what you said I refer you to my original comment.
"This tagging method allows for programs to pull in golf course features from OSM. "
By 'programs' are you referring to 'The Golf Club 2019' game? My understanding is that it only imports 'golf' tag, ignoring any that are descriptive .
In general all data consumers have to accept the database as is, which includes adapting to any changes to correct database errors, of which using landuse, in this instance, is one.

Anyway this is an issue with the presets and is being tracked on https://github.com/openstreetmap/id-tagging-schema/issues/203
That repo is where the fix would need to go.

https://wiki.openstreetmap.org/w/index.php?title=Tag:leisure%3Dgolf_course&diff=1006704&oldid=983655
This is the changeset where alterations were made to the wiki page. The date is 26th March 2014, and the commit to ID referenced above was 26th November 2013. So the change to the wiki was made four months after the commit to ID was made.

I made that change because the advice on the wiki was incorrect.  I doubt if I had any awareness of what was in iD's presets as I did not use it as an editor until several years later.
The golf tags were explicitly introduced after a lengthy discussion by quite a number of participants in 2009/10, precisely because people were mapping golf courses using other tags in order for them to render. Subsequently, Richard Weait made an overlay rendering of golf features based on the tags. Unfortunately Richard's original blog and the rendering have long gone. Unfortunately, I can't find the original discussion which included an example of someone trying to render a golf course in South India (IIRC) where grass tags would have been incorrect on some features.

Unfortunately Richard's original blog and the rendering have long gone.

I found the blog post via a help.openstreetmap.org reply containing the link, and archive.org


jquery linked to bootstrap?

Describe the bug
When I remove bootstrap.min.js, I get this jQuery errror:
jquery-3.6.0.min.js:2 jQuery.Deferred exception: $(...).tab is not a function TypeError: $(...).tab is not a function
    at HTMLAnchorElement.<anonymous> (http://localhost:3000/static_assets/95961f73c8063b77/saltcorn.js:701:22)
    at Function.each (http://localhost:3000/static_assets/95961f73c8063b77/jquery-3.6.0.min.js:2:3003)
    at S.fn.init.each (http://localhost:3000/static_assets/95961f73c8063b77/jquery-3.6.0.min.js:2:1481)
    at $.fn.historyTabs (http://localhost:3000/static_assets/95961f73c8063b77/saltcorn.js:674:19)
    at HTMLDocument.initialize_page (http://localhost:3000/static_assets/95961f73c8063b77/saltcorn-common.js:572:63)
    at e (http://localhost:3000/static_assets/95961f73c8063b77/jquery-3.6.0.min.js:2:30038)
    at t (http://localhost:3000/static_assets/95961f73c8063b77/jquery-3.6.0.min.js:2:30340) undefined
S.Deferred.exceptionHook @ jquery-3.6.0.min.js:2
t @ jquery-3.6.0.min.js:2
jquery-3.6.0.min.js:2 Uncaught TypeError: $(...).tab is not a function
    at HTMLAnchorElement.<anonymous> (saltcorn.js:701:22)
    at Function.each (jquery-3.6.0.min.js:2:3003)
    at S.fn.init.each (jquery-3.6.0.min.js:2:1481)
    at $.fn.historyTabs (saltcorn.js:674:19)
    at HTMLDocument.initialize_page (saltcorn-common.js:572:63)
    at e (jquery-3.6.0.min.js:2:30038)
    at t (jquery-3.6.0.min.js:2:30340)

As you can see, it's not related to any script or code in the theme script. I removed every script just to make sure.

@j2l what are you trying to do? Saltcorn requires both jquery and bootstrap js. I guess it could be possible to make bootstrap js optional, is that what you are looking for?

Yes, exactly, I'm working on a non-bootstrap theme (see my tickets in tabler) so I'd like to have bootstrap as an option.

This specific issue is fixed in the latest release, do let me know if other issues arise when removing bootstrap javascript.


Update versions for zebra v1.0.0-alpha.10 release

name: Release Checklist Template
about: Checklist of versioning to create a taggable commit for Zebra
title: ''
labels:
assignees: ''

Versioning
Which Crates to Increment
To check if any of the top-level crates need version increments, go to the zebra GitHub code page: https://github.com/ZcashFoundation/zebra. git diff --stat <previous-release-tag> origin/main is also useful to see
what's changed.

[ ] Increment the crates that have new commits since the last version update
[ ] Increment any crates that depend on crates that have changed
[ ] Use the zebrad crate version in the zebra-network user agent string
[ ] Use the latest git tag in README.md

How to Increment Versions
Zebra follows semantic versioning.
Semantic versions look like: MAJOR.MINOR.PATCH[-TAG.PRE-RELEASE]
Pre-Release Crates
Pre-Release versions have a TAG like "alpha" or "beta". For example: 1.0.0-alpha.0

Increment the PRE-RELEASE version for the crate.

Optionally, if a MINOR feature pre-release breaks MAJOR API compatibility:

Increment the MAJOR version, and reset all the other versions to zero

Unstable Crates
Unstable versions have a MAJOR version of zero. For example: 0.1.0

Follow stable crate versioning, but increment the MINOR version for breaking changes

Stable Crates
For example: 1.0.0
Increment the first version component in this list, and reset the other components to zero:

MAJOR versions for breaking public API changes and removals

check for types from dependencies that appear in the public API

MINOR versions for new features
PATCH versions for bug fixes

includes dependency updates that don't impact the public API

Version Locations
Once you know which versions you want to increment, you can find them in the:

[ ] zebra* Cargo.tomls
[ ] tower-* Cargo.tomls
[ ] zebra-network protocol user agent: https://github.com/ZcashFoundation/zebra/blob/main/zebra-network/src/constants.rs
[ ] README.md
[ ] Cargo.lock: automatically generated by cargo build

Merge all these version increments as one commit, by squashing and rebasing the PR onto the main branch.
Version Tooling
You can use fastmod to interactively find and replace versions.
For example, for zebra-1.0.0-alpha-3, we did:
fastmod --extensions rs,toml,md --fixed-strings '1.0.0-alpha.3' '1.0.0-alpha.4'
fastmod --extensions rs,toml,md --fixed-strings '1.0.0-alpha.2' '1.0.0-alpha.3'
fastmod --extensions rs,toml,md --fixed-strings '0.2.0' '0.2.1' tower-batch

We skipped tower-fallback, because it hadn't changed since the last tag.
Reviewing Version Bump Pull Requests
Check for missed changes by going to:
https://github.com/ZcashFoundation/zebra/tree/<commit-hash>/
Where <commit-hash> is the hash of the last commit in the version bump PR.
If any Zebra or Tower crates have commit messages that are not a version bump, we have missed an update.
Also check for crates that depend on crates that have changed. They should get a version bump as well.
Initial Testing

[ ] After any changes, test that the cargo install command in README.md works (use --path instead of --git locally)

Change Log
Important: Any merge into main deletes any edits to the draft changelog. Edit the draft changelog in a pad like https://pad.riseup.net
We follow the Keep a Changelog format.
We use the Release Drafter workflow to automatically create a draft changelog.
To create the final change log:

[ ] Copy the draft changelog into a pad like https://pad.riseup.net
[ ] Delete any trivial changes
[ ] Combine duplicate changes
[ ] Edit change descriptions so they are consistent, and make sense to non-developers
[ ] Check the category for each change

prefer the "Fix" category if you're not sure

Change Categories
From "Keep a Changelog":

Added for new features.
Changed for changes in existing functionality.
Deprecated for soon-to-be removed features.
Removed for now removed features.
Fixed for any bug fixes.
Security in case of vulnerabilities.

After merging this PR

[ ] Check for any PRs that have been merged since you created the changelog pad
[ ] Update the draft release with the final changelog
[ ] Set the release title to Zebra  followed by the version tag, for example: Zebra 1.0.0-alpha.0
[ ] Set the tag name to the version tag, for example: 1.0.0-alpha.0
[ ] Set the release to target the main branch
[ ] Mark the release as 'pre-release' (until we are no longer alpha/beta)

Final Testing

[ ] After tagging the release, test that the exact cargo install command works
(--git behaves a bit differently to --path)

If the build fails after tagging:

fix the build
check if the fixes changed any extra crates, and do the required version increments
update README.md with a new git tag
tag a new release

I have not updated the version for zebra-test as I can't see any changes to it or its dependencies... am I missing something?

Changelog pad: https://pad.riseup.net/p/8S1R9d-MjUAwdFYnOf5O

I have not updated the version for zebra-test as I can't see any changes to it or its dependencies... am I missing something?

Seems like there haven't been any changes, it doesn't depend on any other Zebra crates. (Maybe we've accidentally bumped it in the past?)

Well this is embarrassing:

stdout of command is not equal to the given regex
"^zebrad [0-9].[0-9].[0-9]-[A-Za-z]*.[0-9]\n$"

The tests are failing because they expect single-digit version numbers. We should update them to match semver exactly.

@mpguerra GitHub didn't re-do the merge commit when #2250 got merged, so I rebased and force-pushed your branch.
Any changes you want to make should be fine - they'll get a merge commit with the latest main.


Notification icon

There is a way to use an icon for notification to replace the default square icon?

see
https://github.com/rekab-app/background_locator/blob/7f6e11d7bd40a1909d97c77df757da3a795451c4/lib/location_settings.dart#L22

see
https://github.com/rekab-app/background_locator/blob/7f6e11d7bd40a1909d97c77df757da3a795451c4/lib/location_settings.dart#L22

Cool. Thanks

see
https://github.com/rekab-app/background_locator/blob/7f6e11d7bd40a1909d97c77df757da3a795451c4/lib/location_settings.dart#L22

Looking here, i'm already using the application icon.
<application
        android:name="br.xocorona.LocationService"
        android:label="Xô Corona"
        android:icon="@mipmap/ic_launcher">

But just shows a white square icon... see:

Do i need to use a specific icon settings to show here ?

That is not a problem of the library. It is a flutter or Android problem. Maybe your app icon is colored. In android the notification icons are one ink. Android transforms all colors to black and the background must be transparent (png).

That is not a problem of the library. It is a flutter or Android problem. Maybe your app icon is colored. In android the notification icons are one ink. Android transforms all colors to black and the background must be transparent (png).

Ok understand. It works now, Cool!


Remove strict version pin on pennylane

[ ] I have added the tests to cover my changes.
[X] I have updated the documentation and CHANGELOG accordingly.
[X] I have read the CONTRIBUTING document.

I removed the strict version pin on pennylane. It was forcing an upper-bound for the numpy version.
I saw that in #1845, it was mentioned that there can be issues installing Covalent with the most recent versions of pennylane. However, the test suite passes, so I'm curious where the error resides. If there is indeed an error, then something should be added to the test suite to flag it.
Sorry --- I'll continue to be annoying about fixing a dependency to a single version in setup.py unless it's critical. 😉

Hi @Andrew-S-Rosen ! Thanks a lot for this 😄 , this exposed that we haven't removed the pennylane requirement from tests/requirements.txt which installs 0.31.1 after the normal requirements.txt installs 0.33.1 - which is why the tests don't fail. Try removing that line from tests/requirement.txt in this PR?

Although, I do agree that a better solution would be to put a range on the requirements.txt, seems like >=0.31.1,<0.33.0 should work.

@kessler-frost: Ah, that explains some things! You're right, the test suite fails (as expected) when removing the pennylane requirement in the tests folder.
So, for this PR, I have done the following:

Removed pennylane from tests/requirements.txt so it's only in one plalce
Changed it from a strict pin to 0.33.1 to a range from >=0.33.1,<0.33.1

Thanks @Andrew-S-Rosen ! I think you've mentioned the version range wrong 😅 pennylane>=0.33.1,<0.33.1 instead of pennylane>=0.31.1,<0.33.0 (in the changelog as well).

@kessler-frost: Looks like I need to go back to middle school algebra!!

Also, in the requirements.txt file the upper limit is 0.33.1 instead of 0.33.0 :P, which installs 0.33.0 and the test fails because of that 😅 .

I'm sorry I should've reviewed it all in one go.

@kessler-frost not to worry, I realized the same. This is what happens when I open a PR while distracted. 😅 Sorry about that.


client.schema is a Graphlient::Schema

Hi,
Not sure if this is the right place for this. This is my second time using graphlient, and the first I did not have this problem.
Right now my expect(client.schema).to be_a GraphQL::Schema doesn't pass, but expect(client.schema).to be_a Graphlient::Schema does.
This is my client:
let(:client) do
    Graphlient::Client.new('https://www.example.org/graphql') do |client|
      client.http do |h|
        h.connection do |c|
          c.use Faraday::Adapter::Rack, app
        end
      end
    end
  end

Thanks very much.

This changed in 3.0.1, https://github.com/ashkan18/graphlient/commit/eff5e927ba1c4e0d720f6d7925519da72a73bf8f. Where/how is this an issue for you?

Oh I think this is documented wrong, care to update the README? The Graphlient::Schema class delegates everything to a GraphQL::Schema I believe so they effectively act the same, but one does't inherit from the other.

cc: @povilasjurcys

Ok cool, the other testing was working so I'll go with that. Thanks so much for your speedy responses

See #45 that fixes the related test. Not sure how this slipped in.

Closing via #45


Changed one letter

docker run --runtime=kata-nemu -it busybox -> docker run --runtime=kata-qemu -it busybox
I tried to run Kata with VirtioFS but found that this may be a possible typo.
I read the daemon.json generated while update Kata and none printed "nemu". But correct me if I'm wrong.
Regards,
Bryan
P.S. : This is my first time contributing to an open source project

Thanks @Bryan1269 - well, there is/was a nemu as well as a qemu - so, at the time I suspect it was not a typo... but, I also think nemu is somewhat deprecated, so maybe it would make sense to update that.... wdyt @amshinde @gnawux ?

@Bryan1269 - I'll also point you at our documentation for pull request formatting and requirements, as the CI's are noting you have some bits missing, like the sign off and reference Issue number etc.

Looks like this was fixed upstream.  Thanks for the contribution @bryan1269


Cannot use origin without a scheme

Loading the GLB from asset folder i cant view on Android Build:
Loading like this:
O3D(
src: 'assets/3d/refix_spray_ORBIT_cam.glb',
controller: o3dcontroller,
ar: false,
autoPlay: true,
autoRotate: true,
),
E/flutter ( 2836): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Cannot use origin without a scheme: assets/3d/refix_spray_ORBIT_cam.glb
ModelViewerState._initProxy.               package:model_viewer_plus/src/model_viewer_plus_mobile.dart:289

Please share your file, I will check it.

Nothing Special. I Got a page with scaffold, and your Widget.
This is the call in the body:
O3D(
src: 'assets/3d/refix_spray_ORBIT_cam.glb',
controller: o3dcontroller,
ar: false,
autoPlay: true,
autoRotate: true,
),
This is the asset of my pubspec:
[...]
assets:
- assets/
- assets/3d/refix_spray_ORBIT_cam.glb
[...]

Some Glb files are not exported correctly by their creators, so I'm going to get your file to test it, but it seems to have an error in release mode, I'll fix that. Please test it in debug mode and let me know.

I got the same errore with the Astonaut.glb file. Anyway the error Is
catched only on Android. In Web mode It works fine....
Il mer 15 nov 2023, 17:20 Babak Gahremanzadeh @.***> ha
scritto:

Some Glb files are not exported correctly by their creators, so I'm going
to get your file to test it, but it seems to have an error in release mode,
I'll fix that. Please test it in debug mode and let me know.
—
Reply to this email directly, view it on GitHub
https://github.com/babakcode/o3d/issues/1#issuecomment-1812848131, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4FULXGYIBX6OL5HVXNF6LYETTTXAVCNFSM6AAAAAA7MN5OYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSHA2DQMJTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Probably, You don't add clear text traffic in the Android manifest. Put this code clearText Traffic="true" inside the android manifest.

Yes, i put it in manifest:
android:usesCleartextTraffic="true"

Dear @antogalli,
I've addressed the Android and web release bugs and would appreciate it if you could review the updated version of the O3D package. For a thorough check on the Android platform, please test it on a real device.


Don't do autosave on new post

This fix works because we don't need to autosave whilst on the new controller. The autosave officially kicks in once you've entered a title and switched to the editor, at this point the editor transitions to a model with an ID and everything starts working.
closes #5130

rather than checking for a model change, noop autosave on new controller

Beautiful! I'm very happy to get rid of that code. Could you put a comment above the autosave: Ember.K explaining that we're overwriting the autosave on base controller because new controller shouldn't do it? This is something that'll disappear in the fogs of time otherwise.
I'm trying to remember what the case was that caused me to write that code in the first place...
Can you open a post to edit, go back to content, and open a new post in the editor and confirm that it doesn't fire an autosave even though you've made no changes?

Updated with comment and also tested that workflow - all seems hunky dory to me.


Reactive: root executed while updating a branch

I was trying to understand what happens when a reactive expressions has multiple "reactive inputs".
graph TD;
    firstnamex-->append_lastname;
    lastnamex-->append_lastname;

Looking at the last cell of the image below, I'm surprised to see 'transforming first name johnny' being printed while updating lastnamex, is that expected?

from param import rx

firstnamex = rx('john')
lastnamex = rx('lenon')

def debug(value, info=''):
    print(info, value)
    return value

def append_lastname(fn, ln):
    return fn + ' ' + ln

pfnx = firstnamex.rx.pipe(debug, info='transforming first name').title()
plnx = lastnamex.rx.pipe(debug, info='transforming last name').title()
together = pfnx.rx.pipe(append_lastname, ln=plnx).rx.pipe(debug, info='merged')

together

firstnamex.rx.value = 'johnny'
lastnamex.rx.value = 'hallyday'

Seems to be to do with over-eagerly invalidating the root.


PowerShell equivalent to netsh interface portproxy show all

Spending many hours searching through https://docs.microsoft.com/en-us/powershell/windows/get-started?view=win10-ps I am not able to figure out which PowerShell command replaces the netsh interface portproxy commands, like:
netsh interface portproxy show all
Can you point me in the right direction?
portproxy seems to be entirely undocumented on docs.microsoft.com... should I be concerned about that?
Googleing "portproxy" site:docs.microsoft.com only gives a single result, which is from a blog post comment.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 104c0791-b5a1-6502-401a-d472ff6144bb
Version Independent ID: 5a8faa14-9cef-6a9b-26af-9782a799b23a
Content: Network Shell (Netsh)
Content Source: WindowsServerDocs/networking/technologies/netsh/netsh.md
Product: windows-server-threshold
GitHub Login: @shortpatti
Microsoft Alias: pashort

@johnsivertsen, thank you for pointing this out.  I'll work with the team to get it updated.

Content added.

There appears to have been some mistake here.  The PR above has nothing to do with this issue, and no content addressing this appears to have been added anywhere.

so why this issue is been closed anyway ?


username in Resource Model to connect via ssh

I set nodes source from json Resource Model as you can see in https://rundeck.org/2.11.6/man5/resource-json.html.
username is described as below.
User name to connect to the node via SSH.

And the json is written as below
{
  "server1": {
    "hostname": "<IP_ADDRESS>",
    "nodename": "<IP_ADDRESS>",
    "username": "jenkins"
  },
  "server2": {
    "hostname": "<IP_ADDRESS>",
    "nodename": "<IP_ADDRESS>",
    "username": "ansible"
  }
}

And I set SSH user to ansible on Edit Configuration > Default Node Executor > Ansible Ad-Hoc Node Executor > SSH Connection > SSH User.
Under the environment,  server1 cannot be accessed but server2 can be accessed.
It seems that username in Resource Model is not used as ssh user.
How can I change an username used to connect via ssh?
Thanks

Can you try using ansible-ssh-user instead of username? If it works correctly then that's great, but it's a bug at that rate.

@mcassaniti I tried using ansible-ssh-user but it doesn't work. But when I removed default ssh user in job setting, it woks well. Thanks.

I'm going to re-open this as it is a bug. What should happen in the following order is:

If SSH username is specified directly then use it
If ansible-ssh-user is specified against the node then use it
If username is specified against the node then use it

I don't believe that last case is being met. It seems to be a problem (partially) in PropertyResolver.java. Might need to add an alias somehow.

@mcassaniti  I have a question of setting ssh username via ansible.
I want to change ansible-ssh-user when I execute a job.
I checked the following code.
https://github.com/Batix/rundeck-ansible-plugin/blob/v2.1.3/src/main/java/com/batix/rundeck/core/AnsibleRunnerBuilder.java#L263
The result of getSshUser() can return from a job config.
To do that, I should set ansible-ssh-user, AnsibleDescribable.ANSIBLE_SSH_USER in code, when I execute a job.
But I don't know how to set and pass ansible-ssh-user to a job via the following rundeck API.
https://rundeck.org/docs/api/#running-a-job
Parameters available to set belong to options. No parameter is found to pass ansible-ssh-user.
In codes, it seems available to set ansible-ssh-user when a job is executed.


2024: Grow awareness and adoption of MicroProfile brand

Grow awareness and adoption of the MicroProfile brand in a measurable and actionable fashion

Feel free to assign this to me?


Uploading edits in Wikibase preview

When I went to upload edits in the Wikibase preview, I expected to see a more prominent button telling me to **Upload Edits*making the next step in the process quite clear, instead of going through the extension menu.

Hello, i would like to be assigned to this issue.
Since it is an important modification in the UX, i am open to any proposed solutions.
The solution i will propose will be a few options/opinions on how it could possibly be changed, in order to make the process a bit more clear.
After a discussion on an appropriate change, maybe i could create a second PR where the final solution is being applied.

Sounds great, thanks for volunteering!

Proposed Solutions:

The following concept design is simple but offers more direction to the Wikibase options.

The following concept design enables the user to directly see and select the option to upload the edits, keeping the original "Extension" reference to the Wikibase.

The following concept design is a variation of the previous concept.

Finally, as another concept design, i have combined the two previous design logics offering both the advanced direction to the Wikibase options and the quick accessibility to the upload option.

All the previous suggested changes are based on existing contents of translation.json files, so no extra translation content is required for them to be applied.
I am open to any comments and concerns according the introduced designs and i am also willing to attempt the implementation of whatever is preferred.

Thanks for the mock-ups!
I would be reluctant to integrate this button in the grid view, because it's a view that is used very often so space there is very valuable. For people who don't use the Wikibase integration at all, that's a relatively big button that they will always see and have no use for.
I would rather add it inside the Preview tab (that becomes visible after the user has created a Wikibase schema), as suggested by the screenshot in @cooperzoe's issue description. She might be able to expand on the places where she'd expect such a button to be available. It could potentially also go in the schema tab I guess, but that one is already quite full perhaps? In terms of user workflow, I think it makes sense to want to upload edits after having previewed them, so I like the idea of adding it to the Preview tab.

Yes of course!
I am going to attempt placing the button only in the Preview tab that becomes visible after the creation of a Wikibase schema.
For the Preview tab, should the "Upload edits to Wikibase" be the only button available or should i make it like the second or third mock-up where both the button "Upload edits to Wikibase" and the dropdown "Wikibase" menu are available.

I would keep the "Wikibase" menu visible at all times even if an upload button is available elsewhere, since it gives access to other features as well.

Unfortunately i couldn't find a way to apply the change only in the preview tab.
The reason behind the tasks difficulty, is that the extension bar is created once for all the tabs, so changing only the extension bar of the preview tab (without affecting the others) would require a structural change to the creation and manipulation of the extension bar.
Since i am quite new to open source development, i couldn't find myself completing this task.
You can now de-assign me from this issue.


Support ptex mesh - step 3: better naming

This PR is to rename a number of buffers, textures to avoid ambiguity and increase the readability of the code.
-) rename the buffers on GPU side in PTexMeshData;
-) rename variables in PTexMeshDrawable;
Motivation and Context

It caused a lot of confusion in the past, making it difficult to read, maintain and debug.

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This PR is ready to be reviewed. Thanks.

By the way, please take a look at the CI failure. It says ModuleNotFoundError: No module named 'Cython', which I do not think caused by this PR.

Let me know if you have more comments about this PR before I merge it. Thanks.

Sincerely thank all the reviwers' work. Merge it.


add dashboard

Requirements

use Carbon charts
staff only (+admins)
show questions asked vs questions answered
show questions answered with staff involvement
show top contributors

all top
staff top (show with linked GitHub usernames -- requires staff members to link their accounts)

add Date Range selectors (default current-month-day-1 -> curent-month-current-day)
add channel filters (multi-select)

related https://github.com/aws-amplify/discord-bot/issues/93


BtrFS support

Guys, ext4 is boring. Could you support BtrFS? And, while at it, subvolumes.

Errr.. why is this closed? Why won't you consider BtrFS?

We are deprecating gcimagebundle as a supported tool on GCE- it will still be available in this github project for the time being but no longer maintained or supported on GCE images. There are instructions to replace its functionality here: https://cloud.google.com/compute/docs/creating-custom-image#export_an_image_to_google_cloud_storage

@zmarano thanks.


Problems with running VAE

I am trying to reproduce your results with the adult example. Run pre-processing succesfully and then get stuck when running:
python main.py --dataname adult --method vae --mode train
I have tried to add some error messages and it runs without printing anything until it dies.

Sorry for the late reply, I cannot receive the notification emails since I am not the owner of this repo.
Have you solved this issue? I just tried running the above command and found that it can executed correctly. I guess this might be the problem of your machine.
Best


critest: experimental features

critest for experimental features, including

[ ] apparmor
[ ] sysctls
[x] seccomp #137

We should test sysctl, seccomp and apparmor. These tests may not be conformance test, but are required in CRI validation test suite.
From @Random-Liu: Probably just migrate test from node e2e https://github.com/kubernetes/kubernetes/blob/master/test/e2e/node/security_context.go.
note: sysctl/apparmor tests are also not included in node e2e tests.

@mikebrow  Are you working on other tests listing here?

Not yet. I'll open a WIP PR if I start any new tests and flag you.

@mikebrow OK, I will work on sysctls tests first.

testings added, closing this one.


[ rtorrent ] large .torrent files issue

Hi,
I have an issue while uploading large .torrent files (2-3 Mo) : the loading seems to loop and never ends.
Tryed on two completly differents serveurs and facing the same issue on both.
Same files are well loaded when put directly on the .watch folder.
Any idea ?
z.

I think I fixed the issue with this line : https://github.com/Wonderfall/dockerfiles/blob/master/rtorrent-flood/rtorrent.rc#L20


Mobbin

Fixes Issue
Closes #400
Changes proposed
mobbin gives more specific designs
Screenshots

Note to reviewers
Any kind of feedback would be appreciated

Is it only for mobile, or we can use it in web also?

It can be used in web also

Well done @parma111! :) It just needs one more edit and your PR is good to go! :)

now review the pr

Thank you Chrissy


Duplication bug with Item Drains and stackable containers

Describe the Bug
Attempting to drain liquid from a stackable container (in my case Tech Reborn cells) drains one bucket's worth of liquid and lets the full stack continue along the conveyors. There's also some other weirdness which ended up giving me more cells that I started out with, but I haven't been able to pinpoint what exactly is happening there quite yet.
Reproduction Steps

Set up an item drain with a conveyor belt going in and out, and a fluid pump connected to a tank
Drop a stack of fluid containers on the belt
Some of the fluid should end up in the drain/tank, while the stack of containers continues along on the belt unaffected

Expected Result
Unsure? Either only one container let onto the drain at a time or only one empty one leaving at a time. I guess this situation doesn't come up with just vanilla + create.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods
Tech Reborn 5.2.0-beta3 I believe to be the only relevant one here, but here's my full modlist:
Mods:
[✔] AdditionalAdditions-4.0.0
[✔] appleskin-fabric-mc1.18.2-2.4.0
[✔] appliedenergistics2-11.0.0-alpha.5
[✔] architectury-4.4.56
[✔] badpackets-fabric-0.1.2
[✔] cloth-api-3.2.64
[✔] cloth-config-6.2.62-fabric
[✔] conjuring-1.0.22+1.18
[✔] crawl-0.10.6
[✔] create-mc1.18.2_v0.4.1+549
[✔] create-mc1.18.2_v0.4.1+549-sources
[✔] fabric-api-0.51.1+1.18.2
[✔] flytre_lib-1.18.2-1.8.1-fabric
[✔] indium-1.0.3+mc1.18.2
[✔] inmis-2.6.0-1.18.2
[✔] MouseTweaks-fabric-mc1.18-2.22 (1)
[✔] owo-lib-0.7.2+1.18
[✔] Patchouli-1.18.2-67-FABRIC
[✔] pipe-1.18.2-1.6.3-fabric
[✔] RoughlyEnoughItems-8.1.457
[✔] sodium-fabric-mc1.18.2-0.4.1+build.15
[✔] TechReborn-5.2.0-beta.3
[✔] TheExtractinator-1.0.8
[✔] things-0.2.17+1.18
[✔] trinkets-3.3.0
[✔] wthit-fabric-4.10.2
Additional Context
No response

Not sure whether I should edit the original post or send a comment like I'm doing but I see what's happening with the additional cells being created. Whenever a stack of cells is ready to get on the item drain, it will wait just before, presumably to let one on when there's space in the drain for fluid. What happens instead is one cell gets subtracted from the stack, but what's supposed to be a single cell landing on the drain is actually the full stack, duplicated.


1.1.7

Bump to 1.1.7

Nicely done @paulcpederson. Nothing to complaim about from my end

Actually I do! Yay! Please use the same list prefix as the rest of the change log next time (* not -).