Bump dependencies for vulnerabilities

Purpose

https://broadinstitute.atlassian.net/browse/GH-158
Dependencies with vulnerabilities detected by Snyk and GitHub

Changes

Minor changes : new version of dependencies

Review Instructions

Review the impact on running the pipelines and the output
Review the possibility to update the dependencies on sctools for those 3 pipelines:

Benchmarking-tools
2.analysis-tools
3.python3-scientific
Sctools recently updated and version should be bumped (new PR)

Out of 4 failing , those are actually already failing on Master : operability tests.
out of 10 pending , most of them are actually green in Circle Ci, looks like GitHub issue.
1 test running on Jenkins : int_test is actually pending because it failed to get results from Caas.
Looking at the job id on Cromwell UI , it says the job is on-hold.
Requiring feedback from the team

One test is failing for DCP - Jenkins test running cromwell because of SS2InputChecks.wdl not defined in the dependencies - analysis_wdls (may be adapter pipeline )
Discussion on-going.


Avoid WEB_AUTH browser call at each client connection

Problem Statement
At each client connection, a browser tab is called to re-authenticate the client (via SSO).
When the user computer goes to sleep several times a day, he needs to reconnect and re-open a browser tab at each time.
We would like to trust the client VPN for a few hours after he complete the OAuth2 authentication scheme so he would not need to re-open a browser tab when he reconnects.
Proposed Solution
The OpenVPN Server emits a PUSH Control Message with values :

auth-token-user (with a base64 encoded value)
auth-token (that is the SESS_ID)

This token has a lifetime defined in the OpenVPN configration under auth-gen-token 43200 external-auth with a duration in seconds.
This token can be re-submitted on a regular basis by the client while he's connected to revalidate current credentials (using the reneg-sec command), avoiding the client to re-initiate an authentication flow if it's connection is flacky.
The idea is to persist the generated token during it's lifetime, and ask the OpenVPN Client to try first to re-submit a token-based authentication (acquired from a previous authentication).
The Client would not have to re-authenticate via the web browser if the provided token is still accepted by openvpn-auth-oauth2, and if the token is expired, then redirect the Client to a WEB_AUTH process.
Additional information
I'm not sure if this is doable actually, for two root causes :

Not sure if the auth-token generated is not invalidated when the client disconnect
Not sure that the client is able to save this auth-token values and re-submit it.

Acceptance Criteria

[] After successful login via WEB_AUTH, a client can disconnect for a certain period of time (i.e. go to lunch) and reconnect without the WEB_AUTH browser call thanks to his saved previously generated token.

Preflight Checklist

[X] I could not find a solution in the documentation,
the FAQ, the existing issues or discussions.

Great idea! But one question: Instead propose a potential solution, why you are just not implemented it?
The idea to use  auth-gen-token is compatible with openvpn-auth-oauth2 and is described here: https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Non-interactive-session-refresh#non-interactive-session-refresh-across-disconnects

Thank you for your reply.
You provided us the information we missed about token invalidation on active disconnect.
After changing our VPN client (Tunnelblick) settings to prevent an active disconnect, we noticed that the client re-used cached credentials and skipped WEB_AUTH.
2024-12-17 09:11:59.997515 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
....
                           WWWRRWR1734423120.069612 14000002 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bits RSA, signature: RSA-SHA256, peer temporary key: 253 bits X25519

We are delighted with the OpenVPN-Auth-OAuth2. Thank you for your great work.


Add identifiers field

This PR fixes #85 as described in https://github.com/citation-file-format/citation-file-format/issues/85#issuecomment-552432806.

Test will fail as cffconvert cannot find 1.1.0 schema (yet).

[x] verified that the tests work as expected using this approach https://github.com/citation-file-format/citation-file-format/pull/95#issuecomment-552468217
[ ] checked documentation

Currently unable to run a quick pykwalify test as you had for #95 (https://github.com/citation-file-format/citation-file-format/pull/95#issuecomment-552468217) (on the road), but if it works, feel free to merge @jspaaks.

Guess merging this also fixes #72.

I'm a bit in delay with this merge, but thanks for including me in the discussion..
Just commented the enum of types, because Software Heritage might not be the best example of known identifiers :-)

Thanks Morane! We'll ask people at the Registries workshop today for suggestions on how to include their own identifiers as well. And will look at how to include those from your list that are missing after that.


Add contributors to README

As soon as https://github.com/alexarchambault/argonaut-shapeless/pull/41 is merged.

Fixed by https://github.com/alexarchambault/argonaut-shapeless/commit/cd7fe353b29a970babf4bb33c158b5eae370a9f7.


How to gift

Hi I have the bot all set up and I'm just wondering how do I give a gift to someone and if anything needs to be put in the gift list

To give out gifts, simply enter the values you want in the config.json like so:
"gift_list": {
    "pokemon": {
	"egg": 10,
	"egg-manaphy": 2,
	"coffee": 1
    },
    "lootbox": {
	"bronze": 1,
	"legendary": 3
	}
    },

And then just have the user type your bot's command prefix followed by the gift command.
I forgot to document how to add gifts so thanks for reminding me, but another thing to note is that the gift feature is also pretty open. You can pretty much add anything else as a pokemon, hence the coffee being there, so do take note as the feature doesn't do spell-checks for the pokemon that exists in the bot's dictionary.


Issue with _retrieved_at on resource edit

Hi,
I am trying the crud package, it's really cool. However, I have an issue while editing a resource. I tried with a blank Laravel project User model. When saving my updates, I get the following error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column '_retrieved_at' in 'field list' (SQL: update `users` set `_retrieved_at` = 2021-01-11T13:18:32.000000Z, `users`.`updated_at` = 2021-01-11 13:20:05 where `id` = 1)

The issue seems to be the parameter in the EditScreen commandBar in "src/Screens/EditScreen.php". Is there something I have to disable I don't know about?
Thanks a lot!

I have the same on an newly created resource

I have the same on an newly created resource

Hotfix with the release 2.5.1

Hotfix with the release 2.5.1

Lovely! Thx

Lovely! Thx


Configuration router_bind_all_interfaces is not working

Describe the bug
I set router_bind_all_interfaces: true in ~/.ddev/global_config.yaml but my site is still available only from localhost.
To Reproduce
Steps to reproduce the behavior:

Either edit ~/.ddev/global_config.yaml and set router_bind_all_interfaces: true or use the command  ddev config global --router-bind-all-interfaces=true. (I tried both.)
Check the assigned ports with ddev describe.
Check the active ports with sudo netstat -lntp.
Visit the site from another computer on the same network.

Expected behavior
I expect the ports I find in Step 2 to be open to all interfaces in Step3.
I expect to see my site in a browser in Step 4.
Screenshots
How about screen dumps instead of shots?
Step 2:
$ ddev describe
NAME        TYPE     LOCATION            URL                           STATUS
demo-site2  drupal8  ~/sites/demo/site2  https://demo-site2.ddev.site  running

Project Information
-------------------
PHP version:   	7.3
MariaDB version
MySQL version

URLs
----
http://demo-site2.ddev.site
http://<IP_ADDRESS>:32792
https://demo-site2.ddev.site
https://<IP_ADDRESS>:32791

MySQL/MariaDB Credentials
-------------------------
Username: "db", Password: "db", Default database: "db"

or use root credentials when needed: Username: "root", Password: "root"

Database hostname and port INSIDE container: db:3306
To connect to db server inside container or in project settings files:
mysql --host=db --user=db --password=db --database=db
Database hostname and port from HOST: <IP_ADDRESS>:32790
To connect to mysql from your host machine,
mysql --host=<IP_ADDRESS> --port=32790 --user=db --password=db --database=db

Other Services
--------------
MailHog:   	http://demo-site2.ddev.site:8025
phpMyAdmin:	http://demo-site2.ddev.site:8036

DDEV ROUTER STATUS: healthy
ssh-auth status: healthy

Step 3:
$ sudo netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      910/systemd-resolve
tcp        0      0 <IP_ADDRESS>:32790         <IP_ADDRESS>:*               LISTEN      3339/docker-proxy
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      6079/sshd
tcp        0      0 <IP_ADDRESS>:32791         <IP_ADDRESS>:*               LISTEN      3486/docker-proxy
tcp        0      0 <IP_ADDRESS>:32792         <IP_ADDRESS>:*               LISTEN      3498/docker-proxy
tcp6       0      0 :::32788                :::*                    LISTEN      3511/docker-proxy
tcp6       0      0 :::22                   :::*                    LISTEN      6079/sshd
tcp6       0      0 :::8025                 :::*                    LISTEN      4304/docker-proxy
tcp6       0      0 :::443                  :::*                    LISTEN      4336/docker-proxy
tcp6       0      0 :::8036                 :::*                    LISTEN      4278/docker-proxy
tcp6       0      0 :::80                   :::*                    LISTEN      4361/docker-proxy

Version and configuration information (please complete the following information):

Host computer OS and Version: Ubuntu 18.04 (bionic)
Docker version information

$ docker version
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:29:52 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:28:22 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

ddev version information

$ ddev version
DDEV-Local version	v1.13.0
commit            	v1.13.0
db                	drud/ddev-dbserver-mariadb-10.2:v1.13.0
dba               	phpmyadmin/phpmyadmin:5
ddev-ssh-agent    	drud/ddev-ssh-agent:v1.13.0
docker            	19.03.5
docker-compose    	1.25.0-rc4
os                	linux
router            	drud/ddev-router:v1.13.0
web               	drud/ddev-webserver:v1.13.0

config.yaml contents for the misbehaving project

$ cat .ddev/config.yaml | grep -v ^# | grep -v ^$
APIVersion: v1.13.0
name: demo-site2
type: drupal8
docroot: web
php_version: "7.3"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
nfs_mount_enabled: false
provider: default
use_dns_when_possible: true
timezone: ""

Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them? No

Additional context
The host computer is a VM (Vagrant, VirtualBox). This might cause all sorts of problems, but see the following comments.
As the screendumps show,

MailHog and phpMyAdmin are running on ports 8025, 8036.
These two ports are available on all interfaces.

Sure enough, when I visit http://<IP_ADDRESS>:8025 or http://<IP_ADDRESS>:8036 in my browser, I see those two services. (I have configured the IP address of my VM to be <IP_ADDRESS>.)
I started the site before setting router_bind_all_interface: true, but then I did
ddev poweroff
ddev delete --omit-snapshot --yes demo-site2

before starting it again.

Your netstat command seems to show ports 80 and 443 being listened to on all interfaces:
tcp6       0      0 :::443                  :::*                    LISTEN      4336/docker-proxy
tcp6       0      0 :::80                   :::*                    LISTEN      4361/docker-proxy

