Login redirect in ssl offloading scenario issue(mixed content)

Summary
In an ssl offload scenario, after login the user is redirected to http instead of https.
Extended description
We have a dnn instance running behind an F5 reverse proxy. The f5 takes care of the ssl and the communication between the f5 and the dnn server is in http. The SSL Offload Header Value parameter is set and everything works as expected excepted except one scenario. If we go to another page than the home page and try to login, we have a mixed warning content error. When I check in the devtools, I see the 302 redirect but with a location starting with http:// instead of https://
Steps to reproduce (if necessary)
List the steps to reproduce the behavior:

Go to a page other than the home page
Click on login
Type the username and password
Click login
Check the console and see the mixed warning content.

Current result (if necessary)
302 with a location starting with http://
Expected result (if necessary)
302 with a location starting with https://
Screenshots (if necessary)

Error log (if necessary)
Additional context
Affected version

[x] 9.3.2

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

I do not have a proper environment to test this but I have been told two things.

It should work if you setup the sll offloading header, see https://www.dnnsoftware.com/docs/administrators/troubleshooting/ts-mixed-content-ssl.html the screenshot shows Evoq but this also applies to platform and the screenshot does not show the field, here is another screenshot more representative to where to put it:

Disabling popups is a workaround for this and another place (can't remember now) where ssl offloading does not work unless you have that header setup... There is no UI to change this setting but you can open the sql sonsole in the persona bar and run the following:

UPDATE {databaseOwner}[{objectQualifier}PortalSettings]
SET SettingValue = 'False'
WHERE SettingName = 'EnablePopUps' and PortalID = 0

replacing 0 with your PortalId, if you want that on all your portals, then skip the and PortalID = 0 part
Another workaround is to create your own login page (can be called logon or sum such) then place a login module on it (and other content if you so wish) and after that go to Site Settings => Site Behaviour and set the Login Page to your new logon page (only pages that have a login module show in that list), be careful to not delete that login module or you might get locked out and need some more sql to fix :)
So, let us know if the ssl header fixes the issue, then this works by design, if not we can troubleshoot further..

Right now, the best recommendation for this is to make a custom login page, rather than using the automatic page.  This is a limitation of the PopUp control and behavior of the site.

is there any documentation that can be used to follow for future reference on this topic?
Possibly in the troubleshooting area something for this could be included for the work around?  It would help out those in need until it can be resolved.

@mitchelsellers for triage, is this a bug or some limitation we cannot get around? Does this work with the ssl offload header and just needs better documentation? What do we do with the issue basically? :)

@valadas Thi sis the same limitation as we have already tracked, with regards to requiring a custom login page for SSL to work.  (Also applies to offloading.)

@valadas The Ssl offload header value is set and it's working fine except for the login popup(and only a page different than the home page)

Ok, cool so it is not just having the ssl offload header, I gonna make this issue a bug then...


Fix .md table formatting in about-github-connect.md

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
about-github-connect.md
What changes are you suggesting?
Fix markdown table formatting that currently exist in about-github-connect.md
Additional information
No response

@ieshreya Thanks for opening an issue and submitting a PR! ✨


Can you get the stats of heroes? So far that is the only thing no one knows. How stats work.

You can extract the calculations from the LUA files embedded in the game. You'll need to decrypt the bundle file first though, and since the keys changed, you'll need to wait for me to update the app, or use an older version of the game.
I had started a form back in the days, but it's likely quite outdated : https://docs.google.com/spreadsheets/d/1KQTy4PUqG7HgQj73tCDWJeHKfP4rMJOHtK-aoO133W4/edit#gid=396980218


Rename DocumentDB to CosmosDB

Sicne the official name has now changed

We have updated the templates and docs. the api is still called document DB.


I'm amazed at how bad the installation process is for this thing

I would just like to know how many others have tried to install and given up.
Release Type: Official Release
Version: 3.1 and 3.0
Platform(s): Windows 7
Describe the bug
No matter what I have tried I get an error installing both the latest and 3.0 through the launcher.
To Reproduce
Steps to reproduce the behavior:

Try to install either version from the launcher v.3.0.4.

Expected behavior
A successful installation would be nice.
Screenshots

Log and callstacks
Error code 1 while running install package process [C:\Users\Paul.nuget\packages\xenko.gamestudio/<IP_ADDRESS>-beta01-0318\tools\packageinstall.exe]
at Xenko.Core.Packages.NugetStore.RunPackageInstall(String packageInstall, String arguments, ProgressReport progress) at Xenko.Core.Packages.NugetStore.OnPackageInstalled(Object sender, PackageOperationEventArgs args) at Xenko.Core.Packages.NugetStore.d50.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xenko.LauncherApp.ViewModels.PackageVersionViewModel.<>cDisplayClass550.<b_0>d.MoveNext()
Additional context
I've wasted a day trying to set this up. Installed the reccommended version from the launcher. I tried on my pc and laptop with similar failures. Tried installing version 3, removed 3.1 and still cannot install 3.0. I have given up and would just like to know how many others have tried to install this thing and abandoned it. My system is above min requirements, win 7 and has VS C# 2017 and Xamarin installed. The error message (error code 1 if you must know) is complete nonsense. Very annoyed that I have to stick with Unity but I'm not wasting any more time on this.

If I had to guess; it's a nuget issue. The package has probably not been validated yet.
https://github.com/xenko3d/xenko/issues/295

It is also possible that the nuget servers were going through some maintenance. I wouldn't recommend trying to install anything on new year's eve. It is very common for services and networks to either be crowded or under some servicing at the end of a year and beginning of the next year.

Thanks for the responses folks.
justStand - validated by who or what? How do I validate the package? Reading #295 suggests some sort of network or server error but I tried again with the same result.
Kryptos-FR I have been trying since 22nd  to get this running, not only on new years eve. I tried again today (happy new year) and got the same result even though justStand was able to install the beta today. I have been reading the forums and the installation just seems to be hit or miss with everyone guessing at what might be the cause in each case. If the error message gave some meaningful message it would help. I have since tried to follow leot42 suggestion in #141 of manually installing the nuget package (downloaded  Xenko.<IP_ADDRESS>.nupkg) but the destination location seems wrong for win 7.  If this is a network problem then why doesn't the installer say that. Sure I can wait until later in the new year to try again but the whole idea was to install the software so I could try it out during the holiday season to see if I can switch over to this platform, hence my frustration with it. If I have this much trouble even getting it installed, I have to wonder if end users face similar problems when installing games based on this.

Validated by nuget (nothing you can do about it), but if I can get it and you can't - it's probably not what is happening here.

Validated by nuget (nothing you can do about it), but if I can get it and you can't - it's probably not what is happening here.

