Inventory System

Basic inventory system now works.
You can define what objects it should have on start, and it will keep track of what loot our pick up.

Next, we need a UI to display the inventory objects
Then way to select objects
Maybe check for special objects like the map or compass


Display-P3 colorspace

Hi there, do you have plans to support this colorspace?
It is not yet supported in Firefox, but fully in Chrome and partially in Safari.
Reference
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/unpackColorSpace

Hi @Krutsch - it looks interesting, and the examples of vibrant colors on Mac screen look fantastic. We have no plans for the near future, but perhaps at a later stage.

This is probably what needs to be used here too: https://developer.chrome.com/blog/chrome-122-beta#webgl_drawingbufferstorage


Ansible failfast option (taken from kubespray)

Fixes: #129

I guess we should retarget this to 1.1(.0) once the branch is created?


Fix Deprecating API authentication through query parameters

As soon as the pull request was created, the problem was fixed by @sunnysidesounds
fixed #489

@hackjutsu  Can you check the pull request?
This fixes an issue that prevents me and many other people from continuing to use the app.

This project is no longer maintained?
Please make it clear if this project is dead?

Sorry, got distracted by other projects. Just released v1.9.2 with the fix.

Thank you!
Also updated the brew cask of lepton.
https://github.com/Homebrew/homebrew-cask/pull/106863#issuecomment-855927241

@all-contributors please add @EdZava for code

@all-contributors please add @sunnysidesounds for code


Cleanup old patches

How to install

composer require drupal/helfi_platform_config:dev-UHF-X-fix-patches
drush updb
drush cex

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2cb1333) 13.07% compared to head (dfaf33c) 13.07%.
 Consider uploading reports for the commit e7d7d05 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #689   +/-   ##
=========================================
  Coverage     13.07%   13.07%
  Complexity      242      242
=========================================
  Files            28       28
  Lines           941      941
=========================================
  Hits            123      123
  Misses          818      818

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


how to enable tcl readline in centos7

You need to have tcl readline installed.   Cmake should then find it and issue the message:
TCL readline library:
I believe on centos7 it is the tcl-tclreadline-devel package.


Display doesn't or just sporadically respond when eth0 is down

Hi,
first: fpms now works with my 1.44 inch lcd thanks for that!
But I found out that when the ethernet interface is down the display doesn't respond or just sporadically.
I got it running on a Raspi 3b.
I added a Video which shows the issue:
https://youtu.be/1tP6WWbKuKU

I haven’t personally noticed this on RPi4 + Waveshare 1.44” LCD display and buttons HAT. Unfortunately, I don’t have an RPi3 to test. I think officially we don’t plan to support RPi3, but considering the industry-wide component shortages, we will see if we can help you.
If you could collect Front Panel Menu System (FPMS) service log, that might help us root cause it:
sudo journalctl -u wlanpi-fpms
@joshschmelzle have you spotted anything like this on your RPi3?

I haven't noticed this on mine, but will do some more testing to see if I can reproduce.

I can't find anything revealing in the log
I think if I find a Pi 4 for a good price I'll buy one.
Log:
-- Boot 7ce344192abf4bd39d6efc08bdf3f14e --
Mar 19 13:26:19 wlanpi-15c sudo[2051]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session closed for user root
Mar 19 13:27:53 wlanpi-15c sudo[3971]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session closed for user root
Mar 19 13:29:07 wlanpi-15c sudo[6032]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:29:07 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:29:08 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session closed for user root
Mar 19 13:30:23 wlanpi-15c sudo[7988]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session closed for user root
Mar 19 13:31:38 wlanpi-15c sudo[9947]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session closed for user root
Mar 19 13:32:53 wlanpi-15c sudo[11900]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session closed for user root
Mar 19 13:34:07 wlanpi-15c sudo[13854]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:34:07 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:34:08 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session closed for user root
Mar 19 13:35:22 wlanpi-15c sudo[15808]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:35:22 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:35:23 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session closed for user root
Mar 19 13:36:37 wlanpi-15c sudo[17764]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session closed for user root
Mar 19 13:37:52 wlanpi-15c sudo[19727]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session closed for user root
Mar 19 13:39:07 wlanpi-15c sudo[21680]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:35 wlanpi-15c sudo[25449]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:35 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:37 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:38 wlanpi-15c sudo[25640]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:45 wlanpi-15c sudo[26301]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:53 wlanpi-15c sudo[26562]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session closed for user root

```-- Boot 7ce344192abf4bd39d6efc08bdf3f14e --
Mar 19 13:26:19 wlanpi-15c sudo[2051]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session closed for user root
Mar 19 13:27:53 wlanpi-15c sudo[3971]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session closed for user root
Mar 19 13:29:07 wlanpi-15c sudo[6032]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:29:07 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:29:08 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session closed for user root
Mar 19 13:30:23 wlanpi-15c sudo[7988]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session closed for user root
Mar 19 13:31:38 wlanpi-15c sudo[9947]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session closed for user root
Mar 19 13:32:53 wlanpi-15c sudo[11900]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session closed for user root
Mar 19 13:34:07 wlanpi-15c sudo[13854]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:34:07 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:34:08 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session closed for user root
Mar 19 13:35:22 wlanpi-15c sudo[15808]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:35:22 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:35:23 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session closed for user root
Mar 19 13:36:37 wlanpi-15c sudo[17764]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session closed for user root
Mar 19 13:37:52 wlanpi-15c sudo[19727]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session closed for user root
Mar 19 13:39:07 wlanpi-15c sudo[21680]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:35 wlanpi-15c sudo[25449]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:35 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:37 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:38 wlanpi-15c sudo[25640]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:45 wlanpi-15c sudo[26301]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:53 wlanpi-15c sudo[26562]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session closed for user root

I was able to reproduce the observation on my RPi 3b+. Since the logging doesn't reveal anything, further investigation would be needed for an explanation.
I am guessing it has to do with the logic to refresh infos on the Home Screen taking longer on RPi3b+ than RPi4 or CM4.
It's at least usable after the screen responses after a few short moments, but annoying. And only seems to occur when there is no active Ethernet uplink.


Support groups claim in JWT

Currently, there seems to be no way to expose group ID as a claim in JWT
https://docs.cloudfoundry.org/api/uaa/version/4.8.0/index.html#check-token
I'm trying to integrate UAA and Kubernetes (CFCR). Kubernetes supports --oidc-groups-claim that can be used in RBAC.
https://kubernetes.io/docs/admin/authentication/#openid-connect-tokens

JWT claim to use as the user’s group. If the claim is present it must be an array of strings.

It would be quite useful in RBAC of k8s to grant a Role/ClusterRole to a Group rather than all User s in the group.
https://kubernetes.io/docs/admin/authorization/rbac/#role-binding-examples

If you are using an external identity provider with UAA, we support the roles claim in our ID tokens. Does that fit your use case? If the roles scope is present, the ID token will contain group memberships from the external identity provider under the roles claim, provided they are part of the external group whitelist.

Thank you for your advice.
It may work as a workarround.
But group claim for internal users would be useful.

@obeyler I have an example
https://github.com/making/cfcr-aws/blob/master/enable-uaa.md#enable-ldap

Closing due to inactivity.


Relative path for "eslint.runtime" appears to cause ES Lint not to load.

Within .vscode/settings.json we specify the following:
	"eslint.nodePath": "./platform/node_modules",
	"eslint.runtime": "./platform/node/node.exe",

This was working fine, but with the combination of VS Code v1.50.1 and vscode-eslint v2.1.13 this has stopped working.
Log (Window) output:
[2020-10-22 15:11:07.849] [renderer1] [error] spawn ./platform/node/node.exe ENOENT: Error: spawn ./platform/node/node.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
[2020-10-22 15:11:08.822] [renderer1] [error] Launching server using runtime ./platform/node/node.exe failed.

ESLint output:
[Info  - 15:11:07] ESLint server is starting
[Info  - 15:11:07] ESLint server stopped.
[Error - 15:11:07] Starting client failed
Launching server using runtime ./platform/node/node.exe failed.

Possible regression?

Noticed now that making the paths absolute paths prevents the error from happening, so it must be something related to relative paths we use (and require).

@stefan505 the reason for this is a security fix of VS Code itself which will not start the extension host on the workspace folder anymore. But this happened a long time ago and I tested 1.48.0 and it shows the same behavior. I might be able to fix it for some cases but it will not work in a multi workspace folder setup or in a single file validate.

I looked into it and I can mitigate this in a single folder setup. But the fix needs to go into the LSP libraries so it will take some time until it makes it way into the ESLint version since I need to catchup with a new LSP version.

See https://github.com/microsoft/vscode-languageserver-node/commit/12d7aaa38448e8ed5a2fc8f9480a93508ab38884 for the mitigation.


Authentication Handler logs too much

Hello,
I have an API that is called every few seconds and the log is full of these messages:
[Apizr - AuthenticationHandler`2: Authorization required with scheme Bearer]
[Apizr - AuthenticationHandler`2: Saved token will be used]
[Apizr - AuthenticationHandler`2: Authorization header has been set]
[Apizr - AuthenticationHandler`2: Sending request with authorization header...]
[Apizr - AuthenticationHandler`2: Token saved]

