Font Placing On Ubuntu Gnome 17.04

Hi, I'm evaluating Ubuntu Gnome 17.04 for Java-related problems. System tray is one issue. The other is the unusually large fonts, apparently, which screw up some of the design (the vertical tabs):

This is a freshly installed Ubuntu running the Substance-based application.
Is this known? Should I try to upgrade the Substance version I'm using?
Program
Cheers,
Stefan

I don't have access to Gnome environment. DefaultGnomeFontPolicy is the font policy for that desktop, and you can trace the execution there to see where the font size is derived.
As for the right-hand tabs, that doesn't seem to be related to the font size. I'm not seeing any text placement issues on right-hand tabs on my Mac under the latest 7.1 dev builds. Which version of Substance are you running? Is this tab text issue happening only on Gnome?

I think the font is in line with Gnome's fonts (see "Activities" in the
top-left corner). So, not a problem there. Just the placement inside the
tab is weird. I can try a later Substance version, indeed I am using one
from 11/2016.
On Thu, Jul 6, 2017 at 8:09 PM, Kirill Grouchnikov<EMAIL_ADDRESS>
wrote:

I don't have access to Gnome environment. DefaultGnomeFontPolicy is the
font policy for that desktop, and you can trace the execution there to see
where the font size is derived.
As for the right-hand tabs, that doesn't seem to be related to the font
size. I'm not seeing any text placement issues on right-hand tabs on my Mac
under the latest 7.1 dev builds. Which version of Substance are you
running? Is this tab text issue happening only on Gnome?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kirill-grouchnikov/substance/issues/30#issuecomment-313475234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AET6Q3UURYljRlQRf5xFSZjcZ9X6Qg8eks5sLSK8gaJpZM4OP_Iy
.

The rotation of left / right tabs is happening in SubstanceTabbedPaneUI.paintTab. I don't think I've touched that code after coming back from the hiatus. Wouldn't hurt checking it under the latest dev bits, of course.
But if it's still happening, and only happening under Gnome, then I won't be able to do much, unfortunately.

Is this still happening under the latest bits? Version 7.1.00 just went live.

Yes, this still happens under the latest Gnome version, the issue is the same.

I'll have to defer the debugging of this one to people who have this setup. The relevant code that "rotates" the graphics for those tabs is in SubstanceTabbedPaneUI.paintTab, lines 1558-1565.

I have more information on this issue as I just had it happen to me
This is a JRE bug, that is present in the 8u60 Java version (the default one available from the repositories of Ubuntu 16.04) but is fixed in the latest Java 8 releases.
@kirill-grouchnikov you can probably close this

Closing based on the latest comment and no activity from the OP.


There is a problem

Dear author, hello. Thank you for your work; it has been very helpful to me. I also have a question to ask you. I would like to know if it is possible to directly predict .mp4 video files using this model. Is the idea of dividing the video into frames, enhancing each frame, and then synthesizing them back into a video feasible? Thank you.

Hey @Bisa-handsome, processing frames and concatenating again is indeed how I would approach the model. Although please keep in mind the model was not trained for temporal consistency, so video results may be jittering.

Your reply has been very helpful to me , and im extremely grateful. ty


dotnet/runtime WebAssembly System.PlatformNotSupportedException: Operation is not supported on this platform.

Describe the bug
Proxy settings are not supported and will throw System.PlatformNotSupportedException: Operation is not supported on this platform. when creating an HttpClient.
To Reproduce
To reproduce see the issue: https://github.com/dotnet/aspnetcore/issues/26043
Expected behavior
No PNSE thrown
Actual behavior
The actual behavior can be seen here: https://github.com/dotnet/aspnetcore/issues/26043
Environment summary
SDK Version: "Microsoft.Azure.Cosmos" Version="3.13.0-preview"
OS Version (e.g. Windows, Linux, MacOSX): WebAssembly
The best way to resolve this problem is checking if proxy settings are supported before setting the code in the following lines.
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/8c31ca03d52d8550a103155a6ed4966a9eb51980/Microsoft.Azure.Cosmos/src/HttpClient/CosmosHttpClientCore.cs#L99-L107
The following code snippet should work.
        public static HttpMessageHandler CreateHttpClientHandler(int gatewayModeMaxConnectionLimit, IWebProxy webProxy)
        {
            // https://docs.microsoft.com/en-us/archive/blogs/timomta/controlling-the-number-of-outgoing-connections-from-httpclient-net-core-or-full-framework
            if (RuntimeInformation.OSDescription == "Browser")
                return new HttpClientHandler ();
            else
            {
                return new HttpClientHandler
                {
                    Proxy = webProxy,
                    MaxConnectionsPerServer = gatewayModeMaxConnectionLimit
                };
            }
        }

Or check the property HttpClientHandler.SupportsProxy Property
        public static HttpMessageHandler CreateHttpClientHandler(int gatewayModeMaxConnectionLimit, IWebProxy webProxy)
        {
            // https://docs.microsoft.com/en-us/archive/blogs/timomta/controlling-the-number-of-outgoing-connections-from-httpclient-net-core-or-full-framework
            HttpClientHandler handler = new HttpClientHandler();
            if (handler.SupportsProxy)
            {
                handler.Proxy = webProxy;
                handler.MaxConnectionsPerServer = gatewayModeMaxConnectionLimit;
            }
            return handler;
        }

@kjpou1 a possible work around is to provide an HttpClientFactory. Can you see if that works to unblock you?

@kjpou1 please try the latest 3.13.0

@j82w thank you for the information.
@ylr-research could you try the latest release above to see if it fixes the problem.


pantheon.appcenter: 7.3.0 -> 7.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for pantheon.appcenter is: An open, pay-what-you-want app store for indie developers, designed for elementary OS
meta.homepage for pantheon.appcenter is: https://github.com/elementary/appcenter
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.4.0 with grep in /nix/store/dn3vcqzip53sfbkrl0pj5d5zchmidd35-appcenter-7.4.0
found 7.4.0 in filename of file in /nix/store/dn3vcqzip53sfbkrl0pj5d5zchmidd35-appcenter-7.4.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
pantheon.appcenter
pantheon.elementary-onboarding

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dn3vcqzip53sfbkrl0pj5d5zchmidd35-appcenter-7.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pantheon.appcenter https://github.com/r-ryantm/nixpkgs/archive/12b222f672ee03c2b098b5a1f925966d5f83b07c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/12b222f672ee03c2b098b5a1f925966d5f83b07c#pantheon.appcenter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dn3vcqzip53sfbkrl0pj5d5zchmidd35-appcenter-7.4.0
ls -la /nix/store/dn3vcqzip53sfbkrl0pj5d5zchmidd35-appcenter-7.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

pantheon.appcenter
pantheon.elementary-onboarding

Maintainer pings
cc @davidak @bobby285271 for testing.

 Will re-test this one.


After 17 days of continuous operation, some topics are published with a message indicating that i/o timeout and cannot be published again

Which operating system are you using?

OS

[x] Linux

Architecture

[x] arm64

Describe the issue
Description
goroslib version:v0.0.0-20220623231355-7a670441a069
Hello, I have a problem with my program, I need your help, thank you
After 17 days of continuous operation, some topics are published with a message indicating that i/o timeout and cannot be published again, Data accumulation but failure to publish results in high CPU and memory usage
`[2022/11/22 16:33:38] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:39] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:40] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:41] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:42] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:43] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:44] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:33:45] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/22 16:34:03] [ERROR] publisher '/rosout' is unable to write to subscriber '<IP_ADDRESS>:34718' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:34718: i/o timeout
[2022/11/22 16:34:27] [ERROR] publisher '/hardware_status' is unable to write to subscriber '<IP_ADDRESS>:36040' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:36040: i/o timeout
[2022/11/23 06:37:35] [ERROR] publisher '/alarm' is unable to write to subscriber '<IP_ADDRESS>:35988' (TCP): write tcp <IP_ADDRESS>:39843-><IP_ADDRESS>:35988: i/o timeout`

Hello, subscribers are now disconnected after a write error, therefore this issue should be fixed.

Thank you very much


installing kvm on ubuntu docker machine

I need to install kvm on my ubuntu docker machine, which requirea that I install kvm_intel as noted here: https://wiki.ubuntu.com/kvm
I tried to install the linux-headers as noted in
http://askubuntu.com/questions/564910/kvm-is-not-installed-on-this-machine-dev-kvm-is-missing and https://wiki.ubuntu.com/kvm
I am running
RUN apt-get install kvm qemu
RUN depmod
RUN modprobe kvm_intel

However, i get the error:
depmod: ERROR: could not open directory /lib/modules/4.1.13-boot2docker: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
So I installed the linux headers
RUN apt-get install -y linux-headers-$(uname -r)
RUN ln -s /usr/src/linux-headers-$(uname -r)/ /lib/modules/$(uname -r)/build
RUN ln -s /usr/src/linux-headers-$(uname -r)/ /lib/modules/$(uname -r)/build
RUN depmod
RUN modprobe kvm_intel

but then I keep getting an error saying
E: Unable to locate package linux-headers-4.1.13-boot2docker
E: Couldn't find any package by regex 'linux-headers-4.1.13-boot2docker
which makes sense. So I tried the "linux-headers-generic" build, which installs with no issues, but I get the same error
depmod: ERROR: could not open directory /lib/modules/4.1.13-boot2docker: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
What do I need to install to be able to run:
RUN depmod
RUN modprobe kvm_intel

Thank you!

Please try modprobe kvm_intel outside the container.

@AkihiroSuda what did you mean by outside the container? The commands I wrote above are executed in my Dockerfile.
Sorry if I misunderstood you.

I meant like this:
host$ docker-machine ssh your-docker-machine
your-docker-machine$ sudo modprobe kvm_intel
your-docker-machine$ exit