Ok thanks anyway :(

@pslat There was a potential issue with a previous version of the Launcher. But to be honest I never had any problem and I installed it in more than 3 different machines with Win7 or Win10.

@pslat There was a potential issue with a previous version of the Launcher. But to be honest I never had any problem and I installed it in more than 3 different machines with Win7 or Win10.

@Kryptos-FR both machines are used for development with VS, Xamarin, Android Studio and Unity along with some other development tools so it's not worth the risk for me of trying to change anything through nuget. I may try again in the future with a cleaner machine if I ever have one.. I'm just disappointed not to be able to even try it out. I've tried installing the older v2 beta versions too at this stage with the same result so I have to give up and move on. I appreciate you taking the time to respond, thank you.

Just installed 3.1 beta with the installer on Windows 10 (64 bit). No issues here. Sample application loaded and ran fine for me...

works fine for me too... all packages are now validated by nuget.org. maybe try re-installing now again.

I'm posting to say I've the exact same issue on my new machine


Can‘t find data

Excuse me， your code file ‘load_data.py’ will load a train data file 'Config_2_train_obs_1pc.hdf5'， but will it is？ I can’t also find your 2-D data in the paper

Hi,
You can find the Config_2_train_obs_1pc.hdf5 and other 2D data here: https://zenodo.org/record/4631233#.YZZrnNbMLt1
This link is already provided in the readme file as well.
Thanks,
Govinda.

Thanks very much，I just carefully examined the 2D file，and finally got the data website in the readme.py。
发自我的iPhone
------------------ Original ------------------
From: Govinda @.>
Date: Thu,Nov 18,2021 11:09 PM
To: zabaras/inn-surrogate @.>
Cc: spawner9 @.>, State change @.>
Subject: Re: [zabaras/inn-surrogate] Can‘t find data (Issue #1)
Hi,
You can find the Config_2_train_obs_1pc.hdf5 and other 2D data here: https://zenodo.org/record/4631233#.YZZrnNbMLt1
This link is already provided in the readme file as well.
Thanks,
Govinda.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Adding media files for event hubs capture tutorial

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: xurui203 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@xurui203 : Thanks for your contribution! The author, @, has been notified to review your proposed change.

@femila - Would you review the proposed changes for this service? Thanks

@spelluru @sethmanheim Could you please verify the media files added?

@GitHubber17 @spelluru @femila As an internal MS person, @xurui203 should really be using the private docs repo. Also, is there a separate PR for the article that uses these images? Otherwise it will be hard to verify they're correct since there is no staged version of this article.
What is the purpose of these images?

Also, these images already exist here: https://github.com/MicrosoftDocs/azure-docs-pr/tree/master/articles/event-grid/media/event-grid-event-hubs-integration.


HTTPS support

It would be great to have full HTTPS support for WinRM, including specifying a CA certificate, the ability to skip validation (which I don't recommend, but some actually use), etc.

I have a PR I'm ready to submit that adds a -https flag, a -insecure flag and a -cacert flag. It does slightly change the NewClient/NewClientWithParameters so that it can return an error if the CA cert cannot be loaded though.
I'm not so sure that the -https flag is the right way to go - I contemplated replacing -host and -port with -url instead.

Hi,
I had https support in mind for a long time, but never had the time to really implement it.
Please publish the PR so that we can discuss the design/code and how it breaks the API (or not).
Thanks!

Okay, submitted the PR. Looking forward to feedback! It's not a big change.


Generate correct url from categories belongs other tree category

When we have more than one category tree and we need the category URLs of that tree to be regenerated,it is necessary to indicate the root category so that in the url_rewrite table
the entity id points to that of the category of that tree

@jruzafa thanks for your contribution!
I'm not sure I understand the use case. If you have another category tree, that tree should belong to a store, right? You can then use the -s option to set that store ID and regenerate the URLs for that store. What am I missing?

You might be running into this issue; https://github.com/elgentos/regenerate-catalog-urls/issues/27 ?

@jruzafa thanks for your contribution!
I'm not sure I understand the use case. If you have another category tree, that tree should belong to a store, right? You can then use the -s option to set that store ID and regenerate the URLs for that store. What am I missing?

Currently passing the store does not work as it regenerates the ids of that category but of the tree by default

I don't understand. Could you provide an example?

Closing due to inactivity.


[WebView] how to enable debug mode for accompanist webview

Description
Due to a use case I want to debug the web-view, which could easily be accomplished using                         WebView.setWebContentsDebuggingEnabled(true) for general web-view but I am unable to figure out how to do for accompanist webview
Steps to reproduce

write code for web-view initlisation
try to debug it

Expected behavior
we should easily be able to debug it
Additional context

The same code should work for the Accompanist WebView.
The easiest spot to add it would be in your Activity onCreate.

Thanks a  lot @bentrengrove I was placing it on the composable function itself.


[8.x] Create Collection chunkInto method

This methods defines the number of chunks we would like to end up with. It fills all non-last chunks first, before placing the remainder in the final chunk.
This method is similar to, but different than, split().
Given the following Collection:
$array = collect([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);

$array->split(3) will return 3 chunks of sizes 4, 3, and 3.
$array->chunkInto(3) will return 3 chunks of sizes 4, 4, and 2.

Can you explain in simple terms how it is fundamentally different than split and when you would use one over the other?

split will make it so each chunk never differs in count from another chunk by more than 1.

chunkInto will fill all earlier chunks completely before allocating the remainder to the final chunk.

On one of our sites, we have a sitemap page with a list of all the pages on the site. I wanted to display them in columns, and I wanted it display like in the second picture.  This is where chunkInto handles what I need, and split does not.

One thing giving me a bit of pause is we have used the "into" language to indicate something will be injected into a class... mapInto and pipeInto for example.

Gotcha. Yah, I'm totally open to other names. Maybe sticking with the split prefix is more appropriate, too, since chunk defines the number of items in the chunk, and split defines the number of chunks. This new method just allots them differently.

splitBy
splitIn

Another option would be to pass a second parameter flag to split() although I know we're not normally too keen on that.

I think I'm fine with splitIn.


test(web): add initial e2e framework, create case journey tests

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

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


Update Flutter to use the latest dartdoc

Now that https://github.com/dart-lang/dartdoc/issues/1236 is fixed.
This can't be merged until dartdoc does a release.

@devoncarew

https://pub.dartlang.org/packages/dartdoc has been updated, this can be merged.  @Hixie

lgtm
We may want to do some light-weight validation of the generated output as well (some file existence checks, a regexs of some content, ...).

This should have a test.

I'm going to steal this from @eseidelGoogle

Updated PR in https://github.com/flutter/flutter/pull/7438


ingress-nginx-controller fails to start on SLES 15 SP2

Environmental Info:
K3s Version:
k3s version v1.19.5+k3s1 (b11612e2) (and should fail on other versions but did not validate to be sure)
RKE2 Version:
v1.18.13+rke2r1 and v1.19.5+rke2r1
Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-24-244 5.3.18-24.37-default #1 SMP Wed Nov 4 09:38:41 UTC 2020 (c145e08) x86_64 x86_64 x86_64 GNU/Linux
Created in AWS using ami: ami-0f052119b3c7e61d1
# cat /etc/os-release
NAME="SLES"
VERSION="15-SP2"
VERSION_ID="15.2"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP2"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp2"
VARIANT_ID="sles-sap"

Cluster Configuration:

Single node
Describe the bug:

Exactly the same issue as described in https://github.com/kubernetes/ingress-nginx/issues/5991. However, I'm not convinced this is solely an AppArmor issue as disabling it (including ensuring it does not disable on startup and rebooting the node entirely) does not seem to resolve the issue. Also tried to do this in a fresh setup before installing either k3s or rke2 and saw the same results.
Steps To Reproduce:

K3s steps:

Install k3s
Attempt to install ingress-nginx-controller: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.34.1/deploy/static/provider/aws/deploy.yaml
Noticeingress-nginx-controller pod stuck on 0/1 Running

Rke2 steps:

Install rke2
Notice rke2-ingress-nginx-controller pod stuck at 0/1 Running

Expected behavior:

pod should come up and be 1/1 Running with no restarts and no failures in its logs.
Actual behavior:

See above
Additional context / logs:

Refer to linked issue

This appears to be an issue more with AWS and Azure provisioned instances. Booting the openSUSE image in AWS also has this same failure, but works in both Linode and on VirtualBox. The SLES 15 image ISO also succeeds on VirtualBox.

This appears to be an issue more with AWS and Azure provisioned instances. Booting the openSUSE image in AWS also has this same failure, but works in both Linode and on VirtualBox. The SLES 15 image ISO also succeeds on VirtualBox.

If I had to take a guess here this will probably be a documentation effort. Like if those cloud images are missing some needed kernel modules or something? We'll just need to call it out in docs.
I think this is something we should understand and document as needed at a minimum. Plenty of other folks will be on AWS and Azure. This should work for them or be documented (what needs to be done to make such cloud images work).

If I had to take a guess here this will probably be a documentation effort. Like if those cloud images are missing some needed kernel modules or something? We'll just need to call it out in docs.
I think this is something we should understand and document as needed at a minimum. Plenty of other folks will be on AWS and Azure. This should work for them or be documented (what needs to be done to make such cloud images work).

This issue blocks us claiming SLES support for K3s and RKE2 for Rancher 2.5.5 support matrix.

This issue blocks us claiming SLES support for K3s and RKE2 for Rancher 2.5.5 support matrix.

More investigation is required. This is being moved to a mid-feb release.

More investigation is required. This is being moved to a mid-feb release.

I've set this up in my own lab with SLES 15 SP2 I have updated all SLES 15 SP2 hosts with the latest updates as of Jan. 18th 2021.
Error in logs:
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [notice] 340#340: signal process started
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [alert] 340#340: kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller nginx: [alert] kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller W0109 00:24:53.893819       8 queue.go:130] requeuing kube-system/rke2-ingress-nginx-default-backend, err exit status 1
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [notice] 340#340: signal process started
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [alert] 340#340: kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller nginx: [alert] kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller I0109 00:24:57.144680       8 controller.go:137] Configuration changes detected, backend reload required.
rke2-ingress-nginx-controller E0109 00:24:57.216879       8 controller.go:149] Unexpected failure reloading the backend:
going through kernel  module requirements right now.

I've set this up in my own lab with SLES 15 SP2 I have updated all SLES 15 SP2 hosts with the latest updates as of Jan. 18th 2021.
Error in logs:
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [notice] 340#340: signal process started
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [alert] 340#340: kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller nginx: [alert] kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller W0109 00:24:53.893819       8 queue.go:130] requeuing kube-system/rke2-ingress-nginx-default-backend, err exit status 1
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [notice] 340#340: signal process started
rke2-ingress-nginx-controller 2021/01/09 00:24:53 [alert] 340#340: kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller nginx: [alert] kill(25, 1) failed (13: Permission denied)
rke2-ingress-nginx-controller I0109 00:24:57.144680       8 controller.go:137] Configuration changes detected, backend reload required.
rke2-ingress-nginx-controller E0109 00:24:57.216879       8 controller.go:149] Unexpected failure reloading the backend:
going through kernel  module requirements right now.

 Please check the flag --profiler-port
The port shown is the default port that Ingress controller uses.

 Please check the flag --profiler-port
The port shown is the default port that Ingress controller uses.

Inspected the OS audit logs and found lines like ...
type=AVC msg=audit(1611173469.740:321): apparmor="DENIED" operation="signal" profile="cri-containerd.apparmor.d" pid=2090 comm="kube-apiserver" requested_mask="receive" denied_mask="receive" signal=urg peer="cri-containerd.apparmor.d"
...
type=AVC msg=audit(1611173236.769:727): apparmor="DENIED" operation="signal" profile="cri-containerd.apparmor.d" pid=5686 comm="nginx-ingress-c" requested_mask="receive" denied_mask="receive" signal=pipe peer="cri-containerd.apparmor.d"

AppArmor is clearly blocking the signals, but supposedly AppArmor profiles aren't trying to be used at all currently in k3s/RKE2. This hints that there could be larger issues in play here since both the API server and the ingress controller were being blocked from killing other container processes.
Worked around the issue with a /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl containing the following. Compare to original file ... differences are highlighted below, too.
[plugins.opt]
  path = "{{ .NodeConfig.Containerd.Opt }}"
[plugins.cri]
  stream_server_address = "<IP_ADDRESS>"
  stream_server_port = "10010"
  enable_selinux = {{ .NodeConfig.SELinux }}
{{- if .IsRunningInUserNS }}
  disable_cgroup = true
  # ---
  # remove duplicated property
  # disable_apparmor = true
  # ---
  restrict_oom_score_adj = true
{{end}}
  # ---
  # disable apparmor always instead of only when running in user namespace
  disable_apparmor = true
  # ---
{{- if .NodeConfig.AgentConfig.PauseImage }}
  sandbox_image = "{{ .NodeConfig.AgentConfig.PauseImage }}"
{{end}}
{{- if .NodeConfig.AgentConfig.Snapshotter }}
[plugins.cri.containerd]
  disable_snapshot_annotations = true
  snapshotter = "{{ .NodeConfig.AgentConfig.Snapshotter }}"
{{end}}
{{- if not .NodeConfig.NoFlannel }}
[plugins.cri.cni]
  bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}"
  conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}"
{{end}}
[plugins.cri.containerd.runtimes.runc]
  runtime_type = "io.containerd.runc.v2"
{{ if .PrivateRegistryConfig }}
{{ if .PrivateRegistryConfig.Mirrors }}
[plugins.cri.registry.mirrors]{{end}}
{{range $k, $v := .PrivateRegistryConfig.Mirrors }}
[plugins.cri.registry.mirrors."{{$k}}"]
  endpoint = [{{range $i, $j := $v.Endpoints}}{{if $i}}, {{end}}{{printf "%q" .}}{{end}}]
{{end}}
{{range $k, $v := .PrivateRegistryConfig.Configs }}
{{ if $v.Auth }}
[plugins.cri.registry.configs."{{$k}}".auth]
  {{ if $v.Auth.Username }}username = {{ printf "%q" $v.Auth.Username }}{{end}}
  {{ if $v.Auth.Password }}password = {{ printf "%q" $v.Auth.Password }}{{end}}
  {{ if $v.Auth.Auth }}auth = {{ printf "%q" $v.Auth.Auth }}{{end}}
  {{ if $v.Auth.IdentityToken }}identitytoken = {{ printf "%q" $v.Auth.IdentityToken }}{{end}}
{{end}}
{{ if $v.TLS }}
[plugins.cri.registry.configs."{{$k}}".tls]
  {{ if $v.TLS.CAFile }}ca_file = "{{ $v.TLS.CAFile }}"{{end}}
  {{ if $v.TLS.CertFile }}cert_file = "{{ $v.TLS.CertFile }}"{{end}}
  {{ if $v.TLS.KeyFile }}key_file = "{{ $v.TLS.KeyFile }}"{{end}}
  {{ if $v.TLS.InsecureSkipVerify }}insecure_skip_verify = true{{end}}
{{end}}
{{end}}
{{end}}