Can the spots where the logger is called at least be guarded by if (apizrVerbosity >= ApizrLogLevel.Low)?
thanks

Totally agree.
Will be available with v3 on witch I'm working on probably next week.

This is now fixed and will be shipped with v3.
Also, if you're using Shiny integration, here is the hack I did to prevent Apizr log entries from being uploaded to AppCenter events:
public void Write(string eventName, string description, params (string Key, string Value)[] parameters)
{
    if(!eventName.StartsWith(nameof(Apizr)) && !eventName.StartsWith(" ===")) // Hack to ignore events from Apizr (all is file logged)
        Analytics.TrackEvent($"[{eventName}] {description}", parameters.ToDictionary());
}

Please find more info about file logging here if interested: https://www.respawnsive.com/playground-part-3-catch-it-trace-it-log-it-and-upload-it/

thank you for the feedback.  I look forward to the version which will have the fix.

Hum... when I said next week, I forgot to tell of witch month :)
I'm pretty busy currently with some customer projects but I hope I could publish Apizr v3 soon.
It's close to be ready to go, just few things to fix/add.
Stay tuned!

OMG thanks! 😅


Ref #4527: Make twilio extension Jakarta compatible

fixes #4527
Motivation
The version of Twilio used is not Jakarta-compatible so it needs to be upgraded.
Modifications

Remove all the Joda-related code as the new version doesn't use Joda time anymore
Remove the exclusions no more needed

Result
The integration test properly passes with a version of Camel including the fix for  https://issues.apache.org/jira/browse/CAMEL-19029

Waiting for a Camel version with the fix for https://issues.apache.org/jira/browse/CAMEL-19029 included

We got this fix from the Camel 4.0.0-M2 upgrade in https://github.com/apache/camel-quarkus/commit/aa895ccea043fa9366e2857b9b5a4ec439d34ed6.


Update to the latest Syncthing 0.12 API changes

Use "raw" properties to set GUICfg options