Here's what I see on Ubuntu 18.04 when set up normally (listening only on <IP_ADDRESS>):
$ sudo netstat -lntp | egrep ":(80|443)"
tcp        0      0 <IP_ADDRESS>:80            <IP_ADDRESS>:*               LISTEN      21262/docker-proxy
tcp        0      0 <IP_ADDRESS>:8025          <IP_ADDRESS>:*               LISTEN      21199/docker-proxy
tcp        0      0 <IP_ADDRESS>:443           <IP_ADDRESS>:*               LISTEN      21231/docker-proxy
tcp        0      0 <IP_ADDRESS>:8036          <IP_ADDRESS>:*               LISTEN      21167/docker-proxy

And here's what I see when set up with router-bind-all-interfaces:
$ sudo netstat -lntp | egrep ":(80|443)"
tcp6       0      0 :::80                   :::*                    LISTEN      12450/docker-proxy
tcp6       0      0 :::8025                 :::*                    LISTEN      12416/docker-proxy
tcp6       0      0 :::443                  :::*                    LISTEN      12434/docker-proxy
tcp6       0      0 :::8036                 :::*                    LISTEN      12383/docker-proxy

I don't actually know why netstat switches from using the tcp header to tcp6; I imagine it's simplifying the output.
You don't mention what OS and variant you're using. I've inferred that it's Linux because of the netstat command you used? If you provide that info it will help.
Note that you do not need to ddev delete at all here, you only need to ddev poweroff (to kill off the ddev-router, which is what is doing the binding/listening on those ports)
I imagine you already know that you have to provide name resolution separately to your remote computer. When your remote computer (the host?) looks up "demo-site2.ddev.site", it's going to get <IP_ADDRESS>, which is absolutely not going to get you connected to your ddev computer. You'll either have to provide an entry in the /etc/hosts of the remote computer pointing to the one where ddev is running, or run a local DNS, or whatever.  ddev-router uses the name header to sort out where to send the request.

You don't mention what OS and variant you're using.

The VM (where Docker and Ddev are running) has
Host computer OS and Version: Ubuntu 18.04 (bionic)
as I said at the top. That is where I ran netstat. The actual computer is also running Linux: Pop!_OS 19.10, which is basically Ubuntu 19.10 (eoan).

... you only need to ddev poweroff

Thanks. That is good to know.

When your remote computer (the host?) looks up "demo-site2.ddev.site" ...

It never has to do that, since I enter something like http://<IP_ADDRESS>:8025/ (MailHog) or http://<IP_ADDRESS>:8036/ (phpMyAdmin) in the browser.
Maybe I misunderstand: is the intention of router_bind_all_interface: true just to expose ports 80 and 443 (or whatever is used for HTTP and HTTPS) and not the individual ports for each running site? Is it just an accident that MailHog and phpMyAdmin are exposed?

router_bind_all_interfaces is for the router, which is what proxies ports 80 and 443 and 8025 and 8036. It does nothing with the localhost ports that are automatically bound to localhost.
The router can't route anything without a host header, so http://<IP_ADDRESS>:8025/ can't get you to the right place.
You can use curl -H Host: <hostname> to access things like that, and you can add host headers with various browser addons. But the router needs hostnames to be able to route.
Maybe I'm not understanding your question yet, in which case let's keep going.

If you want the ephemeral ports for a specific project (only http and https) to be on <IP_ADDRESS>, you can do that with a docker-compose.bindall.yaml,
version: '3.6'
services:
  web:
    ports:
    - "<IP_ADDRESS>:$DDEV_HOST_WEBSERVER_PORT:80"
    - "<IP_ADDRESS>:$DDEV_HOST_HTTPS_PORT:443"

That is close. When I try that, the web container fails to start, and I think this is the relevant part of the error message:
Error starting userland proxy: listen tcp <IP_ADDRESS>:59018: bind: address already in use

The port is 59018 because that is what I set in .ddev/config.yaml for HTTPS (and 59017 for HTTP).
I replaced the two environment variables with different numbers (49017 and 49018) and now I can access the site at http://<IP_ADDRESS>:49017 or https://<IP_ADDRESS>:49018.
That will work for my purposes. I can manage a small YAML file for each site I set up.
Thanks for the help!

You can do a ddev poweroff (or even just ddev stop and then ddev start again, you're right about the cause.  And this seems like a pretty good strategy for your need.

It sounds like this is resolved. In the end, you were interested in using a port-specific binding for each project, which can be accomplished at the project level. router_bind_all_interfaces is for system-level exposure via the ddev-router, and requires some kind of name resolution in the local network to be able to work.
Happy to continue the conversation here, closing for now.


Enter Fiat Details Screen

AC:

After a user taps on a FiatConect provider in the SelectPayments screen they are taken to a new screen to enter their fiat account details
A user can enter their account details, click 'Save & Continue', and their fiatAccount details are saved with the fiatconnect partner.
All response types and error codes from the spec are handled or logged including success, ResourceExists, UnsupportedSchema, InvalidSchema
For the first FiatAccount schema add basic syntax checking. (Should be some in the schema)

ENG:

Tapping 'Save & Continue' does not need to take the user to the next screen yet.
Run the "Validation" when the user presses 'Save and Continue'

Figma

estimated 3 points rolling over into next sprint


Dev Task: Password hashing

Kinda unsafe to store passwords as is.
Godot has a String.hash() function for this purpose.
There's also the HashingContext class but no idea if it applies to this.
The Crypto class can be used for encryption as well.
Hashing merely turns an object, in this case a String, into an int.
Hashing a String will always return the same result every time, but there is no way to "un-hash" the numbers to get the original String. This allows the user to use a String as usual, but the server only ever receives a hash of the password to store and compare.

Currently the password is not hashed for the json backend but it is for the sql backend.
This is done for debugging reasons for which the json backend should only be used.
On the deployed server the password is stored using BCrypt which is widely used to safely store passwords in databases.
(Closing this ticket, feel free to reopen it if you disagree)


[Snyk] Upgrade html-snapshots from 2.7.0 to 2.7.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade html-snapshots from 2.7.0 to 2.7.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 4 days ago, on 2023-08-10.

Release notes

Package name: html-snapshots

2.7.1 -<EMAIL_ADDRESS>

2.7.0 -<EMAIL_ADDRESS>

    from html-snapshots GitHub release notes

Commit messages

Package name: html-snapshots

5637183 Merge pull request #447 from localnerve/rc-2.7.1
8e0fea9 @ 2.7.1 -<EMAIL_ADDRESS>35b08a1 Merge pull request #446 from localnerve/snyk-upgrade-053f3fd0511514373d0853f2bfb58f12
1a6558b fix: upgrade html-snapshots from 2.6.1 to 2.7.0
dc30e5c Merge pull request #444 from localnerve/snyk-upgrade-81d03d28fb6f2216c7f7f57d8066077d
cc79e7d fix: upgrade html-snapshots from 2.6.1 to 2.7.0

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 99.245%. remained the same when pulling bf0aa0279b39ebd5691abe665834ec4a094b5f65 on snyk-upgrade-87591130b43f94d6c8ea281f52136900 into d47ece826f77290cfde5439df56dbb2fdb2db88e on master.


feat: Remove <IP_ADDRESS> from start and restart message, place in one function, fixes #6500

The Issue

#6500

We don't want to output the <IP_ADDRESS> URL when the router is enabled.
How This PR Solves The Issue
Only shows the primary URL when the app is started/restarted
Manual Testing Instructions
Run ddev stop && ddev start or ddev restart. Then you should see the updated output on the final line:
"Your project can be reached at mysite.ddev.site - see ddev describe for alternate URLs"
With the router omitted you should see the <IP_ADDRESS> URL.
Run: ddev config global --omit-containers=ddev-router && ddev restart
Automated Testing Overview
Updated TestCmdRestart and TestCmdStart
Release/Deployment Notes

Done!

@davearch Your improvement made it onto ddev.com thanks to @stasadev !

cool!


Add a check for existing version that is a stored version being removed

This builds on top of #661 and focuses on adding a check to ensure that performing an update operation to a CustomResourceDefinition does not result in an existing version that is a stored version being removed.
If the proposal for adding this functionality to carvel-dev/kapp has been accepted prior to starting this work, all changes should be made against  carvel-dev/kapp, otherwise the changes should be made against https://github.com/everettraven/kapp/tree/feature/crd-upgrade-safety-preflight

Done in carvel-dev/kapp as of https://github.com/carvel-dev/kapp/pull/901 - closing


Optimize translation of string.{Starts,Ends}With

If the pattern is constant, we now escape it client-side and send a
simple LIKE expression - no need for LEFT(LEN())
Merged the StartsWith and EndsWith translators for each provider

Fixes #14657

Providers fyi?

Sure thing. Note that this is a purely provider-internal implementation detail, so no need for other providers to do anything unless they want to copy the same optimization.

unless they want to copy the same optimization.

Thanks!

@roji - Would you like to submit this fix to new query pipeline?

@smitpatel oh so there's no point in this PR as it is, against current master? Is your branch already in a state where it can receive this (and pass tests)?

Precisely, I already deleted that file in new pipeline. My branch can receive changes and pass certain translation tests but the whole branch does not pass fully yet. It has hard dependency on new nav-rewrite.

OK, no problem, will resubmit this against your branch then.

It will be a good opportunity to start seeing what's going on in there :)


Added the eslint rule to help with import order and ran the fix

Motivation
In a previous PR it was pointed out that the preferred order for imports should be:

Non-chainsafe modules
@ chainsafe modules
Local paths

This PR enforces this via eslint to make it more applicable. It also updates existing import to adhere with the import rule

Can we block this until we land ESM support?
If this rule can be auto-fixed, it should be very easy to rebase this on master after that.

ready for rebase off master

tests still erroring

I think I made conflicts with #4064


Document Process on Enabling Feature Preview in GitHub

User Need
As a GitHub User
I want to understand how to use the feature preview on GitHub
so that I'm aware of and can trial upcoming functionality
Functional Requirements:

A new Runbook will be needed to outline the process on enabling feature preview in GitHub

Acceptance Criteria:

Has a new runbook been created?
Do we understand the contents of the runbook?
Has this information been presented to the GitHub community?

Notes:

Not going to progress.


DEPRECATION: Uninstalling a distutils installed project (mpmath) has been deprecated [...]

When trying to uninstall a pip-installed mpmath, one gets the deprecation warning
$ sudo -H pip uninstall mpmath

DEPRECATION: Uninstalling a distutils installed project (mpmath) has been deprecated
and will be removed in a future version. This is due to the fact that uninstalling
a distutils project will only partially uninstall the project.

Switching to setuptools wouldbe an option.

FYI this is not a problem with mpmath (I haven't contributed here but I am familiar with how the python packaging system works). pip automatically invokes setuptools to install a project, regardless of what is in setup.py. If this has happened, then it is a pip bug.

I doubt it's relevant now.
$ pip uninstall --verbose -y mpmath
Found existing installation: mpmath 1.3.0
Uninstalling mpmath-1.3.0:
  Removing file or directory /home/sk/src/mpmath/tmp/lib/python3.11/site-packages/mpmath.egg-link
  Removing pth entries from /home/sk/src/mpmath/tmp/lib/python3.11/site-packages/easy-install.pth:
  Removing entry: /home/sk/src/mpmath
  Successfully uninstalled mpmath-1.3.0
$ grep setup_r setup.cfg
setup_requires = setuptools>=36.7.0


Improvements to Daily Benchmarks Script

Issue summary
Implement improvements to benchmarking script:

[ ] Add a "peak" memory benchmark step to /forest/scripts/benchmark_db/bench.rb.
For example, once a snapshot has been imported and the node synced up to HEAD, let it run for 2 hours and measure how RSS and VSZ are evolving. This should help pinpoint if a regression occurs (i.e., a memory leak is introduced).
[ ] Create common error handler.
[ ] Other improvements/optimizations as needed (e.g., long form command line options, modify private module designations, etc.).
[ ] Check preconditions before running script (enough disk space and ulimit -n is correctly set).
[ ] Delete cloned git repos at the end of script instead of after each client run.
[ ] Investigate and fix issue with missing gems when using bundle install.

Other information and links
Proposed during discussions under issue #2208.

Tasks moved to tracking issue in forest-iac.


Keycloak task does not add redirect-urls for team apps

Description
From the picture below, for each team the https://apps.<team-id>/<cluster-url> needs to be added to Valid Redirect URIs and Web Origins.

should this be in tasks or in core @j-zimnowoda as I believe callback urls get constructed there?

Good point I will transfer it to otomi-core


In an example of Spinner using, the font_name property just work on text property ,instead of all values. The representation is not as expected

Software Versions

Python: Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
OS:  Windows-10-10.0.18362-SP0
Kivy:  1.11.1
Kivy installation method:  Wheel

Describe the bug
In an example of Spinner using, the font_name property just work on text property ,instead of all values. The representation is not as expected.
The text property is shown normally, but other elements can not be shown as font_name property seted when instance of spinner class is pressed.
Expected behavior
All values should be as font_name property seted when instance of spinner class is pressed.
To Reproduce
As bellow.
Code and Logs and screenshots

// REPLACE ME: Paste your code and logs here, a template can be found at https://git.io/vM1id.
// My code：
from kivy.base import runTouchApp
from kivy.uix.spinner import Spinner

values = ["家里","办公室","俱乐部","其他"]  # Chinese
spinner = Spinner(
    font_name="黑体",
    values=values,
    text=values[0],
    size_hint=(None, None),
    size=(200, 44),
    pos_hint={'center_x': .5, 'center_y': .5},
    text_autoupdate=True)

def show_selected_value(spinner, text):
    print('下拉框 ', spinner, ' 的文本是：', text)

spinner.bind(text=show_selected_value)
runTouchApp(spinner)

// Text in the log file:
[INFO   ] Logger: Record log in C:\Users\MasterWell\.kivy\logs\kivy_20-03-20_35.txt
[INFO   ] deps: Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO   ] deps: Successfully imported "kivy_deps.angle" 0.1.10
[INFO   ] deps: Successfully imported "kivy_deps.glew" 0.1.12
[INFO   ] deps: Successfully imported "kivy_deps.sdl2" 0.1.23
[INFO   ] Kivy: v1.11.1
[INFO   ] Kivy: Installed at "D:\Output\python\ENVS\kivy\lib\site-packages\kivy\__init__.py"
[INFO   ] Python: v3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)]
[INFO   ] Python: Interpreter at "D:\Output\python\ENVS\kivy\Scripts\python.exe"
[INFO   ] Logger: Purge log fired. Analysing...
[INFO   ] Logger: Purge 26 log files
[INFO   ] Logger: Purge finished!
[INFO   ] Factory: 184 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] Text: Provider: sdl2
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: GLEW initialization succeeded
[INFO   ] GL: Backend used <glew>
[INFO   ] GL: OpenGL version <b'4.5.0 - Build <IP_ADDRESS>77'>
[INFO   ] GL: OpenGL vendor
[INFO   ] GL: OpenGL renderer
[INFO   ] GL: OpenGL parsed version: 4, 5
[INFO   ] GL: Shading version <b'4.50 - Build <IP_ADDRESS>77'>
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <32>
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[INFO   ] Base: Start application main loop
[INFO   ] GL: NPOT texture support is available
// Screenshot:

Additional context
Nothing more.

@tshirtman   Can you see it above and give me some advice?

By how ?  Could you tell me how to do that ? I did not find how to set the item class, so it seemed like a bug.
发件人: Gabriel Pettier
发送时间: 2020年3月20日 22:00
收件人: kivy/kivy
抄送: YouMuStudio; State change
主题: Re: [kivy/kivy] In an example of Spinner using, the font_nameproperty just work on text property ,instead of all values. The representationis not as expected (#6788)
You can set the item class to something with a custom font.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

the option_cls attribute of the Spinner class allows you to do that https://kivy.org/doc/stable/api-kivy.uix.spinner.html#kivy.uix.spinner.Spinner.option_cls


Add Grafana Faro to the frontend

@dgzlopes I'm happy to try and set this up :) I'm learning more about Grafana Faro this quarter


Enhanced Drag and Drop Matrix Ranking stores incorrect values

In the attached test project
attached test project, incorrect values are stored for the Enhanced Drag and Drop Matrix Ranking. To reproduce, you can follow these steps:

Enable the Survey UI Tweaks EM on the project, and configure the Enhanced Drag and Drop Matrix Ranking for matrix group name tasks.
Open the survey.
Drag the tasks from left to right in the order Task 1-2-3.
Drag the tasks from right to left in the order Task 3-2-1.
Observe that, in the descriptive field below the matrix, a value for task 2-3 is stored, while the tasks are not ranked.

I have also observed similar behaviour for items that were effectively ranked, but where the ranking is incorrectly stored. This can lead to incorrect research results, so could be considered as a critical bug. Could this bug be fixed?

Seeing the same behavior in RC v10.6.28 and Module v1.1.6

Hi, apologies for the LATE reply.  Hadn't been monitoring the issues list here.
But just submitted a fix  sha 6cc28df0bfb1cfd447f81a581054387b140fead1 last week.
There was a race condition between a default REDCap click event and the enhanced js.
The fix unbinds the default click when the MAtrixRanking option is selected.


[yaml-cpp] Application links always against release version

Describe the bug
Since yaml-cpp got upgraded to 0.7.0 in https://github.com/microsoft/vcpkg/pull/19272, projects built in Debug mode link against the release version of the library leading to ABI incompatibilities.
Below a shortened sample output during build of the application in Debug mode. Notice how it is correctly linking against the debug build of boost but uses the release version of yaml-cpp.
 [...]  -- C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe  [...]  vcpkg_installed\x64-windows\debug\lib\boost_program_options-vc140-mt-gd.lib  vcpkg_installed\x64-windows\lib\yaml-cpp.lib  [...]
Also yaml-cppd.dll is not copied to the output directory.
Environment

OS: Windows
Compiler: MSVC 19.29.30133

To Reproduce
Steps to reproduce the behavior:

./vcpkg install yaml-cpp
Build application in debug mode

Expected behavior
Application links against debug version of yaml-cpp and yaml-cppd.dll is copied to the output directory.

Do you have a custom cmake file for yaml or how do you find the lib? I think the debug lib is called libyaml-cppd (at least on mac)

Can you test #19703?

Do you have a custom cmake file for yaml or how do you find the lib? I think the debug lib is called libyaml-cppd (at least on mac)

Nope, no custom find module.

Can you test #19703?

Thanks for the quick fix! It resolves the issue for me. Application build tested in Debug and RelWithDebInfo configuration. It correctly links against yaml-cppd.dll with the former config and against yaml-cpp.dll with the latter. Can't test with other OSs though, since I'm using vcpkg only on Windows.


make tables always full width - expand last column

this is how it looked before:

after it will expand the last column to the full size

Hi @wodka, thanks for contributing. A couple notes.

Please point all PRs to the dev branch!

It looks like this fix can squish columns, like in this example:

Applying the PR results in the table above looking like this instead:

Do you have a way to provide this functionality without squishing? Full width tables look great, but I don't think we can allow other columns to be squished.

(Going to close since this is against master instead of dev, but feel free to reopen on the other branch!)


Fix erroneous slashes

I have to apologise, because I made some mistakes manually inputting these recently.

My fault then, getting confused because for so long we had the form without trailing slashes. I changed them thinking it was correct, then confused myself again :D


EnvKey logs not updating

My logs in the EnvKey app are not updating. When I click the Logs tab in the app, the most recent logs available are from nearly a month ago. To be sure, I can see activity in the log files located in the ~/.envkey/logs directory, but these don't seem to correlate to the log data in the app. What can I do to correct this?

Because of the wind-down you've announced, I don't think keeping this issue open makes much sense. EnvKey was a great project; it's a shame to see it go. But I understand the challenge of maintaining a project totally (or mostly) solo.
I wish you the best of luck in your future endeavors.

Thank you @miquelbrazil, I appreciate the kind words and understanding.


iOS targets

It would be nice if you published ios targets 😃
But you can do it from macOS only.
https://repo1.maven.org/maven2/io/github/piruin/

Is it needs? Because geok has no iOS specify code, MultiPlatform should be enough. Correct me if I am misunderstood.

You are right. But you should publish ios artifacts for projects with ios target. There isn't way to use common part without published artifacts for all platform.

https://discuss.kotlinlang.org/t/is-it-possible-to-use-common-kotlin-library-not-multiplatform-in-kotlin-multiplatform-commonmain-jvm/17441

ios target has been published as 1.2.2. 🍺

I added to https://github.com/terrakok/kmm-awesome/blob/master/README.MD#-utils


[WIP]: Allow the Debug Actions Widget to be Dragged Vertically

This PR is one of two solutions that I propose in which fixes #2513. The other PR is #49099
While, I prefer the other solution over this one, this solution is far simpler. This solution allows the user to drag the debug actions widget vertically which would let the user to drag the bar away from anything that is being covered by the bar.
Tagging @isidorn on this

Thanks for your PR. Currently we do not have any other UX item that floats around, thus I am generally against this solution.
But let's keep this PR open as plan B.

Thanks for the PR we landed on a different solution which I covered here https://github.com/Microsoft/vscode/issues/2513
Thus closing this


Fix "should succeed with the kubevirt cluster being deleted" unit test

What this PR does / why we need it
This unit test is broken. This PR fixes it by populating the KubevirtClusterReconciler.APIReader field in unit-test, for mocking.
In addition, this PR also fixes the hack/kccm-flavor-gen.sh script so it will
replace the hard coded names with the right variables.
Which issue this PR fixes
fixes #258
Release notes:
None

/ok-to-test

/lgtm
/approve

/lgtm
thanks for fixing @nunnatsa


Firestore pagination with a map field using the Python Admin SDK ends with error

Describe your environment

Operating System version: Debian GNU/Linux 9.8 (stretch)
Firebase SDK version: 2.16.0
Library version: 2.16.0
Firebase Product: firestore

Describe the problem
I'm trying to paginate a collection using a map field, but I get an error when trying to fetch the second page:
l050ZZ1bAsBddd7hE1GD => {'wordcount': {'page3': 130, 'page2': 120, 'page1': 100}, 'availability_date': DatetimeWithNanoseconds(2019, 3, 4, 6, 0, tzinfo=<UTC>), 'count': 100}
JCn6BxwfEDIvirnkMyOf => {'wordcount': {'page3': 180, 'page2': 120, 'page1': 150}, 'availability_date': DatetimeWithNanoseconds(2019, 3, 4, 6, 0, tzinfo=<UTC>), 'count': 150}
nfW0ybNz4WPGWtikfVK2 => {'count': 200, 'wordcount': {'page3': 50, 'page2': 100, 'page1': 200}}
last value: 200
Traceback (most recent call last):
  File "/home/ctorres/.local/lib/python3.5/site-packages/google/cloud/firestore_v1/query.py", line 642, in _normalize_cursor
    values.append(field_path_module.get_nested_value(order_key, data))
  File "/home/ctorres/.local/lib/python3.5/site-packages/google/cloud/firestore_v1/field_path.py", line 243, in get_nested_value
    raise KeyError(msg)
KeyError: "'wordcount' is not contained in the data"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "firestore_pagination.py", line 28, in <module>
    docs_list = list(docs)
  File "/home/ctorres/.local/lib/python3.5/site-packages/google/cloud/firestore_v1/query.py", line 736, in stream
    self._to_protobuf(),
  File "/home/ctorres/.local/lib/python3.5/site-packages/google/cloud/firestore_v1/query.py", line 675, in _to_protobuf
    start_at = self._normalize_cursor(self._start_at, orders)
  File "/home/ctorres/.local/lib/python3.5/site-packages/google/cloud/firestore_v1/query.py", line 645, in _normalize_cursor
    raise ValueError(msg)
ValueError: The "order by" field path 'wordcount.page1' is not present in the cursor data {'wordcount.page1': 200}. All fields sent to ``order_by()`` must be present in the fields if passed to one of ``start_at()`` / ``start_after()`` / ``end_before()`` / ``end_at()`` to define a cursor.

Attached code:
requirements.txt
firestore_pagination.txt
Steps to reproduce:

Create a collection with several documents including a map field
Rename firestore_pagination.txt to firestore_pagination.py
Create a new virtualenvironment
Install requirements.txt
Set the variable GOOGLE_APPLICATION_CREDENTIALS to a valid service account file
Run the script

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
The equivalent query for nodejs works without issue, so I'm assuming that this is supported although it's not explicitly mentioned in the documentation.
Relevant Code:
firestore_pagination.py
import firebase_admin
from firebase_admin import firestore

firebase_admin.initialize_app()

db = firestore.client()

pages_ref = db.collection('pages')

first_query = pages_ref.order_by('wordcount.page1').limit(3)
docs = first_query.get()

docs_list = list(docs)

for doc in docs_list:
    print(u'{} => {}'.format(doc.id, doc.to_dict()))

last_value = docs_list[-1].to_dict()[u'wordcount'][u'page1']

print('last value: {}'.format(last_value))

next_query = pages_ref.order_by(u'wordcount.page1').start_after({u'wordcount.page1': last_value}).limit(3)
docs = next_query.get()

docs_list = list(docs)
print(len(docs_list))

@crwilcox can somebody from your team please take a look?

@torresalmonte Thanks for filing this issue. If you are blocked by this, you might get more traction in the googleapis/google-cloud-python repo. I have opened a issue for you there:  https://github.com/googleapis/google-cloud-python/issues/7756

Thanks @schmidt-sebastian. I will close this, and we can track the issue further on google-cloud-python repo.


[Event Request] table 5965  "Service Contract Header" - OnAfterShowDocDim

Hello, would it be possible to add OnAfterShowDocDim event to table 5965  "Service Contract Header", like this:
    procedure ShowDocDim()
...
            DimMgt.EditDimensionSet(
             Rec, "Dimension Set ID", StrSubstNo('%1 %2', "Contract Type", "Contract No."),
             "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code");

>         OnAfterShowDocDim(Rec); //New Event
     end;

     local procedure CalcInvPeriodDuration()
     begin

     [IntegrationEvent(false, false)]
     local procedure OnAfterShowDocDim(var ServiceContractHeader: Record "Service Contract Header")
     begin
     end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10531.


Why remove openssl1.0.2j and install 1.1.1g, ssh cant login to server? how to solve?

Did you replace the system-provided OpenSSL?  If so, that was a bad mistake.

I have executed rpm -e openssl1.0.2 and now can't ssh to server.
I try do an experiment because my service need libevent and mysqlclient.
libevent need libssl1.1 and mysqlclient need libssl1.0, so i try to remove openssl1.0 and compile mysqlclient as as to make mysqlclient use ssl1.1.


Filter build workflow by branch

Purpose

$subject.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #23708   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

Continue to review full report at Codecov.

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


How to enable repeatermode

Hi,
First thank you all for the great work!
Just a question: is it possible to enable repeater mode for the raspi module or USB stick with some message?

yes it is! not all devices support it though ... do you use the library directly or vie node-red?

I use the node-red-contrib-enocean 0.7.5

send this:
ESP3Packet.from({
   data: [0x09, 0x01, 0x02],
   packetType: 5
})

or simply
5500030005a609010221

first parameter (0x09) : command code
second parameter (0x01) : enable repeater (non selective). can be 0x02 for selective repeating
third parameter (0x02) : repeater level (repeates already repeated telegrams) set to 0x01 for only direct repeating

if you get back:<PHONE_NUMBER>650000 setting repeater mode was successful

here is an example flow showing both methods. if you see "RET_WRONG_PARAM" the feature is not supported by your device.
[{"id":"e73c744b.5e0cd8","type":"tab","label":"Flow 11","disabled":false,"info":""},{"id":"7812700d.26a1d","type":"enocean-out","z":"e73c744b.5e0cd8","serialport":"5ffd4f8d.f6fab","name":"","logOutput":true,"x":740,"y":80,"wires":[["22c66668.01b59a"]]},{"id":"e183c8fd.798298","type":"inject","z":"e73c744b.5e0cd8","name":"ON (unfiltered)","topic":"","payload":"5500030005a609010221","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":40,"wires":[["7812700d.26a1d"]]},{"id":"22c66668.01b59a","type":"debug","z":"e73c744b.5e0cd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":80,"wires":[]},{"id":"1c321c7f.fcfd14","type":"function","z":"e73c744b.5e0cd8","name":"","func":"const Enocean = global.get('Enocean')\n\nvar tel = Enocean.ESP3Packet.from({\n   data: [0x09, msg.payload.mode, msg.payload.level],\n   packetType: 5\n})\n\nreturn {payload: tel.toString()};","outputs":1,"noerr":0,"x":730,"y":220,"wires":[["7812700d.26a1d"]]},{"id":"bec79b58.d95ef8","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater ON (unfiltered)","topic":"","payload":"{\"mode\":1,\"level\":2}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":480,"y":180,"wires":[["1c321c7f.fcfd14"]]},{"id":"1ccc3239.0229ae","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater ON (filtered)","topic":"","payload":"{\"mode\":2,\"level\":2}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":470,"y":220,"wires":[["1c321c7f.fcfd14"]]},{"id":"c5128bb5.2d65d8","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater OFF","topic":"","payload":"{\"mode\":0,\"level\":0}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":260,"wires":[["1c321c7f.fcfd14"]]},{"id":"ecc5e021.4abb2","type":"inject","z":"e73c744b.5e0cd8","name":"OFF","topic":"","payload":"5500030005a60900003a","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410,"y":120,"wires":[["7812700d.26a1d"]]},{"id":"466fff98.cd14","type":"inject","z":"e73c744b.5e0cd8","name":"ON (filtered)","topic":"","payload":"5500030005a60902021e","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":430,"y":80,"wires":[["7812700d.26a1d"]]},{"id":"5ffd4f8d.f6fab","type":"enocean-config-node","z":"","serialport":"/dev/ttyUSB0"}]

likewise, if you send the string<PHONE_NUMBER>700a36 you can read the current repeater mode.
msg.payload.return.data holds 3 Bytes describing the current repeater mode.
Byte0: RET_OK (0)
Byte1: mode, one of: OFF, ON (unfiltered), ON(filtered)
Byte2: level, one of: OFF, level1, level2

this should be documented somewhere... leaving it open for now...

Hi Holger,
In the function of the flow below I get this error:
TypeError: Cannot read property 'ESP3Packet' of undefined
Setting the repeatmode by string works flawless.
Op 4-7-2019 om 06:45 schreef Holger Will:

here is an example flow showing both methods. if you see
"RET_WRONG_PARAM" the feature is not supported by your device.
|[{"id":"e73c744b.5e0cd8","type":"tab","label":"Flow
11","disabled":false,"info":""},{"id":"7812700d.26a1d","type":"enocean-out","z":"e73c744b.5e0cd8","serialport":"5ffd4f8d.f6fab","name":"","logOutput":true,"x":740,"y":80,"wires":[["22c66668.01b59a"]]},{"id":"e183c8fd.798298","type":"inject","z":"e73c744b.5e0cd8","name":"ON
(unfiltered)","topic":"","payload":"5500030005a609010221","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":40,"wires":[["7812700d.26a1d"]]},{"id":"22c66668.01b59a","type":"debug","z":"e73c744b.5e0cd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":80,"wires":[]},{"id":"1c321c7f.fcfd14","type":"function","z":"e73c744b.5e0cd8","name":"","func":"const
Enocean = global.get('Enocean')\n\nvar tel =
Enocean.ESP3Packet.from({\n data: [0x09, msg.payload.mode,
msg.payload.level],\n packetType: 5\n})\n\nreturn {payload:
tel.toString()};","outputs":1,"noerr":0,"x":730,"y":220,"wires":[["7812700d.26a1d"]]},{"id":"bec79b58.d95ef8","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater
ON
(unfiltered)","topic":"","payload":"{"mode":1,"level":2}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":480,"y":180,"wires":[["1c321c7f.fcfd14"]]},{"id":"1ccc3239.0229ae","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater
ON
(filtered)","topic":"","payload":"{"mode":2,"level":2}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":470,"y":220,"wires":[["1c321c7f.fcfd14"]]},{"id":"c5128bb5.2d65d8","type":"inject","z":"e73c744b.5e0cd8","name":"Repeater
OFF","topic":"","payload":"{"mode":0,"level":0}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":260,"wires":[["1c321c7f.fcfd14"]]},{"id":"ecc5e021.4abb2","type":"inject","z":"e73c744b.5e0cd8","name":"OFF","topic":"","payload":"5500030005a60900003a","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410,"y":120,"wires":[["7812700d.26a1d"]]},{"id":"466fff98.cd14","type":"inject","z":"e73c744b.5e0cd8","name":"ON
(filtered)","topic":"","payload":"5500030005a60902021e","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":430,"y":80,"wires":[["7812700d.26a1d"]]},{"id":"5ffd4f8d.f6fab","type":"enocean-config-node","z":"","serialport":"/dev/ttyUSB0"}]
|
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/enocean-js/enocean-js/issues/148?email_source=notifications&email_token=AMQQNKO3EQO7PP4ZOJU2B3TP5V57LA5CNFSM4H5FJS5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZGJP5I#issuecomment-508336117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMQQNKLC3UZ3OCACO5EXCSTP5V57LANCNFSM4H5FJS5A.

--
Kindest regards,
Met vriendelijke groeten,
Albert Peschar
Lapis Electronics BV
Van der Zaenlaan 50
1215 SJ Hilversum
The Netherlands.
Tel.: +31 35 624 35 44
PLEASE NOTE: The information contained in this electronic mail message is privileged and confidential, and is intended only for use of the addressee. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.


Plans for using native plugin manager when available?

On the latest vim we have a native package manager. Are there any plans to use it underneath vim-plug if the feature is available? This way we would have:

single vimrc for old/new vim
the PlugUpgrade feature

Type:

[ ] Bug
[ ] Enhancement
[ ] Feature Request
[x] Question

OS:

[x] All/Other
[ ] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[x] GVim
[ ] Neovim

You mean the "package" stuff? I haven't had a chance to look into it yet. Is it any good?
I'm not sure if I'll want to replace the current implementation with a new feature of Vim. One of the strong points of vim-plug I think is its extremely generous backward compatibility; most features of vim-plug work on Vim 7.0, and I don't want to give it up unless there's a very good reason.

You mean the "package" stuff? I haven't had a chance to look into it yet. Is it any good?

I didn't play with it yet, so I can't tell.

I'm not sure if I'll want to replace the current implementation with a new feature of Vim

I didn't mean to replace the current implementation but to transparently use the new API when available.

AFAIK there are no advantages to using it. It does the exact same thing that vim-plug already does, namely adding directories to rtp.

AFAICT there are no advantages to using it. It does the exact same thing that vim-plug already does, namely adding directories to rtp.

Even if they are the same thing one would do it in C while the other would do it in VimL and I prefer the former, that's all but I'm fine also the way it is today :+1:

@junegunn vim-plug works (tested PlugInstall and PlugUpdate) in Vim 7.2 on Windows because vim-plug uses batchfiles to run commands in :! and system(). I prefer that vim-plug maintains Vim 7 support (at least 7.4) so I don't have use case for :packadd (maybe on the 8.1 release).

One big benefit to vim-plug is that code for ordering is unnecessary. Which also means plug#begin and plug#end can be eliminated (ref/ #615).

@SevereOverfl0w Which version of Vim are you referring for the ordering of packages?

I'm not sure exactly when it came in. I would suspect since very early in packages being introduced. The after directories have to be at the end.

7.4.1840 and 7.4.2164 are required for packages with after/.

Most features of vim-plug work just fine on Vim 7.0 and I'm proud of that. Believe it or not, there are users who have to work with such old versions of Vim from time to time. Not having to write two lines of code or cutting down a couple milliseconds in startup time doesn't seem like a compelling reason to switch. If you really want to use Vim 8 package for some reason, there are alternatives to vim-plug you can use instead.


Password error in console and not working in FF for me

Great idea, congrats!
Using ubuntu 22.04
I set up a testing docker instance with a password on my VPS with my domain name, and get the push messages but only on Chromium and its console raises an error: [DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) <input type="password" class="mdc-text-field__input" placeholder label="Enter login key" id="tf-1" valid="true">…</input>
And even without password (using your demo) Firefox stays mute, no notifications.
I didn't expect the client to be mandated to enter the password, only when calling the API using POST.
Why password is mandatory for client?
Would you please write a little doc about how to implement the browser code within a NodeJS project on another docker instance? Because usually, notifying is useful in an app :)
Also, is there a way to notify only one user?
Thank you!

Hi,
Thanks for your feedback, I can reproduce the Firefox issue (on Windows), and try to fix it next week.
Even though chrome raises this error does the notifications work?
The password is needed for the “signup” endpoint to verify that you are able to sign up, since this does only happen when you “enable” the app you will not get prompt before. -> so it shouldn't be mandatory, can you explain a bit further?
I would really like to provide a NodeJs library in the future.
But there are a couple of reasons, why I probably won't:

I'm not a webcrypto/crypto expert (this project uses a lot of crypto under the hood)
There are other great libraries that are much more battle tested out there like: web-push and pushkit
Most of the code is handling UI and User management, these are application sided duties.
I Personally don't use NodeJS, but I might at some point publish a sdk/library for Deno.

Currently, there is no way to notify only one user, but this should be an easy extension of the API.

FF issu fixed in https://github.com/K0IN/Notify/pull/55

That was quickly fixed! Thank you!

Even though chrome raises this error does the notifications work?

Yes
I'll dig more for now to better grasp the process.


what's the usage of  ' is_train' in forward?

As @piiswrong  mentioned in another issue, if  i want to call backward afterwards, i should set is_train=True. But I noticed that backward op  works well  with is_train=False  in many example codes, such as "neural-style".
On the other hand, when i just need the output. Forward op didn't work with is_train=False and worked well with is_train =True.
I'm confused with the usage of is_train parameter.
I want to ask how  is_train=True affect the output of forward Op?
Is it ok to set all is_train to True?
Anyone explaining this will be appreciated.
Thanks in advance.

A guess about the design principle of is_train is that, if is_train is set to True, the intermediate results of intermediate layers will not be saved and if is_train is set to False, the intermediate results will be saved. This design principle could save memory, because forward computation doesn't need the intermediate?
Is the guess right?

is_train was not related to memory saving, but will only affect some runtime behavior of operators. Currently it is mainly for things like dropout and batchnorm

Thank you very much. I guess i got that finally.


Disambiguate names

This cleans up the names of inputs and outputs so they are consistent across the whole codebase.
It also completes support for namespaces in icicle.
You should now be able to say:
feature "foo:bar" ~> ...

^ should probably add a test for that
! @amosr @tranma

cool, thanks for the notes

I'm happy with the change to requiring a qualified namespace:name in feature definitions, but that might require some operational changes as well?

discussed IRL, I'm happy with the new distinction between input namespace vs output ("feature") namespace, as well as input name vs output name
💯

@amosr, I'm going to push this through, happy to make alterations later if you find anything awry


Problems with Content-Type

We get an error with a Request that has the Content-Type application/octet-stream
The API has the right configuration and is accepting "application/octet-stream".
But the Validator says the Content-Type is application/json
Content_Type_Error.zip

Hi @larswaldeZ, Can you please for a moment enabled Log-Level DATA to see, if the following message is logged:
Header: Content-Type not found. Defaulting to application/json.
If yes, can you confirm the Header: content-type (case insensitive) is given?
FYI: I will change the log level of this message to DEBUG, as it makes more sense.

Version 1.4.1 logs this message on DEBUG instead of DATA to make the problem more obvious.

Hi @cwiechmann
Content-Type header is available in http.content.headers.
I cannot find exactly when the change happened (I remember in old version headers were already separated between content headers and general headers), I just found a security fix about headers in May22, may be that's why content-type is not available anymore in http.headers (RDAPI-23779).
The easiest might be to look for headers values in http.headers and http.content.headers in the validator.

Thanks @jpfaffenzeller for the hint.
@larswaldeZ, please change the scripting filter in a way to merge the http.content.headers into https.header. I have updated the example in the README:


extend

Love Stipple's design over Dash.   Is there a document on adding Quasar components like "autocomplete"??

also this should work right?
Stipple.select(:yfeature; options=:features, **multiple=true**)

Yes, indeed that works, you can even do
multiple=:multiplefeatures and change whether the option field accepts multiple selections by setting model.multiplefeatures[] = true.
But you need to write your own logic in the backend what to do with the value of features.
Also, you have to define yfeatures as a Vector. Luckily, the backend always converts atomic values to 1-element Vectors if the field is a Vector :-)

According to the quasar docs you need to insert   <q-autocomplete     @search="search"     :min-characters="3"     @selected="selected"   /> in the input field. You can either do that manually as a string or use the quasar() function, e.g.
quasar_pure(:autocomplete, "",
    @on(:search, "search"),
    min__characters=R"3",
    @on(:selected, "selected"))

As I am currently on my mobile phone this code is not tested. Concerning registration of QAutocomplete, @essenciary is the specialist.
Good luck. We should include this in a demo if it works!

I see what you mean ..I get
vue.js:634 [Vue warn]: Unknown custom element: <q-autocomplete> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
I have tried Genie.Renderer.Html.register_normal_element("q__autocomplete", context = @MODULE)

It's nevertheless q-select. We chose the API to omit the q- for all elements. So you find item for q-item, toggle for q-toggle, etc.
You can always check the content by entering the expression at the REPL.

I guess it's the same problem as with qtab. Try to use the normal elements with a closing . This automatically happens if you define your own function similar to my example above

this does not solve it .. I am converting to quasar_pure functions to test
          <q-tabs align="left">
            <q-route-tab to="/page1" label="Page One" ></q-route-tab>
            <q-route-tab to="/page2" label="Page Two" ></q-route-tab>
            <q-route-tab to="/page3" label="Page Three" ></q-route-tab>
          </q-tabs>

@cwiese
For the future, please open new issues for new topics, because it's difficult to find anything after a while 😉

Coming back to the router tab:
I think router works differently than you expect. For that to work you have to link the vue router js ànd initialise a router component. For more information have a look at https://router.vuejs.org/guide/#javascript
I propose you open a new issue with a description what you are going to achieve.

@cwiese I close this issue as it is becoming very long.
Please feel free to open a new issue if you think you need router support. As we havie the Genie router in the backend, I think having another router component is rather confusing.

Yes confusing but .. we used Ember.js for a long time and like Single Page Apps (SPA) that have routers that can manage "parts" of the page without visiting the server (except for maybe a REST call for data).  The part we like is a route like /customer/10/item/20 can render a parmet form (customer 10) and and item they purchased expanded Master Detail for example.  THis would be hard with Server generated code (although Ember does it also)

I'd say that the best way to achieve this would be to tap into the Vue ecosystem (https://router.vuejs.org) as in theory it should provide the best implementation. We could add some friendly API to include/interact with Vue router. As @hhaensel said, can you please open a new issue where you provide a MWE?


Provide handlers to converted documents after conversion to PDF

In the current situation, all converted files are written to the filesystem after conversion.
Ideally this should not happen because it requires additional steps to read the contents of the converted documents into session.
This PR is an attempt to phase out the usage of the FS in the Aspose module.
Currently 10 tests are failing, when checking these by hand, it seems that the conversion is succesfull but some things are a little bit different.
Changes:

Write file contents to session instead of filesystem for further direct usage.

Superseded by #5640.


Adding multiple Host(bla.com, ...) or Host(arg1.com)||Host(arg2.com) break global Prefix matches

Do you want to request a feature or report a bug?
Bug
2.0.5
What did you do?
I created a config for the PathPrefix(/apm) to globally route to the apm service with a middleware to remove the path. This works fine with Host entries that have only one domain any more domains any means fails.
What did you expect to see?
I expect it to display the root response of the apm service an all Hosts listed in the rule
What did you see instead?
Exactly what I expected on rules with one host but for ones with multiple Hosts I get a response as if the PathPrefix is not defined.
Output of traefik version:
Version:      2.0.5
Codename:     montdor
Go version:   go1.13.4
Built:        2019-11-14T18:11:01Z
OS/Arch:      linux/amd64
What is your environment & configuration (arguments, toml, provider, platform, ...)?
apm:
   labels:
      traefik.enable: "true"
      traefik.docker.network: docker-traefik_private
      traefik.http.routers.apm.rule: HostRegexp(`{host:.+}`) && PathPrefix(`/apm`)
#      traefik.http.routers.apm.rule: PathPrefix(`/apm`)
      traefik.http.routers.apm.tls: "true"
      traefik.http.routers.apm.entrypoints: https, http
      traefik.http.middlewares.apm_prefix.stripprefix.prefixes: /apm
      traefik.http.middlewares.apm_prefix.stripprefix.forceslash: "false"
      traefik.http.routers.apm.middlewares: apm_prefix
nginx:
   labels:
      traefik.http.routers.bla.rule: Host(`bla.com`) # works
      traefik.http.routers.arg.rule: Host(`arg1.com`, `arg2.com`) # fails
      traefik.http.routers.arg.rule: Host(`arg1.com`) ||Host(`arg2.com`) # fails
      traefik.http.routers.arg.rule: (Host(`arg1.com`) ||Host(`arg2.com`)) # fails

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Add support for GET player archives

See wise-old-man/wise-old-man#1375
https://docs.wiseoldman.net/players-api/player-endpoints#get-player-archives
Also support the archive field on player details
See wise-old-man/wise-old-man#1376

I have this partially implemented locally, but blocked by archives being null in the api response. Waiting to hear back about that.

Unblocked in wise-old-man/wise-old-man#1382


[SPARK-43169][INFRA][FOLLOWUP] Add more memory for mima check

What changes were proposed in this pull request?
This pr aims to add more memory for mima check to avoid GC overhead limit exceeded.
Why are the changes needed?
Make dev/mina stable on GitHub Action.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually check that GC overhead limit exceeded no longer exists

Thanks for the PR. Let's wait and see.

Thanks for the PR. Let's wait and see.

ok

[info] *** 4 TESTS FAILED ***
[error] Failed tests:
[error] 	org.apache.spark.sql.UserDefinedFunctionE2ETestSuite
[error] (connect-client-jvm / Test / test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 114 s (01:54), completed Apr 20, 2023 4:32:20 AM

https://github.com/LuciferYang/spark/actions/runs/4749019479/jobs/8438173582
Rerunning these four cases still failed ....

Hmmmm ....

@HyukjinKwon It seems inevitable to fail, not random...
local run build/sbt "connect-client-jvm/test 3 times, all four cases have failed.
I'll go have lunch first and  investigate in the afternoon ...

Seems like it was because of https://github.com/apache/spark/commit/09a43531d30346bb7c8d213822513dc35c70f82e. Let's close this :-). Thanks for your effort though.

@HyukjinKwon Do you know the maximum memory that GA instances can use?
I checked the logs and found that with the same memory configuration, logs similar to In the last 10 seconds, 5.524 (55.8%) were spent in GC are printed more times in GA than locally

Its 7GB / 2cores IIRC (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)

hmm... I suggest add more memory. I have seen new GC overhead limit exceeded. on GA today. If 7G is available, we can directly make the mima check use 5G

Can you help me to re open this one ? @HyukjinKwon

thanks @HyukjinKwon

Actually MiMa check seems fine, and doesn;t seem failing.

@pan3793 I remember you provided an OOM case this morning. Can you provide a link?

@pan3793 I remember you provided an OOM case this morning. Can you provide a link?

https://github.com/pan3793/spark/actions/runs/4746374013/jobs/8431906344

OK, Let's open this pr for a few days. If the master has  mima check OOM, there is no need to resubmit

OOM too. https://github.com/Hisoka-X/spark/actions/runs/4751425402/jobs/8441304002

OOM too. https://github.com/Hisoka-X/spark/actions/runs/4751425402/jobs/8441304002

with 5g?

OOM too. https://github.com/Hisoka-X/spark/actions/runs/4751425402/jobs/8441304002

with 5g?

No, I didn't change anything, so it will be 4G?

OOM too. https://github.com/Hisoka-X/spark/actions/runs/4751425402/jobs/8441304002

with 5g?

No, I didn't change anything, so it will be 4G?

4196m now, It seems that 4196m is not stable enough now

Test once more

From the GA task logs, it can be seen that using 5g only 1 ~ 2 for better performance related logs during mima check

Its 7GB / 2cores IIRC (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)

After multiple verifications, I suggest change -Xmx to 5120. From the logs, it will significantly reduce the number of GCs and the amount of time consumed, and there will be no GC overhead limit exceeded issue again

@HyukjinKwon
https://github.com/LuciferYang/spark/actions/runs/4776155966/jobs/8491000795
See GC overhead limit exceeded again

mima test OOM again https://github.com/apache/spark/actions/runs/4783257117/jobs/8503361722

merged to master

Thanks @zhengruifeng @HyukjinKwon @pan3793 @Hisoka-X


fix: django.contrib.postgres.fields.JSONField causes an error in Django 4.2 (fields.E904) https://docs.djangoproject.com/en/4.2/ref/checks/

coverage: 98.799% (-0.1%) from 98.897%
when pulling 8d8cca2ab58472e87f46606bda0a51d1ab25043d on django42
into d5520dec28ae327e2865a56e43a88505ed8c9b71 on master.

@fgregg All green now.

thanks for this, @jpmckinney. hope all is well with you

All good here :) It looks like the commit to roll the version to 3.3.1 is not on master. It was also tagged a "v3.3.1" (like v3.3.0). However, the other tags omit the "v".
Okay for me to tag and release as "3.4.0" ?

go for it!

Ah, I see why the "v" was included - the workflow only runs on "v*" tags. I'll use it.


fix: move to prev ws, moved to same mon

Describe your PR, what does it fix/add?
https://github.com/hyprwm/Hyprland/issues/6684

Does not fix the issue unfortunately.
I didn't have time yesterday evening to test this MR

me when I am too fast

I'll revert it then

done, nuked.


add error handling to previous

Right now, the bot previous does not have an error handling command. Since nextcord is backwards compatible, I added code that should handle errors :)

errors are technically not backwards compatible yet.

I just looked at the code and changed it so it should be better now :)

i'm going to close this PR and re-open a new one with the new function (so i can fix the conflicts).


Update check for start token to check for multiply token

see this issue. The parser wasn't recognizing the "*" in a filter ql statement. This is because the lexer emits a TokenMultiply but the parser was looking for a TokenStar. I've updated the parser to also check for a TokenMultiply.

/gcbrun

/gcbrun


tool chokes on variadics

I was getting an error and traced it to my Store.swift file where (as you guys are familiar with) the combine function takes a variadic argument of reducers.  I simplified to the following repro:

cd into the SPM checkouts directory and run the command:
swift run generate-enum-properties /Users/alexanderbollbach/Desktop/test.swift

test.swift contents:
func f(a: Int...) { }

see the following in stdout:

Updating /Users/alexanderbollbach/Desktop/test.swiftFatal error: Error raised at top level: SwiftSyntax.TokenKind.DecodeError.unknownTokenKind("ellipsis"): file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-1100.8.259.70/swift/stdlib/public/core/ErrorType.swift, line 200

Thanks @AlexanderBollbach for raising above issue.
Observed same issue:
I installed Generate Enum properties using Homebrew option
Cloned repo and navigated to episode 0070's directory
https://github.com/pointfreeco/episode-code-samples/tree/main/0070-composable-state-management-action-pullbacks
and did following

@stephencelis @mbrandonw kindly let us know if there anything obvious missing here 🤔
Thanks

Sorry for not replying earlier! This seems to be an issue with older versions of SwiftSyntax. It might be possible to get things working on a newer version, but we haven't had a lot of time to devote to this project. Let us know if you're interested in doing so!
swift-case-paths provides a lot of the functionality of this project without the requirement of code gen, so that's where we've been directing our enum-ergonomic attention.

After discussing with Brandon, we're deprecating this code generator for Case Paths, which should generally perform just as well and accomplish more without code gen. Thanks for reporting, though!


Update azuredeploy.jsonc

Will this be used somewhere else?

Added it so that the connection string can be used in the welladvisor, but everyone could use it :)