Inspected the OS audit logs and found lines like ...
type=AVC msg=audit(1611173469.740:321): apparmor="DENIED" operation="signal" profile="cri-containerd.apparmor.d" pid=2090 comm="kube-apiserver" requested_mask="receive" denied_mask="receive" signal=urg peer="cri-containerd.apparmor.d"
...
type=AVC msg=audit(1611173236.769:727): apparmor="DENIED" operation="signal" profile="cri-containerd.apparmor.d" pid=5686 comm="nginx-ingress-c" requested_mask="receive" denied_mask="receive" signal=pipe peer="cri-containerd.apparmor.d"

AppArmor is clearly blocking the signals, but supposedly AppArmor profiles aren't trying to be used at all currently in k3s/RKE2. This hints that there could be larger issues in play here since both the API server and the ingress controller were being blocked from killing other container processes.
Worked around the issue with a /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl containing the following. Compare to original file ... differences are highlighted below, too.
[plugins.opt]
  path = "{{ .NodeConfig.Containerd.Opt }}"
[plugins.cri]
  stream_server_address = "<IP_ADDRESS>"
  stream_server_port = "10010"
  enable_selinux = {{ .NodeConfig.SELinux }}
{{- if .IsRunningInUserNS }}
  disable_cgroup = true
  # ---
  # remove duplicated property
  # disable_apparmor = true
  # ---
  restrict_oom_score_adj = true
{{end}}
  # ---
  # disable apparmor always instead of only when running in user namespace
  disable_apparmor = true
  # ---
{{- if .NodeConfig.AgentConfig.PauseImage }}
  sandbox_image = "{{ .NodeConfig.AgentConfig.PauseImage }}"
{{end}}
{{- if .NodeConfig.AgentConfig.Snapshotter }}
[plugins.cri.containerd]
  disable_snapshot_annotations = true
  snapshotter = "{{ .NodeConfig.AgentConfig.Snapshotter }}"
{{end}}
{{- if not .NodeConfig.NoFlannel }}
[plugins.cri.cni]
  bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}"
  conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}"
{{end}}
[plugins.cri.containerd.runtimes.runc]
  runtime_type = "io.containerd.runc.v2"
{{ if .PrivateRegistryConfig }}
{{ if .PrivateRegistryConfig.Mirrors }}
[plugins.cri.registry.mirrors]{{end}}
{{range $k, $v := .PrivateRegistryConfig.Mirrors }}
[plugins.cri.registry.mirrors."{{$k}}"]
  endpoint = [{{range $i, $j := $v.Endpoints}}{{if $i}}, {{end}}{{printf "%q" .}}{{end}}]
{{end}}
{{range $k, $v := .PrivateRegistryConfig.Configs }}
{{ if $v.Auth }}
[plugins.cri.registry.configs."{{$k}}".auth]
  {{ if $v.Auth.Username }}username = {{ printf "%q" $v.Auth.Username }}{{end}}
  {{ if $v.Auth.Password }}password = {{ printf "%q" $v.Auth.Password }}{{end}}
  {{ if $v.Auth.Auth }}auth = {{ printf "%q" $v.Auth.Auth }}{{end}}
  {{ if $v.Auth.IdentityToken }}identitytoken = {{ printf "%q" $v.Auth.IdentityToken }}{{end}}
{{end}}
{{ if $v.TLS }}
[plugins.cri.registry.configs."{{$k}}".tls]
  {{ if $v.TLS.CAFile }}ca_file = "{{ $v.TLS.CAFile }}"{{end}}
  {{ if $v.TLS.CertFile }}cert_file = "{{ $v.TLS.CertFile }}"{{end}}
  {{ if $v.TLS.KeyFile }}key_file = "{{ $v.TLS.KeyFile }}"{{end}}
  {{ if $v.TLS.InsecureSkipVerify }}insecure_skip_verify = true{{end}}
{{end}}
{{end}}
{{end}}

This hints that there could be worse symptoms if explored more deeply since the API server is also being blocked from killing other container processes.

This explains an issue I had the other day with k3s on sles where Pods were stuck in Terminating.

This hints that there could be worse symptoms if explored more deeply since the API server is also being blocked from killing other container processes.

This explains an issue I had the other day with k3s on sles where Pods were stuck in Terminating.

Technically the API server doesn't kill processes - the apiserver sets the deletedTimestamp on the pod, which triggers the kubelet to ask the runtime to terminate the pods, who in turn sends TERM/KILL signals to the processes in the pods. But yeah, if AppArmor is for some reason blocking signals everything is going to fall apart.
I'm not finding it now, but there was a discussion regarding the fact that the Suse cloud images set the polkit profile to restrictive instead of standard: https://github.com/openSUSE/polkit-default-privs/tree/master/profiles
I don't see anything in there that jumps out at me as locking down apparmor signaling, but I believe it is related.

Technically the API server doesn't kill processes - the apiserver sets the deletedTimestamp on the pod, which triggers the kubelet to ask the runtime to terminate the pods, who in turn sends TERM/KILL signals to the processes in the pods. But yeah, if AppArmor is for some reason blocking signals everything is going to fall apart.
I'm not finding it now, but there was a discussion regarding the fact that the Suse cloud images set the polkit profile to restrictive instead of standard: https://github.com/openSUSE/polkit-default-privs/tree/master/profiles
I don't see anything in there that jumps out at me as locking down apparmor signaling, but I believe it is related.

@rancher-max can you try following the instructions at https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-security-policykit.html#sec-security-policykit-policies-default to set the profile to standard on one of the hosts that were failing? If this is indeed what's breaking RKE2 then we just need to document that step as a prerequisite.

@rancher-max can you try following the instructions at https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-security-policykit.html#sec-security-policykit-policies-default to set the profile to standard on one of the hosts that were failing? If this is indeed what's breaking RKE2 then we just need to document that step as a prerequisite.

In RKE2, validated everything except nodeport functional using only the workaround mentioned in https://github.com/k3s-io/k3s/issues/2778#issuecomment-765056128
Steps I took were:

Create a fresh SLES 15 SP2 VM
Create containerd config:

sudo mkdir -p /var/lib/rancher/rke2/agent/etc/containerd/
sudo vi /var/lib/rancher/rke2/agent/etc/containerd/config.toml.tmpl
# Paste contents from the above mentioned comment

Create rke2 config:

sudo mkdir -p /etc/rancher/rke2 && \
sudo vi /etc/rancher/rke2/config.yaml
# Any config options desired. I used cloud-provider:
write-kubeconfig-mode: 644
tls-san:
  - mydns.fake.com
cloud-provider-name:  "aws"
node-name: <result of $(hostname -f)>
token: "secret"

Run rke2:

curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_VERSION=v1.19.5+rke2r1 sh -
sudo systemctl enable rke2-server.service && \
sudo systemctl start rke2-server.service

Results:

All system pods came up functionally
Import into rancher - success
Run preupgrade checks - success
Upgrade to v1.19.7+rke2r1 - success
Run postupgrade checks - success
Run regression checks - Most passed. NodePort tests failed.

I am unsure exactly why nodeport wasn't functional in this case. Further investigation is needed, but my thought is I might need to do a mix of the workaround with apparmor in containerd combined with the polkit settings.
All that said, we have the majority of functionality covered now with the workaround.
I will do more checks when I return from vacation to see if I can workaround the NodePort issue.
Theory for why workaround is needed:
The difference between the customized containerd config vs default is disabling apparmor in all cases, not just if it hits the if condition if .IsRunningInUserNS. Below are my thoughts on that:
Why do we do the check for IsRunningInUserNS?
https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_linux.go#L33

I"m wondering if SLES for some reason hits the non-linux condition? https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_unsupported.go#L23

Otherwise, it should hit the condition and return true and disable apparmor based on my findings:
https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_linux.go#L56-L58
$ cat /proc/self/uid_map
         0          0<PHONE_NUMBER>

In RKE2, validated everything except nodeport functional using only the workaround mentioned in https://github.com/k3s-io/k3s/issues/2778#issuecomment-765056128
Steps I took were:

Create a fresh SLES 15 SP2 VM
Create containerd config:

sudo mkdir -p /var/lib/rancher/rke2/agent/etc/containerd/
sudo vi /var/lib/rancher/rke2/agent/etc/containerd/config.toml.tmpl
# Paste contents from the above mentioned comment

Create rke2 config:

sudo mkdir -p /etc/rancher/rke2 && \
sudo vi /etc/rancher/rke2/config.yaml
# Any config options desired. I used cloud-provider:
write-kubeconfig-mode: 644
tls-san:
  - mydns.fake.com
cloud-provider-name:  "aws"
node-name: <result of $(hostname -f)>
token: "secret"

Run rke2:

curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_VERSION=v1.19.5+rke2r1 sh -
sudo systemctl enable rke2-server.service && \
sudo systemctl start rke2-server.service

Results:

All system pods came up functionally
Import into rancher - success
Run preupgrade checks - success
Upgrade to v1.19.7+rke2r1 - success
Run postupgrade checks - success
Run regression checks - Most passed. NodePort tests failed.

I am unsure exactly why nodeport wasn't functional in this case. Further investigation is needed, but my thought is I might need to do a mix of the workaround with apparmor in containerd combined with the polkit settings.
All that said, we have the majority of functionality covered now with the workaround.
I will do more checks when I return from vacation to see if I can workaround the NodePort issue.
Theory for why workaround is needed:
The difference between the customized containerd config vs default is disabling apparmor in all cases, not just if it hits the if condition if .IsRunningInUserNS. Below are my thoughts on that:
Why do we do the check for IsRunningInUserNS?
https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_linux.go#L33

I"m wondering if SLES for some reason hits the non-linux condition? https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_unsupported.go#L23