So this is just a small portion of whats broken. Address handling is broken (as we moved to dsn's) completion events and other calls had their structure changed etc.

The changes above fix compilation errors and let connect to local node (I can list devices/folders/..)
I've never seen Syncthing sources before and your suggestions sounds like it is more that I ready to handle right now.


fix(modules/Search): strict validation to avoid errors when using title

Hi,
at here
https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/modules/Search/Search.js#L375
we are using setValue(result.title), if the title is not a mandatory field then value will be set to undefined, and for my use case i'm getting error here, for checking length attribute of undefined.
https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/modules/Search/Search.js#L496

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2654   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         160      160
  Lines        2751     2751
=======================================
  Hits         2744     2744
  Misses          7        7

Impacted Files
Coverage Δ

src/modules/Search/Search.js
99.46% <ø> (ø)
:arrow_up:

src/modules/Search/SearchResult.js
100% <ø> (ø)
:arrow_up:

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 54f6cfa...a49da3c. Read the comment docs.

I'm afraid I don't quite understand the problem that is being solved.  Could you add a failing test or fork https://codesandbox.io/s/2l3n74j9y and demonstrate the issue?

https://codesandbox.io/s/y29ol2l22z
enter any letter and something0 will be search result, now if you select the first result i.e "something0"
internally the value is set to result.title which is undefined as I haven't defined in my result object, the next when i clicked on the input it tries to rerender at which time we are trying to check currentValue.length this raises an error.
the issue as a whole occurred as we are expecting title to be mandatory field of result object, as you can render a result without mentioning title.
having a stricter validation to make the title as mandatory field will avoid such issues in future.
demo:
https://youtu.be/0_vlkmuIxIM

I see, thanks!


Upgrade mustache.js and wax.cartodb.js

This is ready for review an will be merged as soon as we make sure that all tests pass (test suite is currently broken for other reasons).
@javisantana, can you please take a look?

:es:
this reminds me that at some point we should move file list from cartodb.js file to grunt build


Pre-defined option (to_s(...)) of rendering document identifier vs website

The document identifiers used on the ISO website, vs those used in the document, are different.
Example: ISO 8601-1:2019/DAmd 1
The website uses “ISO 8601-1:2019/DAmd 1(en)"
ISO OBP

The document uses “ISO 8601-1:2019/DAM 1"
https://github.com/CalConnect/iso-8601-1-amd1/tree/main/submission/20210727-damd-proof

The document states the “Reference number” as “ISO 8601-1:2019/DAM 1:2021(E)”.

Similarly, for FDIS:
Website for undated:
https://sd.iso.org/projects/project/81801/overview

Document for undated:
https://github.com/CalConnect/iso-8601-1-amd1/tree/main/submission/20220726-fdam-proof

Document for dated:

It seems that there are at least 4 types of identifiers here:

Website undated, no language: ISO 8601-1:2019/DAmd 1 (seen on the ISO Projects site)
Website dated, with language: ISO 8601-1:2019/DAmd 1:2021(en) (seen on the ISO OBP)
Document undated, no language: ISO 8601-1:2019/DAM 1 (document cover top)
Document dated, with language: ISO 8601-1:2019/DAM 1:2021(E) (document cover bottom, header and footer)

And in the bibliographic references, these are used:
5. Document undated, without language: ISO 8601-1:2019/DAM 1
6. Document dated, without language: ISO 8601-1:2019/DAM 1:2021
i.e.

"Undated" identifiers seem to never have language
"Dated" identifiers can clearly have language (as in the document reference) and no language.

This means that we need to have these options for rendering:

"no language code" vs "1 letter code" vs "2 letter code" #69
Short form vs long form "stage+type": DAM vs DAmd (this ticket)
Dated vs undated: whether there is edition year rendered
"edition" is always not rendered

We can conclude that we need the following types of predefined formats:

instance reference number: 1 letter language code + short form (DAM) + dated
instance reference number long: 2 letter language code + long form (DAmd) + dated
reference dated: no language code + short form (DAM) + dated
reference dated long: no language code + short form (DAM) + dated
reference undated: no language code + short form (DAM) + undated
reference undated long: 1 letter language code + long form (DAmd) + undated

One way to realize these predefined formats are:
> pubid = Pubid::Iso::Identifier.new(
  number: "8601",
  part: "1",
  year: 2019,
  edition: 1,
  amendment: {number: "1", year: "2021", stage: "DIS"}
)
> pubid.to_s(:ref_num_short)
=> "ISO 8601-1:2019/DAM 1:2021(E)"
> pubid.to_s(:ref_num_long)
=> "ISO 8601-1:2019/DAmd 1:2021(en)"
> pubid.to_s(:ref_dated)
=> "ISO 8601-1:2019/DAM 1:2021"
> pubid.to_s(:ref_dated_long)
=> "ISO 8601-1:2019/DAmd 1:2021"
> pubid.to_s(:ref_undated)
=> "ISO 8601-1:2019/DAM 1"
> pubid.to_s(:ref_undated_long)
=> "ISO 8601-1:2019/DAmd 1"

@ronaldtse do we have similar pattern (stage+type) for Corrigendum? Cannot find any examples or tasks related to this?

@mico yes, the pattern for Amendment and Corrigendum is similar:
DCor (long) => DCOR (short)
FDCor (long) => FDCOR (short)
ISO/IEC 14496-12 DCOR 1
ISO/IEC 19757-4 DCOR
ISO/TR 23455:2019/FDCor 1

@ronaldtse I found another patterns for "CD" stage:

ISO/IEC 10646-1:1993/pDCOR.2
ISO/IEC 14496-12/PDAM 4

Now we converting it to long versions:

ISO/IEC 10646-1:1993/CD Cor 2
ISO/IEC 14496-12/CD Amd 4

Also I found there are documents with "FPDAM" (Final Proposed Draft Amendment).
Should we do something about these patterns?

@mico thank you for raising this.
"PDAM" and "FPDAM"
These are valid but outdated abbreviations:

"PDAM"
"FPDAM"
"PDTS"
"PDTR"

As per this page (https://www.unicode.org/faq/alpha_soup.html) , "PDAM" and "FPDAM" are no longer in use:

PDAM. Proposed Draft Amendment. (A document ballot category no longer in use. See CDAM.)
FPDAM. Final Proposed Draft Amendment. (A document ballot category no longer in use.)

ISO did still use them in 2019:

And they are found on the ISO website:

ISO/IEC 23008-3:2015/FPDAM 1(en)
ISO/IEC 19794-5:2011/FPDAM 2(en)

The second document is at:

https://www.iso.org/obp/ui#iso:std:iso-iec:19794:-5:dis:ed-2:v1:amd:2:v1:en

Notice that the code is DIS stage, and uses "DAM 2" instead of "FPDAM 2".

So I think we can map:

FPDAM (and "FP" prefix) to "DIS" stage
PDAM (and "P" prefix) to "CD" stage

And we will have to retain these document identifiers.
CDAM
In addition, it seems that ISO/IEC JTC 1 is still using the "CDAM" identifier now in 2022:

ISO/IEC 14496-12:2021 CDAM 1

So we should support it.
"CD Amd" (long) => "CDAM" (short)

> pubid.to_s(:ref_num_short)
=> "ISO 8601-1:2019/DAM 1:2021(E)"
> pubid.to_s(:ref_num_long)
=> "ISO 8601-1:2019/DAmd 1:2021(en)"
> pubid.to_s(:ref_dated)
=> "ISO 8601-1:2019/DAM 1:2021"
> pubid.to_s(:ref_dated_long)
=> "ISO 8601-1:2019/DAmd 1:2021"
> pubid.to_s(:ref_undated)
=> "ISO 8601-1:2019/DAM 1"
> pubid.to_s(:ref_undated_long)
=> "ISO 8601-1:2019/DAmd 1"

Should I add language code only for the cases when language code was in the source (when parsing) or was added while creating identifier only? (Current behavious)
Or I should always add default language code (english) except cases when format without language was requested? (does it affect all identifiers? I mean others beside identifiers with supplements)

I think we should make the language code an option in rendering.

Should I add language code only for the cases when language code was in the source (when parsing)

Yes. When parsing, if there is a language code, we should also show it when the object is rendered.

> pubid.to_s(:ref_undated_long)
=> "ISO 8601-1:2019/DAmd 1"

@ronaldtse we already have option to remove date from identifier, for example "ISO 8601-1:2019" become "ISO 8601-1".
But in this example (ISO 8601-1:2019/DAmd 1:2021), we also have amendment date. Should we remove both document published date and amendment date? Or should we have an option to remove only amendment date?
Format option "ref_undated_long" don't mention it's related to supplement only.

Should we remove both document published date and amendment date?

We need to clarify how the edition year (the date) applies:

In "ISO 8601-1:2019", the edition year is "2019". With 2019, it is an exact reference (i.e. can find the document). Without 2019, it is an "undated reference" (i.e. it applies to ISO 8601-1:2019, ISO 8601-1:20xx, etc).
In "ISO 8601-1:2019/DAmd 1:2021", there is only one edition year, which is "2021". The "2019" part belongs to the base document, and cannot be removed.

The reason is an Amendment (or Corrigendum) is a document that "applies" on top of another document, it can only exist if the base document is an exact reference. For example, if the base document is an undated reference, e.g. "ISO 8601-1/DAmd 1", the base document represents a series (ISO 8601-1:2019, ISO 8601-1:20xx...) which cannot be a base for the Amendment.

Therefore, the dated vs undated identifiers are as follows:

Normal PubID: "ISO 8601-1" (undated), "ISO 8601-1:2019" (dated)
Supplement PubID: "ISO 8601-1:2019/Amd 1" (undated), "ISO 8601-1:2019/Amd 1:2021" (dated)


config function not working

Hi, when I use config() im my tailwind-own.css, the values are not resolved. If I use theme(), everything works fine.
Here is my tailwind-own.css
@tailwind base;
@tailwind components;

.btn-blue {
  background-color: theme("colors.blue.500");
  color: theme(colors.gray.500);
}

.btn-blue:hover {
  @apply bg-blue-700;
}

.lnx-container {
  @apply .w-full .px-3 .mx-auto;
}
@screen sm {
  .lnx-container {
    max-width: theme("screens.sm");
  }
}
@screen md {
  .lnx-container {
    max-width: config("theme.screens.md");
  }
}
@screen lg {
  .lnx-container {
    max-width: theme("screens.lg");
  }
}
@screen xl {
  .lnx-container {
    max-width: theme("screens.xl");
  }
}

@tailwind utilities;

My tailwind.js ist just the default one:
// tailwind.config.js
module.exports = {
  theme: {},
  variants: {},
  plugins: []
};

So this setup generates this CSS:
@media (min-width: 1024px)
<style>…</style>
.lnx-container {
    max-width: 1024px;
}

@media (min-width: 768px)
<style>…</style>
.lnx-container {
    max-width: config("theme.screens.md");
}
@media (min-width: 640px)
<style>…</style>
.lnx-container {
    max-width: 640px;
}

So max-width: config("theme.screens.md"); is obviously wrong - the config function seems not to resolve it's argument.
Maybe I'am missing soomething, I'am quite new to tailwind ;-)

In v1, config() has been removed in the css file. As screens is part of the theme you can access it with theme() too.
Upgrade guide's relevant point:
https://tailwindcss.com/docs/upgrading-to-v1#5-replace-config-with-theme

Ok, that explains everything. I wasn't aware of this. Thank you for the fast reply @tlgreg !


docs: migrate docs from Prismic to GitHub

Types of changes

[x] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
This PR migrates docs from https://prismic.io/docs to this GitHub repository
Checklist:

[x] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

Codecov Report

Merging #536 (ea55d9c) into v6 (5719f43) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##               v6     #536   +/-   ##
=======================================
  Coverage   89.13%   89.13%
=======================================
  Files          47       47
  Lines        3680     3680
  Branches      253      253
=======================================
  Hits         3280     3280
  Misses        398      398
  Partials        2        2


flutter pub run klutter:consumer init=ios got error

KLUTTER: Invalid option value: 'ios'
KLUTTER: Task 'consumer init ios' finished unsuccessfully.

Init iOS is removed because it is no longer required. You can just skip it and everything should work.

thanks u


Add coverage badge

PR Type

CI related changes
Documentation content changes

Description
Create coverage badge.
How Has This Been Tested?
Test A: (Write your answer here.)
Test B: (Write your answer here.)
Test C: (Write your answer here.)
Does this PR introduce a breaking change?
No
Screenshots
Checklist before requesting a review

[ ] I have made sure that my PR is not a duplicate.
[ ] My code follows the style guidelines of this project.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have performed a self-review of my code.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: tp832944:x: actions-userYou have signed the CLA already but the status is still pending? Let us recheck it.


FIX: use of TBB revealed bugs as pointed out in issue #238

Hi Simon,
when I try to build the ITKv5.0rc1 the branch of the RTK is automatically switch to the tag v2.0.0.
Did you move the tag to another commit? Or bump the RTK version in the remote module otherwise?

Hi,
Yes, you have to modify the RTK.remote.cmake file. Replace v2.0.0 by master or a specific tag you would like to build against. I don't think there is a better solution. I'll try to release a new RTK version soon and then I'll submit a patch to ITK.
Note that I have added a fix to this PR.
Thanks,
Simon

Hi,
i run the tests with the build descripted in #238 in RelWithDebInfo mode and attached the results here:
ITK5withRTKmaster_RelWithDebInfo.txt
The RTK branch was changed as you wrote in the last post.
Still the same nine tests are failing. Unfortunately, i am not very firm how to examine the tests in detail but if there is any output information that i can get for you i'll try.

Hi,
Thanks for testing. Weird... I don't know how you do this from MSVC but can you try to run the test with more log. From the command line, you can run ctest -R "(rtk|RTK)" -VVin your build directory.
I'll try to compile on Windows, I did the tests on Linux because my Windows box is a bit slow.
Simon


Categorical: Read string and convert to int on the fly

This is a feature request
It would be very useful to be able to read in Categorical values as strings ("abc", "def", etc) and convert that to integers internally.
This adds a bit of overhead, but would be much easier for users. There would probably be some overhead to do this, so a flag can be made if the user wants to do it, or we can automatically check if the column has any alphabet or not

@AbdealiJK, @guolinke,
There are two points to consider.

Reading data. Is using categorical_column parameter is required to be filled? Or feature must became categorial as soon as any non-numeric value is found? I'm quite sure that decision must be based on categorial_columns parameter. Also string representations (like 'NA' or 'nan') for missing values must be defined.

Saving and exporting. We can save additional block with strings to integers mapping. Or we can try to use intial string values. The latter approach could lead to many errors (for example, with legacy code).

I think:

categorical_column would be the better and simpler approach to do it
string to integer mapping is the best way to do it. Using initial string values throughout would require a lot of refactoring and also integer mapping is more memory efficient

@AbdealiJK
2. I didn't suggest to refactor everything and add strings to the kernel. The question was about representation of split value in the saved model. It could be integer index (with mapping saved apart) or a string value itself.

@limexp string value would increase model size and is not efficient, it can also cause major issues (not including the potential name clashes and what to do with characters which are not compliant to the text format used by LightGBM)

@Laurae2, I totally agree. And each decision has its pros and cons.
This feature would be great for CLI, so data can be used without preprocessing. Is it really important for python or R interfaces?
In any case we lose control over NaN values.

@limexp R and Python already have the conversion from categoricals to integers.
But if the model deployment in production is done using CLI, one must create a script to convert categoricals to their appropriate integers (usually done with SQL or any other data warehousing software).

I was using categorical features on a Kaggle Kernel. Python converts NaNs to "-1" when you convert values within categoricals to integers. This causes LightGBM to bomb out with a fatal error. This is silent on Kaggle, and kills the kernel.
The solution is:
for col in categorical_vars:     df[col] = pd.Categorical(df[col].cat.codes+1)

@dah33 you can use NA to represent missing.
@wxchan can we add a conversion for the -1 (to NaN) in python package ?

@guolinke @wxchan In Python package we may enforce anything negative is NaN for categorical variables (strictly -1 only for NaN would be strange).

@Laurae2 okay, maybe I can support this in c++ side, and gives a warning for this conversion.

There is a very difficult problem: we cannot pass categories (list of values) to auto convert.
This becomes a problem when one know true categories and all of them apper in train data.
for col in categorical_vars:
    df[col] = pd.Categorical(df[col].cat.codes+1, categories=['A', 'B', 'C', ... ])

There is another problem: we cannot know if a value is not in categories or missing value, because pandas.Categorical encode both of them to -1

Additonaly, pandas.Categories encode labels to int accoriding to their order of appearance, I guess, so we may not reproduce the same encoding when predicting.

Is there a distinction to be made between nominal and ordinal features when worrying about known categories that are not present in the training data?
Can ordinal values be encoded as floats just using Series.cat.codes.astype(float)? They would then be ordered correctly.
Nominal values if not present in training set, then is there advantage in encoding them as anything other than NaN? When would a node ever use them in a decision?

@dah33 ordinal features should be numerical, while nominal features should be categorical.

@henry0312 nominal categories pandas encodes to integers in order of appearance. Ordinal categories are encoded in a way that preserves order (0 for A, 1 for B, 2 for C, etc) even if that category did not appear in the data frame

@Laurae2 thanks for the tip. The terminology is a bit misleading as pandas calls ordinals just a "Categorical" with an order. Whereas LightGBM has categorical_features='auto' which detects Categoricals but really this should only be handed nominals, as you say.

@Laurae2 I have a question regarding the encoding:
https://github.com/Microsoft/LightGBM/blob/master/python-package/lightgbm/sklearn.py#L532 is using eval_set[i] = (valid_x, self._le.transform(valid_y)) but the _le i.e. scikit-learn.LabelEncoder. However that one definitely fails on unseen labels during transform. How does it then magically work as outlined in Microsoft/LightGBM#804 to properly handle unseen values?

@geoHeil I don't use scikit-learn transformers as they are known to have shady issues on transformers / supervised machine learning (like https://github.com/scikit-learn/scikit-learn/issues/3956 about your LabelEncoder).
It is better to prepare oneself the categorical features before feeding to LightGBM the DMatrix, or to use custom converters like the one I made in R for LightGBM, this way you know you are doing the right preprocessing out of the box:

https://github.com/Microsoft/LightGBM/blob/master/R-package/R/lgb.prepare.R
https://github.com/Microsoft/LightGBM/blob/master/R-package/R/lgb.prepare_rules.R

@dah33 An ordinal scale is still debatable whether it is continuous or discrete (in theory). But for LightGBM, it is better to feed them as numeric because:

Continuous treatment (numeric) respects the ordinality rule in LightGBM (greater or less than)
Discrete treatment (categoricla) breaks the ordinality rule in LightGBM (equal to + some potential conversions losing order)

@Laurae2  a couple of days you mentioned that

The Python wrapper abstracts the categorical conversion (String -> Int) and converts it for you.
and that is https://github.com/Microsoft/LightGBM/blob/master/python-package/lightgbm/compat.py#L75
so I wonder if I should lightGBM's python wrapper to automate this conversion as this is still only using a LabelEncoder which as far as I know can't handle unseen data.

@geoHeil I recommend a using a separate converter because there's no way a saved model can remember something which is not native (a LightGBM saved model does not know what is Python).
As with any preprocessing steps, they must be separate to the LightGBM interface (explicit), not inside the LightGBM interface (abstracted). The conversion is done for the user convenience (like what lgb.cv does), but there are inherent drawbacks the user should automatically know as it is a preprocessing step the LightGBM model cannot have.
I don't know exactly how it is done the Python package, but @wxchan probably knows more about how categorical features are handled when predicting from a model (whether it is a fresh loaded model or a newly-trained model).
In R, you must pass the rule converter as a preprocessing step, which does the heavy lifting work for features. If the rule converter is not saved nor used, then you cannot predict properly from new data.

@Laurae2 thanks for the clarification. @wxchan can you clarify this for python?

cat.codes of pandas categorical features will be saved to model after training and read from model during prediction.

@wxchan thanks. So https://github.com/Microsoft/LightGBM/blob/cc771df49941f1045bcca52ea97c00288d319dca/python-package/lightgbm/basic.py#L240 is storing it - but where is this information used in the transform part i.e. where possibly unseen categories are handled?

@geoHeil store in L231, read from L237
unseen will be -1 as pandas rule of cat.codes I think, you can make up a small dataset to check.

@wxchan thanks. Regarding the number of levels i.e. for a String address field the number of distinct categorical levels is pretty big what would you suggest in this case?

@geoHeil not sure I understand your question. Do you mean address of street? I think you can either merge several rare categories into one big category, or extract some common information from this feature (like city of address).

@wxchan exactly, I thought I had seen some min_cat and max_catparameters around the lightGBM documentation- but can't seem to find it now.
Is that first type of handling (merge by frequency) indeed implemented?

@geoHeil no, you need to implement on your own. I am actually not sure what the status of categorical feature handling right now, seem guolinke has reverted it this afternoon. I will check it later.

I feel like having this is CLI version is not need, and also too heavy.
A tradeoff solution is providing a python script that can convert the string to the int type, which is much easier.

Having a python script would not be ideal for some projects because installations on clusters can be tedious and having more dependencies would not be a good idea.
Especially if later lightgbm is modified to work with S3 or Redshift or other filesystems that would get messy as fileIO for a new filesys will have to be handled twice - in C and in python

@AbdealiJK thanks for your thoughts.
However, having this is not trivial. It will break many IO codes in current implementation, also has a large impact on IO speed.
For dependencies problem, you can use the binaries program, instead of scripts.
Also, I think it doesn't need many dependencies. For example, you can use pure python to implement this.

I was actually looking to contribute this and realized that it indeed is not very trivial.
Agree that reading and writing can be handled by wrappers or pre-processing scripts as implementing this would not be worth the effort

I use lightgbm in Python, and I also would love for lightgbm to encode categorical features internally (i.e., "on the fly").
Having read the discussions above, I acknowledge that this is not trivial, but I think it can be implemented in the data preparation stage (i.e., when user creates the lightgbm.Dataset object), and the training stage does not need any changes.
Here are some details:

If a column is not in "categorical features", but string values are encountered in this column, throw an error
If a column is legally a "categorical feature", then we use "label encoding" to turn it into 0,1,2,3,...
If a null value (None or numpy.nan) is in the column, e.g., ['cat', 'dog', np.nan, 'cat', 'dog', ...], we convert the null into a string "N/A"
Save the label encoding dictionaries (e.g., {'pet': {'cat': 1, 'dog': 2, 'fish': 3}, 'country': {'US': 1, 'UK': 2, 'France': 3} }, which is a dictionary of dictionaries) as an attribute of the lightgbm.DataSet object. The users can later query these dictionaries should they want to "decode" [1,2,3,...] back to ['cat', 'dog', 'fish', ...]

In this way, the lightgbm.DataSet object being passed to lightgbm.train is still a matrix with only numerical values, so the training subroutines does not need to be altered at all.

Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.


Don't test for C++version, test for features

#if !(defined(_MSC_VER) && _MSC_VER >= 1910 && ((defined(_MSVC_LANG) && _MSVC_LANG > 201402)) || (__cplusplus > 201402))
#error "Library SUTFCPP requires a compiler that supports C++ 17!"
#endif

I found such a check in your code.
I think it's much better to check for library feature macros and compiler feature macros for what you exactly used.
I had a lot of problems in my past, checking for __cplusplus and then having issues in Linux, when compiler and STL version are not in sync (imagine using clang 10 with libstdc++6 for example).

Completely agree with your comment. I also encountered this problem on Linux. Actually this guard was made only from the reason of complication. However, we have another problem, how to keep track of these flexible settings when the library changed.
I will take this into account and i will think about this problem.

About problem 'how to track' - yeah. If you don't used to tracking feature test macros and stuff, it is hard. But that thing make things way more portable. Bad things also can happen even if you a large company - https://github.com/google/googletest/issues/3659


in-house master: configure_ceph CI Job is broken

Fixed by https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/merge_requests/782


Use shorter paths when extracting archives

Use a shorter temp path instead of the full url when expanding archives. The temp path is saved to the marker file so subsequent requests don't need to expand the archive again.

Closing due to age, please reopen if needed.


feature: lag plugin commits considered for updates by some amount of time

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
I generally enjoy staying pretty up to date with plugins, but there are two problems when updating plugins.

It could be buggy
It could be a compromised, attack release.

 And while I haven't heard of any packaging "supply-chain" attacks on (neo)vim plugins, they've happened in every popular programming language package repos, so it's probably only a matter of time before someone targets neovim plugins.
Describe the solution you'd like
When considering the list of commits to update to, I'd like to only consider ones that are some arbitrary time ago. Let's say 2 weeks, but it doesn't matter much. It is of course not a perfect solution to either problem, but it goes a long way. Probably in 2 weeks people would have discovered and fixed any bad bugs for a new release, and also probably any sort of compromised GitHub account or whatever would have been discovered.
This wouldn't work if everyone was lagged by 2 weeks, but realistically the number of people who consider these issue and care about them and would opt into only pulling plugins from the past is small.
Describe alternatives you've considered
Sticking to released semver versions helps a bit, but not all plugins do releases, and also a freshly released plugin can still have the same problems anyway.
Additional context
No response

Just update your plugins manually with gu?


refs #104322 remove deprecated code

@rebuy-de/it-mobile
overlook to remove the deprecated orientation code. it was outdated because a other change was in the same line.

:+1:


加个屏幕取色工具吧

I will contribute this feature later, can you confirm it first?

PowerToys has the feature.You can develop the feature on you needs.


@CaseInsensitive annotation is not applied for complicated xpath

Only simplest xpath works fine. need identify better way to "translate" xpath" globally in ExtendedElementLocator->toCaseInsensitive(String locator)

https://github.com/qaprosoft/carina/pull/820


Can't get my selectors to work on child clones

I have a group of fields that I clone by clicking on the [ + ] button; and cloning works fine. Here's the code -
HTML:
<input type="text" name="resumeSkillYears[]" id="<?php echo "resumeSkillYears_" . $i; ?>" class="boo gui-input" placeholder="Years" value="<?php echo $value['skillYears']; ?>" >
JS:
$('.clone-skills').cloneya({
            maximum: 5
        }).on('after_clone.cloneya', function(toClone, newClone){
            $(newClone).find(".boo").stepper({
                UI: false,
                allowWheel: true,
                limit: [0, 50],
                wheel_step: 1,
                arrow_step: 1,
                onStep: function(val, up){
                    $(this).val(function(index, val) {
                        if(val <= 1) {
                            return val + " Year";
                        } else {
                            return val + " Years"
                        }
                    });
                }
            });
        });

Because the ID of the element is dynamically incrementing, I thought I'd rather append a class "boo" to my element and select it through my JS.
However, above code applies the stepper to the parent being cloned (the top row) against the newly created last row. Apparently I'm doing something wrong with 'find'.
Can someone help? Thanks!

Could you please create a jsfiddle for this? In general, it is easier and faster to solve problems if there's a jsfiddle.

Sure. Bit new to it; but I should be able to do it fast.

@actual-saurabh - While I try and get jsfiddle to work to show the problem I'm facing; I thought I'd simply share the code files: https://www.dropbox.com/s/priab5xs5qibs3m/child-select.zip?dl=0
Please download the zip and open 'form-cloned-elements.html'.
Problem: I've no clue how to apply 'stepper' to the clone.

Update: I'm about to give up on jsFiddle. It just won't serve the files from external sources. @actual-saurabh - Could you please download the zip from above URL to check the issue?

@TheBigK It needs files to be served over https.

@TheBigK What plugin are you using for stepper? Can you give me a link?

Ok, figured it out on my own (but please take this as a lesson, please give full details of your problem).  Please look up the difference between ids and classes. Can you fix the issues there? I can't help you with basic html and jQuery.

@actual-saurabh - Thanks a lot for looking into this and your response. I'm pretty new to jQuery and maybe I'm not catching the obvious. Gotta figure out why the clone shows CSS (up and down arrows) but does nothing upon keypress.

I don't do this for free usually but here's the fixed thing: https://jsfiddle.net/bwyu6c8v/3/ I hope you read and understand what I have done before using it.

Seriously, that's more than what I'd have thought of. Looks like a lot of homework to do.


[Backport to 2.x] Manual backport of several dependabot PRs

Description
This PR includes a manual backport of the following dependabot PRs (since the auto-backport failed for them):

#4808
#5233
#5234
#5235
#5236
#5316
#5318
#5319

Any conflicts that arose from cherry-picking the commits to backport have been resolved. SHAs have been updated and any gradle precommit failures have been mitigated.
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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

Codecov Report

Merging #5330 (0f8e6c1) into 2.x (7f7ebd6) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.x    #5330      +/-   ##
============================================
- Coverage     70.69%   70.60%   -0.10%
+ Complexity    58384    58320      -64
============================================
  Files          4700     4700
  Lines        279111   279111
  Branches      40749    40749
============================================
- Hits         197327   197067     -260
- Misses        65338    65643     +305
+ Partials      16446    16401      -45

Impacted Files
Coverage Δ

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-73.18%)
:arrow_down:

.../java/org/opensearch/node/NodeClosedException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...cluster/coordination/PendingClusterStateStats.java
20.00% <0.00%> (-48.00%)
:arrow_down:

...opensearch/persistent/PersistentTasksExecutor.java
22.22% <0.00%> (-44.45%)
:arrow_down:

...indices/readonly/TransportAddIndexBlockAction.java
20.68% <0.00%> (-37.94%)
:arrow_down:

...java/org/opensearch/threadpool/ThreadPoolInfo.java
56.25% <0.00%> (-37.50%)
:arrow_down:

.../indices/readonly/AddIndexBlockRequestBuilder.java
0.00% <0.00%> (-33.34%)
:arrow_down:

...min/cluster/snapshots/get/GetSnapshotsRequest.java
52.63% <0.00%> (-31.58%)
:arrow_down:

...search/aggregations/pipeline/HoltWintersModel.java
21.47% <0.00%> (-30.88%)
:arrow_down:

... and 525 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[New chain]: Mantle Sepolia 1.4.1

Summary

https://github.com/safe-global/safe-deployments/pull/561
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-5003.json

Chain ID
5003
Chain detail URL
https://chainlist.org/chain/5003
RPC URL
https://rpc.sepolia.mantle.xyz
Blockscout Client URL
https://explorer.sepolia.mantle.xyz/api/v1/graphql
Etherscan Client URL
No response
Etherscan Client API URL
No response
Version
1.4.1
Address (Master copy)
0x41675C099F32341bf84BFc5382aF534df5C7461a
Deployment Tx hash (Master copy)
0xcd7698a172da23da361b2d4d04f76fbc5e65f7d779e7432c036c54d42bea2a57
Block explorer URL (Master copy)
No response
Address (Master copy L2)
0x29fcB43b46531BcA003ddC8FCB67FFE91900C762
Deployment Tx hash (Master copy L2)
0x30b45157ab1b3f3035febfc71ba3ec6165e5933176d9d6d6ea9fe8885c1fbd43
Block explorer URL (Master copy L2)
No response
Address (Proxy factory)
0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67
Deployment Tx hash (Proxy factory)
0x2719d27bd2e7106b62e9d89e865e872059817023e0c13d017e679b7604d55dd0
Block explorer URL (Proxy factory)
No response