Irregular whitespace not allowed

Hi,
I’m getting the error “Irregular whitespace not allowed” when I run standard on any of my files. I’ve created a project in VS2015, and am running my scripts via Task Runner Explorer and the NPM scripts extension—I run all my scripts this way, and have no problems with Webpack etc.
I’ve set up a script in my package.json to run standard against all JS/JSX files in my JavaScript directory, and using the babel-eslint parser. All my files are using ES6/ES7 syntax.
The error occurs for any file that I run it against. I’ve tried running it on specific files, and they all get the same error.
Any ideas?
> cmd.exe /c npm run lint --color=always
><EMAIL_ADDRESS>lint E:\Documents\Visual Studio Projects\electricfreedom\ElectricFreedom.WebUI
> standard JavaScript/**/*.js* --parser babel-eslint
standard: Use JavaScript Standard Style (https://github.com/feross/standard)
  E:\Documents\Visual Studio Projects\electricfreedom\ElectricFreedom.WebUI\JavaScript\admin\Actions\AlbumActions.js:1:1: Irregular whitespace not allowed
npm ERR<EMAIL_ADDRESS>lint: `standard JavaScript/**/*.js* --parser babel-eslint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint script.
npm ERR! This is most likely a problem with the NPM package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     standard JavaScript/**/*.js* --parser babel-eslint
npm ERR! You can get their info via:
npm ERR!     npm owner ls NPM
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\Web Tools\\External\\\\node\\node" "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\Web Tools\\External\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "lint" "--color=always"
npm ERR! cwd E:\Documents\Visual Studio Projects\electricfreedom\ElectricFreedom.WebUI
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
Process terminated with code 1.

Seems this is caused by #283 and Visual Studio automatically adding in the BEM character at the start of the file. I have installed and extension (https://vlasovstudio.com/fix-file-encoding/) to fix this.


SOLID: A cancel on authentication to be graciously handled

Description
When on the Authenticate screen in the browser:

I click cancel and the app is blocked with an exception:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
#0      TokenResponse.idToken (package:solid_auth/src/openid/src/model/token_response.dart:25:66)
#1      Credential.generateLogoutUrl (package:solid_auth/src/openid/src/openid.dart:231:31)
#2      authenticate (package:solid_auth/solid_auth_client.dart:220:35)
<asynchronous suspension>
#3      solidAuthenticate (package:solid/src/solid/authenticate.dart:78:22)
<asynchronous suspension>
#4      _SolidLoginState.build.<anonymous closure> (package:solid/src/solid/login.dart:212:28)
<asynchronous suspension>

It seems the code to capture this is not doing so.

I had to replace on () with catch () for it to catch the above error.
I now get the popup but on clicking Ok it remains with the busy animation:

I have a solution of sorts - Replacing the failed auth popup with a navigate to the login app (the current widget).
Please review.


Have options to compile/deploy as TypeScript.

Note: There was a previous dev dependency on typescript, it just wasn't used.
Note: This doesn't change any of the code and using the typescript commands is entirely optional.

So I'm trying to understand... If you want to deploy as TS, but JS is still optional, what is the point? Why not just change your local copy of the gulp file? Any TS edits you make to it would not be able to be merged in... Will upvote if a logical answer is provided.

The goal is to do this: https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html
And then go from there.


Conflict?

In the content above it states "Devices running Windows 10 Mobile and Windows 10 IoT Mobile receive updates from the Semi-annual Channel" Note that it says Windows 10 Mobile ONLY, not Windows 10 Mobile Enterprise. But in the table immediately below this statement it indicates that Windows 10 Mobile is NOT supported on the semi-annual channel. To simplify... you basically state "Windows 10 Mobile DOES use the semi-annual channel", then in the table you says "Windows 10 mobile does NOT use the semi-annual channel." Please clarify

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

ID: 37a55e58-a782-0ccf-a200-1554eed26b1d
Version Independent ID: b02194fd-e682-1382-58bb-2b2312150775
Content: Deploy updates to Windows 10 Mobile or Windows 10 IoT Mobile - Windows Deployment
Content Source: windows/deployment/update/waas-mobile-updates.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@arcarley can you help us clarify this?

Hello @asampson68, that is a great callout! I apologize for the confusion contained in the documentation. As of December 10, 2019, Mobile is no longer receiving new updates (see https://support.microsoft.com/en-us/help/4485197/windows-10-mobile-end-of-support-faq) - therefore, the Windows Update for Business policy to get Semi-Annual Channel updates is no longer relevant for mobile devices. I will update the docs to reflect such.


Update README.md

updated
https://github.com/collabnix/kubelabs/blob/master/install/ubuntu/README.md

@ajeetraina pls verify.

Looks good to me


Skip superfluous type conversion

convertToType helper from helpers/types.ts will convert type, even if data is already of Target type.
https://github.com/19majkel94/type-graphql/blob/master/src/helpers/types.ts#L80
Could be avoided by adding
  if (data instanceof Target) {
    return data;
  }

and potentially fix issues when using any kind of logic in object type constructors.

Hey I would like to create my first PR with this ticket :) Can you move it to "In Progress"? I don't think i have the right to do so.

Closing as fixed via 7bddb04 🔒


[Bug]: sessions dir is empty and nothing opened when :SessionLoad

Your Persisted.nvim config
  require('persisted').setup {
    save_dir = vim.fn.expand(vim.fn.stdpath 'data' .. '/sessions/'),
    autosave = true,
    should_autosave = function()
      vim.notify 'Session saved'
    end,
    telescope = {
      reset_prompt_after_deletion = true,
    },
  }

Error messages
No response
Describe the bug
What I expected to be happended
It will pump up my saved session when I use :SessionLoad or :SessionLoadLast or :Telescope persisted
What actually happended
Nothing, I checked the session directory and it's completely empty

Reproduce the bug

run :SessionSave
Reopen neovim
run :SessionLoad (or :SessionLoadLast)
nothing opened

Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua config file above and still get the issue
[X] I have used SessionSave to save the session before restarting Neovim and using SessionLoad
[X] I have made sure this is not a duplicate issue

should_autosave should return a boolean

@ruanyouxing the example in the readme gives a clear example.
If you wish to do any notifying after the session loads I'd recommend the callbacks section.


error 4

Problem encountered on https://dotnet.microsoft.com/en-us/learn/games/unity-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Not enough information in the initial report.

Can you provide more information @faisal855 about the error you're getting?


KeyError: 'PYTEST_CURRENT_TEST' when running in pytest

The latest version of moto (1.3.14) is breaking in the following test scenario:
test.py
import pytest
from moto import mock_s3
import boto3

@pytest.fixture()
def client():
    mock_s3().start()
    client = boto3.resource("s3")
    client.create_bucket(Bucket="test-bucket")
    yield client
    mock_s3().stop()

def test_moto_fixture(client):
    return True

tox.ini
[tox]
envlist = py27
skipsdist = True

[testenv]
deps=
    pytest
    boto3
    moto == 1.3.14
commands=
    python -m pytest test.py {posargs}

Running tox with these two files at the root returns the following error.
self = {}, key = 'PYTEST_CURRENT_TEST', args = ()

    def pop(self, key, *args):
        unsetenv(key)
>       return self.data.pop(key, *args)
E       KeyError: 'PYTEST_CURRENT_TEST'

.tox/py27/lib/python2.7/os.py:505: KeyError

Setting moto == 1.3.13 fixes this.

  Update D from mapping/iterable E and F.
            If E present and has a .keys() method, does:     for k in E: D[k] = E[k]
            If E present and lacks .keys() method, does:     for (k, v) in E: D[k] = v
            In either case, this is followed by: for k, v in F.items(): D[k] = v
        '''
       ...
E               TypeError: 'NoneType' object is not iterable

.tox/py37/lib/python3.7/_collections_abc.py:846: TypeError

The erring line was introduced in this PR: https://github.com/spulec/moto/pull/2285

In your test, you're introducing two instances of the class 'mock_s3'. The PR above introduced class-level variables to mock AWS credentials, so it's now required to call 'start()' before calling 'stop()' on the same class-instance.
Changing your test case to either one of the following setups will work:
import pytest
from moto import mock_s3
import boto3

@pytest.fixture()
@mock_s3()
def client():
    client = boto3.resource("s3")
    client.create_bucket(Bucket="test-bucket")
    yield client

def test_moto_fixture(client):
    return True

Or
import pytest
from moto import mock_s3
import boto3

@pytest.fixture()
def client():
    mock = mock_s3()
    mock.start()
    client = boto3.resource("s3")
    client.create_bucket(Bucket="test-bucket")
    yield client
    mock.stop()

def test_moto_fixture(client):
    return True

Thanks for the tip, using the same mocking instance fixes the problem that I was seeing. The first setup doesn't propagate the mock_s3 environment into the cases where the fixture is used, though.

For reference, this is how I generated my testing fixtures: https://github.com/spulec/moto/issues/620#issuecomment-224339087


csilvm: ListVolumes reports 0 entries with -remove-volume-group

DCOS_OSS-2294 - ListVolumes fails in remove-volume-group mode
DCOS_OSS-2291 - CI builds are broken

retest this please


Consider allowing SSL server to be disabled.

Generating certificates takes a bit of time.  It's usually not that big of a deal, but it can add up for larger applications with a bunch of test suites.  Would you be willing to accept a PR to add an option to disable the SSL server?

Yeah, great idea.

it will be great to optionally disable it, if you don't have openssl installed basically you can not use this module

if you want I made a PR to have this feature, I've also added a test.
I made this just because when I'm on windows and I don't have openssl installed or accessible on the global PATH the module is unusable.
By the way, really good project.

If anyone still interested in this great server for tests, I made a fork that removes the SSL generation at all (with some other renewals) and published it on NPM.
https://github.com/OSA413/create-test-server


Copy / Paste Nodes in Scene does not work anymore

Godot version
3.5 stable
System information
Windows 10
Issue description
When I try to copy and paste a node it does not work anymore. I am quite sure it worked before.
Now the paste inserts Text to the editor.
Steps to reproduce
Add a node to the scene.
Select it, copy it with CTRL+C and try to paste it with CTRL+V while the script editor is open.
Minimal reproduction project
No response

cc @KoBeWi

I tried it with 3.4.4 stable and copy/paste nodes is not possible while the script editor is open.
I am not sure now if the behaviour is intended. But if it is, it is not intuitive.

Looks like a typical input issue that is fixed in 4.0, see #52861
Copy-paste does work, but the shortcut is randomly hijacked by one of the visible editors (in your case it's the script editor). This is not intended behavior and is an already known issue.

Are we closing such issues in favour of tracking them all in #52861?

Are we closing such issues in favour of tracking them all in #52861?

Yes, closing as duplicate of #52861.


Enable fs inspector in container mode

Namazu supports proc inspector and ethernet inspector in container mode currently. If Namazu can support fs inspector in container mode either, it would be perfect.

Thank you for suggestion, I'll work on this.
Ideally we should enable fs inspector for all the filesystem, but I think it is easier to just enable fs inspector for volumes (nmz container run -v /foo:/bar) as a first step.

@v01dstar
Sorry for delay , opened https://github.com/osrg/namazu/pull/162
As you might be already feeling, nmz container is not useful when you want to use some orchestration tools such as Docker Compose&Swarm or Kubernetes.
So I'm planning to make the inspector to be a Docker volume plugin, but no concrete design yet.
Suggestions and PRs are welcome :smiley:

@AkihiroSuda
Good work and Thank you for supporting us!
I am exploring Kubernetes now. And as you said, I cannot use nmz container mode on Kubernetes.(But it still works fine in our current CI system 😃)
I will share with you immediately if I have any idea about this issue.


Is ICU Tokenizer working correctly?

Is ICU Tokenizer working correctly?
Describe the bug
Below I have added the configuration with which I launch the container.
It seems to me that the tokenizer is not working
For example:
When making request:
localhost:8080/search?q=bak or  localhost:8080/search?q=ba finds nothing
But when I provide the fullname localhost:8080/search?q=bak then the results appear
To Reproduce
version: '3.8'

services:
  nominatim:
    container_name: nominatim
    image: mediagis/nominatim:4.0
    restart: always
    ports:
      - "8080:8080"
    environment:
      # see https://github.com/mediagis/nominatim-docker/tree/master/4.0#configuration for more options
      PBF_URL: https://download.geofabrik.de/asia/azerbaijan-latest.osm.pbf
      REPLICATION_URL: https://download.geofabrik.de/asia/azerbaijan-updates/
      NOMINATIM_PASSWORD: nominatim
      NOMINATIM_TOKENIZER: icu
    volumes:
      - nominatim-data:/var/lib/postgresql/12/main
    shm_size: 1gb

volumes:
  nominatim-data:

Expected behavior
There must be an fuzzy search

There must be an fuzzy search

nominatim has no fuzzy feature


[DEFECT] Setting the seed for RNG in Genetic Algorithm does not produce repeatable results

Thank you for the defect report

[X] I am using the latest version of RAVEN.
[X] I have read the Wiki.
[X] I have created a minimum, reproducible example
that demonstrates the defect.

Defect Description
Setting the sampler seed within Optimizers/samplerInit/initialSeed and Samplers/MonteCarlo/samplerInit/initialSeed do not produce repeatable results.
Steps to Reproduce
Below is the template for repeating the problem. The solution changes every time it is run, despite setting the seed for the RNG in both the model and the sampler.
<?xml version="1.0" ?>
<Simulation verbosity="debug">
  <TestInfo>
    <author>user</author>
    <created>2023-12-18</created>
    <description>
       A template for running the genetic algorithm.
    </description>
  </TestInfo>
  <RunInfo>
    <JobName>analytic-optimization-coefficients</JobName>
    <Sequence>analytic-optimization-coefficients,print</Sequence>
    <WorkingDir>.</WorkingDir>
    <batchSize>10</batchSize>
  </RunInfo>

  <Steps>
    <MultiRun name="analytic-optimization-coefficients" clearRunDir="False">
      <Model class="Models" type="Code">my_raptor</Model>
      <Optimizer class="Optimizers" type="GeneticAlgorithm">genAlgo</Optimizer>
      <SolutionExport class="DataObjects" type="PointSet">opt_export</SolutionExport>
      <Output class="DataObjects" type="PointSet">optResults</Output>
      <Output class="DataObjects" type="PointSet">results</Output>
      <Output class="OutStreams" type="Print">opt_export</Output>
    </MultiRun>
    <IOStep name="print">
      <Input class="DataObjects" type="PointSet">opt_export</Input>
      <Input class="DataObjects" type="PointSet">results</Input>
      <Output class="OutStreams" type="Print">opt_export</Output>
      <Output class="OutStreams" type="Print">results</Output>
    </IOStep>
  </Steps>
  <Models>

  </Models>
  <Optimizers>
    <GeneticAlgorithm name="genAlgo">
      <samplerInit>
        <limit>10</limit>
        <initialSeed>123456</initialSeed>
        <type>min</type>
        <writeSteps>every</writeSteps>
      </samplerInit>
      <GAparams>
        <populationSize>20</populationSize>
        <parentSelection>rouletteWheel</parentSelection>
        <reproduction>
          <crossover type="onePointCrossover">
            <crossoverProb>0.8</crossoverProb>
          </crossover>
          <mutation type="swapMutator">
            <mutationProb>0.8</mutationProb>
          </mutation>
        </reproduction>
        <fitness type="invLinear">
          1.0
          0.0
        </fitness>
        <survivorSelection>fitnessBased</survivorSelection>
      </GAparams>
      <objective>obj</objective>
      <TargetEvaluation class="DataObjects" type="PointSet">optResults</TargetEvaluation>
      <Sampler class="Samplers" type="MonteCarlo">MC_samp</Sampler>
      <variable name="Xwidth">
        <distribution>XwidthDist</distribution>
      </variable>
      <variable name="Ywidth">
        <distribution>YwidthDist</distribution>
      </variable>
    </GeneticAlgorithm>
  </Optimizers>
  <Samplers>
    <MonteCarlo name="MC_samp">
      <samplerInit>
        <limit>20</limit>
        <initialSeed>123456</initialSeed>
      </samplerInit>
      <variable name="Xwidth">
        <distribution>XwidthDist</distribution>
      </variable>
      <variable name="Ywidth">
        <distribution>YwidthDist</distribution>
      </variable>
    </MonteCarlo>
  </Samplers>
  <Functions>
  </Functions>
  <Distributions>
    <Uniform name="XwidthDist">
      <lowerBound>0.0</lowerBound>
      <upperBound>1.0</upperBound>
    </Uniform>
    <Uniform name="YwidthDist">
      <lowerBound>1.0</lowerBound>
      <upperBound>4.5</upperBound>
    </Uniform>
  </Distributions>
  <VariableGroups>
    <Group name="invars">Xwidth,Ywidth</Group>
    <Group name="outvars">targetVal,time,hdfFile,obj</Group>
    <Group name="all">Xwidth,Ywidth,obj,targetVal,time</Group>
  </VariableGroups>
  <DataObjects>
    <PointSet name="results">
      <Input>Xwidth,Ywidth</Input>
      <Output>hdfFile,obj,targetVal,time</Output>
    </PointSet>
    <PointSet name="optResults">
      <Input>Xwidth,Ywidth</Input>
      <Output>obj,targetVal,time</Output>
    </PointSet>
    <PointSet name="opt_export">
      <Input>trajID</Input>
      <Output>all,age,batchId,fitness,iteration,accepted,conv_objective</Output>
    </PointSet>
  </DataObjects>
  <OutStreams>
    <Print name="results" dir="analytic-optimization-coefficients">
      <type>csv</type>
      <source>results</source>
      <what>input,output</what>
    </Print>
    <Print name="opt_export" dir="analytic-optimization-coefficients">
      <type>csv</type>
      <source>opt_export</source>
      <clusterLabel>trajID</clusterLabel>
      <what>input,output</what>
    </Print>
  </OutStreams>
</Simulation>

Expected Behavior
That setting the seed for the RNG would produce repeatable results.
Screenshots and Input Files
No response
OS
Linux
OS Version
No response
Dependency Manager
PIP
For Change Control Board: Issue Review

[ ] Is it tagged with a type: defect or task?
[ ] Is it tagged with a priority: critical, normal or minor?
[ ] If it will impact requirements or requirements tests, is it tagged with requirements?
[ ] If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure

[ ] If the issue is a defect, is the defect fixed?
[ ] If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[ ] If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[ ] If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

@JunyungKim Could you take a look at this issue?


webpack Dev Server Invalid Options

incorrect:
devServer: {
  clientLogLevel: 'debug'
}

webpack Dev Server Invalid Options

options.clientLogLevel should be {String} and equal to one of the allowed values

 [ 'trace', 'debug', 'info', 'warn', 'error', 'silent' ]

(https://webpack.js.org/configuration/dev-server/#devserver-clientloglevel)

npm ERR! code ELIFECYCLE
npm ERR! errno 1

correct:
devServer: {
  clientLogLevel: 'info'
}

What is really wrong with this one? debug is on of the allowed values.

@iDuuck yes, it appeared when I gave the config property clientLogLevel, you may try it.

Please fill out the bug report template so we can assist.

@ianschmitz https://github.com/fengxinming/reappear-webpack-config-bug
Please check it

Sorry but it doesn't appear that you're using react-scripts so I'm not sure how we should help.

@ianschmitz I see that I use other scripts that bases on react-scripts.

@ianschmitz I have ejected react-scripts, it still has that problem. Please be patient！https://github.com/fengxinming/reappear-webpack-config-bug


Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.(…)

Hi All,
I found this error, while changing page to home.
phonon.js:4417 Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.(…)
At home, its going normally. But when I navigate to another page, its covered up with
<div class="backdrop-panel">`
Element.

You is using the last version of Phonon? If not, see this #170

Thanks  its work now


open-id/oauth2 authentication for user interface

Is your proposal related to a problem?
I would like to authenticate kafka-ui using a keycloak server.
Describe the solution you'd like
Simple authentication can be obtained by the open-id/oauth2 implicit flow as described in
OpenID Connect Implicit Client Implementer's Guide which is supported by keycloak.
To achieve this I'd like to use the following environment variables in docker-compose.yml:
AUTH_TYPE="OAUTH_IMPLICIT_FLOW"
OAUTH_CLIENT_ID="kafka-ui"
OAUTH_AUTHORIZATION_URL="http://<IP_ADDRESS>:8080/auth/realms/master/protocol/openid-connect/auth"

where the URL is the default authorization endpoint of a Keycloak-Server in realm master.
Kafka-ui should then follow the implicit flow by redirecting:
GET "$OAUTH_AUTHORIZATION_URL"?
    response_type=id_token%20token
    &client_id="$OAUTH_CLIENT_ID"
    &redirect_uri=<kafka-ui-url>
    &scope=openid%20profile
    &state=af0ifjsldkj
    &nonce=n-0S6_WzA2Mj

the keycloak server redirects to <kafka-ui-url> and adds access_token, token_type, id_token which is used by kafka-ui to deny or grant access.
Describe alternatives you've considered
A simpler but less general solution would be to use the keycloak-js library as described in this medium-article.

Hey, thanks for raising the issue. As I mentioned on discord, unfortunately it's not solvable by configuration alone, we'll have to implement some keycloak support.

Hey, actually I thought you need keycloak with roles.
If you need just the oauth, that's probably gonna work out of the box.
You could refer to SSO guide and try the settings described there. Let me know how it goes.

FYI, I posted an example of Keycloak configuration as OIDC provider, see #3298

@alexted the documentation is open-source as well, located in docs branch. PRs are welcome!


C_CPP: Overloading Unary Operators using Member Functions

Description
Description
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

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

/assign


[Emphasis/strong] Consolidate issues

[ ] #641 nested em and strong
[ ] #1010 #872 em words with underscores
[ ] #583 incorrectly detects right-flanking strong delimiter
[ ] #343 #544 #494 #216  incorrectly detects opening em delimiter
[ ] https://github.com/chjj/marked/issues/491#issuecomment-360606318 incorrectly detects opening and closing delimiters
[ ] #59 incorrectly detects opening strong delimiter
[ ] https://github.com/chjj/marked/issues/520#issuecomment-137831487 incorrectly treats escaped * as delimiter
[ ] #735 empty (whitespace) em

#956

No need to post that on every single issue.

@Feder1co5oave: Agreed.
I'm actually trying to work up the case for moving the main repo to a different owner and demonstrate how effectively we are working as a team to make Marked awesome again...this gives the players involved a central starting place - I just wish I hadn't marked some of the other issues that aren't directly related to our efforts as a team.