Otherwise, it should hit the condition and return true and disable apparmor based on my findings:
https://github.com/k3s-io/k3s/blob/2555ffe9f8c279bd75a6449a521385fc36d43e8f/vendor/github.com/containerd/containerd/sys/userns_linux.go#L56-L58
$ cat /proc/self/uid_map
         0          0<PHONE_NUMBER>

It appears that the proper fix for this is in https://github.com/containerd/containerd/pull/4467

It appears that the proper fix for this is in https://github.com/containerd/containerd/pull/4467

This has been validated now in both rke2 using the latest beta releases and in k3s using the commit ids from 1.18, 1.19, and 1.20 branches (ids, respectively: 8c9608b26f07e96a7445f46eeb341a90a33b68a7, e34ffdba565067bce8a9da5b79d226f2aad7de4c, and 1d85a6a30a781ba8644c8f7e3ceec3cc0d21238b).
Deploying the yaml mentioned in the issue correctly deploys ingress-nginx-controller now, but there is a port conflict on the svclb. Editing that daemonset to use different ports correctly deploys that as well. The next release of rke2 and k3s should work fine on SLES.

Re-opening for the purposes of retesting with https://github.com/k3s-io/containerd/pull/14
This IS FIXED in v1.18.16 but we had a regression in v1.18.17-rc's so we had to resolve an issue in k3s-io/containerd 1.3 branch to fix this again.

This has been resolved in v1.18.17-rc2+k3s1. Leaving this open to validate the rke2 fix as well.


feat: esl-toggleable, esl-panel, esl-alert migration to esl-event-listener

:tada: This PR is included in version 4.0.0-beta.18 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug Report] Bot can't play livestream

Describe the bug
Bot can't play livestream feed. Bot not playing anything.
To Reproduce
Steps to reproduce the behavior:
!play
Expected behavior
Bot used to able to play livestream URL
Version Info (please complete the following information):

Operating System: Windows 10 64bit
JMusicBot Version: 0.2.3

Additional context
Add any other context about the problem here.

Can you provide an example of a livestream link that you are trying to play?

try !play http://playerservices.streamtheworld.com/api/livestream-redirect/987FMAAC.aac?tdtok=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6ImZTeXA4In0.eyJpc3MiOiJ0aXNydiIsInN1YiI6IjIxMDY0IiwiaWF0IjoxNTYxNDcwMDE4LCJ0ZC1yZWciOmZhbHNlfQ.8_2nTkQMvxSCWnWrFxiMo7aYr-eU5QOJo0ce4VLGj5I


Installable package?

Do you have a package that's installable with omnisd or crosstweak?

https://wiki.bananahackers.net/en/install-omnisd#what-is-omnisd-and-why-it-is-so-important