Then, you can use Dockerfile which only contains RUN apt-get install -y kvm qemu.
Note that kvm_intel.ko module is tied with Boot2Docker kernel rather than Ubuntu container.
So you can't load kvm_intel.ko inside the Ubuntu container.

@AkihiroSuda thank you. I got the error
modprobe: can't load module kvm_intel (kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported

Perhaps are you trying to running KVM on VirtualBox?
It doesn't work because VirtualBox does not support nested virtualization.
Please consider using VMware instead of VirtualBox.
(Sorry if you are not using VirtualBox)

@AkihiroSuda  I ran the command on Vmware Fusion docker machine as well, and I get the same error.

@iam-peekay https://communities.vmware.com/docs/DOC-8970

Yup. Even though I've configured the options:
vhv.enable = TRUE
vcpu.hotadd = FALSE
I still get the error.

Is there vmx flag in /proc/cpuinfo?
If exists, it's a B2D misconfiguration, if not, it's a VMware misconfiguration.

@AkihiroSuda  I was able to run sudo madprobe kvm_intel after checking the box next to  "Virtualize Intel VT-x/EPT" in vm settings
However, when I run my container with the emulator, I still get the error that KVM is not installed and the docker container exits/stops:

You need to run mknod /dev/kvm c 10 232 inside the container.
You also need to add--privileged flag when you execute docker run.

thank you so much! that helped solve the issue with it saying that the KVM is not installed. Now I get error saying that the /dev/kvm is missing

@AkihiroSuda it might have to do with KVM (vmx) being disabled by the BIOS. Haven't yet figured out how to enter the BIOS setup and enable Virtualization Technology (VT)

If you ran modprobe kvm_intel successfully, it means VT is enabled.
(All the recent Macintoshes support VT by default: https://support.apple.com/en-gb/HT203296)

Make sure you check "Virtualize Intel VT-x/EPT" in the configuration dialog of VMware Fusion.
Make sure you run modprobe kvm_intel (outside the container).
Make sure you run docker run with --privileged.
Make sure vmx is shown when you run cat /proc/cpuinfo inside the container
Make sure kvm_intel is shown when you run lsmod inside the container
Make sure you run mknod /dev/kvm c 10 232 inside the container

Sorry actually I don't have VMware Fusion and I can't try your workload locally.

thank you! I've done #1, #2, # 3 outside the container.
For #4, #5, #6, I am not able to get inside the container because it exits immediately after I run the container due to the KVM error message from above.

$ docker run -it --privileged YOUR_CONTAINER
container# cat /proc/cpuinfo
container# lsmod
container# mknod /dev/kvm c 10 232
container# /YOUR-INIT

Thank you! After shutting off and restarting the vm, and then running docker run -it --privileged IMAGE_NAME I no longer have that error about the kvm.
my only issue now is that I'm not able to connect to the emulator running inside the container at IP address <IP_ADDRESS> on port 5902 (which is what I set the VNC display port to).. I'll figure out what's happening.
Thank you so much for all the help! Really appreciated.


feat: Add fetchEnsText and useEnsText

Description
Add fetchEnsText and useEnsText for fetching ENS text records.
Additional Information

[x] I read the contributing docs (if this is your first contribution)

Your ENS/address: gregskril.eth

Note to self: hoping to support an array of keys as well via https://github.com/wagmi-dev/viem/pull/961

Appreciate you working on this! Currently, working on an update to Wagmi that will make it much easier to port of Viem actions as Wagmi Core actions and Wagmi React hooks. Once that is ready, it will capture this.


Implementation of Directory.Solution.props and Directory.Solution.targets

Implementation of https://github.com/microsoft/msbuild/issues/4784
For the generated metaproj project this imports a file named Directory.Solution.props at the top and a file named Directory.Solution.targets at the bottom.
This allows users to create a single file that lets them extend the building of all solution files in their repository.

/azp run


Update models

provision isConstant field with a null value for properties of standard classes to aid in testability
provision null constraints for standard datatypes to aid in testability

Reviewed on the call on the 4th of July 2023


Cannot upload asset using Asset.uploadAsset() method

Hello. I'm trying to upload an asset using the UploadAssetModal component from the @contentstack/venus-components library, and the Asset.uploadAsset() method from @contentstack/app-sdk.
The Asset.uploadAsset method returns the error "No handler found for post message: stackOptionsQuery from http://localhost:3000 in ...", full error message is provided below.
The simplified setup is as follows.
const uploadAssetProps: any = {
 sdk,
 onSubmit,
 only: "code",
 multiple: false,
 upload: ({ files, options }: any) => {
  return sdk?.stack.Asset.uploadAsset(files, options)
   .then((res) => console.log('Upload result', res))
   .catch((err) => console.log('Upload error' ,err));
};

<Button onClick={() => openUploadAssetModal(uploadAssetProps)}>
 Upload Asset
</Button>

Error message:
Upload error Error: No handler found for post message: stackOptionsQuery from http://localhost:3000 in https://app.contentstack.com/
    at eval (eval at e.exports (vendor.bundle.js:1:1), <anonymous>:2000:23)
    at ZalgoPromise.try (eval at e.exports (vendor.bundle.js:1:1), <anonymous>:1303:29)
    at exports.RECEIVE_MESSAGE_TYPES._RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_request] (eval at e.exports (vendor.bundle.js:1:1), <anonymous>:1998:34)
    at receiveMessage (eval at e.exports (vendor.bundle.js:1:1), <anonymous>:1896:57)
    at messageListener (eval at e.exports (vendor.bundle.js:1:1), <anonymous>:1916:9)
    at rt.<computed> [as postrobot_message_response] (index.js:2:23116)
    at ft (index.js:2:24840)
    at dt (index.js:2:24896)

Debug output by @contentstack/app-sdk:
[post-robot] fullpage :: app.contentstack.com/

	 #send response :: stackOptionsQuery :: http://localhost:3000

{
  ack: "error",
  code: undefined,
  data: undefined,
  domain: "http://localhost:3000",
  error: "No handler found for post message: stackOptionsQuery from http://localhost:3000 in https://app.contentstack.com/\n at eval (eval at e.exports (https://app.contentstack.com/vendor.bundle.js?v=1.2.4:1:1), <anonymous>:2000:23)\n at ZalgoPromise.try (eval at e.exports (https://app.contentstack.com/vendor.bundle.js?v=1.2.4:1:1), <anonymous>:1303:29)\n at exports.RECEIVE_MESSAGE_TYPES._RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_request] (eval at e.exports (https://app.contentstack.com/vendor.bundle.js?v=1.2.4:1:1), <anonymous>:1998:34)\n at receiveMessage (eval at e.exports (https://app.contentstack.com/vendor.bundle.js?v=1.2.4:1:1), <anonymous>:1896:57)\n at messageListener (eval at e.exports (https://app.contentstack.com/vendor.bundle.js?v=1.2.4:1:1), <anonymous>:1916:9)"
  hash: "stackOptionsQuery_bb3c7fbad8",
  id: "58ee04db3d",
  name: "stackOptionsQuery",
  sourceDomain: "https://app.contentstack.com",
  target: undefined,
  type: "postrobot_message_response",
  windowType: "fullpage"
}

Hi @apankov,
Could you please verify this again we have addressed this issue.
Also, could you upgrade your appsdk version to latest?
Please re-open if the issue persists.


Update faircookbook_rdmkit_mapping.yml

Removing wrong link to FCB007

@elixir-europe/fair-cookbook-editors This PR is awaiting an approval from a FAIRCookbook editor :)


issue in finding Computer Configuration\Administrative Templates\Windows Components\File Explorer.

[Enter feedback here]
Hi ,
I am using windows server 2016 but I am unable to find  file explorer in  following path
Computer Configuration\Administrative Templates\Windows Components**File Explorer**
under Group policy management console on Domain controller.
I was asked to implement Microsoft edge as default browser for all the host in domain but I am unable to implement.

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

ID: 0e858557-d417-cb01-9f4f-ed214087790c
Version Independent ID: 9cbd34f5-7a9a-1e3a-d832-1a945db28726
Content: Set Microsoft Edge as the default browser on Windows and macOS
Content Source: edgeenterprise/edge-default-browser.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: brianalt

@Janaselvam Just to confirm, is this the section you are referencing Set Microsoft Edge as the default browser on domain-joined devices https://learn.microsoft.com/en-us/deployedge/edge-default-browser#set-microsoft-edge-as-the-default-browser-on-domain-joined-devices?
Are you able to find the Windows Components folder?  Is it only the File Explorer folder that is missing?