/execute


[Semantics] Update bottom nav semantics tests to use matches semantics

Description
This PR updates the Bottom Navigation Semantics tests to use the matchesSemantics API, which is the newer function for accomplishing the same as the previous tests.
Tests
I added the following tests:

4 variants of semantics tests in the bottom navigation bar tests.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Started Google testing for this PR

Started Google testing for this PR

Google testing passed!

Started Google testing for this PR

Started Google testing for this PR

Started Google testing for this PR

Started Google testing for this PR

Google testing passed!

Started Google testing for this PR

Google testing passed!


lIt.all is not a function

Just upgraded lodash to the last 4.5.1 version, which does not contain the function _.all, and the angular-leaflet-directive stops working.  Any suggestions?

Not sure what was happening, but updating to the latest version seemed to fix it.  thanks.


⚠ Guya.moe Proxied has degraded performance

In 6bff341, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 13109 ms

Resolved: Guya.moe Proxied performance has improved in 0a74148 after 3 hours, 10 minutes.


Document the NO_COLOR environment variable.

This is handled by the crossterm dependency.  When set, everything will be rendered in black-and-white, without any color.

@stesser this should help you on OSX Terminal.  Note that you don't have to build from source to use this option.  It's already handled; this PR just adds documentation.

Yes, in fact, NO_COLOR results in a pure b/w display. I'd think that the table heading could still be displayed with reversed colors (i.e. white on black) in that case, to make it better stand out.
But I see that NO_COLOR is provided by anstyle and crossterm and it may not be possible to disable colors and still be able to emit the ANSI sequences to switch colors. But OTOH, it might still be possible to emit the Reverse display attribute "ESC[7m;" for the table heading when NO_COLOR is true.