[ISSUE #608] Polish simple example

What is the purpose of the change
Fix issue608
Polish simple example
Brief changelog

simple

AsyncProducer.java (add code comments)
OnewayProducer.java (new class, show users how to send meassges in oneway)
PullConsumer.java
PullScheduleService.java (no change)
PushConsumer.java (Setting ConsumeTimestamp is invalid when you set ConsumeFromWhere to CONSUME_FROM_FIRST_OFFSET, so I delete releated code)
QueryMsgByKey.java (renamed from TestProducer.java, a clearer class name)
SyncProducer.java (renamed from Producer.java)
RandomAsyncCommit.java(remove this class. It doesn't show the users how to send or receive messages, and it also doesn't involve client code of RocketMQ)
CachedQueue,java (remove this class used in RandomAsyncCommit.java)
PullConsumerTest.java (remove this class. The code is similar to PullConsumer.java)

Coverage decreased (-0.07%) to 43.112% when pulling 6fdb0d1e67eb41611fc915104633246bc7f63c90 on RongtongJin:polish_simple_example into 385c69545988f8c2614f104de7ca88cf2dd7dc4e on apache:develop.


remove tank volume (@CrystalChadburn to confirm this is required)

@CrystalChadburn  split this into it's own issue as rest of the work was done.


Fix error output when exiting from the initialization process

Ooops, sorry, but in the current version the error output always.This PR fixes this.

Cool


add status icons for build/version/etc

See e.g.:

https://github.com/gabime/spdlog

Done as part of #53


fix weird bug

for some reason the mod stopped working completely at some point, so I decided to debug it and I found out that the one line I changed in Resonance.cs had a compiler error, so I just fixed this compiler error and the mod seems to be working again. Really weird stuff, since the code that was there before seemed fine and compiled without issue in the past.

I see what happened. The destroy event now passes the argument as IDestroyable versus IChangeable. If you add the destroy overload back but have its argument corrected, I can merge the pull request real quick

ok, I've made the requested changes, though I think having less destroy methods could be something to consider (currently there are like 6 when only 1 is really needed)

I plan on doing some spring cleaning on the mod at some point, so I'll eventually get around to making it a little less cluttered.


edited head-gaze references to be consistent

Docs Build status updates of commit d856cfb:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/interaction-fundamentals.md
:warning:Warning
View
Details

mixed-reality-docs/interaction-fundamentals.md

Line 162: [Warning] Illegal link: coming soon -- missing bookmark. The file index.md doesn't contain a bookmark named news-and-notes.

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.


Issue with multiple arguments when start application

Hello and greetings,
I am trying to start an application with multiple arguments, but it doesn't work as expected.
It looks all my arguments are put into a single String object like "--arguement1=value1 --argument2=value2", when my application starts, it use the whole String as a single argument but not two arguments.
Here is my code to start my application:
Application application =
new Application(
new ElementBuilder()
.automation(automation)
.applicationPath("PAHT\myapplication.exe").applicationArguments("--arg1=value1 --arg2=value2")
after I start my application, I tried to view it in Process Explorer from Microsoft, and I find it shows something like that my application.exe "--arg1=value1 --arg2=value2"
Is there any other ways to make this work?
Thanks

I am investigating this issue now, sorry for any delay.

I have created a new branch (feature/issues-113) with a untidy fix in it. If you want to text it, there is a demo called MainMultiArgs which runs notepad with 2 arguments - can you replace the Notepad.exe with the program you want to test and see what happens.


Changing image size?

Would love to know where to change the code to allow for larger image sizes than 256x256.
Better yet would be the ability to change them from the Colab.

How does it look?

@neverix, ruDALL-E doesn't use pass-through recurrent attention, so the result depends only on the input tokens sequence.
But DALL-E mini uses attention state as parameter, and this attention context changes recurrently during the generation. So I doubt it can process sliding windows effectively.

@iScriptLex Well, I implemented the functional caching so I would know :sweat_smile:. It's passed around in a similar way, and nothing needs to be changed in the current DALL-E mini codebase to incorporate it (so it can be like a colab notebook).

@kuprel Here's a sample 384px generation without upscaling


forward-all-clicks doesn't forward all clicks

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 7
scrcpy version: 1.17
installation method: Windows release
device model: Samsung Galaxy J7 Star
Android version: 9

Describe the bug
forward-all-clicks should send right clicks as a normal click, correct? so I attempted to turn it on, but right-click still functions as expected from before, as BACK.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Does not seem to have output, I checked (if there's a specific thing I need to do to enable logging, please tell me, since I'm not sure where it is.)
Please do not post screenshots of your terminal, just post the content as text instead.

forward-all-clicks should send right clicks as a normal click, correct? so I attempted to turn it on, but right-click still functions as expected from before, as BACK.

For me if I execute scrcpy --forward-all-clicks it changes the behavior of right-click.
How did you turn it on?

forward-all-clicks should send right clicks as a normal click, correct? so I attempted to turn it on, but right-click still functions as expected from before, as BACK.

For me if I execute scrcpy --forward-all-clicks it changes the behavior of right-click.
How did you turn it on?

How did you turn it on?
from the console, unless I'm completely dumb and that's not where I should be using it from.

How did you turn it on?
from the console, unless I'm completely dumb and that's not where I should be using it from.

If it continue to send BACK, then the option is not enabled.
What is the result of scrcpy --version?
What is the output in your console when you pass --forward-all-clicks?
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

If it continue to send BACK, then the option is not enabled.
What is the result of scrcpy --version?
What is the output in your console when you pass --forward-all-clicks?
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

...ok, yeah, that was dumb. for some reason I thought I was supposed to put in the commands in the console that opens from scrcpy.exe, not the actual commandline. gonna close this, I guess.

...ok, yeah, that was dumb. for some reason I thought I was supposed to put in the commands in the console that opens from scrcpy.exe, not the actual commandline. gonna close this, I guess.


Add azdata.d.ts for new extensibility APIs

Connection Extensibility Scenarios

List connections

List all connections (every connect in saved profiles)

List recently used connections

List active connections

Get current active connection

// interface
	// EXPORTED INTERFACES /////////////////////////////////////////////////
	export interface ConnectionInfo {

		options: { [name: string]: any };
	}

	export interface IConnectionProfile extends ConnectionInfo {
		connectionName: string;
		serverName: string;
		databaseName: string;
		userName: string;
		password: string;
		authenticationType: string;
		savePassword: boolean;
		groupFullName: string;
		groupId: string;
		providerName: string;
		saveProfile: boolean;
		id: string;
		azureTenantId?: string;
	}
		/**
		 * Interface for representing a connection when working with connection APIs
		*/
		export interface Connection extends ConnectionInfo {
			/**
			 * The name of the provider managing the connection (e.g. MSSQL)
			*/
			providerName: string;

			/**
			 * A unique identifier for the connection
			*/
			connectionId: string;
		}

// methods

	export namespace connection {
/**
		 * Get the current connection based on the active editor or Object Explorer selection
		*/
		export function getCurrentConnection(): Thenable<Connection>;
}

@alanrenmsft this change adds the new azdata module and implements the initial new interface for getCurrentConnection.  I'd recommend we review and merge this big change in this week so we can have the module in place and ask folks to start updating the new module and switch our extensions over.  Then next week we can finish reviewing getCurrentConnection and related methods.

I have other changes that I'd like to integrate with this (such as query editor extension APIs), so I'll merge as-is.  We can address any feedback in subsequent PRs as part of weekly extensibility API review process.


Mark TCPBroadcast test as unreliable

Example intermittent failure:
https://travis-ci.org/ponylang/ponyc/jobs/167973110

This is ok to merge.


Implement CAMPD logo

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD user I want to view the CAMPD logo So that I visually identify the CAMPD brand
Acceptance Criteria
Given that a user has accessed CAMPD
When the CAMPD logo and acronym are displayed
Then the logo  and acronym are displayed in accordance with the CAMPD Logo wireframes
Development Notes

CAMPD logo, acronym, and clean air markets label should be aligned to the wireframes

Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[x] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
CAMPD Logo wireframes
Testing
Test Case: TC538
Tester: @JanellC
508 Testing:
Tester: @aprematta
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[x] Is the user story ready to be deployed to the test/staging environments?

TC538 passed @tlageman-epa . This ticket is ready for 508 testing @aprematta .


[Bug]: github.event.pull_request.head.sha used in Gradle check does not identify force commit sha's.

Describe the bug
Coming from comment: https://github.com/opensearch-project/OpenSearch/pull/3481#issuecomment-1172544988
.pull_request.head.sha used in gradle check does not execute on force commits.
Failed build:  https://build.ci.opensearch.org/job/gradle-check/121/
Existing worflow.
https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/gradle-check.yml#L13
To reproduce
Assuming this reproducible pushing a commit with -f and try to execute the gradle check.
Expected behavior
Handle cases even if the latest commit is done via force push.
Additional context
Some issues related to this topic:
https://github.community/t/github-actions-how-to-to-get-pr-merge-commit-sha-in-push/209044
Relevant log output
No response

[Triaged] @peterzhuamazon can you add your thoughts ?
Thank you

This seems like more of a problem on github side not on us.
I have no more variable to access apart from the head sha returned by github.

Is there a way to inform the user to perform a dummy commit to remediate in these scenario if we cannot solve this issue due to GitHub limitations?

Since this is an issue on github side, we will close this for now.
You can simply push a new commit to re-trigger gradle check with the correct reference.
Thanks.

A recent update on this matter: despite a GitHub force push, the .pull_request.head.sha still successfully retrieves the commit ID that Jenkins uses to initiate the ./gradle check process. However, if a force push occurs shortly before invoking the Jenkins gradle-check job, an error like fatal: reference is not a tree: e80ddbab5f324b449a23XXXXXXXXXXXX may arise. This happens because a force push alters the commit history of the target branch, causing it to point to a new commit.
@getsaurabh02 @peterzhuamazon

A recent update on this matter: despite a GitHub force push, the .pull_request.head.sha still successfully retrieves the commit ID that Jenkins uses to initiate the ./gradle check process. However, if a force push occurs shortly before invoking the Jenkins gradle-check job, an error like fatal: reference is not a tree: e80ddbab5f324b449a23XXXXXXXXXXXX may arise. This happens because a force push alters the commit history of the target branch, causing it to point to a new commit. @getsaurabh02 @peterzhuamazon

Yes @prudhvigodithi I think this is a small enough bug tho that is not that significant.
Tho there are contributors suggesting to have a better way of triggering the test or similar.
We can take a look and see. Thanks.

The simple and quick fix here is before the git checkout -f ${git_reference}, we can run example git rev-parse -q --verify  26d579287f50bb33e17c8fe1f05ea208d5c64d1f > /dev/null, if this command returns 0 the commit exists and move forward and if 1 the commit does not exists we can have currentBuild.result = ABORTED

The simple and quick fix here is before the git checkout -f ${git_reference}, we can run example git rev-parse -q --verify 26d579287f50bb33e17c8fe1f05ea208d5c64d1f > /dev/null, if this command returns 0 the commit exists and move forward and if 1 the commit does not exists we can have currentBuild.result = ABORTED

Yes, we can start with this for now. It is easier just to abort the Jenkins workflow without let it goes to full FAILURE status.

If we are allowing the user to trigger gradle-checks on force-push then we are not too concerned about a user pushing a malicious code or we already have guardrails around in.
In that case should we really checkout the head repo using sha or can we use the head branch for checking out the latest code on the contributor's pr branch and run gradle-check on that? @peterzhuamazon @prudhvigodithi

If we are allowing the user to trigger gradle-checks on force-push then we are not too concerned about a user pushing a malicious code or we already have guardrails around in. In that case should we really checkout the head repo using sha or can we use the head branch for checking out the latest code on the contributor's pr branch and run gradle-check on that? @peterzhuamazon @prudhvigodithi

Using branch head have potential issues of previous trigger use next commit, due to github actions has delays. If anyone push multiple times within a short period of time, it will cause some false positives potentially.
I would still suggest cancel the github action if there is a mismatch before triggering on Jenkins.
Thanks.


Support for enum in map

It would be nice to support enum in GetAttributeExpression when keys of a map are enum. For example :
{{ myMap.get('ENUM_ENTRY') }}

would return the entry of the map

I was missing also some sort of Enum access. However it is dangerous to have arbitrary access to enums, because enums can have methods and if you are able to access any enum you are eventually able to harm the application from inside a template. Eventually we should add some way to register those enums which can be accessed via templates.

I add support for using equal with enums (see #120).

That's a very interesting security concern that @thomashunziker brings up. To be able to access enums that exist on the classpath would mean that the template is capable of extending it's reach beyond just the variables that are provided during the evaluation phase.
I think because of these security concerns, this functionality should probably exist in a third party extension. In theory you can create a custom "enum" function that accepts a string as an argument and searches the classpath for a matching enum to return.


feat: fix nix flake

This happens currently on mac:
$ nix develop
error: builder for '/nix/store/0f3p440vzing4xpdf9j37kq34z110hjz-bitcoind-26.0.drv' failed with exit code 2;
       last 10 log lines:
       > 4 errors generated.
       > 4 errors generated.
       > make[2]: *** [Makefile:11130: libbitcoin_node_a-txmempool.o] Error 1
       > make[2]: *** [Makefile:10864: libbitcoin_node_a-rest.o] Error 1
       > 4 errors generated.
       > make[2]: *** [Makefile:10234: libbitcoin_node_a-init.o] Error 1
       > make[2]: Leaving directory '/private/tmp/nix-build-bitcoind-26.0.drv-0/bitcoin-26.0/src'
       > make[1]: *** [Makefile:20138: all-recursive] Error 1
       > make[1]: Leaving directory '/private/tmp/nix-build-bitcoind-26.0.drv-0/bitcoin-26.0/src'
       > make: *** [Makefile:814: all-recursive] Error 1
       For full logs, run 'nix log /nix/store/0f3p440vzing4xpdf9j37kq34z110hjz-bitcoind-26.0.drv'.
error: 1 dependencies of derivation '/nix/store/jxi7hv8zmmnb2bcpsa9vz5cg8a5vq051-nix-shell-env.drv' failed to build

what is broken on the current flake?

I believe this depends on https://github.com/fedimint/fedimint/pull/4349

should we use that same working commit or a different one? and do we actually need to fix it on the release, it's just a dev env issue?

We don't need to fix v0.2 if you we won't need to change it at all. Perhaps it's good enough as-is. It seemed like you wanted to change something on v0.2 but maybe I was mistaken.

no just needed to change to to get the dev environment working


Fix skip count not reporting properly

This fixes #470.
What was happening was that the API did not have a skipCount property, so the TAP reporter had nothing to report with. This commit adds it to the API and then updates the TAP reporter so it can use it.
Seems to work, but could use more pairs of eyes.

LGTM

:+1: - Just needs that one comment line removed.

Thank you @sotojuan :)


[Feature]: Break up the CLI commands tests into specific plugin based files to limit the amount of time that installation/uninstallation takes

Describe the feature you would like
There are a growing number of tests for each plugin in the taqueria project. Since there are tests that check the help messages for each plugin there are a number of install/uninstall operations per each test to make sure no test will depend on any other tests. As more functionality is added this will likely increase the number of tests and time it takes to run them. These tests should be split up into different files either based on plugin or operation (for example having a file dedicated to compiling using both the ligo and smartpy plugins). This would let us install once at the beginning of the tests and not have to constantly install/uninstall/reinstall in a single test suite run
Is this feature solving a problem?
This solves the problem of the time that our tests take to run getting ridiculous and making the feedback loop on feature changes longer and longer
Please share any additional details you have?
Details about the problem your feature solves
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Done: #680


 For instance:
https://www.dropbox.com/s/o83ifsjloua57f7/Screenshot 2015-11-15 15.28.39.png?dl=0

:'(

Yo for some reason when i build the site, that image is missing, and the path ../views/linkcard.html int he grid directive is like 404'ing. And I cant figure out why grunt is missing those :/

trying to fix this in publicBranch, Going to try this to fix templates: https://www.npmjs.com/package/grunt-angular-templates

Because they aren't added in a grunt pre-processing tag. You must add those types of paths in the correct place, so that grunt will minify and move them over.


How is the voronoi volume calculated?

Describe the bug
The voronoi volume disagrees with the one calculated from ovito
To Reproduce
Steps to reproduce the behavior:
https://github.com/jan-janssen/ovito-vs-pyscal/blob/master/ovito-vs-pyscal-small.ipynb
Expected behavior
Both results should be the same.

Thanks for the report. This is problem with non-cubic boxes. Passing a structure with cubic=True seems to give the exact volume. The reason is that the current Voro++ interface is only for cubic boxes. I will have to check a bit on how this can be fixed.

Just not fixed due to time constraints unfortunately. Will get back to this as soon as possible! Hopefully in the next few days.

@jan-janssen The new release should fix this problem.


CodeFixAction should have a unique identifier to identify its category

When an editor gets CodeFixAction, it does not know where it came from, i.e. which code fix or refactoring provided it. it would be helpful for debugging and telemetry to record this.

Fixed by #23350

Note: refactors already have a name property that can be used for telemetry. @mjbvz


Add folders/workspaces, so you, as an user, can have multiple separated topics

Is your feature request related to a problem? Please describe.
Having a lot of todos, may be a lot to take. Being able to asing some todos to a workspace would be nice.
Describe the solution you'd like
Adding groups of todos. Would be a refactor of both front and back end.
Describe alternatives you've considered
LABELS. I actually like more this idea jiji

LABELS


PDF viewer

It's possible to add a PDF viewer like pdf.js?

Surely possible. I just don't see much use for it personally, as I prefer the vastly faster SumatraPDF desktop app.

Thanks for your always fast reply. :smile:
I see your point, but I uploaded lots PDFs and it's a pain in the neck looking for a specific one or manage the flooded Download directory. It would be terrific if you manage to insert the PDF viewer.

I'll keep it in mind for the future. If it's going to be pdf.js, it'll require some re-skin work, partly because:

However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.

It could look like this!

Progress 🎉

I want to integrate this in media galleries and I have a few more optimizations in mind, so it'll require some rewrites and the PDF UI needs to be coded up from scratch to fit with the current gallery. Also, that 2.1 MB script should be properly cached which it isn't yet.
So still some ways to go.

And it's done:


Integrated terminal does not see Node from NVM

VSCode Version: 1.22.2 (1.22.2)
OS Version: 10.12.6 (16G1314)

After installing NVM and uninstalling node from homebrew my OS terminal is working normally, but the VS code terminal does not see node.
I am using this setting, but disabling it doesn't fix the issue
"terminal.integrated.shellArgs.osx": [
    "-l"
  ]

OS Terminal
$ which node
/Users/tkye/.nvm/versions/node/v8.11.1/bin/node

$ node -v
v8.11.1

VS Code Terminal
$ which node
(nothing)

node -v
bash: node: command not found

My .bashrc contains this
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

I have run nvm alias default lts/carbon in both terminals, the command works. If I run nvm use node in the VS code terminal node will work for that session, but new shells are still missing node. Its like VS Code never loads nvm.
Clearly VS Code is remembering the homebrew node installation, but I don't know how. Its not in the bash_profile or bashrc, and the nvm stuff IS in there. Where else does VS Code load this from? Where else does VS code differ from the OS shell?

Sorry code bot, but that issue has nothing in it.

I too am having this issue.
VS code Version 1.22.2
OS Version: Arch Linux (4.16.3-1-ARCH)
Also, just to complement tyrsius comment, in my case, if I source my .bashrc file (inside vs code terminal), it picks up NVM for that session, so it seems like the VS Code terminal ignores .bashrc at startup

This is the default setting on mac:
"terminal.integrated.shellArgs.osx": [
    "-l"
  ]

It means basg_profile will run, not bashrc. Does changing it to [] fix the problem?

@Tyriar  I confirm that changing to [] fix this issue

@raulcesar I just wrote an FAQ on the prefix issue, check it out here for the proper way to fix: https://github.com/Microsoft/vscode-docs/blob/master/docs/editor/integrated-terminal.md#why-is-nvm-complaining-about-a-prefix-option-when-the-integrated-terminal-is-launched

@Tyriar that completely resolved my nvm/vscode issues. Thank you!


how to evaluate on boolq? incorrect results

I'm trying to evaluate a language model on BoolQ through LM Harness and it doesn't seem to be giving me right results. Wondering what I'm doing wrong? Do we need to pass in a pre-prompt? BoolQ is a dataset that contains question and answer, where the answer is True or False.
For GPT-J-6B FP16 I get a performance of accuracy of 0.655. Naively predicting True, will achieve 62% on this dataset.
For T5 as well, I get 0.63 for the accuracy. Looks like T5-base gets around 0.85 as mentioned in the paper
Code to reproduce for T5:
from transformers import AutoTokenizer, T5ForConditionalGeneration
from lm_eval.models import huggingface
from lm_eval import simple_evaluate

tokenizer = AutoTokenizer.from_pretrained("t5-base")
model = T5ForConditionalGeneration.from_pretrained("t5-base")
model = model.cuda()

# for EleutherAI/gpt-j-6b, use backend = 'causal'
lm_obj = huggingface.HFLM(pretrained=model, backend='seq2seq', tokenizer=tokenizer, batch_size=4)

# evaluate
results = simple_evaluate(
        model=lm_obj,
        tasks=["boolq"],
        num_fewshot=0,
    )
print(results)

# {"results": {"boolq": {"acc,none": 0.6345565749235474, "acc_stderr,none": 0.008422437370062699, "alias": "boolq"}}, "group_subtasks": {"boolq": []}, "configs": {"boolq": {"task": "boolq", "group": ["super-glue-lm-eval-v1"], "dataset_path": "super_glue", "dataset_name": "boolq", "training_split": "train", "validation_split": "validation", "doc_to_text": ..}}

Hi! For T5, I think super_glue-boolq-t5-prompt is the one you're looking for. https://github.com/EleutherAI/lm-evaluation-harness/blob/1980a13c9d7bcdc6e2a19228c203f9f7834ac9b8/lm_eval/tasks/super_glue/boolq/t5-prompt.yaml#L9-L11

@baberabb thanks for sharing this. for t5 accuracy now is 0.77, up from 0.62.
any insight into how I would evaluate boolq for EleutherAI/gpt-j-6b?
from what I see, the prompt would have to be updated for gptj? For example, when for the super_glue-boolq-t5-prompt task, the prompt doc_to_text is"boolq passage: {{passage}} question: {{question}}". It knows that the prediction has to be a true or false. However, for task boolq-seq2seq, no mention the output has to be yes or no in doc_to_text- "{{passage}}\nQuestion: {{question}}?\nAnswer:"

@baberabb thanks for sharing this. for t5 accuracy now is 0.77, up from 0.62.
any insight into how I would evaluate boolq for EleutherAI/gpt-j-6b?
from what I see, the prompt would have to be updated for gptj? For example, for the super_glue-boolq-t5-prompt task, the prompt doc_to_text is"boolq passage: {{passage}} question: {{question}}". It knows that the prediction has to be true or false. However, for the task boolq-seq2seq, there is no mention that the output has to be yes or no in doc_to_text- "{{passage}}\nQuestion: {{question}}?\nAnswer:"

The default boolq is reproduced from the GPT-3  paper, so should be good to use with GPT-J and other decoder only models. So the model is prompted with "{{passage}}\nQuestion: {{question}}?\nAnswer:" + choice for each choice (yes/no in this case) and the correct answer is the one with the highest log-likelihood for the choice tokens (given the context).
cc: @lintangsutawika

As what @baberabb said. The default task configuration for BoolQ is boolq. super_glue-boolq-t5-prompt is a special configuration meant to reproduce the results from the T5 paper which uses a dated prompt formulation that corresponds with how finetuning was done in that work.


asyncio Python 3.6

Hello, Does cython works with asyncio new synthaxe ?
I mean
`
async def hello_world():
return "hello"
await hello_world().
`

A simple test would probably have answered this question (with a yes).
Not a bug or issue.


Problem with connection to server host='pai-aigc-photog.oss-cn-hangzhou.aliyuncs.com', port=443

Hi,
is there any solution? I have almost constant error, this server is down very often.
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\requests\adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='pai-aigc-photog.oss-cn-hangzhou.aliyuncs.com', port=443): Read timed out. (read timeout=None)

Same issue here. Is this not meant to be working locally? Does it need permanent Online connection?

@freelancer2000 @lookacz3
It seems you are not in mainland China. Please refer to the model list in the Wiki FAQ, and then visit our Hugging Face link to find alternative models.

@freelancer2000 @lookacz3 It seems you are not in mainland China. Please refer to the model list in the Wiki FAQ, and then visit our Hugging Face link to find alternative models.

I have models from Hugging Face downloaded, but there is no face_skin.pth and no other models , same with the template files (jpgs and pngs).

@freelancer2000 @lookacz3 It seems you are not in mainland China. Please refer to the model list in the Wiki FAQ, and then visit our Hugging Face link to find alternative models.

I have models from Hugging Face downloaded, but there is no face_skin.pth and no other models , same with the template files (jpgs and pngs).

https://huggingface.co/alibaba-pai/pai-easyphoto/blob/main/face_skin.pth

other template means？ scene lora template？

OK, thank you. Is it possible to change links in common_util? When using EasyPhoto in command prompt you can see "Hash match", but when this server is down I can't use Easy Photo.

OK, thank you. Is it possible to change links in common_util? When using EasyPhoto in command prompt you can see "Hash match", but when this server is down I can't use Easy Photo.

similar issue with  https://github.com/aigc-apps/sd-webui-EasyPhoto/issues/326
can you close hash check by yourself now? we will found a more elegant solution as soon as possible

Please explain how to close hash check.

def check_files_exists_and_download
find this function and return at begin

Is this issue fixed? I managed to bypass the Hash Check, but it still tries to download the weights while offline and does not start. When online it works without a problem.

Sorry where do I do this "def check_files_exists_and_download"  I installed the extension in A1111 and getting connection time out.  Can I use the files here: ll00292007/easyphoto from HuggingFace?


AMBARI-24486. Yarn Timeline Service V2 Reader is found down after EU …

clone of #2085

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3631/
Test PASSed.


minor tweaks for nldas data

@aappling-usgs quick look?

looks good.

same errors as before, no more, in autobuilds


Uptimed cannot write its database

Issue description
From the log
Jun 06 12:10:28 terry uptimed[15862]: uptimed: cannot write to /var/spool/uptimed/records

Steps to reproduce
Try to use the uptimed service.
Technical details

System: 17.09pre108553.0011f9065a (Hummingbird)
Nix version: nix-env (Nix) 1.11.9
Nixpkgs version: "17.09pre108553.0011f9065a"
Sandboxing enabled: build-use-sandbox = true

Duplicate of your own issue #22437?

Whops.


Create sunnfolkfhs.txt

Please add this school to the registry.
https://www.sunnfolk.no
https://www.sunnfolk.no/home.html

@GameDevTeacher I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host sunnfolkfhs.no not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


why controller must present in cluster ?

hi all:
I got a key error exception when using pykafka
KeyError: 'Controller ID 200 not present in cluster'
and I read the cluster.py
https://github.com/Parsely/pykafka/blob/master/pykafka/cluster.py

I don't know why controller must present in cluster , anyone can help.
thx

Thanks for the report, @yorkhellen. Can you post some code that generates this issue when you run it? It's not clear from your post how this is being triggered.

I got the stack information

i just new a kafka producer to send my app log message.  and i read the
https://github.com/Parsely/pykafka/blob/master/pykafka/cluster.py

it will throw exception if the controller broker not in the self._brokers。


Remove NodeToNodeV_12 older

Description
Removes support for NodeToNodeV_12 and older as these are unable to cross the hard fork boundary.
Checklist
Quality

[x] Commit sequence makes sense and have useful messages, see ref.
[ ] New tests are added and existing tests are updated.
[ ] Self-reviewed the PR.

Maintenance

[ ] Linked an issue or added the PR to the current sprint of ouroboros-network project.
[ ] Added labels.
[x] Updated changelog files.
[ ] The documentation has been properly updated, see ref.

@coot @karknu
Should I also remove https://github.com/IntersectMBO/ouroboros-network/blob/master/ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs#L44-L59
and
https://github.com/IntersectMBO/ouroboros-network/blob/master/ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs#L84-L101
?

@coot @karknu Should I also remove https://github.com/IntersectMBO/ouroboros-network/blob/master/ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs#L44-L59 and https://github.com/IntersectMBO/ouroboros-network/blob/master/ouroboros-network-api/src/Ouroboros/Network/PeerSelection/PeerSharing/Codec.hs#L84-L101 ?

Yeah, that should go too.


API for acknowledging new contributors in changelog

Affected Packages
apply-release-plan

Problem
I'm a big fan of Changesets, thanks for making and maintaining such a great tool! We're using it in the Apollo Client and Apollo Server repos and it's a delight to use ❤
While working on a big new release, I wanted to make sure new contributors were getting a special shout out and started wondering about the auto-generated markdown created when you click the button in GitHub's release editing GUI.

I tested it out by taking the generated changesets release notes of a past release, editing the release, clicking that button (which appends to existing markdown) and deleting everything except the section "New contributors."
Given the getDependencyReleaseLine/getReleaseLine API for generating the changelog, I wonder if a third function that allows you to generate a section at the end makes sense to facilitate something like this. (Not the same release here but you get the idea...)

Proposed solution

No preconceived solution :) but willing to work on this if the maintainers and community are interested.