Closing issue as there has not been any recent replies.
If you are continuing to have issues, you can reach out to Support (https://developer.microsoft.com/en-us/microsoft-edge/support/) for further assistance. Thanks!


Log level OFF not recognized

We kindly ask to post all questions and issues on the Discuss forum first. In addition to awesome, knowledgeable community contributors, core APM developers are on the forums every single day to help you out as well, so your questions will reach a wider audience there. If we confirm that there is a bug, then you can open an issue in this repo.
Describe the bug
From docs, OFF can be used as log level, but I receive error:
2021-03-08 19:03:31.463 [configuration-reloader] WARN co.elastic.apm.agent.shaded.stagemonitor.configuration.ConfigurationOption - Error in Java System Properties: Can't convert OFF to Level Default value 'INFO' for 'log_level' will be applied.
Steps to reproduce
Start with jvm arg: -Delastic.apm.log_level=OFF
Expected behavior
log off
Debug logs

Click to expand
replace this line with your debug logs

Using co.elastic.apm:elastic-apm-agent:1.10.0

Thanks for reporting.
This option was added in version 1.16.0. If you upgrade your agent it should work as expected.
I added a note about that to the configuration documentation - #1692


Update docs for https/ssl

Hi,
I just tried to follow up the docs on: https://flynn.io/docs/apps#https
And it says:
flynn route update http/2b3b2004-38f1-4e68-b856-7d8af3e4c6e1 --tls-cert cert.pem --tls-key cert.key
However this seems to be outdated as the correct usage is:
usage: flynn route
       flynn route add http [-s <service>] [-c <tls-cert> -k <tls-key>] [--sticky] [--leader] [--no-leader] [--no-drain-backends] <domain>
       flynn route add tcp [-s <service>] [-p <port>] [--leader] [--no-drain-backends]
       flynn route update <id> [-s <service>] [-c <tls-cert> -k <tls-key>] [--sticky] [--no-sticky] [--leader] [--no-leader]
       flynn route remove <id>

So the correct command would be: flynn route update http/{ID} -c yourcert.crt -k yourkey.key
Cheers.

Question: How do i force http to be always forwarded to https ?
Cheers.

related to https://github.com/flynn/flynn/issues/2310

@thomasfedb you can use either the short flags (-c and -k) or the long flags (--tls-cert and --tls-key), see the options in flynn help route:
$ flynn help route
...
Options:
        -s, --service=<service>    service name to route domain to (defaults to APPNAME-web)
        -c, --tls-cert=<tls-cert>  path to PEM encoded certificate for TLS, - for stdin (http only)
        -k, --tls-key=<tls-key>    path to PEM encoded private key for TLS, - for stdin (http only)

Are you finding that those flags aren't working?

@lmars Great, this could help enhancing https text:
The router can automatically terminate HTTPS traffic, the certificate chain and key are specified with the --tls-cert and --tls-key flags when creating or updating the route. Enabling HTTPS for a route also enables HTTP/2 automatically.
flynn route update http/2b3b2004-38f1-4e68-b856-7d8af3e4c6e1 --tls-cert cert.pem --tls-key cert.key

You can use either the short flags (-c and -k) or the long flags (--tls-cert and --tls-key), see the options in flynn help route:
$ flynn help route
...
Options:
        -s, --service=<service>    service name to route domain to (defaults to APPNAME-web)
        -c, --tls-cert=<tls-cert>  path to PEM encoded certificate for TLS, - for stdin (http only)
        -k, --tls-key=<tls-key>    path to PEM encoded private key for TLS, - for stdin (http only)

--
Another thing I would like to clarify on the docs is how to add fullchain.pem

I've purchased a comodo certificate and the certificate report on digicert says: SSL Certificate is not trusted, so, it seems that the installation is not right.

I'm still trying to understand why. When reading the digitalocean ssl tutorial for load balancer the instructions are: We will need the contents of the cert.pem, privkey.pem, and fullchain.pem files to set up SSL termination on the Load Balancer..
Thank you.

@thomasmodeneis Regarding your cert not showing as not trusted: You have to combine your cert with your ca-chain and set that combined file as the cert on your http route. The ca-chain is provided by your certificate issuer, usually with your domain certificate. You cat the files together to make a single certificate bundle. See https://support.comodo.com/index.php?/Knowledgebase/Article/View/1145

That doc is really bad, but thanks for the hint, I have now the A certificate after concatenating the files and creating the full bundle.
The certificate update steps for for comodo are,
Create comodo ssl bundle:
cat STAR_yoursite_com.crt STAR_yoursite_com.ca-bundle > ssl-bundle.crt

And update:
flynn route update http/2b3b2004-38f1-4e68-b856-7d8af3e4c6e1 --tls-cert ssl-bundle.crt --tls-key cert.key

@thomasmodeneis this should be shared for sure in the docs.
I purchased an EV SSL certificate from godaddy. I downloaded the apache CRT files:

I then used open ssl to merge the two certs together:
cat certfile.crt gd_bundle-g2-g1.crt  > combined.crt
After I combined the certificates I converted them to PEM format:
openssl x509 -in combined.crt -out combined.pem -outform PEM
Lastly I shipped it with Flynn using the private key that i used when generating the CSR
flynn -a MYAPP-NAME route update http/XXXXXX --tls-cert combined.pem --tls-key server.key

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


ensure => template

Allow creation of templates… this is usually done by setting the template property
iocage get template blag
no

i propose to pass this specific property (and only this) through ensure… given that the way to list templates is thru iocage list -t this strikes me as the correct design choice

see #27

+1

#28 also implements ensure => template for the py-iocage provider


Remove dead branches and set delete on merge as default

[x] - httpd-container
[x] - nginx-container
[x] - s2i-php-container
[x] - varnish-container
[x] - mariadb-container
[x] - postgresql-container
[x] - s2i-nodejs-container
[x] - s2i-python-container
[x] - mysql-container
[x] - redis-container
[x] - s2i-perl-container
[x] - s2i-ruby-container
[x] - s2i-base-container
[x] - common
[x] - tfaga
[x] - tfaga-wrapper
[x] - build and push action

All repositories are now cleaned up o merged branches. Rest of the branches need to be analyzed one-by-one before their removal.
Also the default setting for removing merged branches was changed.


add a test for timeout = 10 mins and make sure azure core is working along with this

Case covered in #19254


[SPARK-LLAP-129] CREATE TABLE LOCATION should check the permission of location

What changes were proposed in this pull request?
Currently, CREATE TABLE only check CREATE permission of Ranger Hive plugin. However, CREATE TABLE ... LOCATION statement should fail if the location is not accessible by Ranger HDFS plugin.
How was this patch tested?
Pass the newly added test case.
$ ./spark-ranger-secure-test.py TableTestSuite.test_22_create_location
.
----------------------------------------------------------------------
Ran 1 test in 121.884s

OK

@bikassaha @merlintang Could you review this?

Thank you, @merlintang.


Make DTLS Peer Certificates Available

Hello and thanks for the awesome work,
I'm building an IOT project, using COAP, and decided to use client certificates for auth (PKI).
As I understand, being able to read the client certificate for each connection is a must for everyone using PKI for auth.
As per #134, I added the option to set a context value (which can be the peer certificate), as well as a way to get read the certificate (using WithOnNewClientConn). I've done this only for DTLS and UDP (because UDP shares interfaces with DTLS), not for TCP or TLS (as I'm not using TCP).
Also added an example for PKI (with both server and client), as well as a markdown with instructions to create the certificates using openssl.
closes #134
PS.: I understand that the example parses the certificate twice (once inside pion/dtls and other in the example code), and I'm not sure how expensive this operation is, so I just leave as it is.

The GitGuardian Security Checks doesn't seem to like the certificate files used in the example and test. Any advice on how to fix this?

Hi. Thanks for contributing. I want to add it but some changes i want to propose.

GitGuardian Security Checks it is better when you generate certificates than commit them to the repository.
pls could extends tcp and tcp-tls because similar feature I need too :), I want to used it in https://github.com/plgd-dev/cloud/tree/master/coap-gateway

I'm not familiar with atomic.Value, but all the session structs had a mutex, so I used it to guard it.
Added similar functionality to TCP (and TLS), with test
Removed the openssl generated certificates and keys in favor of golang generated ones (reason for the forced push)

ping @jkralik

Thanks for everything. Any plans for when to make a new release?

Yes. I released v2.1.0 .


Option to only use Pixels dice for prompted rolls

I wonder if it would be possible to add an option so that rolls with a Pixels are only registered if there is a (Unfulfilled Rolls?) window that is waiting for a roll (or suppress rolls that happened when there is no window, if you want to look at it this way).
This is the reason why I think this would be useful: In my group we play alot with dice cups. If someone needs to make a test, they click the appropriate button and roll their dice. This works quite well. But then they will drop the dice back into the dice cup and set it aside. This always triggers another unintended roll. I don't think this can be handled by the firmware as it's a more rigorous movement than just shifting the die to the side.
An unprompted roll can still be done with a Pixels if triggered by a chat command (or the Dice Tray module).

I have also seen some PF2e system issue in which unintended roll or even double rolls happen. Seems to be linked to the fact that if you roll at any point, foundry will roll the die in chat immediately, even without any prompt. Promted rolls seem to work fine. A feature to disable any "off-the-cuff" rolls and only accept data from the Pixel when a roll is specifically prompted could solve or help troubleshoot various system/module conflicts etc.


Add example of table (data grid) in comfortable & compact mode

Build some examples page use all the states of the table components to give clear guidelines to end users.

Prototype ready for review @BirteThornquist here. I also added a first draft of compact application.

Looks good @lucasveil 👍 Maybe we should give an example of validation also?  In row edit mode, should none edible cells be visualized? Or just disabled on hover?

As agreed on meeting today with @BirteThornquist, in row edit mode, the disabled cell won't show unless you hover over it.
We also see that the table model as used today should be kept and introduce data grid as a new component. Prototype is ready for testing.

Meeting session with IOC, OPT, Fusion and Marita 17th February

Tried to find different solution for disable state. Maybe the best solution is to show disable only on hover? What are your thoughts @BirteThornquist ?


Otter not loading unless save and quit neovim and reopen buffer

As the title says.
If I make a new quarto document and create code chunks (without saving) otter doesn't show cmp suggestions.
If I save multiple times similarly otter still doesn't show code completions. Only after I quit neovim and load the same quarto document does cmp work for all code chunks.
However, if I created say an .r or .sh or .py file I get full suggestions without having to quit nvim first.
I understand in otters use case that saving the buffer first would trigger the cmp right? But I am not entirely sure why I have to quit nvim and reopen the file? Perhaps soemone can help. For example, it almost seems like otters hidden buffers are only being created after saving and then quitting neovim, is there a way to debug which hidden buffers are created and when? Thanks in advance!