Since NO_COLOR is handled by crossterm, I'm going to merge this as-is.  I think it's good enough to be useful.


⚠ BCR Bot has degraded performance

In fc1f64f, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 885 ms

Resolved: BCR Bot performance has improved in 8c2f9db.


Basic support for tabbar

This pr fixes the colors that tabbar uses for doom-one. More customization is needed to make it look better (spacing in the tabs, changing the default ugly icons, etc.) but I don't know if these belong in doom-one.
Here's a screenshot:

Awesome! Thank you!


make logging package standalone

Move pion/webrtc/pkg/logging to pion/logging.
Other packages like srtp could use this package

Moved to https://github.com/pions/webrtc/wiki/Contributing#improve-logging
Feel free to re-open when someone starts working on this! Just trying to triage things (and get good issues in front of contributors)


Staging authentication is slow / crashes

login in staging on localhost

Expand the scope of this ticket to include the following,

[ ] Understand the auth flow in nexus-web

[ ] Enumerate all existing issues

[ ] If possible find and implement a common solution to the auth issues.

This is issue is not happening anymore as it was resolved on the back end by adding access rights.


ObjectId mismatch

There is a difference in de.undercouch.bson4jackson.types.ObjectId and org.bson.types.ObjectId (Version 3.4.2).  org.bson.types.ObjectId holds an additional processIdentifier.

Same problem here. I could create a patch and change the de.undercouch.bson4jackson.types.ObjectId to the format of org.bson.types.ObjectId...

Hi craffael,
I am very interested in your solution. Is it possible to create a pull request?
Kind regards,
Peter Schmitz

Well after looking at it in detail, it seems that the two formats are indeed compatible. Checkout the test objectId() in bson4jackson/src/test/java/de/undercouch/bson4jackson/serializers/BsonSerializersTest.java which shows exactly how the fields correspond to each other.
So to create a de.undercouch.bson4jackson.types.ObjectId from a org.bson.types.ObjectId, just use
org.bson.types.ObjectId bsonObjectId = new org.bson.types.ObjectId();
de.undercouch.bson4jackson.types.ObjectId jacksonObjectId = new de.undercouch.bson4jackson.types.ObjectId(bsonObjectId.getTimeSecond(), bsonObjectId.getMachine(), bsonObjectId.getInc());

Of course it would also be possible to support org.bson.types.ObjectId directly in bson4jackson, but this would induce another dependency and I think @michel-kraemer wanted to avoid this, so he created de.undercouch.bson4jackson.types.ObjectId.


Unauthorized access. 'Send' claim(s) are required to perform this operation

Getting issue when we use Service Bus with MSI authentication connection string.
azure-servicebus-jms-spring-boot-starter -> 2.3.3
Java version: 11
Summary
Causing the following error when trying to SEND, and NOT send to endpoint
Unauthorized access. 'Send' claim(s) are required to perform this operation.
Reproduce steps:
Use Azure AD (MSI) connection string to connect to service bus from producer java component.
Create service bus and assigned role of Azure Service Bus Data Sender of AAD
Create QueueClient with this endpoint
Run application
Expected Results
Access without needing privileges to send on queue
Actual Results
org.springframework.jms.JmsSecurityException: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://xxx-d-xx-ns.servicebus.windows.net/xxx-d-xx-queue'. TrackingId:xxxx, SystemTracker:xxxxxx, Timestamp:2020-11-24T11:49:08 [condition = amqp:unauthorized-access]; nested exception is javax.jms.JMSSecurityException: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://xxx-d-xx-ns.servicebus.windows.net/xxx-d-xx-queue'. TrackingId:xxxx, SystemTracker:xxxxxx, Timestamp:2020-11-24T11:49:08 [condition = amqp:unauthorized-access]

@ashokseshan @chenrujun @backwind1233
I am also facing exactly similar issue for "azure-servicebus-jms-spring-boot-starter" library with version 2.3.5
The same code was working fine with SAS tocken based authentication. Could you please confirm is AAD authentication support added in the library. If no, when can we expect this feature to be available.

@ashokseshan @deeps-v I am following this issue, I will inform you of any progress.

Hi,@ashokseshan,@deeps-v.
Can you share with me how you use ServiceBus-JMS and MSI authentication together? Or related configuration.

FYI: This issue will be closed if it's not active for a long time.


README.md file enhancement

Describe the bug:
Official documentation links are not added to these buttons.
Expected result:
We can add official documentation links of the respective technologies used so that it will be helpful for new contributors.
Screenshot:

*Please assign this issue to me under gssoc23 @purnima143 *

I would like to work on this, please assign to me


Bug when using TFLite converter - error message suggests to send it to you

I was trying to convert a standard model (properly defined, works just fine when trying to predict stuff) when I encountered this error:
WARNING:tensorflow:AutoGraph could not transform <function canonicalize_signatures.<locals>.signature_wrapper at 0x7f7981227160> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Unknown node type <gast.gast.Expr object at 0x7f79811d2df0>
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert

WARNING: AutoGraph could not transform <function canonicalize_signatures.<locals>.signature_wrapper at 0x7f7981227160> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: Unknown node type <gast.gast.Expr object at 0x7f79811d2df0>
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert

I am using a book ,,TinyML: Machine Learning with TensorFlow on Arduino, and Ultra-Low Power Micro-Controllers ", which seems to be written by someone from TF development team.
I follow all the instructions from chapter 4.
If you are interested in my colab code, here it is:
[https://colab.research.google.com/drive/1eyqMB1POAZ9qw3lPCZkiyU7zfQ0Y1OxF#scrollTo=u26RmYUMC3Rw]
Any idea, any help?
UPDATE 06.12.2022
After re-running the entire code the day after I posted the issue (which is today), it worked just fine.
Still, I would like to know what might have caused the problem.
Should I close the issue?

@FranciszekNowak This warning will not hurt performance. If you face this issue in the future you may add this line just before importing tensorflow: tf.autograph.set_verbosity(3, True)?  It will show the additional information along with the warning.
After re-running your code if the issue doesn't persist now, then please move this issue to closed status.
Thank you!

Thank you very much!


java component doesn't get rebuild after code change

odo component create java
odo url create
odo push
odo config set --env foo=bar
odo push
#edit java source code
odo push  -v 4
# check application
# changes in the source code are not there

In the verbose output of odo push  -v 4 you can see the following lines:
+ exec /usr/local/s2i/assemble
INFO S2I source build with plain binaries detected
INFO Copying binaries from /tmp/src to /deployments ...

It looks like there is jar file  form the previous build in /tmp/src when s2i assemble script detects that . it just copies it to /deployments and then this executed instead of building new one.
/kind bug
/area component
/area s2i-java
/priority high

I think the easiest way to sort this to rm -rf *.jar|war|ear every time push happens.
This could, of course, be expensive, in which case, maybe a config/env say for eg ODO_JAVA_CLEAN for example (maybe can think of a better name) which will be set to true or false depending on if we need a fresh build (for eg any change needs rebuild of sources should set ODO_JAVA_CLEAN). And then when we copy over the source, if true, we do what I suggested at first and then unset ODO_JAVA_CLEAN.
wdyt @kadel

I think the easiest way to sort this to rm -rf *.jar|war|ear every time push happens.

Wouldn't it be enough to do this just on the backup directory?

I think the easiest way to sort this to rm -rf *.jar|war|ear every time push happens.

Wouldn't it be enough to do this just on the backup directory?

Hmm, yea, I think that should work. We will need to do this either before the copy to backup happens or after the build completes, again from backup.
One thing though is are there any scenarios where we might want to keep built artifacts in backup as well. That is something I am looking at at the moment

I think the best action would be to rm -rf *.jar|war|ear whenever push source  is done ie

-f
--source
file changes detected

The problem related to a build failing could probably be handled by renaming the file instead of removing it. If the build fails (we do detect failure right) we put it back. If it succeeds, we can delete it

@kadel wdyt. I ran it by @hrishin and he said it should be doale. we only need to do this for jar/war/ear files

Here is what it could look like
❯ ls
f1.ear  f1.jar  f1.war  f2.ear  f2.jar  f2.war  f3.ear  f3.jar  f3.war  somerandomfile

❯ for file in `ls *.{jar,war,ear}`; do mv $file $file.bak;  done

❯ ls
f1.ear.bak  f1.jar.bak  f1.war.bak  f2.ear.bak  f2.jar.bak  f2.war.bak  f3.ear.bak  f3.jar.bak  f3.war.bak  somerandomfile

❯ for file in `ls *.{jar.bak,war.bak,ear.bak}`; do mv $file ${file%.bak};  done

❯ ls
f1.ear  f1.jar  f1.war  f2.ear  f2.jar  f2.war  f3.ear  f3.jar  f3.war  somerandomfile

I tried renaming artifact files such as jar, war, ear in https://github.com/mohammedzee1000/odo-supervisord-image/blob/java_cleanup_artifacts/language-scripts/java/dev-assemble but it still finds the necessary.  artifacts. I validated the command

Working on deeper research. I have been playing a bit with odo code to see if something needs to be done from there as well

I'm confused regarding this issue. I have been trying to reproduce this issue but I see non deterministic behaviour. I follow the same steps provided by @kadel  and majority of the time , rebuild is working for me and fails a few times.

yes I think that would happen because sometimes java just decides to rebuild the class files sometimes it doesn't If I remember correctly.

the ideal outcome should be that when the build is supposed to fail, it should fail.

After a discussion with @kadel , It seems like this issue got resolved somewhere accidentally. While trying to reproduce the issue, almost all of the times, the rebuild seems to work fine for me. @kadel also verified the same. Thus, closing this issue.

Closing as per discussed


Links in the GESIS blog post not working

Context
Links in https://2i2c.org/blog/2022/gesis-2i2c-collaboration-update/ are potentially not proper in the Markdown e.g.

Mybinder.org

links in the post to

https://github.com/2i2c-org/2i2c-org.github.io/blob/main/content/blog/2022/gesis-2i2c-collaboration-update/mybinder.org

Proposal
No response
Updates and actions
No response

Thanks @choldgraf for the fix and @arnim for the report!


Fill the rip.Error.Source.Header for ErrorCodeBadQArg

discussion reference: https://github.com/dolanor/rip/issues/3

It was actually already handled: https://github.com/dolanor/rip/blob/main/header.go#L94
I still added 1 test to check for that: 206485f


Comments on the latest draft

"These works investigate particular evolutionary contexts within which cooperation can emerge as stable.
Often these works consider direct opposition to another strategy and disregard
the population dynamics, for example in \cite{Lee2015} a machine learning
algorithm outperforms a strategy found in \cite{Press2012}."
I would say instead perhaps:
"These works investigate particular evolutionary contexts within which cooperation can evolve and persist. This can be in the context of direct interactions between strategies or population dynamics for populations of many players using a variety of strategies, which can lead to very different results. For example, in \cite{Lee2015} a machine learning algorithm in a population context outperforms strategies described in \cite{Press2012} and \cite{Stewart2012} that are claimed to dominate any evolutionary opponent in head-to-head interactions."
Here I think there is a word missing:
"Due to the open nature of the library the number of strategies included has
grown at a fast pace, as can be seen in Figure~\ref{fig:number_of_strategies_against_date}. Despite this, due to previous research being done in an irreproducible manner , with for example no
source code, and/or vaguely described strategies, not all previous tournaments
are yet to be reproduced. In fact, some of the early tournaments might be
impossible to reproduce as the source code is forever lost, this library aims to
prevent this from happening again in the future." [Is the last sentence grammatically correct?]

Thanks for taking a look @marcharper :)
Have added those two things here: 99786ca22c6a0ad5465726043bc824cd3cfb5a0c

"In fact, some of the early tournaments might be
impossible to reproduce as the source code is forever lost, this library aims to
prevent this from happening again in the future." [Is the last sentence grammatically correct?]

I've read it a couple of times and seems fine to me. Any thoughts @meatballs?

@meatballs said:

The comma after lost should be either a period or semi colon

Just noting this so I keep track (going to make these tweaks shortly).

All addressed by 243c8a2eca5fb313a990b7901178152c8781c311


feat: Homepage Layout Updates

Type of change

[ ] Content addition
[ ] Bug fix
[x] Behavior change

Summary of change
Updates the tools and book list section of the homepage. Swaps the positions of the columns and makes the tools list more prominent. The book list being smaller on the right required hiding the featured book. I also updated the empty state for the books list and made a cute little css book because inspiration struck.

Checklist

[x] This fix resolves #678
[x] The changes follow the contributing guidelines
[x] I have verified the fix works and introduces no further errors

The space between the tool's image and description needs some padding. Maybe use the same padding as the tools page.
Home page:

Tools page:

Would also include the tool tag/type as well like the tools page:


src: using webpack

Connects #53

Coverage remained the same at 99.405% when pulling c2c5475c18e365f1c4d7593dff19acce5c93f881 on helio-frota:pr into c29a65b1e6418e55c0d578075b3685f4eabeb935 on bucharest-gold:master.

Coverage remained the same at 99.405% when pulling c2c5475c18e365f1c4d7593dff19acce5c93f881 on helio-frota:pr into c29a65b1e6418e55c0d578075b3685f4eabeb935 on bucharest-gold:master.


Repositories added through settings.gradle are not observable via project.repositories

Repositories added through settings.gradle are not observable via project.repositories
Expected Behavior
Calling project.repositories includes repositories added at the centralized place in plugin management in settings.gradle
Current Behavior
project.repositories only returns repositories added within repositories {} block of individual project and not ones from the central place of settings.gradle
Context
We have a plugin that does some validation on which repository a dependency is coming from, so we need to be able to get a list of all the repositories used in a given project.
Steps to Reproduce
https://github.com/liutikas/gradle-repository-propagation
Your Environment
Build scan URL: https://scans.gradle.com/s/bmydded3siydi

A relevant issue: https://github.com/gradle/gradle/issues/17295#issuecomment-951212731

Closing as duplicate of #17295

This isn't a duplicate of #17295. Exposing the settings to project build logic is certainly one way to help people solve the problem, but it isn't the only way and has some important downsides:

It requires build logic to reverse engineer Gradle's inheritance logic, which is an unreliable approach, particularly as this feature evolves.
Accessing the settings object from project build logic is an easy way to unintentionally couple the build logic for different projects, and will likely be disallowed by project isolation.

So, instead of exposing the settings object, it would be better to offer a way to query the final effective set of resolvers used by the project.


update testing for Debt field

update test.
Minimal changes.

Coverage remained the same at 92.046% when pulling 7a66461af5c6ba8cb11f1ad5b5edece830dec94d on lawwman:fix_debt into d2d5150f298298b22ed314f3933419630ee4c6ce on CS2103AUG2017-T17-B1:master.

Coverage increased (+0.3%) to 92.351% when pulling 100e30d90c592bdb0120df5cb8b49dd9b9d8067b on lawwman:fix_debt into 1a1773cb8bbed95a21b955e72f152dddb94f55f9 on CS2103AUG2017-T17-B1:master.


PSR-3 compliants?

Why does the interface Zend\Log\LoggerInterface does not respect the PSR-3 one?

Mostly because it was designed much (MUCH!) earlier than PSR-3

PSR-3 compliance is already provided, as documented

Hi,
I've already learned this part of the doc before asking you this question.
My question was because the class Zend\Log\Logger does not respect the PSR3 interface.
I'm not able to use the adapter specified in the documentation because I already need to use the Syslog one for my purpose.
I do agree that this module was develop before PSR-3 and that's why I wanted to know if a PR could be accepted for that?

Changing interfaces is a major backwards-incompatible change, so we wouldn't be able to change the logger interface anyway (the PR would be rejected)

Ok I understand that point.

@Ocramius Couldn't that be resolved by having the Zend\Log\LoggerInterface extend Psr\Log\LoggerInterface or am I missing something?

Keep the interfaces and implementations separated: mixing interfaces is just trouble, as you risk starting to couple to both without noticing, and you may have signature collisions.

I totally agree, but a lot of middleware doesn't respect that thought. Thanks for your reply anyways.


Can't access internet from container

Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 2
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 7
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay host bridge null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-92-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.888 GiB
Name: hans-laptop
ID: FYQU:OUWC:LYZM:ICEN:LYS7:75ZZ:IFIM:K2AK:6WHO:RLX2:LKTO:XEXU
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
1.
sudo docker run --rm -ti ubuntu:14.04 ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- google.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5040ms

sudo docker run --rm -ti ubuntu:14.04 ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.142 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.145 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=0.141 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=0.144 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=0.140 ms
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.140/0.142/0.145/0.010 ms