@alessbell +1 for something like this from our side!

Big +1 for this.
We are using Changesets in WSO2 Identity Server app repos and would love to have this feature.


KAFKA-17192 Fix MirrorMaker2 worker config does not pass config.provi…

…ders value to connectors
Change-Id: I38185158116a43899497f66c1fb643677491b6eb
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the PR @k0b3rIT Is it possible to add test for this?

Thanks for the PR @k0b3rIT Is it possible to add test for this?

Hmm, probably, I will look into it

Thanks for the PR @k0b3rIT Is it possible to add test for this?

Hmm, probably, I will look into it

Ok, I have extended the worker config test to assert on the config.providers value

Hey @k0b3rIT, thanks for the PR! For this project we (the committers) handle backports automatically, so you can just file a single PR against trunk and state in the description that you'd like it to be backported (which we usually do by default, but it never hurts to give us a reminder).
I'm going to close this PR now so that it's clear to reviewers that they should focus on https://github.com/apache/kafka/pull/16678. If you have any issues with that please let me know!

Hey @k0b3rIT, thanks for the PR! For this project we (the committers) handle backports automatically, so you can just file a single PR against trunk and state in the description that you'd like it to be backported (which we usually do by default, but it never hurts to give us a reminder).
I'm going to close this PR now so that it's clear to reviewers that they should focus on #16678. If you have any issues with that please let me know!