Okay so I have just seen that with :ls! you can get a list of buffers (hidden ones too).
To refine this issue further.
When a quarto document is made and an r chunk is added the :ls! output is the following:
:ls!   1 %a + "~/test.qmd"                   line 2   2u h   "[Scratch]"                    line 0   3u a-  "NvimTree_1"                   line 0   4u h   "[Scratch]"                    line 0
However, after quitting and reopening neovim the following is the output:
:ls!   1 %a   "~/test.qmd"                   line 2   2u h   "[Scratch]"                    line 0   4u h   "~/test.qmd.otter.R"           line 0   5u a-  "NvimTree_1"                   line 0
Therefore, my suspicion was right above. It seems otter is only creating the hidden buffer after saving and then quitting nvim. Question is, is this normal behaviour and if not is there additional diagnostics I could perform. Thanks again!

No need to quit and re-opend, just :QuartoActivate (or otter.activate(), but quarto also sets the keybindings) when you add a new language to your document. Otter has no way of knowing that you just added an R chunk if the document contained no code when it was first activated.

Hi yes, this makes sense.  Its really true that generally 9 times out of 10 reading the documentation fixes it 😂.
Thanks for a great plugin and for your patience.


chore: Modified sw analtyics tracker

Description
Contains the changes to wait for 20s for the service worker to become ready before dispatching the registration failed event
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing

How Has This Been Tested?

[x] Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/build-deploy-preview


Unable to run Simulink with OpenFAST 3.0

Hi all,
I am having the following issue with trying to run OpenFAST 3.0 with Simulink (PCMode, VSControl = 4 in ServoDyn). I run the command:
sim('Simulink_Model.slx')
to call the Simulink model having defined the .fst input file.
The Simulink model launches but gets stuck saying "Initializing" in the bottom left corner. Additionally, the MATLAB command window returns numerous warnings where it seems to think that none of the Simulink blocks are connected to each other. The program gets stuck there and I have to force close MATLAB and restart.
This is a new issue and I have had no issues with the Simulink interface until now. What might be causing this issue and how may I be able to fix it?
Thank you,
Andrew