Describe the results you received:
I cannot access 'external addresses'.
I can access internal addresses like <IP_ADDRESS>, which is the docker host
Describe the results you expected:
Should be able to access all addresses, not just internal ones
Additional information you deem important (e.g. issue happens only occasionally):
Please note that this is clearly not a DNS issue, because the IP is clearly resolved before the ping starts.
I can see the icmp replies on br0 (my main bridge which includes eth0). I can't see the replies in docker0 and the vethxxx

Is this a fresh installation, or an upgrade from an older version of docker? Would help to narrow down if this is a regression in 1.12.
Alternatively; if this is a test machine, would you be able to downgrade to 1.11.2 (apt-get purge docker-engine and rm -r /var/lib/docker to uninstall docker, then install docker 1.11.2; apt-get install docker-engine=1.11.2)

Yeah, this isn’t production or anything, so I can test what I want (though can’t wipe the OS on this machine).
This was a fresh installation of docker.
After installing 1.11.2:
sudo docker run --rm -ti ubuntu:14.04 ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- google.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 6999ms

Strange, I have no idea why this machine is “special” in such a way that this simple NAT’ing is not working.

On Aug 2, 2016, at 12:25 PM, Sebastiaan van Stijn<EMAIL_ADDRESS>wrote:
Is this a fresh installation, or an upgrade from an older version of docker? Would help to narrow down if this is a regression in 1.12.
Alternatively; if this is a test machine, would you be able to downgrade to 1.11.2 (apt-get purge docker-engine and rm -r /var/lib/docker to uninstall docker, then install docker 1.11.2; apt-get install docker-engine=1.11.2)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Alright, so looks like it's not a regression in 1.12. Hm, I'm not really a networking expert, so no direct suggestions at this point; this issue is labeled with "group/networking", so possibly someone of the networking team has time to have a look (@aboch @mavenugo), I'm not sure this is a bug or an issue with that machine

Ok, major screw-up on my side. I had two acting routers on my subnet A and B, where B  was acting as intermediary between host and A, which had the actual upstream to internet. I'm not sure why the host had perfectly working internet and containers didn't, but setting the host to use A as gateway solved it.

Good to hear!

I see you're at TU Delft? Using Docker for that? (always curious how / in what way docker is used :smile:)

No, trying to hack away for actual job/work, not the university. Though, I wish we could use more modern  tools like docker on the university cluster, DAS5, but they're sticking to old school HPC cluster environments :(.
Though I'm pretty certain that Docker is used all the time now by students and  profs during lab assignments for easy proof-of-concepts and deployments.

Yes, it takes time to adopt to new things 😇


Cannot read property 'config' of null

Following the instructions in the readme failed at the instruction to run npm start. This calls ng serve, which fails with this error:
Cannot read property 'config' of null
TypeError: Cannot read property 'config' of null
    at Class.run (aws-cognito-apigw-angular\node_modules\@angular\cli\tasks\serve.js:22:63)
    at check_port_1.checkPort.then.port (aws-cognito-apigw-angular\node_modules\@angular\cli\commands\serve.js:103:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

It's not clear if this is a bug in angular-cli or something with this project. I noticed that the package.json refers to angular-cli 1.0.0 but using that version causes other problems (can't use the new command for one thing).
(I am on windows if that's relevant)

Update: turns out I shouldn't been running it from within the bundle that I downloaded from github. You need to run the commands in a totally seperate directly, not a subdirectory.


Unable to install under Linux Mint 19.3 (Ubuntu 18) - CMAKE error

Hi,
I tried many times to install howdy on my laptop and i have always the same problem during dlib building...
I use ppa to install howdy and run the command sudo -H apt install howdy
The first configurations steps works great (dependencies, IR camera check, upgrade of pip to the last version, download of data files, download of dlib)
But when it tries to build dlib the error occurs :

Building dlib

running install
running bdist_egg
running egg_info
creating dlib.egg-info
writing dlib.egg-info/PKG-INFO
writing dependency_links to dlib.egg-info/dependency_links.txt
writing top-level names to dlib.egg-info/top_level.txt
writing manifest file 'dlib.egg-info/SOURCES.txt'
package init file 'dlib/init.py' not found (or not a regular file)
reading manifest file 'dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.6.9 (default, Nov  7 2019, 10:44:02)
Invoking CMake setup: 'cmake /tmp/dlib-19.16/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/dlib-19.16/build/lib.linux-x86_64-3.6 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
**CMake Error in CMakeLists.txt:
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!**
See also "/tmp/dlib-19.16/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeOutput.log".
See also "/tmp/dlib-19.16/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeError.log".**

I can't access log files "/tmp/dlib-19.16/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeOutput.log" and "/tmp/dlib-19.16/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeError.log" as they are surely remove by the end of installation process.
I think the problem is cmake...
Please could you help me
Sorry I'm French and my English isn't always perfect...

Sorry for the inconvenience but I found my issue myself...
g++ is missing to install dlib !!!
So I have run "sudo apt install build-essential" then "sudo pip3 install dlib" and that works !


Filter and paginate issues  with multiple grids on one page

You can set a unique sortname for a grid using $grid->model()->setSortName('v') and a unique perpage name using $grid->model()->setPerPageName('vp'),.
Is there a way to set a unique pagination name, like &v[page]=2 instead of just &page=2?
Is there a way to set a unique prefix or name for the filters, like &v[name]=Joe instead of &name=Joe, on each grid?
Right now, those query elements affect all of the grids on the page.

Not supported by now, multiple grids on one page makes it much more complicated, I have no solution about this yet.

Ok.
I just wanted to make sure that I didn't miss something. This pushed me to find a better solution anyway.
This is a very feature-rich and well-done project.
Thanks!

i have same problem. any idea ?

@jonphipps Did you find solution about this issue?

Did you find solution about this issue?

How do you add multiple grids to one page?


Stripping ; from continue statements

The formatter is stripping a semi-colon (;) from continue statements.
I have this block
        if (sscanf(gems[size], "%s %s bloodjewel", gemtype, type) != 2)
            continue ;

and after formatting, it results in
        if (sscanf(gems[size], "%s %s bloodjewel", gemtype, type) != 2)
            continue

https://user-images.githubusercontent.com/1266935/236692479-e5d59424-1d3e-4d38-9923-17bd23d456f3.mp4

It doesn't seem to do it all the time, though. Which is weird. For example, lines 91-93, it stripped the ; but on line 125, it did not.

Will be included in version 49. Thanks again!


Cannot define channel's parameter as reference

Describe the bug
As we can see in the Studio:

In the channel's parameters we cannot make references.
How to Reproduce
Open https://studio.asyncapi.com/?url=https://raw.githubusercontent.com/asyncapi/spec/master/examples/streetlights-kafka.yml and convert to the JSON - right corner of the editor -> Convert to JSON and you should see yellow marker under $ref used in any channel's parameter (in YAML format you won't see error due to the https://github.com/asyncapi/studio/issues/509 issue).
Expected behavior
As a user I can make reference to the channel's parameter without "referencing" errors.

@derberg

I don't get why it shows up without throwing errors that AsyncAPI document doesn't follow the schema.

Seriously you can't handle if I'm missing 😅 Because we don't validate schema before resolving refs, but only after, that's you only see "warnings", not "errors".

Also, I don't mind 👇🏼 change but honestly see no difference, other than "it looks cleaner"

Check this change: https://github.com/asyncapi/spec-json-schemas/pull/320/files#diff-b94db5fcbf97dcbdb295076705f2ad0e55939493cdf43effbea7ceff9fe5404cR4
I changed it to the parameters schema where we have union of ref object and parameter item.

Seriously you can't handle if I'm missing

do you remember my comment about your english from last week 🤣 (super internal joke 😄  )

Because we don't validate schema before resolving refs, but only after, that's you only see "warnings", not "errors".

ups, forgot 😆

Check this change: https://github.com/asyncapi/spec-json-schemas/pull/320/files#diff-b94db5fcbf97dcbdb295076705f2ad0e55939493cdf43effbea7ceff9fe5404cR4
I changed it to the parameters schema where we have union of ref object and parameter item.

I'm showing you 2.5 and you point me to 2.4.
For 2.5 and 2.6 we already had that done, and parameters was union already https://asyncapi.com/definitions/2.5.0/parameters.json
I'm trying to understand the change and the difference.

I purposely wrote it that way so that you could point out the mistake to me and feel better 😄

I'm trying to understand the change and the difference.

I show you changes from 2.4.0 perspective, in 2.5.0 and in 2.6.0 we have this same and that's the problem that in the channels.[x].parameters field we use ref to the parameter object not to the parameterS. I hope it's clear.

@derberg There is a definition for channelItem.parameters https://github.com/asyncapi/spec-json-schemas/blob/master/definitions/2.5.0/channelItem.json#L13 and check that we cannot use $ref here -> in my Pr I changed the object to the parameters.