Good to know, thank you @OmniaGM @C0urante !


Cannot truncate time period Period

An odd error.

Cannot truncate time period Period { begin: 610.839, end: 611.874 } at 610.839

The first part of the file is.

1
00:00:06,120 --> 00:00:08,475
Parco nazionale Harwood
PENNSYLVANIA
2
00:00:08,519 --> 00:00:09,998
Forse dovremmo tornare indietro.

I've compared this to other ones which have been successful and it doesn't look any different. So, is it possible the problem is with the mpv file output by ogmrip ?

No, this looks like a problem where the subtitles are way too short and way too close together, maybe? Try deleting the first sub or changing the time period or something, and let me know what happens. But please don't close this—I do want to investigate more closely at some point.

You are correct I found a number of examples, where they are overlapping:
` 156
00:10:10,839 --> 00:10:11,874
Va bene.
157
00:10:10,839 --> 00:10:12,067
Non posso farla qui. `
346
00:25:01,839 --> 00:25:04,911
Non avrei dovuto Iasciare Ii Robert,
ma mi aveva detto di correre.

347
00:25:01,839 --> 00:25:03,113
Me I'ha fatto promettere.

You can see the starting timestamps for both are the same time.
`540
00:38:50,879 --> 00:38:52,835
In tutta la mia carriera,
ho riportato
541
00:38:50,879 --> 00:38:54,633
pochissimi ragazzini ai genitori
dopo Ie 24 ore dal rapimento.
`
So you can see that for some reason it seems to have kept the start time from the previous subtitle, probably a bug in omgrip?

Could be garbage data in the actual video's subtitles, too. There's a lot of strange stuff out there.

There's no obvious action I can take on this issue, so I'm closing it. If you have any ideas for a concrete improvement here, please feel free to re-open this issue. Thank you for reporting it!


The global variable prompts an error

Issue Type: Bug
I now write the program using nodejs, and I write a global variable in the portal file, similar to "global.config", but vscode resolves to an error that says 'there is no property config' on Global, and prompts that no name can be found when other files are called. These variables are not a problem in operation, but they report errors.
This is a very bad problem, he disturbed me to write code normally, please fix it as soon as possible!
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
AMD Ryzen 3 3100 4-Core Processor               (8 x 3593)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (6.87GB free)

Screen Reader
no

VM
0%

Extensions (40)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-javascript-snippet-pack
aka
0.1.6

vscode-node-readme
ben
3.0.2

path-intellisense
chr
2.3.0

bracket-pair-colorizer
Coe
1.0.61

vscode-redis-client
cwe
1.2.5

vscode-eslint
dba
2.1.14

javascript-ejs-support
Dig
1.3.1

gitlens
eam
11.1.0

vscode-html-css
ecm
1.6.1

mithril-emmet
Fal
0.7.6

html-slim-scss-css-class-completion
gen
1.7.8

vue-snippets
hol
1.0.4

form-generator-plugin
jak
1.0.4

polacode-2019
jef
0.5.2

docthis
joe
0.7.1

node-module-intellisense
lei
1.5.0

linecounter
lyz
0.2.7

markdown-shortcuts
mdi
0.12.0

HTMLHint
mka
0.10.0

mongodb-vscode
mon
0.3.0

vscode-scss
mrm
0.9.0

vscode-language-pack-zh-hans
MS-
1.52.2

python
ms-
2020.12.424452561

jupyter
ms-
2020.12.414227025

remote-ssh
ms-
0.62.0

remote-ssh-edit
ms-
0.62.0

remote-wsl
ms-
0.52.0

color-highlight
nau
2.3.0

vetur
oct
0.31.3

LiveServer
rit
5.6.1

guides
spy
0.9.3

code-spell-checker
str
1.10.2

sass-indented
syl
1.8.13

tabnine-vscode
Tab
3.1.23

vscode-todo-highlight
way
1.0.4

vscode-import-cost
wix
2.13.0

JavaScriptSnippets
xab
1.8.0

vue
znc
0.4.1

vue-language-features
znc
0.4.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
openlogontheside:30221877
python763:30178808
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
python504:30227505
vswsl492cf:30211402
wsl2promptcf:30224613
pythonvsdeb440:30237827
unusedpromptcf:30224611
folderexplorer:30224614
openfilemenu:30224647
pythonvsded773cf:30236630
vsjup459:30237187

For example, I wrote in nodejs's entry file
const b = require('./b.js')
global.BASE_URL = 'http://www.google.com'
Write the following code in the b.js file
console.log(BASE_URL)
or
console.log(global) BASE_URL)
Vscode will tell me with a red wavy line, and moving the mouse over it will tell me that I can't find 'BASE_URL. '
This situation also seems to exist in the entry file

For example, I wrote in nodejs's entry file
const b = require('./b.js')
global.BASE_URL = 'http://www.google.com'
Write the following code in the b.js file
console.log(BASE_URL)
or
console.log(global) BASE_URL)
Vscode will tell me with a red wavy line, and moving the mouse over it will tell me that I can't find 'BASE_URL. '
This situation also seems to exist in the entry file


[Python] Return empty messages (except protobuf.Empty)

What:
The following Python methods should return a value (as their samples suggest):
https://github.com/googleapis/toolkit/blob/master/src/test/java/com/google/api/codegen/testdata/python_main_library.baseline#L1200
https://github.com/googleapis/toolkit/blob/master/src/test/java/com/google/api/codegen/testdata/python_main_library.baseline#L1168
Why:
The API owners might intend to add content to these messages later, and we don't want our client libraries to break users as a result.
How:
This appears to be the responsible code:
https://github.com/googleapis/toolkit/blob/master/src/main/java/com/google/api/codegen/py/PythonProtoElements.java#L35-L37

@swcloud or @landrito, do either of you have the bandwidth to take this issue early next week?


Call out Automation API Reference on AutoAPI Guides Page

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

User Story
As a user, I would like to navigate from the Automation API guide to the Automation API reference. After reading the guide, I would like to use Automation API, which requires me to look at the API reference. Only after a third pass over the page did I realize the link I was looking for was in the table below the Examples section.
Issue Details
The Automation API guides page doesn't explicitly call out a link to the reference material. In the Languages section, the language names link to the reference material, but that defies my expectation. I would have expected a link on TypeScript to go to the TypeScript homepage, and for there to be a another column with a link to the reference material.

Affected area/feature
Automation API guides page

I'm happy to make the change myself, but right now I'm working on something else, so I'll come back to this later.


Update dependency aruba

This will update aruba to the most current verison and updates the code for it.
See https://github.com/cucumber/aruba/blob/main/CHANGELOG.md

Opened PR directly upstream.


Fix padding on website margins

A previous commit (cfcebb8fd599170815d2907157fcd7dd8c857e0c) increased the spacing between menu items to 10 pixels on the main docs site, as well as the academy page. The old spacing had been 1 pixel for both.
This PR restores the original spacing (1 pixel). Please review, as the changes to the style sheet could have changed something else inadvertently.
The following image shows the original spacing on the left, and the post-cfcebb spacing on the right:

@danieljperry thank you for catching this, it was due to changes for the academy home page carousel.
Ryan was able to resolve the padding issues in #486 👍

Agreed, it looks like PR 486 fixed it.


Added order_id to collection query

By querying directly on parent_item_id results in a full table scan every time. This causes a severe performance issue when the sales_order_item contains millions of records.
By also querying on order_id, results in just scanning all items in a single order, as this field is indexed.

Hi @julian-van-drielen, thank you for your suggestions, we will definitely include them into our next release

Hi @eduard13,
I've done this now, however, build is still failing.

Hi @julian-van-drielen, we'll process and deliver your PR internally and release within the next upcoming release.
In the meantime, feel free to apply these changes as a patch.
Thank you for your great contribution.

Hi @julian-van-drielen, these changes were successfully added into 1.0.0 release.
Thank you for your contribution
Resolving this PR.


Go to Definition for a function takes you to the function keyword instead of the identifier

Go to Definition for a function takes you to the function keyword instead of the identifier

Duplicate of https://github.com/Microsoft/TypeScript/issues/12270


findFirstCompletelyVisibleItemPosition and findLastCompletelyVisibleItemPosition don't find anything.