Hi Andrew,
Which operating system are you on?  Do the example models work (https://github.com/OpenFAST/openfast/tree/v3.0.0/glue-codes/simulink/examples)?
Regards,
Andy

Hi Andy,
I am on Windows 10 and the example models work. Since posting this I have managed to find the cause of the issue. The problem came from including LiDAR measurement within S-Function parameters of the the FAST_SFunc block, where the inputs were set as:
"FAST_InputFileName, TMax, [3 UseLidar, LidRadialV]"
instead of
"FAST_InputFileName, TMax, 0"
Once I reset it to the latter, the simulations were able to run again. I'm guessing that it's because the S-Function I was using couldn't accept LIDAR inputs.
Kind regards,
Andrew


Update files to show a demo app

This just updates various places to help with using ember-cli-github-pages which builds and commits to gh-pages branches
It doesn't actually have a demo app

P.S
I wrote these instructions for this pull request on ember-json-pretty
https://github.com/rodrigo-morais/ember-json-pretty/pull/2
Run this from a clean master branch.
The second line creates a gh-pages branch and deletes unneeded files.  I'm not sure if this will go as expected. Out of curiosity, is there something that I'm missing about how to do all this. And if so, where can I find the info?

I noticed that about your blog when testing the demo link, not sure if you can have both. I don't think it's your CNAME as much as your brandonhilkert.GitHub.io repo is catching the gh-pages route.
All I did was push the gh-pages repo and the site showed up. Ember-cli-github-pages is basically a wrapper for some shell commands.
I'll see if I can find anything.

http://jhr007.github.io/
http://jhr007.github.io/ember-cli-sticky/
Maybe the custom 404 handler?
https://help.github.com/articles/custom-404-pages/

I hope this better answers your question...
You can create a project site by creating a gh-pages branch on a repository.
This gh-pages branch is the ember build folder moved up to the root folder and committed to that branch, done behind the scenes with ember github-pages:commit --environment=gh-pages. Note I accidentally committed some untracked patch files. ember-cli-github-pages is a little too broad with its commits.
The gh-pages branch:
https://github.com/jhr007/ember-cli-sticky/tree/gh-pages
How it renders:
http://jhr007.github.io/ember-cli-sticky/
I've never actually used a gh-pages branch before because I thought of it as an ugly use of a git branch, purist, a separate code base should have separate repo, bla bla bla... but ember-cli-github-pages makes it easy.
GitHub info.
https://help.github.com/articles/user-organization-and-project-pages/#project-pages


Edit profile assessment

allow for no msg arg to be passed to revert endpoint

Would this help with reverting with no email?

We could use msg == '' in admin to bypass the send email logic. That would require setting this.state.msg in redux to = '' when the revert without email is clicked. It would require the least amount of changes.


Prune some dependencies, and cleanups

Fixes https://github.com/revault/cosignerd/issues/2

ACK 82ba814


New operator entitiesCount

Operador count distinct for maps

Is possible make a WordCount with this operator.
Word Count with one input field and save by the Granularity.
In the output:
Map(word: number, ......)


[QUESTION] Is there way to disable Monarch of Chaos and Cape of Chaos' wither block effect?

Hello, I would love to know a way to disable the feature of turning grass and dirt into wither block since it causes crashing issue in server due to flower turning into a flower that is buggy and causes crash. Thanks.

In the config, there is a line called disable_use_chaos_robes which is set to false by default, setting it to true should disable all the uses for the item (including healing when having decay).


Bonfire Find the Longest String in a Word not accepting correct answer

The following code doesn't pass the May the force be with you test. Result says expect(findLongestWord('May the force be with you')).to.equal(5);expected 6 to equal 5
var numLongestWord = 0;

function findLongestWord(str) {
  var strArray = str.split(' ');
  for (var word in strArray){
      if (numLongestWord < strArray[word].length) {
          numLongestWord = strArray[word].length;
      }
  }
  return numLongestWord;
}

findLongestWord('The quick brown fox jumped over the lazy dog');

The code doesn't pass the test because var numLongestWord = 0 is outside the function.

Oh. I didn't know that everything had to be inside the function. Thanks for the tip. I moved the line inside the function and that worked.

Have you read about variable scope already? Your mistake occurred because the var is in global scope and doesn't reset back to 0 every time the function is called. So it's not about having to put all of your code inside the function

Hi @SojournerOctocat Consider closing this issue, if it's resolved. Thanks.

Thanks for the explanation. I thought that the global var would reset each time the code was called.


pull request for e2e test at 01/26/2017 04:56:08

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


Can't initiate integration

I've had this integration up and running for a while. But now, it seems to been running into some issues...?
Upon HA start;
This error originated from a custom integration.

Logger: homeassistant.loader
Source: custom_components/hasl3/__init__.py:41
Integration: Swedish Public Transport Sensor (HASL) (documentation, issues)
First occurred: 07:11:28 (1 occurrences)
Last logged: 07:11:28

Unexpected exception importing component custom_components.hasl3
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/hasl3/__init__.py", line 41, in <module>
    @asyncio.coroutine
     ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'

Logger: homeassistant.setup
Source: setup.py:215
First occurred: 07:11:28 (1 occurrences)
Last logged: 07:11:28

Setup failed for custom integration hasl3: Unable to import component: Exception importing custom_components.hasl3

Duplicate of #56


Extend ReportMergeTask for md & HTML

Expected Behavior

I would like to use the Markdown Report (#4858) in projects with multiple modules.
For this, I would like to extend the ReportMergeTask to work also with markdown files. Sadly, this is kind of a problem: We can not simply parse the markdown reports because it's just text.
Idea
An idea would be to implement a new output generator like SerializedOutput which just serializes the Detektion-object and extend the ReportMergeTask to generate an MD file out of the serialized Detektion-object.
I'm not really happy with this solution but I haven't another idea about how to get a merged markdown report (and maybe we can also use this for the txt/html output).
Your Environment
Version of detekt used: 1.21.0-RC2
Version of Gradle used (if applicable): 7.4.2

Related to #4827

Also related with #4289. If the Detekt task generates a single report or serializes the Detektion list this and other tasks would be more easy. Probably SARIF could be that base report.
The idea detekt-core > SARIF? > Reports (single, merged, baselines, etc)
This would work extremely well with gradle. But this is a huge refactor.

Yeah that's basically what JaCoCo does, as an example.

Html is not working too

I propose closing this as "not planned" - see here for rationale: https://github.com/detekt/detekt/issues/5041#issuecomment-2366754443

I agree. I close this. If other maintainers think different we can reopen.


Submit pledge

I rule and have completed some work on Case Manager that's ready for review!
Creates an integration test for sending a pledge.
This pull request makes the following changes:

Adds an integration test for sending a pledge
Adds a few ids to buttons in the modal to make them play nice with capybara

It relates to the following issue #s:

Fixes #262

[Current coverage][cc-pull] is 99.49% (diff: 100%)

Merging [#540][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #540   diff @@
==========================================
  Files            24         24
  Lines           395        395
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            393        393
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update [9e5681d...ce07bb9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/colinxfleming/dcaf_case_management/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/colinxfleming/dcaf_case_management/compare/9e5681d468c1e6775dbd2ad6ff2e5fc74d0ce211...ce07bb99f7a5e24766c23fd79eaa87b65f420262?src=pr
[cc-pull]: https://codecov.io/gh/colinxfleming/dcaf_case_management/pull/540?src=pr


Question: regex pattern to for certificate files in a dir using option --watch-dir

Is there any way to specify regex patterns to identify certificate files in a directory, for the option --watch-dir
example:   --watch-dir=/etc/ssl/certs/*.pem

Hi @AnuragEkkati
How did you manage to solve this? Needing something similar.


OpenSSL 3.3.2 build fails on RHEL 7

We get this error building OpenSSL 3.3.2 on RHEL 7. All previous OpenSSL versions (1.1.x, 3.0.x, 3.1.x, 3.2.x, 3.3.1) have been successfully built in the exact same environment:
+ ./config --prefix=/opt/openssl --openssldir=/opt/openssl -fPIC no-gost shared
Configuring OpenSSL version 3.3.2 for target linux-x86_64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h
**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL.md file first)      ***
***                                                                ***
**********************************************************************
+ make depend
+ make -j4
/usr/bin/perl util/mkinstallvars.pl PREFIX=. BINDIR=apps APPLINKDIR=ms LIBDIR= INCLUDEDIR=include "INCLUDEDIR=./include" ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.2" "LDLIBS=-ldl -pthread " > builddata.pm
/usr/bin/perl "-I." "-Iutil/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "util/dofile.pl" "-oMakefile" crypto/params_idx.c.in > crypto/params_idx.c
/usr/bin/perl util/mkinstallvars.pl "PREFIX=/opt/openssl" BINDIR=bin "LIBDIR=lib64" "libdir=/opt/openssl/lib64" INCLUDEDIR=include APPLINKDIR=include/openssl "ENGINESDIR=/opt/openssl/lib64/engines-3" "MODULESDIR=/opt/openssl/lib64/ossl-modules" "PKGCONFIGDIR=/opt/openssl/lib64/pkgconfig" "CMAKECONFIGDIR=/opt/openssl/lib64/cmake/OpenSSL" "LDLIBS=-ldl -pthread " "VERSION=3.3.2" > installdata.pm
/usr/bin/perl "-I." "-Mconfigdata" "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
"pairs" is not exported by the List::Util module
Can't continue after import errors at util/mkinstallvars.pl line 14.
BEGIN failed--compilation aborted at util/mkinstallvars.pl line 14.
make: *** [builddata.pm] Error 255
make: *** Waiting for unfinished jobs....
"pairs" is not exported by the List::Util module
Can't continue after import errors at util/mkinstallvars.pl line 14.
BEGIN failed--compilation aborted at util/mkinstallvars.pl line 14.
make: *** [installdata.pm] Error 255

Looks like this was already discussed here but without any outcome: https://github.com/openssl/openssl/discussions/24840

If you yum install perl-List-MoreUtils you'll get past this error. But I'm now dealing with a different error after that.

Thanks for the suggestion, but nope, adding perl-List-MoreUtils didn't fix the error for me.

Thanks for the suggestion, but nope, adding perl-List-MoreUtils didn't fix the error for me.

Sorry, you're right. The build was "proceeding" but in a broken state.

Looks like the version of List::Util provided by RHEL 7 is too old:
[~]$ rpm -q perl-Scalar-List-Utils
perl-Scalar-List-Utils-1.27-248.el7.x86_64

According to the module changelog pairs were added in 1.28 (broken)/1.29: https://metacpan.org/dist/Scalar-List-Utils/changes
1.28 -- Thu Aug 01 12:19 UTC 2013
  -- BROKEN; do not use. See 1.29

  * Added pairgrep, pairmap, pairs (inspired by List::Pairwise)

It seems like this should be documented, at a minimum.

Current documented minimum perl version is 5.10 with this module not listed at all (Required Perl modules):
https://github.com/openssl/openssl/blob/master/NOTES-PERL.md
The prerequisites would also need to be adapted: https://github.com/openssl/openssl/blob/master/INSTALL.md#prerequisites
Yes I agree, at a minimum this should be documented. Is there a list of supported os versions around? I couldn't find any.

...
darn.
pairs came with List::Util 1.29, but the minimum perl, 5.10, only includes List::Util 1.19.
To conform, we shouldn't have used pairs.  Fortunately, we already have replacement helpers elsewhere, I'll just adjust

I am also seeing the same error on Linux 7 with GCC 7
Calling: make depend Calling: make DIRS="crypto ssl apps" install /usr/bin/perl util/mkinstallvars.pl PREFIX=. BINDIR=apps APPLINKDIR=ms LIBDIR= INCLUDEDIR=include "INCLUDEDIR=./include" ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.2" "LDLIBS=-ldl -pthread " > builddata.pm "pairs" is not exported by the List::Util module Can't continue after import errors at util/mkinstallvars.pl line 14. BEGIN failed--compilation aborted at util/mkinstallvars.pl line 14.

Looks like the version of List::Util provided by RHEL 7 is too old:
[~]$ rpm -q perl-Scalar-List-Utils
perl-Scalar-List-Utils-1.27-248.el7.x86_64

According to the module changelog pairs were added in 1.28 (broken)/1.29: https://metacpan.org/dist/Scalar-List-Utils/changes
1.28 -- Thu Aug 01 12:19 UTC 2013
  -- BROKEN; do not use. See 1.29

  * Added pairgrep, pairmap, pairs (inspired by List::Pairwise)

Too confused. Perl-Scalar-List-Utils-1.27 is already the latest version in RHEL7, but the Docker image quay.io/pypa/manylinux2014_x86_64 in my CI task cannot be changed, and the Rust build task cannot be rolled back to 3.3.1.
How can I upgrade to perl-Scalar-List-Utils-1.29?

Is there any plan for an openssl release containing this fix soon?

...
darn.
pairs came with List::Util 1.29, but the minimum perl, 5.10, only includes List::Util 1.19.
To conform, we shouldn't have used pairs. Fortunately, we already have replacement helpers elsewhere, I'll just adjust

Is there any plan for an openssl release containing this fix soon? The latest 3.3.2 release doesn't seem to have this fix. Could you please let me know that when can we expect the release having the fix?

Iirc the fix using the master branch now, so it will be available in 3.4.  @levitte can you confirm please?

Yes, it will be available in 3.4.0.

I also had this issue installing OpenSSL from the source tarball version 3.3.2 from https://openssl-library.org/source/
After running ./Configure I ran 'make' and received this error:

/usr/bin/perl util/mkinstallvars.pl PREFIX=. BINDIR=apps APPLINKDIR=ms LIBDIR= INCLUDEDIR=include "INCLUDEDIR=./include" ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.2" "LDLIBS=-ldl -pthread " > builddata.pm
"pairs" is not exported by the List::Util module
Can't continue after import errors at util/mkinstallvars.pl line 14.
BEGIN failed--compilation aborted at util/mkinstallvars.pl line 14.
make: *** [builddata.pm] Error 255

The fix (for me) was found here:
https://metacpan.org/pod/List::Util
upon clicking 'Install Instructions' on the left hand side of the page I followed the 'CPAN shell' instructions to update the List::Util module for perl to version 1.66.  These were the commands I ran:
perl -MCPAN -e shell
install Sub::Util

After this 'make' ran successfully.


Payonidhi|BinarySearchonLinkedList|

Added sample code for using binary  search on a singly linked list.

@all-contributors please add @payonidhi for her code


Newest version of FBI(with slowhax) issue on 11.0.0-33U

Hello,I made an account to ask for help with my error.
Sorry if that other Issues topic covers it,I have asked about this on r/3dhacks and GBATemp but no answers for 3 days.My errors are just a little different.Most of them are the same error for all options.It all started after waithax was added to FBI.
When i use it I just get an error not allowing me to do anything now.No lists populate and all I can do is turn off the 3ds.I will attach a .txt file detailed all the errors I get.
I even tried repairing my 3ds db files which caused me alot of trouble having to re download all my games.
Entry points tried:Basehax,Steelhax and Soundhax.
FBI Issues.txt

The system save data error is normal, as I can't get access to that via 3dsx. As for the rest of the errors, they're already fixed in source. For now, use the last build linked in this issue: https://github.com/Steveice10/FBI/issues/247#issuecomment-269695934

@burningocean2012 and lesson learned (I hope)... If during troubleshooting or testing, you think you need to "fix" or delete a file, BACK IT UP FIRST. Back up your whole  (m)SD card. Including your emunand, If you use one (or more). Back up your sysnand as well.
Sorry for replying to a closed issue @SteveIce10, but it needed to be said.


Ensure framework post-render clean up does not regress render performance

Background
In a single-view world, the rasterization begins once the framework calls FlutterView.render. In a multi-view world, rasterization begins once the onDrawFrame callback exits. Thus, expensive work that happens after a FlutterView.render could cause end-to-end render performance to regress.
Solution

Investigate whether work that happens after FlutterView.render is expensive.
If it expensive, consider adding an optimization where we begin rasterization once FlutterView.render has been called on all views. This depends on: https://github.com/flutter/flutter/issues/144444

Pulled some stats on this from a timeline trace of a benchmark run. Clean-up is mostly very fast, but worst case can go upto 3.7 ms.

In addition to the clean-up there is also the postframe callback phase that happens as part of the drawFrame callback. It's pretty similar:

This was done as part of https://github.com/flutter/engine/pull/51186.


References to parameters and responses are not preserved

References to responses and parameters are replaced with the referenced object in the serialized output.  In the output, those references are replaced by the referenced object's content. It results in duplicated content within the document. Also those references under parameters and responses sections are no longer used after serialization.
For definitions, the references are kept. If the reference is external then it's resolved and copied into the document and the new internal reference is used from that point on. Parameters and responses should at least keep the internal references intact.
A user would want to 'resolve' the external references, but still want to keep the internal references preserved. Ideally preserving the internal references should be the default behaviour, so the document doesn't get bloated by copying the referenced object's content to each instance.

@fehguy, opening this issue as per our discussion earlier.

@fehguy you are probably occupied with other components. but wondering if you had a chance to think about this one. thanks.

Yes, for the new parser, I introduced a ParseOptions.java class to hold options for how we resolve or don't.  I suggest that we enumerate the parse options in the class so users have full control over how the specification is resolved.

I did not find the above mentioned Java class. On which version did you add this class? Has this issue resolved??

@chandan485  https://github.com/swagger-api/swagger-parser/blob/2.0/modules/swagger-parser-core/src/main/java/io/swagger/v3/parser/core/models/ParseOptions.java

Thanks for quick response.
Does this support for swagger 2.0? I am using swagger-parser V 1.0.33 . From which class of swagger-parser library do i need to use this ParseOption.java?

This is for openAPI 3.0

To clarify: can the improved tools for OpenAPI 3.0 also process specifications in 2.0 format or are they mutually exclusive? i.e. I have to use 2.0 tools with a 2.0 spec?
Are any fixes being back ported to the 2.0 tools?

Hi, @anthomps @chandan485  sorry for the delay reply OpenApiParser can be use to parse swagger 1.x, 2.0 and 3.0., parser will internally convert the previous version to the 3.0 version of the spec.


remove .idea files

We shouldn't have these checked-in, right?

We have some developers using IntelliJ - I believe these files are ones common among developers on the project? The IntelliJ FAQ details which ones to commit and which ones to ignore: https://intellij-support.jetbrains.com/hc/en-us/articles/206827587-How-to-manage-projects-under-Version-Control-Systems.
@kasperpeulen

Basicly those 2 xml files make sure that webstorm/intelliJ won't give
warnings for the custom element,custom attributes that are imported by
dartpad.
So they are not like random custom settings that I use, but they are really
specific to the dartpad repo.
I won't really mind if those files are removed from the repo, but I also
don't see how they could hurt anyone.
2015-07-06 22:36 GMT+02:00 Devon Carew<EMAIL_ADDRESS>
We have some developers using IntelliJ - I believe these files are ones
common among developers on the project? The IntelliJ FAQ details which ones
to commit and which ones to ignore:
https://intellij-support.jetbrains.com/hc/en-us/articles/206827587-How-to-manage-projects-under-Version-Control-Systems
.
@kasperpeulen https://github.com/kasperpeulen
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/dart-pad/pull/563#issuecomment-118991617.

--
Kasper

Good to know.


Update conanfile.py

Use scm section instead of git checkout
Use the same function names as in mana/conanfile.py
Automatic versioning based on commit id
Update metadata

Signed-off-by: Magnus Skjegstad<EMAIL_ADDRESS>

Tested locally with conan create ...


Add Profile 17arindam

A pull request should be created from this issue if not kindly ping @dinxsh ⚠

@dinxsh @sanjay-kv  please look into this we cant add profiles


Update Fabric.Admin API for GPU model and operation

Update Fabric.Admin API for GPU model and operation
Contribution checklist:

[X] I commit to follow the Breaking Change Policy of “no breaking changes
[X] I have reviewed the documentation for the workflow.
[X] Validation tools were run on swagger spec(s) and errors 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

[X] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[X] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk


Command nil not found in $PATH

I have installed nil and added it to the $PATH. But the vscode Nix IDE extension still shows Command nil not found in $PATH.
I also checked the integrated terminal in vscode and it shows the nil in the PATH:

Any suggestions here? Below is my settings:
  "nix.enableLanguageServer": true,
  "nix.serverPath": "nil",
  "nix.formatterPath": "nixpkgs-fmt",

Thank you!

I changed to another machine and it's working. The one that doesn't work happened on vscode installed from Flatpak.
So I would assume the problem is not related to this extension.
Thank you


invalid_request_error (Exceeded max_tokens allowed by the model)

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
HTTP 400 Bad Request. You may have exhausted your OpenAI subscription allowance or have an expired account. You can clear your API Key from VS Code's secrets storage with Genie: Clear API Key command. Check your allowance and account's expiration date here: https://platform.openai.com/account/usage
{
"error": {
"message": "This model's maximum context length is 4097 tokens. However, you requested 4790 tokens (2742 in the messages, 2048 in the completion). Please reduce the length of the messages or completion.",
"type": "invalid_request_error",
"param": "messages",
"code": "context_length_exceeded"
}
}
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
gpt-3.5-turbo
Additional context
No response

I have the same bug

Hi - this is related to the max_tokens you have in your settings. The default is 2048 tokens spared for the response. If you request + response is larger than your model's max_token count, you will see this error from OpenAI. You should adjust your maxTokens (Setting: "genieai.openai.maxTokens") or break your prompts into chunks so that OpenAI responds within the maxTokens limits
The error message is printed means that your prompt/question contains 2742 tokens and the response is larger than max allowed(4097 - 2742):
This model's maximum context length is 4097 tokens. However, you requested 4790 tokens (2742 in the messages, 2048 in the completion). Please reduce the length of the messages or completion.
We are working to introduce a counter so that you maximize the token usage. However, you could still face this issue if you are prompting with a very long message.
Closing this as expected and will track the max token calculation with this issue: https://github.com/ai-genie/chatgpt-vscode/issues/20

Hi, my individual conversations are not too long. This problem only occurs after a certain amount of time has passed, for example, when I ask it to help me write some code or copywriting. I wonder if there is too much additional previous chat content attached during each request?

Oh I see it could be caused by enabling historical in the plugin, while GPT does have the context in the back-end so it should understand historical without appending I'll try updating the setting on VScode to see if this remedies the issue., I also created a duplicate issue. I'm going to close it

Hi - this happens because your conversation is likely long. And for GPT-* models, the extension provided the whole history for better accuracy.
However, we see the limitations that may bring and we made a change in v0.0.5 to only append system message + last conversation + new conversation to your question. So that you have both historical context without consuming your tokens for the whole conversation.
Please upgrade to v0.0.5 to get the updates

Hi - this happens because your conversation is likely long. And for GPT-* models, the extension provided the whole history for better accuracy.
However, we see the limitations that may bring and we made a change in v0.0.5 to only append system message + last conversation + new conversation to your question. So that you have both historical context without consuming your tokens for the whole conversation.
Please upgrade to v0.0.5 to get the updates

Hi there! Could you please tell how the official openai website chat.openai.com handles the context understanding issue? I noticed that the ChatGPT-Next-Web project has a feature that automatically compresses chat history to support long conversations while also saving your tokens.  Excuse me, esteemed author. Do you think it would be possible to incorporate this particular feature into this project?  Would love to hear your thoughts on the matter. Thanks!

Hi,It is true that the problem did not recur after upgrading to the new version, but if interspersed with some less relevant questions, the answer is not accurate enough.The ChatGPT-Next-Web project provides a setting to adjust the number of historical messages, while in the ChuanhuChatGPT project, Do Do looks like it provides a summary of previous content to handle this issue, so you can refer to that!


Create Form - new screen

Hi,
I have added a new section to aqua called client and when I use Create New and Post. Data is successfully stored but when it redirect to details ID is always undefined hence it throw 500
http://localhost:8000/admin/clients/undefined
http://localhost:8000/api/clients/undefined
Seems to me something related to but unable to identify as React is new for me :( any hint is appreciated. How to debug what is reaching in response object?

static createNew(data) {
    ApiActions.post(
        '/api/clients',
        data,
        Store,
        Constants.CREATE_NEW,
        Constants.CREATE_NEW_RESPONSE,
        (err, response) => {

            if (!err) {
                this.hideCreateNew();

                const path = `/admin/clients/${response._id}`;

                ReactRouter.browserHistory.push(path);

                window.scrollTo(0, 0);
            }
        }
    );
}

Thanks for opening an issue. response._id is undefined and you probably need to send that _id back in the response. For example in statuses (and most others) when we POST we send back the whole document which contains the _id field.

thanks, i used response[0]._id it worked fine.


Make Asset inheritable

Make Asset a class with the protected constructor. Add the assetFactory(props: IAssetObject) method to config which allows to instantiate Asset class heirs. That new method should return a Promise with an instance of the class inherited from Asset.
Example:
const Waves = WavesAPI.create({
    // ...default fields
    assetFactory(props) {
        return getSomeData(props.id).then((data) => {
            return new AssetHeir(props, data);
        });
    }
});

Done in d842de03e1c1c74c012f24bc6cda6610e70ea39e.


Cannot build project with Non-inlineable Libraries

Component
Forge
Have you ensured that all of these are up to date?

[x] Foundry
[x] Foundryup

What version of Foundry are you on?
forge 0.0.2 (dbb13e7 2024-10-08T00:23:52.252132000Z)
What command(s) is the bug in?
forge build --zksync
Operating System
macOS (Apple Silicon)
Describe the bug
Running the forge compile command  and getting the following:
forge compile  --zksync
[⠃] Using zksolc-1.5.3
[⠊] Compiling (zksync)
[⠢] Compiling 69 files with zksolc and solc 0.8.21
[⠆] zksolc and solc 0.8.21 finished in 44.57s
Error:
Compiler run failed:
Error
Error: LLVM IR generator definition pass: library `src/lib/JellyfishMerkleTreeVerifier.sol:JellyfishMerkleTreeVerifier` not found in the project
--> src/NexusProofManager.sol:NexusProofManager

The message structure is different from the one mentioned here in docs -> https://docs.zksync.io/build/tooling/foundry/migration-guide/compilation#non-inlineable-libraries
On top of it, i tried running:
forge create --deploy-missing-libraries --private-key <PRIVATE_KEY> --rpc-url <RPC_URL> --chain <CHAIN_ID> --zksync

The command failed saying --deploy-missing-libararies doesn't exists.
So I tried:
forge create --zk-detect-missing-libraries --private-key <> --rpc-url http://localhost:3050 --zksync src/lib/JellyfishMerkleTreeVerifier.sol:JellyfishMerkleTreeVerifier

And the compiler gave the following error:
[⠃] Using zksolc-1.5.3
[⠊] Compiling (zksync)
[⠰] Compiling 1 files with zksolc and solc 0.8.21
[⠔] zksolc and solc 0.8.21 finished in 300.21ms
Compiler run successful!
The application panicked (crashed).
Message:  Bytecode not found
Location: crates/forge/bin/cmd/create.rs:134

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   2: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   3: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   4: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   5: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   6: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   7: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   8: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   9: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  10: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  11: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  12: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  13: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  14: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  15: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  16: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  17: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  18: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  19: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  20: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  21: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
zsh: abort      forge create --zk-detect-missing-libraries --private-key  --rpc-url  --zksync

The scripts and deployment work fine with geth, and the library is definitely there.

@rac-sri --deploy-missing-libraries feature has been removed.  We are working on other solutions as deploy time linking has been recently added. For now the solution is getting the list of libraries with --zk-detect-missing-libraries  using it in forge build instead of forge create. That will give you the list of libraries that you need to deploy and then map the addresses to using the --libraries argument. forge create is for deploying a single contract and expects a path to the contract bytecode, see https://github.com/matter-labs/foundry-zksync/issues/439

Thanks that worked.


[167] Issue #167 - August 27, 2020

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

Bump on AnySequence / AnyCollection conversion
https://forums.swift.org/t/bump-on-anysequence-anycollection-conversion/39366/2

https://forums.swift.org/t/se-0287-extend-implicit-member-syntax-to-cover-chains-of-member-references/39398 0287 in review

https://twitter.com/Catfish_Man/status/1294356245600595969
https://github.com/apple/swift/pull/33487

https://twitter.com/AirspeedSwift/status/1294292068412473347

https://twitter.com/dgregor79/status/1294425578553012224
https://forums.swift.org/t/pitch-2-function-builders/39410

https://twitter.com/dgregor79/status/1296132733899399169

Swift on the Server Workgroup August 5th, 2020 meeting notes
https://forums.swift.org/t/august-5th-2020/39546

Switch and @avaliable --> SR-4079
https://forums.swift.org/t/switch-and-avaliable/39528

Swift dynamic loading API
https://forums.swift.org/t/swift-dynamic-loading-api/39495

Add swift package manager, service manager extension
https://forums.swift.org/t/add-swift-package-manager-service-manager-extension/39492

Allow to compare generic types without providing a signature specialization
https://forums.swift.org/t/allow-to-compare-generic-types-without-providing-a-signature-specialization/39654

Typed throws
https://forums.swift.org/t/typed-throws/39660

Swift Numerics 0.0.7 Release Notes
https://forums.swift.org/t/0-0-7-release-notes/39680

https://steipete.com/posts/logging-in-swift/

[Accepted] SE-0287: Extend implicit member syntax to cover chains of member references
https://forums.swift.org/t/accepted-se-0287-extend-implicit-member-syntax-to-cover-chains-of-member-references/39714

Make protocols conforming to protocols as only struct/enum/class types can conform to protocols now
https://forums.swift.org/t/make-protocols-conforming-to-protocols-as-only-struct-enum-class-types-can-conform-to-protocols-now/39696

The review of SE-0288, "Adding isPower(of:) to BinaryInteger", begins now and runs through September 4, 2020
https://forums.swift.org/t/se-0288-adding-ispower-of-to-binaryinteger/39736

[Pitch] Explicit syntax for trailing closure matching
https://forums.swift.org/t/pitch-explicit-syntax-for-trailing-closure-matching/39748


Define a static CMSSW environment for LogCollect jobs

Impact of the new feature
WMAgent
Is your feature request related to a problem? Please describe.
As discussed in this ggus ticket:
https://ggus.eu/index.php?mode=ticket_info&ticket_id=141120
LogCollect jobs using an old'ish release (and XrootD older than 4.9.1, which is shipped with CMSSW) don't work with the T1_UK_RAL storage.
They tested with newer XrootD version and it seems to work fine with 4.9.1. We've also run a test with CMSSW_11_0_0_pre7 and it works just fine.
Describe the solution you'd like
So we're considering to hardwire a CMSSW setup for LogCollect jobs instead of relying on the workflow configuration. The current logic is here:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMSpec/Steps/Executors/LogCollect.py#L101-L112
Using something like CMSSW_11_0_0 (once the final/production version gets released) on slc7_amd64_gcc700 architecture.
My concern is whether we might end up with jobs being stuck due to lack of resources on SLC7(?)
Of course such change will require maintenance every year or two, to make sure we keep up with the latest changes on the CMSSW land.
Describe alternatives you've considered
Another alternative would be to still use the workflow configuration (its ScramArch) and have a couple of different CMSSW version, such that:

if a job is meant to run on SLC6 resources, we define the latest SLC6 production release (maybe CMSSW_10_4_0_patch1)
if a job is meant to run on SLC7 resources, we set it to CMSSW_11_0_0 (which hasn't been released yet)
otherwise (SLC5 and others), we don't use edmCopyUtils

Additional context

@bbockelm would you have any preference on which option to get implemented? I prefer the first one, but I'm not sure whether it can cause further problems or not...

To update, the Production version of CMSSW_11 which we require for this fix is undergoing some critical development. Once this is in full Production the change for this issue can be made - new estimate is March 2020.
Alan had wondered which SLC6 version has the newer XRootD version, but Katy did not know.
From Katy's monitoring it appeared that successful tests have been run on several occasions in the first half of Jan - this is obvious when the grafana monitoring shows LogCollect jobs failing at a rate that is neither 100% or 0%.

Quick update on this issue, looking at cmsdist repo for CMSSW releases that are possible using XrootD >= 4.9.1

on slc7_amd64_gcc900, CMSSW_11_2_X branch (e.g.: CMSSW_11_2_3)
there seems to be no releases on slc6. The latest I can find is on slc6_amd64_gcc700, with CMSSW_10_5_0.

@smuzaffar Shahzad, do you know whether there is any straight forward way to find a release under SLC6 which has XrootD version >= 4.9.1? Looking at the cmssdt xml page and at those branches in cmsdist, I'm not able to find any.

@amaltaro , there is no cmssw release for slc6 with xrootd>=4.9.1 . We only have xrootd 4.8.5 in CMSSW_10_5_0 .

Thanks for the confirmation, Shahzad!
@KatyEllis would you like or have some time to check whether this 10_5_0 edm utils would work in the RAL worker nodes? If it does (even though it doesn't have the xrootd version we have previously discussed), then we could update the default logCollect CMSSW release to this one. It might be useful to test the current defaults as well:

CMSSW_10_4_0 with either slc7_amd64_gcc820, or slc6_amd64_gcc700

Just to comment on progress- On Tuesday 9th March Alan and I did test with various combinations of CMSSW version and SLC7 version on a RAL worker node. However, even the version we expected to work, did not!


Cake builds for every architecture

Hi, I'm working on updating the aur package. I used the same commands for denaro and tube-converter but while tube-converter behaves correctly, in denaro the build system installs runtimes for every architecture. I'm using these commands:
dotnet tool restore
dotnet cake --target=Publish --prefix=/usr --ui=gnome
dotnet cake --target=Install --destdir="$pkgdir"

The scripts are exactly the same so I don't know why it's happening on one and not the other....
@fsobolev Any ideas?

I'm not sure what causes this, but the solution is to set runtime ID when publishing, I will commit fix later today.

Fixed with V2023.5.0 stable :)


Grammar and spelling fixes

This is a minor grammar/spelling fix PR to help increase clarity in the installation page.

Thanks!


Feature: Option to provide LS configuration as a ConfigMap

We add the option to pass the LS configuration as a ConfigMap. The upstream Container is smart enough to accept an existing config.php

I think we can also solve this with a generic way to pass extraVolumes/ConfigMaps


Speech Command Recognition example crashes with GPUDelegate

Tensorflow lite issue:
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes:

In SpeechActivity when the interpreter is created:
(https://github.com/tensorflow/examples/blob/master/lite/examples/speech_commands/android/app/src/main/java/org/tensorflow/lite/examples/speech/SpeechActivity.java line: 182)
(deprecated)
tfLite = new Interpreter(loadModelFile(getAssets(), actualModelFilename));
I change to:
Interpreter.Options options = new Interpreter.Options();
options.addDelegate(new GpuDelegate());
options.setNumThreads(1);
tfLite = new Interpreter(loadModelFile(getAssets(), actualModelFilename), options);
Standalone code to reproduce the issue
I have an instrumented test that reproduces the bug, I will attach it
Crashes with GpuDelegate, does not crash with NnapiDelegate
(Change to .java for use, also include the proper dependencies in gradle, and create the proper directories for gradle to find and build out test: androidtest->java-> etc)
SpeechTest.txt

can you attach the tflite model?

There are two ways of obtaining the model as described on the readme page. Through the download_model.gradle, or manually downloading it via the link.
https://github.com/tensorflow/examples/tree/master/lite/examples/speech_commands/android
But just for clarity I will zip the one specifically in my project
conv_actions_frozen.zip

bump

Thank you for the attached model.  AudioSpectrogram & Mfcc is not an op that exists in the GPU delegate.  What's puzzling to me is that the tensor dimensions not matching.  Currently, most of the input/output tensors of each op are scalar without tensor dimensions.  For TFLite GPU, tensor shapes need to be well-defined.

Hi @impjdi,
Thanks for the reply. I have some questions regarding this information.

How do you know which operations are supported by GPU delegate, is there a list?
How do you obtain information regarding each op in the graph. aka, its shape/dimensions?

//tensorflow/lite/delegates/gpu/common/model_builder.cc has the information you're looking for.

We don't obtain it from the graph but from the tensor.  If you look at the definition of struct TfLiteTensor, that information is embedded there.  If that information is missing, it's considered a scalar (which is incorrect).  I am not familiar with the CPU execution and how it determines the shapes; GPU requires them to be set in advance.

Thanks for the info, I appreciate it.
When creating an interpreter with the Gpudelegate option with a model the gpu delegate doesnt support, would it be possible to throw an exception, instead of crashing the process and generating a tombstone... then that exception can be caught, and an interpreter can be created on the cpu, or NnapiDelegate.
Something like "OperationNotSupportedException"

Absolutely.  It's not supposed to crash, and if it does, it's a bug on our end.

@srjoglekar246
Can you assign this to the Java API owner to take a look so that it doesn't crash, but rather throws an exception?

@amitDaMan The Interpreter shouldn't crash if the delegate does not support one or more ops. It just delegates as many ops as it can, and runs the rest on CPU. Can you provide details of what error you see? Or where it is originating?
Throwing an exception for unsupported ops is a little tricky, since many models (like the SSD) do contain some ops that should be run on CPU - while the rest are handled by GPU (which is expected).

Hi @srjoglekar246,
To reiterate above, the issue is regarding the Speech Commands example app:
https://github.com/tensorflow/examples/blob/master/lite/examples/speech_commands/android/README.md
The model in question takes in two inputs:
float[][] floatInputBuffer = new float[RECORDING_LENGTH][1]; //recording length is 16000
int[] sampleRateList = new int[] {SAMPLE_RATE}; //Sample Rate is 16000
and according to @impjdi:
includes AudioSpectrogram & Mfcc which are unsupported by the Gpudelegate
In the app SpeechActivity:182:
https://github.com/tensorflow/examples/blob/master/lite/examples/speech_commands/android/app/src/main/java/org/tensorflow/lite/examples/speech/SpeechActivity.java
tfLite = new Interpreter(loadModelFile(getAssets(), actualModelFilename));
I replace that line with:
Interpreter.Options opts = new Interpreter.Options();
opts.addDelegate(new GpuDelegate());
opts.setNumThreads(1);
tfLite = new Interpreter(loadModelFile(getAssets(), actualModelFilename), opts);

And it crashes.

Some debugging messages might be nice, for example, if I could set a property:
adb shell setprop debug.gpu on
And then in the logcat it would tell me which ops are not being supported on the gpu
and when the property is set to off it won't display anything.

@lintian06 Tian could you take a look? The model in the README works on GPU with the benchmark tool, but the app is crashing.

bump

@lintian06  any sort of progress/input?

and another ping, just for good measure


Bot problem: bot failed to close PR

Bot commented that PR would be closed but did not close it.

eventId: 65389600-57f6-11ea-82bd-9f221fd0a89e

No logs retained and unable to debug.


Stock Sync issue.

Can you reproduce this issue on default Wordpress theme (eg Storefront)?
YES
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
YES
What product versions and settings are you using when this issue occurs?

PHP: PHP 5.6.30-0+deb8u1 (cli)
WordPress: 4.7.5
WooCommerce: 3.0.8
Polylang: 2.1.5
Hyyan WooCommerce Polylang Integration: 1.0.1
Browser: Chrome latest

Steps to Reproduce

Setup at least 3 languages, let's say EN = default, FR & NL
Set a product, translate it into the 3 languages and set the stock to 3
Add 2 of that product into the basket while in FR
Go to Basket
Change Language to NL
proceed to checkout in NL
Your order is received, the stock of the product will be 1 in EN  but -1 in NL and 3 in FR !

What I Expected
to have 1 as stock in every language as it was 3 and you bought 2.
What Happened Instead
Seems like changing language when you added already a product in the basket makes the system to reduce the stock in that language two times and not the other language. Probably because the product ID refers to a product in another language?

What do you have set for the Stock synchronization options, on the WooPoly Features page and Metas page?

all stock related features are checked.
I tried on my productive website and I also tried on a freshly installed WordPress / Woocommerce / Polylang / woo-poly-integration and I had the problem too by installing your plugin and not changing any settings in it.
I checked the code and the problem comes from the Stock class on line 185:
/* Remove the current product from translation array */             unset($translations[$productLang]);
when the order does not have the same translation as the product, the product that has the order language is reduced twice.
I could patch it by unsetting the order's language instead of the product's.
So, you would have to pass the order's language to the change() function and unset the translation of the order's language:
/* Remove the current product from translation array */             unset($translations[$orderLang]);
then it works but we should consider the case where the user add product in each of the website's language, I guess it should work but I did not try.

https://github.com/hyyan/woo-poly-integration/compare/master...Tii:patch-1

ok I reproduced,

simple product, stock 44, exists in Base language (English), Spanish and French
browse site in Spanish as a visitor and add to basket
switch language to French and checkout
stock is now French:36, Spanish: 44, English 40
If step 3 is omitted, and the checkout is completed without switching languages then the result is correct, stock reduced to 40 in all languages.

What the code does here is remove the product version language from the set of translations to be updated, however in this case the product language and order language are different...
The simplest correction appears to be to change this line in stock.php function change() l.95:
//$productLang = pll_get_post_language($productID);
$productLang = pll_get_post_language($item->get_order_id());
However I have some doubts about rushing into a change:

There could be an alternative solution to ensure that an order item is always in the order language, to avoid possible subtle problems later.
Adding the same item in different languages - actually this appears to resolve ok into one line item and correctly impact stock, with the change above
Variations need separate testing: stock can be tracked at either parent or variation level.
There are also some special cases, for example product is not translated into order language.

hey, thanks for review and acknowledgement 👍
Currently, this is a very problematic bug for our production website as we are doing same day delivery of food and so, the stock is very important as we cannot tell customer it will be sent later.
It happened multiple time that our stock went negative because of this bug and so, we had to cancel many orders, which means extra work and unhappy customers...
concerning your doubts:

I don't think this would be a good approach to the problem as the system would have to pass thru all items and replace it in case of language switch, that's a lot of cpu usage and it will not be able to do so if the product is not translated.
I had also already tested this point and did not see any issues there
We are currently not using any variations so I cannot help with that, would it be possible to validate a fix for all stock managed products?
In case the product is not translated would not change anything as you are looping through the translations of it in order to sync the stock, so in that case, it will just not loop.

hope my feedback helps, I will do some more testing and come back to you if I  found real solutions.

ok sure, well the 1 line change I suggested should work fine for your case:
stock.php function change() l.95:
from:
$productLang = pll_get_post_language($productID);
to:
$productLang = pll_get_post_language($item->get_order_id());
Which as the effect of getting the order language rather than the product language.
This tests ok so far for all language combinations of Orders of Simple Product.
(Your alternative change may also work I didn't specifically test that.)
An official release is likely to wait a few days after testing with variations and bundling in some other fixes.

Thanks, I did the change, I guess I don't have to worry about it next time I update then 👍
Thanks for everything, your plugin is great!


License for dependency_conllu

Hi,
for using the model dependency_conllu what is the kind of license do we need?
Regards,
Gourav

Hi @gourav-sg you don't need license to use dependency_conllu model as it's open source. To check out how you can use, please visit Spark NLP's models hub (https://nlp.johnsnowlabs.com/models). Here is the model you want https://nlp.johnsnowlabs.com/2021/03/27/dependency_conllu_en.html.
Also, you can ask model related questions on the main github repo: https://github.com/JohnSnowLabs/spark-nlp

:) Thanks a ton @HashamUlHaq


feat: support client verify for derp (add integration tests)

[x]  have read the CONTRIBUTING.md file
[x]  raised a GitHub issue or discussed it on the projects chat beforehand
[ ]  added unit tests
[x]  added integration tests
[ ]  updated documentation if needed
[ ]  updated CHANGELOG.md

Fixes #1953
By implementing /verify endpoint, derper can verify whether the client is in the node list of Headscale by specifying the --verify-client-url parameter to /verify in Headscale.
This is a continued work on PR #1957, which includes integration testing to meet Headscale's merge requirements.
I am willing to participate in updating the related documentation and change logs, if needed. (Of course, I believe @117503445 is also willing)

Rebased onto main.

Im away traveling, but ill get back to it in a few weeks when im back.

Very very useful future 👍 Eliminates the need to create Tailscale clients for every derper server I build.

This looks in general good, some comments, and a couple of failing tests to check out. Thanks!

Thank you, given passing tests this should be good to go

I believe this PR is ready for review and merging. The failures in the checks seem unrelated to the changes introduced in this PR. Specifically:

TestDERPServerWebsocketScenario failure appears to be caused by tailscale/tailscale@020cacbe702463f14a5d2d5427819c491c7e6578, which no longer links websockets by default other than GOOS=js.
The warnings reported by golangci-lint are from files that were not modified in this PR.

Please let me know if there's anything further needed.

Okay... at glance I'm not sure how to fix it without either a custom client (compiled with GOOS=js) or custom client builds, both of which I believe we'd prefer to avoid, since the point is to ensure we are compatible with the official client, right?
On the other hand, I specifically put work into being able to detect this exact scenario (behaviour of the client-under-test changing) in spite of the interface (env var). Seeing it turn red, I feel like it was worth the effort. :)

moved discussion to: https://github.com/juanfont/headscale/issues/2241


"I am a "double quoted" string inside "double quotes"."

Challenge escaping-literal-quotes-in-strings has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Hello there. The code seem to be correct but I still can't pass the "use two double quotes (") and four escaped double quotes (")" issue. Am I mistaken and there's something wrong with the code, or I got it right and it just doesn't want to go through?
Thanks

var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line

Closing as duplicate
Please see http://forum.freecodecamp.com/t/creating-a-new-github-issue/18392
Happy Coding!

If you close the issue as a duplicate, could you please also link to the main bug report that this is an issue of?  There are, indeed several bug reports for this, all of them are closed, yet the issue still persists.