The following stack trace occurs if I try to use the layoutManagers.findFirstCompletelyVisibleItemPosition to obtain the position of the first item on the screen.
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
at android.support.v7.widget.RecyclerView$LayoutManager.getPosition(RecyclerView.java:5017)
at com.tonicartos.superslim.LayoutManager.findFirstCompletelyVisibleItemPosition(LayoutManager.java:139)
I do not get a NPE if I switch the call to layoutManager.findFirstVisibleItemPosition().
I can use the later as a work around to obtain the position, but the former is preferable.
This is with version 4.12 of SuperSLiM.

Sorry, this weekend I've noticed there are bugs with both completely visible methods. I just haven't fixed them and should've posted issues already. It is obvious that I've been struggling keeping everything tested so at the moment I am working on getting some automated tests so I'll catch these issues more often in the future.

Have you looked into using Robolectric to provide some unit testing around everything?

It is one of the options I have been reading about today.

I've only ever used the stock unit tests before, so I've been woefully neglecting this aspect :(

Robolectric is what I recommend.  We use it extensively at work, that combined with Mockito, and Dagger make for a nice testing framework.

Thanks. I guess I'll be busy learning new things for a while.
Also, I am adding debug logging to the library. Though I need to figure out how to host the debug variant, I think I can do it as version = 4.12-debug. I am hoping, once that is done, we'll all find it easy to diagnose whether layout issues are bugs in the library or not.

@kingargyle Thank you for your recommendations. Robolectric and Mockito are working pretty well, but I feel that testing RecyclerView LayoutManagers isn't the easiest of things.

With Mockito if you can Spy on a real object, you can tell it not do things, or to always return certain things.   Look into spying on real objects, then you can setup mockito so it handles the results of protected methods that you may call that are extended or inherrited from Recycler View itself, that way you aren't testing Recycler View, but just your extensions and implementations.

Partial mocks and reflection is how I've started writing some of the unit tests on the internal library methods. I am also starting to understand the utility of Dagger for testing, not that I am yet using it.

Hmm, I was just looking at these methods. I've completely rewritten this part on the development branch :(. This happened because LayoutManager no longer knows about headers, that logic is now in the abstract SectionLayoutManager class.

Are there no views completely on the screen when this NPE happens?

Never mind.

@TonicArtos I'm facing the same crash, but in a completely vanilla RecyclerView implementation and was hoping you could help me out. Can you tell me what causes the crash in the first place?


Center render on window creation

When starting the program

sometimes the render will be right in the middle of the screen, visible
most of the times it will not & user will need to "look around" to find it...

#76 helped but

seems to have broken osx
can't get it to center on start up

Seems fixed now.


Native memached session handler broken in PHP7?

So basically I'm having trouble with the registered native session handler. I run an image with symfony2 3.0 and operating on the session fails silently.
I propose to add an end-to-end test for PHP7 that includes memcached operations.

Sorry for the late reply. Yeah I too noticed it but forgot to file an issue. Once the memcache session handler starts to work, we should definitely add the e2e tests.

BTW - Followup.
I was able to use it through the native Memcached class.
An example on how i wired a memcached handler to my application on appengine flex: https://gist.github.com/cedricziel/cc599be67f816540c608b7658ccd3cf6

Good to know the memcached extension is at least working. Thanks for the update :)

@tmatsuo @bshaffer is this something we need to address for beta?

@JustinBeckwith Do we have memcache service available for App Engine Flex? It's slow, but using the Datastore session could be a workaround for many use cases.

Just to be clear: The memcache service ist available in flex, but this ticket was initially opened because I didn't know how to locate the connection parameters.
I don't know whether the session handler is configured to use it.
The following needs to be done when adressing memcache from a client library:
$host = getenv('MEMCACHE_PORT_11211_TCP_ADDR');
$port = getenv('MEMCACHE_PORT_11211_TCP_PORT');
$cache = new Memcached('myprefix');
$cache->addServer($host, $port);

// $cache is now usable. mind the appengine memcache service doesn't support the "version" command
// many clients use as health check.

The Flex dropped the out-of-the-box memcache service, so let's close this


Bug get data address should after resize operator

Proposed changes
when get column data address, it's should be after the column resize operator.

run buildall

run buildall

run buildall


p8011 not found.

After upgrading to 0.5.2 from the last 0.4 stable version I'm getting the following on boot (some typos may appear as I'm typing this by hand). This error repeats and never does give me a prompt.
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interface...catL /sys/module/p80211/parameters/wlan-uext_write: No such file or directory
FATAL: Module p80211 not found.
Failed to load p80211.ku.
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Error for wireless request "SEt Power Management" (8B2C) :
SSSET failed on device wlan0 : Operation not permitted.
ioctl[S10CSIWAP]: Operation not permitted
ioctl[S10CSIWENCODEEXT] Invalid argument
ioctl[S10CSIWENCODEEXT] Invalid argument
done.
(repeats)

yes. It's from the wifi. Should be fixed, but I don't know if it harms anyone?

this is on boot, so this message keeps repeating and pimusicbox services never start

Same problem for me on both 5.3 and the 5.4 beta on B+ hardware. Never able to get Edimax ew-7811Un wifi dongle working with Pi-Musicbox code. Dongle works out of the box with 3 other Pi project builds.

I'm guessing that the Pi-MusicBox kernel build is just missing the driver, right?

It's based on raspbian. If raspbian are missing it then we are missing it.
On 8 Mar 2015 00:25, "hadess"<EMAIL_ADDRESS>wrote:

I'm guessing that the Pi-MusicBox kernel build is just missing the driver,
right?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/202#issuecomment-77724823
.

we've got the same message here, is there already a fix for it?

Exactly same message for me on Raspberry A+ with latest image (0.6)

Ditto
Raspberry B
MusicBox v0.6

If you are able to get a prompt and login, or if you can do so using normal raspbian, it would be helpful to know exactly what USB wifi dongles have the issue (output of lsusb, lsmod would also be nice).
*

It appears to simply been an issue of a mistyped wifi network name. The loop seems to indicate it failed to connect or find a network by with that ssid/password. Once corrected I was able to connect with no issue. It might be nice to catch and fail with an error depending how common of an issue this is for users.

Similar problem with multiple attempts to reinstall on Raspberry Pi B+.
At boot it fails to load p8011.ko, fails on "Reconfiguring network interfaces...cat: /sys/module/parameters/wlan_wext_write: No such file or directory", then Wlan0 link not ready... [infinite error loop doing this]

Are you using a Edimax ew-7811Un wifi dongle? If not, what are you using?

I'm using the TP-LINK TL-W725N adapter.

I don't get many search hits for that card but I do get a lot of stuff regarding TL-WN725N. Are they the same thing? If so, it seems that it might be the 8188eu driver it wants which needs to be compiled from source. I think we include it in pimusicbox but it's possible the binary that's included isn't compatible or that you've updated your system to a non-compatible kernel.  Since I don't have this hardware, and I can't find a link to buy a TP-LINK TL-W725N, it's tricky to debug.
Does it work in Raspbian? Are you able to remove the dongle, boot musicbox and login (locally or ssh via ethernet connection), insert the dongle, and then provide output of the following commands.

lsusb
sudo lshw -C network

Hey Nick, it looks like the specific USB adapter I had was defective. I
swapped it for one of the same model and it started working. Whew!

Oh right! That's great, thanks very much for updating the issue. These
wireless sticks can be a right pain.
On 15 Aug 2015 01:36, "ThreeSixes"<EMAIL_ADDRESS>wrote:

Hey Nick, it looks like the specific USB adapter I had was defective. I
swapped it for one of the same model and it started working. Whew!
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/202#issuecomment-131273083
.

Just to update this topic, since I now have an TL-WN725N adapter to test with and all I can find online suggests that TL-W725N and TL-WN725N are the same thing. They are two versions, v1 and v2, of this device. v1 (along with the earlier mentioned Edimax EW-7811Un dongle) requires driver module rtl8192cu which is available in the kernel (and may or may not be any good). v2 requires r8188eu which is distributed in firmware-realtek but the version of this in Wheezy (v0.36) is broken as it does not include the required firmware blob. A fully working r8188eu driver (including firmware blob) is available in jessie's v0.43 version of firmware-realtek.
Finally, from what I can see, if the correct driver is not available, the kernel picks one and for some reason this is p80211. If you try to do anything with it (e.g. ìfup wlan0`) it fails with the originally posted error message.

Thanks to @DavisNT who helped me see that there's now a backported package providing the r8188eu driver available in the Raspberry Pi Foundation APT repository. Anything using this driver (such as TL-WN725N) will work out the box.
That p80211 error message is in fact due to a buggy script that's included in linux-wlan-ng which tries to always load the p80211 driver. Any wireless problems you are having are totally unrelated to this message. Since we apparently don't need this package and it's just confusing things, I am keen to remove it.


⚠ Samsung has degraded performance

In 2137162, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2789 ms

Resolved: Samsung performance has improved in dac2c39.


pkgx should look for Cargo.toml instead of cargo.toml

Cargo's default manifest file name is capitalized Cargo.toml. As pkgx look for lowercase cargo.toml, it fails to load rust-lang.org env in a typical Cargo project.

https://github.com/pkgxdev/pkgx/blob/b408b083a57b58878f0c3be89006e880f5653ad1/src/utils/devenv.ts#L45C13-L48

#justlinuxproblems ;)
yes, this is one of the perils of developing on a mac, which defaults to case-insensitive filesystems.

The screenshot was taken on a Mac with case-insensitive AFPS, so this doesn't seem to be justlinuxproblems 🤔

interesting. i wouldn't have expected that.

thanks for the report. easy fix
the string comparison is case-sensitive hence the bug. However, should we fix that too? Probs not. Just asking.

Cloning the project I get the following error:
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'fixtures/Cargo.toml'
  'fixtures/cargo.toml'

This is on macOS with APFS file system. Both files still exist in fixtures.

that should fix it. those little errors that git doesn't know how to handle can be messy.

my bad, I have no idea how I achieved this error lol


bucket_interval is type-ambiguous

Currently bucket_interval is ambiguous in its typing, which is basically tuple[float,float] | type[str,] where the former is used for continuous values and latter is used for discrete values.
https://github.com/neulab/ExplainaBoard/blame/main/explainaboard/analysis/performance.py#L11
We should probably change to the following:
bucket_interval: tuple[float,float] | None
bucket_name: str | None

I think AnalysisCaseCollection's one should also be fixed:
https://github.com/neulab/ExplainaBoard/blob/6a85d3c51fd1f8eca8ddfdcba11d59181a183781/explainaboard/analysis/case.py#L89