Feature: Policy engine with state synchronization

Description of change
This PR brings in a lightweight policy engine to configure dynamic access control. This is especially useful, when requesting state synchronization for remote peers, when the requesting party should only be allowed to access certain locations inside the serving party.
Links to any relevant issues
This PR solves the issues Policy engine and [State Synchronization Across Multiple Stronghold Instances](State Synchronization Across Multiple Stronghold Instances).
Type of change

[x] Enhancement (a non-breaking change which adds functionality)

How the change has been tested
integration and unit tests inside policy and client crate.
Change checklist

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

outdated and superseded with PR#317


Add is_object($c) check on page list block

One of our client's project we got the following error-
Error thrown with message "Call to a member function isEditMode() on null"

Let's add the is_object($c) to avoid this error.

What about isset($c) instead of is_object($c)?

@mlocati , Usually I do $c && $c->isEditMode(). But as I found in core is_object($c), I used the same way.
If you recommend, definitely I can change it to isset($c).


added upchiapas.edu.mx

Institution/School Name
Universidad Politecnica de Chiapas
Instiution/School Website
http://www.upchiapas.edu.mx/
Email Users
<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[ X] Students
[X ] Academic/Teaching Staff
[ ] Other/Support Staff

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[X ] Graduate School
[ X] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

Hi,
It would appear that you have opened a pull-request containing commits from JetBrains/swot which is a fork of this repository (leereilly/swot).
If you intended to create a pull request for JetBrains/swot, may I suggest you create a pull request there.
We cannot accept your pull request if it contains more than one institution, as is the case here.
If you want your institution to be included please follow the following steps:

Delete your fork of swot
Create a new fork of swot based upon this repository
Create the file (and directories if necessary) to add the institution to your fork
Open a new pull request against this repository to merge your fork.

I am closing this pull request, as it is for the wrong repository.

Hello peter, yes, sorry about that I make a mistake, I already created a pull request correctly I believe, is the “create upchiapas” commit
Thanks!
From: Peter Reid<EMAIL_ADDRESS>Sent: Wednesday, April 20, 2016 3:57 PM
To: leereilly/swot<EMAIL_ADDRESS>Cc: mwleinad<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [leereilly/swot] added upchiapas.edu.mx (#1128)
Hi,
It would appear that you have opened a pull-request containing commits from JetBrains/swot https://github.com/JetBrains/swot  which is a fork of this repository (leereilly/swot https://github.com/leereilly/swot ).
If you intended to create a pull request for JetBrains/swot, may I suggest you create a pull request there. https://github.com/JetBrains/swot/pulls
We cannot accept your pull request if it contains more than one institution, as is the case here.
If you want your institution to be included please follow the following steps:

Delete your fork of swot
Create a new fork of swot based upon this repository
Create the file (and directories if necessary) to add the institution to your fork
Open a new pull request against this repository to merge your fork.

I am closing this pull request, as it is for the wrong repository.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/leereilly/swot/pull/1128#issuecomment-212603353 https://github.com/notifications/beacon/AOccrl7MNR4D_iu5PN78K5DSpeg7aNI9ks5p5pMpgaJpZM4IL1W1.gif


QR code scanner

Script Title - Able to scan QR code
what will change - Adding script of QR code
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

@pawangeek , Please assign this to me.

Sure go ahead :)


(ISO 6709) Multiple levels of lists causes list items going missing

Notice list item  "f)" and the first "2)" are completely missing.
Original:

Metanorma:

Source:
For latitude and longitude coordinates the following rules
<<item_7-2-e;to!item_7-2-i>> shall apply:

[start=5]
. [[item_7-2-e]]the units of measure for latitude and longitude coordinates
shall follow the definition of the specific CRS;

. when sexagesimal degree representation is specified the following
rules <<item_7-2-f-1;to!item_7-2-f-2>> shall apply:
.. [[item_7-2-f-1]]where the minute or second value is less than 10,
its value shall include a leading 0;
.. [[item_7-2-f-2]]degree, minute and second units shall be identified
with symbols:
... the recommended symbols are:
**** degrees -- _degree sign_ [ ° ] ,
**** minutes -- _apostrophe_ [ ' ], and
**** seconds -- _quotation mark_ [ " ].

... the symbols shall immediately follow their value;
... there shall be no spaces between degree, minute and second values.
. latitude hemisphere north or south, shall follow the elements defined
in the specific CRS:
.. there shall be no space between the latitude value and its hemisphere
indicator;
.. if the elements are not defined, the latitude hemispheres north
or south shall be indicated through the _Latin capital letters N_
or _S_, respectively.

This has proven fiendish, there was difficulty processing the conversion of nested lists into Word paragraphs-only.

Confirm fixed.
An additional issue of locality citations appear due to the list being "split into two":

But I'm not sure what the best way to resolve it is.


dcos_installer/action_lib: remove SELinux from install-prereqs

High-level description
Change install-prereqs script to remove SELinux check so it is possible to install DC/OS with SELinux enabled.
We're doing so with an assumption that it is OK that this change affects open source but it is primarily targeted on EE (see https://jira.mesosphere.com/browse/DCOS-40653).
CHANGES.md entry will be covered in https://github.com/dcos/dcos/pull/3308.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-40652 Change install-prereqs script to remove SELinux check

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: This will be done in https://jira.mesosphere.com/browse/DCOS-40145 .
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

@mesosphere-mergebot bump-ee

CHANGES.md log will be covered in https://github.com/dcos/dcos/pull/3308.

@mesosphere-mergebot label Ready For Review

We're doing so with an assumption that it is OK that this change affects open source but it is primarily targeted on EE (see https://jira.mesosphere.com/browse/DCOS-40653).

This has now been confirmed by @somikbehera .

@mesosphere-mergebot label Ready For Review

@sambatyon Thank you. We don't have tests for our install_prereqs tests, what tests would you like to see? I guess for this one we might test that if we start with an AMI with SELinux enabled, then install DC/OS, we still have SELinux enabled? IMO you could also have tests that dig isn't uninstalled. Happy to discuss.
The "Support SELinux enforcing-targeted" story will have tests - we will run integration tests on AWS with SELinux enabled.

@adamtheturtle I was just thinking on running DC/OS on SELinux as part of our integration tests.

@adamtheturtle I was just thinking on running DC/OS on SELinux as part of our integration tests.

Yep, we will do that, but that wouldn't test this change at all.


Apps break on hosts where Splunk is configured to listen on IPv6 management port

For apps which invoke the get_splunkd_access_info() function from splunkenv.py, errors are thrown when a host is configured to listen using IPv6 on the Splunk MGMT port.
This function uses get_conf_key_value() to read the value of mgmtHostPort from web.conf, and splits it based on the : delimiter in order to work out the value being used for the MGMT port on the current instance:
https://github.com/splunk/addonfactory-solutions-library-python/blob/ed4749fa4cca8caabd3cc90ddd56b4a19824751d/solnlib/splunkenv.py#L187-L191
This obviously breaks when encountering IPv6 addresses, which use : as a delimiter as part of the address. This also breaks when deploying a Splunk-recommended configuration to listen on IPv6 as well as v4, which looks like this:
mgmtHostPort = [::]:8089

This type of construct is interestingly not included in the spec file for web.conf but in the spec file for server.conf, which states:

You might need to change the mgmtHostPort setting in the web.conf file. Use '[::1]' instead of '<IP_ADDRESS>'.

I'm not quite sure what the best way of fixing this is. It seems like using : as a delimiter should still be possible, but the function should take care to ensure that where multiple : delimiters are present, the rightmost value is taken as the integer used for the port value.
An example error from a Splunkbase app breaking because of this bug:
12-11-2023 17:07:25.671 +0000 ERROR AdminManagerExternal [109547 TcpChannelThread] - Stack trace from python handler:\nTraceback (most recent call last):\n  File "/opt/splunk/lib/python3.7/site-packages/splunk/admin.py", line 108, in init_persistent\n    hand = handler(mode, ctxInfo, data)\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/splunktaucclib/rest_handler/admin_external.py", line 95, in __init__\n    get_splunkd_endpoint(),\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/splunktaucclib/rest_handler/admin_external.py", line 77, in get_splunkd_endpoint\n    splunkd_uri = get_splunkd_uri()\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/solnlib/splunkenv.py", line 208, in get_splunkd_uri\n    scheme, host, port = get_splunkd_access_info()\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/solnlib/splunkenv.py", line 188, in get_splunkd_access_info\n    port = int(host_port.split(":")[1])\nValueError: invalid literal for int() with base 10: ''\n

hey @alexhaydock, thanks for reporting this, we will take a look into it.

@alexhaydock there are 2 PRs which I implemented which should have support for IPv6:

https://github.com/splunk/addonfactory-solutions-library-python/pull/227
https://github.com/splunk/addonfactory-solutions-library-python/pull/205

I followed docs from here.
The only difference I see so far is that you have [::]:8089 and I implemented the feature based on [::1]:8089 (from the docs above).

Thanks for looking into this, @artemrys. Looking a little closer, I think you're right.
I've compared the app where I was facing this issue and the version of splunkenv.py in this repo and it looks like the issue here is that the app I'm trying to use was built with an older version of the add-on-builder before solnlib incorporated the fixes in your PRs above.
A diff between the one in the app and the one in this repo shows this off:
--- splunkenv.py	2023-11-01 23:47:04.825139976 +0000
+++ splunkenv.py.new	2023-12-13 14:33:23.223684840 +0000
@@ -1,11 +1,11 @@
 #
-# Copyright 2021 Splunk Inc.
+# Copyright 2023 Splunk Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-# http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -24,6 +24,8 @@
 from io import StringIO
 from typing import List, Optional, Tuple, Union

+from .utils import is_true
+
 __all__ = [
     "make_splunkhome_path",
     "get_splunk_host_info",
@@ -177,15 +179,16 @@
         Tuple of (scheme, host, port).
     """

-    if get_conf_key_value("server", "sslConfig", "enableSplunkdSSL") == "true":
+    if is_true(get_conf_key_value("server", "sslConfig", "enableSplunkdSSL")):
         scheme = "https"
     else:
         scheme = "http"

     host_port = get_conf_key_value("web", "settings", "mgmtHostPort")
     host_port = host_port.strip()
-    host = host_port.split(":")[0]
-    port = int(host_port.split(":")[1])
+    host_port_split_parts = host_port.split(":")
+    host = ":".join(host_port_split_parts[:-1])
+    port = int(host_port_split_parts[-1])

     if "SPLUNK_BINDIP" in os.environ:
         bindip = os.environ["SPLUNK_BINDIP"]

I'll try and contact the app developer and see if they can update the app to backport the fixes from your PRs above, but I'm interested in whether there's any guidance for app developers published by Splunk that makes recommendations about how the app lifecycle should be managed to account for upstream AoB updates which fix bugs and issues such as this one?

I've tried to patch the app in question by importing the whole solnlib directory from this repo, and I do think the changes in splunkenv.py above have fixed the first issue I was hitting but I'm still getting an error which I think is related to the logic here in net_utils.py:
https://github.com/splunk/addonfactory-solutions-library-python/blob/ed4749fa4cca8caabd3cc90ddd56b4a19824751d/solnlib/net_utils.py#L99
The error:
12-13-2023 14:52:51.561 +0000 ERROR AdminManagerExternal [478350 TcpChannelThread] - Stack trace from python handler:\nTraceback (most recent call last):\n  File "/opt/splunk/lib/python3.7/site-packages/splunk/admin.py", line 108, in init_persistent\n    hand = handler(mode, ctxInfo, data)\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/splunktaucclib/rest_handler/admin_external.py", line 97, in __init__\n    self.endpoint,\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/splunktaucclib/rest_handler/handler.py", line 150, in __init__\n    port=splunkd_info.port,\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/solnlib/splunk_rest_client.py", line 216, in __init__\n    validate_scheme_host_port(scheme, host, port)\n  File "/opt/splunk/etc/apps/TA-sandfly-security/bin/ta_sandfly_security/aob_py3/solnlib/net_utils.py", line 153, in validate_scheme_host_port\n    raise ValueError("Invalid host")\nValueError: Invalid host\n

I notice that you mentioned the IPv6 support before was added based on the docs that reference [::1], and a quick glance at the code suggests that the net_utils.py logic is specifically looking for that address pattern.
For IPv6, listening on [::1] is the equivalent of listening on loopback, but if you want to listen on all interfaces to host something externally-accessible, like a deployment server, then [::] is the syntax. From a cursory glance at the code I can't tell, but it should also be validated that it's capable of handling situations where a specific IPv6 address is being listened on too, for example: mgmtHostPort = [2001:0DB8::1234]:8089.

I've tried to patch the app in question by importing the whole solnlib directory from this repo, and I do think the changes in splunkenv.py above have fixed the first issue I was hitting but I'm still getting an error which I think is related to the logic here in net_utils.py:

Please check out https://github.com/splunk/addonfactory-solutions-library-python/pull/227 as well, it should fix net_utils.py issue.

but I'm interested in whether there's any guidance for app developers published by Splunk that makes recommendations about how the app lifecycle should be managed to account for upstream AoB updates which fix bugs and issues such as this one?

I honestly don't know if something like this exists (especially in regards to AoB). I would recommend trying to update everything to the latest versions, we try not to make breaking changes for the users.

For IPv6, listening on [::1] is the equivalent of listening on loopback, but if you want to listen on all interfaces to host something externally-accessible, like a deployment server, then [::] is the syntax. From a cursory glance at the code I can't tell specifically what is failing, but it should also be validated that it's capable of handling both [::], and also situations where a specific IPv6 address is being listened on too, for example: mgmtHostPort = [2001:0DB8::1234]:8089.

I think it makes sense, I would need to read more documentation about it to have a more productive discussion 😃

I would recommend trying to update everything to the latest versions, we try not to make breaking changes for the users.

Ah sorry for not being totally clear. I did actually update the entire solnlib directory in the app by replacing it with the current code in this repo and that seems to have fixed splunkenv.py, but not net_utils.py.
I looked at the changes in #227 and I think the problem is that they make the assumption that the only valid IPv6 listening address is going to be [::1]. That address is the equivalent of using <IP_ADDRESS>, which is fine for a local MGMT port, but for something like a deployment server (or in my case an all-in-one deployment of Splunk) where you want the host to listen externally, the syntax in IPv6 notation is [::], which is the equivalent of <IP_ADDRESS>.
Based on the changes in #227, I don't think that the code is set up to work appropriately with [::], as I think it is expecting to only see [::1].


Issue with trailing whitespace in translation string when used with a directive

I'm submitting a ...
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
When the value of a key in the JSON file ends with a white-space, the language change does not have an effect when used with a directive. This works correctly when used with a pipe or with the service.
Expected/desired behavior
The value should get translated as defined in the JSON files.
Reproduction of the problem
html
common.terms.searchCriteriaLine
en.json
{ "common": { "terms": { "searchCriteriaLine": "Search Criteria - " } } }
el.json
{ "common": { "terms": { "searchCriteriaLine": "Κριτήρια Αναζήτησης - " } } }
Please tell us about your environment:

ngx-translate version: 9.1.1

Angular version: 5.1.1

Browser: [Chrome 64.0.3282.140]

Confirmed
https://stackblitz.com/edit/github-ad9uqm

It seems this issue with the spaces (at the begining or at the end) is also available in the last build v11.0.0
https://stackblitz.com/edit/github-ad9uqm-vqauiz

any news on this? the issue is valid in 11.0.1 as well.

Any news on this issue?

is there any on this issue?

Not exactly the same problem as mine but might be resolved by my pending pull request #1117 as stated error is :
sh: 0: Can't open /etc/init.d/xvfb
The command "sh -e /etc/init.d/xvfb start" failed and exited with 127 during .


Intercepting requests to influence HAR lookups, or conditionally enriching responses

First of all, thank you for this library.
The API I'm trying to mock has the following behaviour:

An initial POST to the BE passes generated tempIds for each entity
The BE accepts the tempIds and echos them back in the response
The BE also echos back fixedIds at the same time, and on subsequent responses
The BE will NOT echo back tempIds on subsequent responses

I wouldn't be asking here if the solution was as easy as creating deterministic tempIds in the FE, which would almost certainly solve my issue, but I'm trying the following approaches.
Given:
stateDiagram-v2
direction LR

FE --> request
request --> HAR
HAR --> response
response --> FE

I want to try and perform the following intercepts for my HARs:
stateDiagram-v2
direction LR

FE --> request
request --> INTERCEPT_req
INTERCEPT_req --> HAR
HAR --> response
response --> INTERCEPT_res
INTERCEPT_res --> FE

Essentially I want to either:

Use INTERCEPT_req to rewrite the tempIds and make them deterministic so that future HAR playback will pick up the right stored mocks
Configure playwright-advanced-har to exclude all tempIds during recording, but use INTERCEPT_req to conditionally enrich INTERCEPT_res with the tempIds the FE sends

Hope this is reasonably clear, and thanks in advance for any advice!

Hi @shuckster, let me see if I understood your problem:

You want to let the client send a different tempId when making the POST request
you want the map the new tempId to the recorded tempId in the response, and in all future requests and responses.
Both approaches you introduces sounds valid to me, but I believe that the HAR file will save the original requests (and will not take into consideration the changes you made to the data).

I think a nice approach for this problem could be abusing the postDataComparator to store the tempId once any request is having that field, and save both clientTempId and backendTempId (when update: flase, both values will be different). then, I would use postDataComparator and postProcess to replace the new ID to the old one from the recording whenever it appears on any request / response.
What do you think?
Thanks for being an early-adopter of this library, your feedback is highly appreciated :1st_place_medal:

please re-open this issue if you have any further thoughts

Gosh, has it really been so long? Apologies for missing your message.
We're still using your project and managed to get around the issue above by having our ID generators be "seeded", and we would have hard-coded seeds for our tests.
Your project has been extremely useful and I'll certainly be in touch if something else comes up, so thank you again for your work.

That's so great to hear! Thank you for your feedback, keep updating! :)


clean implementation of user extension of custom models

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d3c78b2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage          ?   83.48%
=========================================
  Files             ?      101
  Lines             ?     3209
  Branches          ?        0
=========================================
  Hits              ?     2679
  Misses            ?      530
  Partials          ?        0

Flag
Coverage Δ

unittests
83.48% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add tool tip for linux, to see something when tray icon is clicked.

Turns this:

into this:

@keybase/react-hackers

Is this the only solution?

I think it's just the first hack we could think of to make things slightly better.  There's an Electron bug ultimately responsible.. @MarcoPolo did we file it somewhere?

:+1:

It's a know issue in electron: https://github.com/atom/electron/blob/master/docs/api/tray.md.
I think this is the only solution we can do with electron.

Which of those known issues is it?

BTW this only happens in Ubuntu Unity, GNOME works properly.  So it feels like it should be fixable, even if we aren't the people to fix it.


Prisma need support for prettier

Hello, i tried to format prisma file with this plugin: plugin but didnt work.
coc-prettier doesnt support plugins?

I'm formatting this way at the moment: autocmd InsertLeave *.prisma :!npx prisma format

This didn't work for me unfortunately. Any idea how to get it to work?

You have to make used the prettier used by coc-prettier installed with your plugin, use command :CocCommand prettier.openOutput


chore: Bump flutter_svg for smooth_app

The build is failing due to different versions of flutter_svg:
Resolving dependencies...
Because every version of scanner_shared from path depends on flutter_svg 2.0.11 and smooth_app depends on flutter_svg 2.0.10+1, scanner_shared from path is forbidden.
So, because smooth_app depends on scanner_shared from path, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on flutter_svg: flutter pub add flutter_svg:^2.0.11

https://github.com/openfoodfacts/smooth-app/actions/runs/11642118846/job/32421359571#step:13:335

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

Project coverage is 7.04%. Comparing base (4d9c7fc) to head (f140850).
Report is 421 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5779      +/-   ##
==========================================
- Coverage     9.54%   7.04%   -2.51%
==========================================
  Files          325     411      +86
  Lines        16411   22232    +5821
==========================================
  Hits          1567    1567
- Misses       14844   20665    +5821

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

Thanks for the fix


Refactor examples & add e2e-tests

@magne4000

Moved examples/basic => examples/full
Removed examples/ssr-spa
Added examples/mimimal
Added e2e-tests

Should we remove workflows/build.yml ci ?
Please take a look & review this PR.

Nice, LGTM!

Should we remove workflows/build.yml ci ?

I removed it.

Feel free to merge if it's good for you

Thank you, merging now :rocket:


Handle unicode name tags

Type: generic-bugfix
Why is this change necessary?
The peering watcher was throwing an exception when the name tag
contained unicode characters.
This change addresses the need by:
Encoding the name tag before processing
Potential Side Effects:
No known side effects

Coverage remained the same at 54.416% when pulling b024c849b8f229430c696ce8091c94d020b66e6e on Bridgewater:9650_UnicodeBug into 83e572a83a9c003efe79399631873b232c7086f6 on Netflix:develop.


Remove io_loop in tornado.ioloop.PeriodicCallback

tornado versionchanged:: 5.0
The io_loop argument (deprecated since version 4.1) has been removed.
@thefab, could you help to review and merge it? thanks.

Looks like tornado version didn't update to latest in https://github.com/JumpingYang001/tornadis/blob/master/requirements.txt cause the Travis fail.

Looks like need to update https://github.com/thefab/tornadis/blob/master/requirements.txt

looks like need to check tornado version the code, so it can call correct parameters with backward, will try later.


Non stanndard Level hierarchy not possible in BraPIv2

https://github.com/plantbreeding/API/blob/d676187253e952648b68953b2486a66ff75e98e1/Specification/BrAPI-Phenotyping/ObservationUnits/Schemas/ObservationUnitNewRequest.yaml#L44
In the current version, there is a loss of funcitonality. Indeed, it was possible to add the following informaiton to onbservationsUnits : replication:3, plot:pl34a ,  individual : qtrzet or rep : 1 , bloc : 25 , individual : 3456
This is no longer possible now. We need to have up to 5 levels with a level name hierarchy specific of each study.
It was handled by :
    "observationLevels": "block:1;plot:1"

Adding such a field in aditional info but troublesome for the interface handling:https://urgi.versailles.inra.fr/ephesis/ephesis/viewer.do#dataResults/trialSetIds=22

We could also have a fixed hierarchy up to 5 plus display names:
level1, level2, level3, level4, level5
level1displayName, level2displayName,, level3displayName,, level4displayName,, level5displayName,

or
rep, block, subblock, plot, plant
repDisplayName, blockDisplayName, subblockDisplayName, plotDisplayName, plantDisplayName

Related #324

MIAPPE level list : study, block, sub-block, plot, sub-plot, pot, plant
Extendable if needbe

Proposal
study.observationLevelHierarchy: [
  {
	levelName: 'plot',
	levelOrder: 1
  },{
	levelName: 'plant',
	levelOrder: 2
  },{
	levelName: 'block',
	levelOrder: 0
  }
]

observationUnit.observationLevels: [
  {
	levelName: 'plot',
	levelOrder: 1,
	levelCode: 'plot_328A'
  },{
	levelName: 'plant',
	levelOrder: 2,
	levelCode: '223'
  },{
	levelName: 'block',
	levelOrder: 0,
	levelCode: '1'
  }
]

@cpommier Check this with Ephesis code

Would the proposed schema support multiple values at the same level? E.g.:
observationUnit.observationLevels: [
{
levelName: 'plot',
levelOrder: 1,
levelCode: 'plot_328A'
},{
levelName: 'plant',
levelOrder: 2,
levelCode: '223'
},{
levelName: 'timePoint',
levelOrder: 2,
levelCode: 'flowering'
},{
levelName: 'block',
levelOrder: 0,
levelCode: '1'
}
]

@jeback1 Technically, yes you could. I don't really like your example because you introduce time when the levels are intended to be spacial dividers. Another example might be
[
  {
    levelName: 'block',
    levelOrder: 0,
    levelCode: 'block_1'
  },
  {
    levelName: 'plot',
    levelOrder: 1,
    levelCode: 'plot_328A'
  },{
    levelName: 'sub-block',
    levelOrder: 1,
    levelCode: '223'
  },{
    levelName: 'plant',
    levelOrder: 2,
    levelCode: '328A_23'
  }
]

if you defined plots and sub-blocks as the same level, giving the same area of land two different codes.


Add php interop for 1.19 and 1.20

Now that #18264 is resolved, please port the fix to 1.19 and 1.20. Probably a new tag is not required on these branches as a patch file can be used to pick up the fixes.

Newer releases have been added just fine for PHP since then
        ('v1.21.4', ReleaseInfo()),
        ('v1.22.0', ReleaseInfo()),
        ('v1.22.1', ReleaseInfo()),
        ('v1.23.0', ReleaseInfo()),
        ('v1.24.0', ReleaseInfo()),

Probably not worth it to go back this far back.


Test built image for PHP Warnings

Add test step to pipeline to make sure the following command prints the version without any php warnings.
image_version="$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);')"
In order to avoid regression bugs for https://github.com/nextcloud/docker/issues/2037
See also https://docs.docker.com/build/ci/github-actions/test-before-push/

docker run --rm -it --entrypoint /usr/local/bin/php ghcr.io/flx5/nextcloud-full-image:v27.1.3  -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);'


[DNM] Add test-operator period job

Let's try to define daily periodic job that will execute tempest tests via the test-operator.

recheck

recheck


[DO NOT MERGE] FEAT: Support transformers tool call

A demo that implements tool calls for mistral-instruct-v0.3.

Requires the main version transformers (the feature has not been released): https://github.com/huggingface/transformers
Requires branch 35 of Mistral-7B-Instruct-v0.3 (not merged yet): https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3/discussions/35

Reference: https://huggingface.co/docs/transformers/main/en/chat_templating#advanced-tool-use--function-calling

There are conflicts, when this PR is ready for review, please ping me.


Remove required groups already set in the starter

Required groups are set directly in the starter now.
Ref https://github.com/Activiti/Activiti/issues/2258

Depends on https://github.com/Activiti/activiti-cloud-runtime-bundle-service/pull/352


Tabular: Added time_limit usage to KNN

Issue #, if available:
Description of changes:

Added time_limit usage to KNN
Fixed very rare crash when label column was category type and not all categories had rows and eval_metric was log_loss.

Previously on the KDDCup99 dataset, KNN would train for >10hrs regardless of time limit.
Now, it trains while respecting the time limit:
Fitting model: KNeighbors ... Training model for up to 561.84s of the 561.84s of remaining time.
	Dropped 9 of 40 features.
	0.56s 	= Train Time (Using 10000 of 4365529 samples) (559.12s remaining time)
	0.86s 	= Train Time (Using 20000 of 4365529 samples) (558.26s remaining time)
	1.55s 	= Train Time (Using 40000 of 4365529 samples) (556.71s remaining time)
	20.25s 	= Train Time (Using 80000 of 4365529 samples) (536.46s remaining time)
	62.91s 	= Train Time (Using 160000 of 4365529 samples) (473.55s remaining time)
	Not enough time to train model on all training rows. Fit 160000/4365529 rows. (Next model expected to take 503.29s to train.)
	-0.0141	 = Validation log_loss score
	88.34s	 = Training runtime
	55.95s	 = Validation runtime

One edge case to note is that refit_full will still use ALL rows during the refit. It is not clear the desired behavior refit_full should have in the scenario where KNN bags were not trained on all of their data, but it should be addressed prior to v0.1 release (added as FIXME).
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-845-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-845/1/index.html

Job PR-845-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-845/1/index.html

Benchmarked and it fixed errors in KDD99Cup dataset, no other errors found.

Benchmarked and it fixed errors in KDD99Cup dataset, no other errors found.

Job PR-845-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-845/2/index.html

Job PR-845-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-845/2/index.html


Clean up agents from pool when Terraform destroy is called

Currently, if you call the terraform destroy commands, all the containers instances are removed, but the agents are still present in the Azure DevOps agents pool. They are marked as offline, so no job can be scheduled on it, but still there and have to be removed manually.

We should find a way to clean up automatically when terraform destroy is called. Maybe using a local executer or something like that.

@jcorioland  I have fixed this in use case and would be happy to add a PR for the fix.

@mozts2005 awesome, I am happy to get contributions on the project! How did you fix this in your use case? Looking forward for the PR. Thanks!

I did this by adding the Azure DevOps provider and creating the Pool in the state file.

I have been able to remove individual agents in AKS clusters when the containers get a safe shutdown by updating the startup.sh script to call the cleanup function. but I have not been able to get an ACI to perform a safe shutdown.

@mozts2005
I did this by adding the Azure DevOps provider and creating the Pool in the state file.
On this one, I think you are talking about #4 and not this issue. I have a work in progress on this one, and indeed I am using the new Azure DevOps provider.
I have been able to remove individual agents in AKS clusters when the containers get a safe shutdown by updating the startup.sh script to call the cleanup function. but I have not been able to get an ACI to perform a safe shutdown.
This is exactly my problem, I cannot find a way to gracefully shutdown an ACI container.

I have been able to remove individual agents in AKS clusters when the containers get a safe shutdown by updating the startup.sh script to call the cleanup function. but I have not been able to get an ACI to perform a safe shutdown.

@mozts2005 can you share the code for calling cleanup of the agent?

add this to the bottom of the start.sh
print_header "2. Running Azure Pipelines agent..."

# `exec` the node runtime so it's aware of TERM and INT signals
# AgentService.js understands how to handle agent self-update and restart
exec ./externals/node/bin/node ./bin/AgentService.js interactive --once & wait $!

# We expect the above process to exit when it runs once,
# so we now run a cleanup process to remove this agent
# from the pool
cleanup

the cleanup function can be viewed here https://github.com/Azure/terraform-azurerm-aci-devops-agent/blob/master/docker/linux/start.sh#L31

Are there any changes need to PR #11?

Are there any changes need to PR #11?

@jcorioland did the above PR solve the cleanup issue on destroy (not sure if you tested it yourself); is this something you were still pursuing?

@soccerjoshj07 for some reason it has not been finished. I am looking at it right now to finish end to end tests and merge. Thanks!

any update on this?


Folder doesn't show all available files

VSCode Version: July 2020 (version 1.48)
OS Version: Ubuntu 20.04 LTS

Steps to Reproduce:

Open sidebar
Go to folder with error
Only 1 file is present while containing folder shows several

Does this issue occur when all extensions are disabled?: Yes

Thanks for filling this issue. I can not reproduce. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/
If yes can you please provide more precise steps so we reproduce this on our machines


flutter_verification_box 1.0.3 不能 pub

flutter_verification_box 1.0.3 不能 pub
Running "flutter pub get" in acgn_pioneer...
Could not un-tar (exit code 1). Error:

__MACOSX/flutter_verification_box/._README.md: Truncated tar archive
tar: Error exit delayed from previous errors., path = ''

pub get failed (66; tar: Error exit delayed from previous errors., path = '')
exit code 66

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
    • Flutter version 1.22.2 at /Users/yangchaoguo/Documents/flutter
    • Framework revision 84f3d28555 (7 days ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/yangchaoguo/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/yangchaoguo/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • E864B09F-B728-480A-BD6B-4879845F210F • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

pub --trace '--verbosity=warning' get --no-precompile 运行一下这个，然后在 get，看是否可以正常引用。

试下 1.0.4 版本


IllegalGeneration exception from SimpleConsumer

INFO:pykafka.balancedconsumer:Rebalancing consumer "pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6" for topic "my-replicated-topic".
INFO:pykafka.managedbalancedconsumer:Sending JoinGroupRequest for consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'
INFO:pykafka.balancedconsumer:pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6: Balancing 2 participants for 10 partitions. Owning 5 partitions.
DEBUG:pykafka.balancedconsumer:My partitions: ['my-replicated-topic-0-2', 'my-replicated-topic-0-5', 'my-replicated-topic-0-8', 'my-replicated-topic-1-3', 'my-replicated-topic-1-0']
INFO:pykafka.balancedconsumer:pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6: Balancing 2 participants for 10 partitions. Owning 5 partitions.
DEBUG:pykafka.balancedconsumer:My partitions: ['my-replicated-topic-2-7', 'my-replicated-topic-1-6', 'my-replicated-topic-1-9', 'my-replicated-topic-2-4', 'my-replicated-topic-2-1']
INFO:pykafka.managedbalancedconsumer:Sending SyncGroupRequest for consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'
DEBUG:pykafka.simpleconsumer:Committing offsets for 10 partitions to broker id 2
INFO:pykafka.simpleconsumer:Continuing in response to IllegalGeneration
ERROR:pykafka.simpleconsumer:Error committing offsets for topic 'my-replicated-topic' from consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]})
DEBUG:pykafka.simpleconsumer:Retrying
DEBUG:pykafka.simpleconsumer:Fetcher thread exiting
INFO:pykafka.simpleconsumer:Continuing in response to IllegalGeneration
ERROR:pykafka.simpleconsumer:Error committing offsets for topic 'my-replicated-topic' from consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]})
DEBUG:pykafka.simpleconsumer:Retrying
INFO:pykafka.simpleconsumer:Continuing in response to IllegalGeneration
ERROR:pykafka.simpleconsumer:Error committing offsets for topic 'my-replicated-topic' from consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]})
DEBUG:pykafka.simpleconsumer:Retrying
INFO:pykafka.simpleconsumer:Continuing in response to IllegalGeneration
ERROR:pykafka.simpleconsumer:Error committing offsets for topic 'my-replicated-topic' from consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]})
DEBUG:pykafka.simpleconsumer:Retrying
INFO:pykafka.simpleconsumer:Continuing in response to IllegalGeneration
ERROR:pykafka.simpleconsumer:Error committing offsets for topic 'my-replicated-topic' from consumer id 'pykafka-88ab9f20-80db-493c-9253-998a14cfb0d6'(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]})
INFO:pykafka.cluster:Attempting to discover offset manager for consumer group 'testgroup'
INFO:pykafka.cluster:Found coordinator broker with id 2
DEBUG:pykafka.simpleconsumer:Fetching offsets for 5 partitions from broker id 2
DEBUG:pykafka.simpleconsumer:Set offset for partition 1 to 282963
DEBUG:pykafka.simpleconsumer:Set offset for partition 4 to 283507
DEBUG:pykafka.simpleconsumer:Set offset for partition 9 to 284755
DEBUG:pykafka.simpleconsumer:Set offset for partition 6 to 284410
DEBUG:pykafka.simpleconsumer:Set offset for partition 7 to 282724

I use topic.get_balanced_consumer(consumer_group='testgroup',auto_commit_enable=True,managed=True, consumer_timeout_ms=1500) to get managedbalancedconsumer.
this is a self-balancing consumer, but get a error

Thanks @lovemfchen. Does this error happen immediately upon consumer initialization, or during a rebalance that occurs after it's been running for a while?

it happern in a rebalance that I create a consummer with the same group id，I think when the SimpleConsumer have been create，but the old one still commit the offset with old generaton id

We see a number of these upon initialization of a managed balanced consumer

I'm experiencing this same issue

Help is definitely wanted on this issue, since it concerns an API that we're not currently using in production at Parse.ly.

@razor-1 If you're able, it would be very helpful to provide some more information about these errors on initialization. Perhaps you can post some log output that shows the problem, or some example code that can be used to replicate it?

I see things like this:
2018-03-14 23:17:18,814 pykafka.simpleconsumer ERROR    Error committing offsets for topic 'b'topic_name'' from consumer id 'b'pykafka-20acb16b-ea5f-44a7-a46d-456273907ea2''(errors: {<class 'pykafka.exceptions.IllegalGeneration'>: [1, 2]})
I can try to find the combination of kafka configs and pykafka code that make this reproducible but it might take some time

I believe this may be related to having auto_commit_enabled True and then calling stop() on the consumer.

I don't know if this is related but some times, when using managed=True, I get ERROR (pykafka.simpleconsumer): Error committing offsets for topic 'b'segments'' from consumer id 'b'pykafka-4db4a00f-c3e8-405c-b455-5acc0efb1206''(errors: {<class 'pykafka.exceptions.RebalanceInProgress'>: [0, 1, 2, 3, 4, 5]})

@jmoraleda It's really interesting that you find these failures more reliable on a slow processor. That might be key to some improvements we could make to the integration tests to make them shake out these types of timing issues. By the way, that's my hunch about what this might be - synchronization between the various internal threads in a consumer works a bit differently when using managed=True, so I'm not surprised different execution models/patterns exhibit the problem differently.


UE4 five original 4.0 launch tech demos all fail

Hi see:
just seeing commits and pull requests related to fixing UE4 games I tested:
https://www.techpowerup.com/download/unreal-engine-4-five-tech-demos/
they are interesting because they are five UE4 launch tech demos were compiled just shortly following UE4.0 open source release in March 2014..
all create a window and load a few seconds before closing the window
Software information
Effects Cave: Lets you walk through a cave with water and lighting effects.
Realistic Rendering: Renders an indoor scene with almost photorealistic quality.
Reflections: Shows off how to get the most of Unreal Engine 4's Real-time reflection system in a realistic, dark, and grungy environment.
Shooter Game: Serves as a basic template to a Quake 4 style multi player game.
Temple Mobile: Walkthrough in a temple.

System information

GPU: Vega
Driver: latest
Wine version:  none native
DXVK version:  latest as today

Log files
so briefly only "Effects Cave" seems to need tesselation..
the others no and all seem to fail because some other reason:
err:   DxbcCompiler: Unhandled PS SV input: DxbcSystemValue::RenderTargetId
Effects_dxgi.log
Effects_d3d11.log
Reflections_d3d11.log
Reflections_dxgi.log
RealisticRendering_d3d11.log
RealisticRendering_dxgi.log
ShooterGame_d3d11.log
ShooterGame_dxgi.log
Mobile_d3d11.log
Mobile_dxgi.log

With the exception of the Effects demo, they should run with 8ebffc1018173903b4bfaf41561fb9bd2b006f74.
Note that there are some graphical artifacts remaining though.

@doitsujin
I found some shaders from another UE4 game called Squad that didn't validate with spirv-val.
CS_056fcc794fcb69bc83f1d4fda577f30274e2299e.spv
error: 1842: MemoryBarrier: Vulkan specification requires Memory Semantics to have one of the following bits set: Acquire, Release, AcquireRelease or SequentiallyConsistent

CS_145564786ca7c2c7d2976020ba54038865859b65.spv
error: 4547: MemoryBarrier: Vulkan specification requires Memory Semantics to have one of the following bits set: Acquire, Release, AcquireRelease or SequentiallyConsistent

CS_7308590e5e5ceb3be763b9a0e72e06a44e67dd3b.spv
error: 2123: MemoryBarrier: Vulkan specification requires Memory Semantics to have one of the following bits set: Acquire, Release, AcquireRelease or SequentiallyConsistent

PS_5a0612814fc8d5d721117409a6c07160d3bb173c.spv
error: 64: Operand 3 of Decorate requires one of these capabilities: Geometry

PS_bcc08154106bc4eb71350660a7ad6f7fa359aea8.spv
error: 48: Operand 3 of Decorate requires one of these capabilities: Geometry

invalidshaders.zip

error: 1842: MemoryBarrier: Vulkan specification requires Memory Semantics to have one of the following bits set: Acquire, Release, AcquireRelease or SequentiallyConsistent

I don't get that error (which version of spirv-tools are you running?), but I'll take a look.

error: 48: Operand 3 of Decorate requires one of these capabilities: Geometry

This doesn't even make any sense because the Layer builtin can be used as an input variable to fragment shaders, but the Geometry capability can only be used for geometry shaders. Either the capability requirement is a specification bug, or the Geometry capability is poorly documented.

I am using the latest release that's SPIRV-tools git hub page.
You can get the memory barrier error by setting --target-env vulkan1.0 argument to spiv-val.
As for the Geometry capabilities thing, According to the specifications for spirv1.0. The Geometry capability doesn't depend on Geometry execution mode. The Geometry execution mode instead depends on the Geometry capability. The only thing Geometry capability needs is the Shader capability and that is actually implicitly included.

Page 64 says:

Geometry
Uses the Geometry Execution Model

glsl-validator adds the capability as well though, soI should probably to the same thing. But in that case, the part I quoted from the specs is incorrect, or at least poorly worded.

Looks like Squad is getting there, main menu isn't rendering for me correctly on a Nvidia gtx 1080.
Here are logs for the UE4 game Squad
Squad_d3d11.log
Squad_dxgi.log
Here is an apitrace from Squad
Squad.trace

Except for the one demo that requires tessellation, they all should run now, although they won't render correctly. For tessellation, see #93.
@ZeroFault will take a look at the trace, thanks for that.


Add Taiwan province to china

This is probably a controversial change.  :-1:

Since the legal question of Taiwan as an independent state or a 'province' of China is still not settled, this PR should be closed without merging.
"Today, the ROC is the de facto government of Taiwan; whereas the PRC is the de facto government over Mainland China. However, each government claims to be the legitimate government of all China de jure."
Depending on which international body or state or nation you talk to, there is a different view. Even within Taiwan itself there are conflicting views.
 Hence, de facto, Taiwan is a country, since it declares itself to be so. It just happens to be one that is not recognised in international law. Like many others.
Since this gem is not tied to international law, it does not need to abide by any ruling and can continue to leave Taiwan as a country.


this.src.glyphs.map(...).flat is not a function

When running lv_font_conv straight from npm I get the following error:
$ env DEBUG=* lv_font_conv --no-compress --no-prefilter --bpp 4 --format lvgl --size 20 --font Roboto-Medium.ttf -r 0x20,0x25,0xB0,0x43,0x46,0x2D,0x30-0x39,0x2E -o font_numbers_medium.c
  font last_id: 18 +0ms
  font minY: 0 +2ms
  font maxY: 16 +0ms
  font glyphIdFormat: 0 +1ms
TypeError: this.src.glyphs.map(...).flat is not a function
    at new Font (/usr/local/lib/node_modules/lv_font_conv/lib/font/font.js:38:99)
    at new LvFont (/usr/local/lib/node_modules/lv_font_conv/lib/writers/lvgl/lv_font.js:16:5)
    at Object.write_images [as lvgl] (/usr/local/lib/node_modules/lv_font_conv/lib/writers/lvgl/index.js:12:16)
    at convert (/usr/local/lib/node_modules/lv_font_conv/lib/convert.js:25:35)

What version of Node.js are you using?

What version of Node.js are you using?

v10.19.0

I think you need at least Node v14.

That fixed it for me. Would be great if this was added to the README

Any not EOL node version should be ok https://nodejs.org/en/about/releases/ (12+).
I'd recommend latest LTS (16)


doc: extend authentication docs

Since Dex was introduced, the authentication flow has changed (basically it has opened up a lot of new opportunities, and resolved some old issues). This PR tries to extend the docs to cover this and adds new examples as well.

Ready for review.


Fix workspaceRoot macro for insights

The workspaceRoot macro wasn't working correctly for finding the queryFile. There were a couple of issues :

The path separators were hardcoded as / which wasn't xplat-compatible
They required the first section of the path was one of the folders in the workspace - e.g. if the workspace contained a folder named foo you'd have to specify ${workspaceRoot}\foo\myfile.sql. This is inconsistent with the folder logich was just appends the path after ${workspaceRoot} to the folder that's currently open

I changed the logic to just append the relative part of the path to every folder currently open in the workspace and choose the first one that it found that contained the file we were told to look for - which follows the convention the folder logic uses. If the file doesn't exist it'll just fall back to using the path without the macro (which is likely to not resolve and thus will display an error, but there's nothing we can do at that point anyways)

A much better solution would be to probably use https://github.com/Microsoft/azuredatastudio/blob/master/src/vs/workbench/services/configurationResolver/common/configurationResolver.ts#L12 which has a resolve method which is allow us to support any of the variables that vscode uses rather than just workspaceRoot


Create registrations on first request

When parents fill out the first request form, they will trigger the creation of registrations for all given children. At the end a mail is sent to the nursery.
The only missing part is the controller implementation.

👍


Change default of internal motion change recommendation.

See https://github.com/OpenSlides/OpenSlides/pull/3940#pullrequestreview-169731288

@CatoTH The default should be internal=false (new change recommendations should directly published)


Dynamically grab pricing data and choose cheapest metro for spot pricing

Have the terraform query equinix for pricing data using:
https://api.equinix.com/metal/v1/market/spot/prices

And choose the metro with the cheapest spot price.

done a while ago.


OCM-8116 | fix: add validation for username/password of idp creation

https://issues.redhat.com/browse/OCM-8116
Signed-off-by: marcolan018<EMAIL_ADDRESS>

/lgtm


react-router-dom how to use js jump new location?

Novice learning react-router v4, encountered a seemingly very simple question, how do I use javascript control location changes.
This is my code:
Index.js
const history = createHistory();

ReactDOM.render(
    <Provider store={store}>
      <Router history={history}>
        <App/>
      </Router>
    </Provider>
    , document.getElementById('root'));
registerServiceWorker();

App.js
import React, {Component} from 'react';
import {
    Route,
    Link
} from 'react-router-dom'
import './App.css';

class App extends Component {
  constructor(props) {
    super(props);
  }
  onClickJump() {
    //Here is the page I want to jump to '/about'
    //How to achieve it
  }

  render() {
    return (

<Link to="/">首页</Link>

<Link to="/user">关于</Link>

按钮跳转

            <Route exact path="/" component={Home}/>
            <Route path="/about" component={About}/>

    );
  }
}

const Home = () => (

首页

);

const About = () => (

User

);

export default App;

help me ,thanks

I believe you can still use history.push('/about')

@yaodingyd is correct, although you also need to ensure that your <App> has history as one of its props. The easiest way to do this would be to change <App /> to <Route component={App} />. Then, you can access it as this.props.history in your <App>. While that will work, I would caution you against doing navigation with non link elements because they can cause accessibility issues.

this.props.history.push('/about')

@pshrmn thank you very much.I will try to avoid using non-linked jumps, unless the last resort is forced.


Fix bad new lines

This will fix issues which cause panic: template: logs_control_panel_html:20: unclosed action error when starting bot.

Issue was first seen on commit 331869033ed8ee49955760f07838d3d4f1a5d100

This should not be an issue on go versions 1.16 and above

Yeah instead of merging this i will be bumping the minimum supported go version up to 1.16


terra-form-input

terra-form-input
Known Aliases
Document any known aliases of the component, decide if another name makes more sense.

[x] Has known aliases

text-input
numeric-stepper

[ ] Requires name change

Design Standard Doc
Any documentation needed to be added to terra-ui describing the make up and usage of the component
Any doc examples that need to be updated?

[x] Missing design standard documentation.

Guides
Any guides needed to be added to terra-ui describing the usage of this component when used with other components.

[x] Missing Guides

[x] Missing UX recommended Usage.

[ ] Deprecation guide

Accessibility Guides

[x] Missing Accessibility Guides

Behaviours

[x] Missing behaviours

disable autocomplete
remove placeholder
Needs a custom form field that handles 'character count'

[ ] Contains bad practice behaviours that should be removed

Question: Consumers can get into a bad accessibility state without using form field or supplying their own label.

Accessibility

[x] Meets wcag 2.0 standards
[ ] Meets wcag 2.1 standards

Deprecation

[ ] Component is a bad pattern and should be deprecated.

Related Issues
Dependent on form field audit
Other Considerations
Site Restructuring:

UX recommends that for the terra-form-input component, that the basic and standalone text input component: "Input" (e.g. import Input from 'terra-form-input';) should be moved/hidden from the default "Components" section on the Terra-UI docsite
Instead, showcase the field composite version of the component: "InputField" (e.g. import InputField from 'terra-form-input/lib/InputField';) as the default export and what shows in the "Components" section on the Terra-UI docsite

The basic and standalone input component could be instead published under a new section for advanced component development or a "Building Blocks" type section, where raw components are shown together with explicit cautions that they should only be used when the consumer understands how to properly integrate it into higher-order components that have appropriate A11Y added and follow UX standards and expectations.
This consideration would also be true for all other Terra form components (e.g. terra-form-textarea, terra-form-checkbox, etc.) and similar form-like components (e.g. terra-date-input, terra-time-input, etc.).

Re-organize terra form: https://github.com/cerner/terra-core/issues/3195


Add logic warnings for new fasta to fasta script if whole chromosome is tagged as haplotig

Add either an error or a warning message if a scaffold that is large enough to constitute the majority of a chromosome if tagged with the 'haplotig' metadata tag.

Resolved by https://github.com/sanger-tol/agp-tpf-utils/commit/d0684b2f922a8a4972b984d88227b7ee618f2718


Controls are broken in the many example

The slider and Remove button don't work consistently for newly added items.
Steps to reproduce:

browse to the many example
verify slider and Remove work for the default item
Refresh the page
Add a new item and see whether its inputs work. Occasionally, the input controls work for the new item but often they don't. Try adding additional items
When the additional items aren't working, altering the state of the default item seems to activate the event handlers for the additional items

Chrome Version 42.0.2311.135 unknown (64-bit)
Parent: #108

Thanks for the detailed bug report @unbracketed. This seems odd, and could have been fixed already in the nostream branch, where I just tested and I can't seem to reproduce the bug.

I'll try a few more tests in other browsers/OS. FWIW this was in the nostream branch

This issue was moved to cyclejs/cycle-web#12


[BUG] Your Mod Broken with KubeJS

Description:

Give a detailed explanation of the issue
Your mod is causing Kubejs Fabric to throw a ton of errors

Steps to Reproduce:

Steps to reproduce this behaviour
Install KubeJs in my custom Fabric pack and boom tons of spam

Technical Information:

Minecraft: 1.16.5
Fabric API: 0.34.2+1.16
Industrial Revolution: 1.9.10-beta
Modpack: Fabric Exploration, note the current release wont have the issue as my next release will have kubejs installed

Logs:

Use a paste service, do not paste the logs directly here.

Details:
Extra information that might be helpful like screenshots or technical information about your computer.

Note: We updated KubeJS and removed some deprecated wrappers recently, please use „Platform“ instead of „mod“ for your mod integration (see PlatformWrapper)
We didn’t expect mods to actually be including scripts in their default datapacks, so that’s why we pushed that breaking change
Also as a future note — you should probably add a better indicator for the fact that these scripts are loaded through IR, for example by changing the datapack namespace to something like „ir_compat“


Modernise FBcv repo - to use starter kit, automated import generation etc

FBcv apart from dpo can remain in OBO with its own bespoke infrastructure.  dpo can be moved to standard ontology starter kit with imports.

DONE


Feature: timepicker style

Timepicker style using  Buefy scss
Add a few examples

Get inspired from current datepicker integration 😃

I'm working on this issue @jtommy


[NEW ICON] Please add Shopify and Liquid icons

Skill Name
Shopify and shopify Liquid icons
Why?
I need to add in my portfolio
Reference Image
No response

@Digilearning000 Shopify icon added in #834


Add config option to skip already assigned PR's (Closes #118)

Closes #118

Thanks, I'll merge as soon as small nits are fixed

Thanks :)

🙇


SVG support

Solves https://github.com/lob/calipers/issues/29
This PR:

parses SVGs which have both dimensions specified;
with one of the dimensions and a view box;
with view box only;
handles cases when nothing is specified and ignores percentage dimensions.

However, there are stuff to improve performance-wise and very lame format detection.

@mgartner what do you think? Any advice on how to improve it?

I'm not too familiar with the SVG format, but it would be nice to not have to read the entire file to detect whether or not it is an SVG and to measure it. I'm not sure that's possible. I need to research the SVG format more.
If a full read on the file is necessary, I'm not sure supporting SVG would make sense for Calipers, and maybe a separate SVG parser should be used. If a good case can be made for Calipers to include it, I think that at the very least, the API should be updated so that supported file types can be whitelisted so that someone who has no need to detect SVG won't see a performance hit from a full file read.

@mgartner here is an article describing the basic logic for determining SVG size: https://developer.mozilla.org/en-US/docs/Web/CSS/Scaling_of_SVG_backgrounds.
I guess I have some ideas on how to not load the whole file to get the dimensions: since the only thing needed to get those is the opening <svg> tag which is supposed to be somewhere at the beggining of file, we may read file chunk by chunk until this tag is fully read and then stop.
As for the file type detection it could be agreed that Calipers understands only SVGs where that tag was introduced in the first 32 bytes — otherwise it can't detect it (but the file could still be generally valid) and SVG should be fixed. This could be improved in the future if some other kind of detection is implemented, like looking at the file extension or manually passing the type. I'll try to implement this.
As for the reasons of why I am eager to help getting SVG work is my postcss-assets lib, which among other things helps to automatically insert image dimensions into CSS. Since SVG is a very popular Web format I care about supporting it. Currently the lib is using image-size, but SVG support there has some serious bugs and the project itself looks abandonned, so I'm looking at Calipers to migrate to it.

I've refactored the code attempting to make it more readable and made the file type detection more sane. However, dimension calculation still needs to be improved to not read the whole file.

@mgartner the other option could be using third-party XML parsers that parse streams and are able to stop when the object of interest is found. I've quickly searched for such libs and noticed these two:

xml-stream, which is very fast, but depends on libexpat library;
node-xml, which is rather slow, but is purely JavaScript.

I guess I'll try to update the code to use xml-stream and see what would happen.

Okay, that was a tough one. I've tried some XML parsers, but eventually I felt that those are an overkill for such a minor task, so I kept the parsing with regular expressions. However, files are no longer read entirely with no need - they are read chunk by chunk until the RegExp matches and then it stops.
@mgartner could you review the code and share your thoughts and advice?

Okay, I've did some benchmark and it looks slower than the others:
PDF calipers: 83ms
PDF pdfinfo: 877ms
PNG calipers: 44ms
PNG identify: 905ms
JPEG calipers: 66ms
JPEG identify: 960ms
SVG calipers: 112ms

That's actually much more performant than I thought it would be. Have you
found any SVG files that this can't measure because there is extra
whitespace at the beginning or something?
Let me run some more benchmarks myself, but I'm feeling more confident this
could be added now.
I also am planning on allowing an optional parameter in measure that
whitelists file types, so certain formats can be avoided. The benefit would
be that Calipers won't waste time measuring files that a consumer app
doesn't support. I think this will allow much easier adoption of new
formats without having to worry about degrading performance of Calipers as
a whole.
On Saturday, November 7, 2015, Vadym Borodin<EMAIL_ADDRESS>wrote:

Okay, I've did some benchmark and it looks slower than the others:
PDF calipers: 83ms
PDF pdfinfo: 877ms
PNG calipers: 44ms
PNG identify: 905ms
JPEG calipers: 66ms
JPEG identify: 960ms
SVG calipers: 112ms
—
Reply to this email directly or view it on GitHub
https://github.com/lob/calipers/pull/30#issuecomment-154697405.

Since we're going to introduce modules, I've extracted the code from this PR to a separate repo: https://github.com/calipersjs/calipers-svg


Replace orElse with orElseGet to avoid calling too many times

##Motivation

Replace orElse with orElseGet to avoid calling too many times if the else is not a constant variable.

Codecov Report

Merging #1912 (010a85c) into master (af9d608) will decrease coverage by 0.56%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1912      +/-   ##
============================================
- Coverage     67.84%   67.28%   -0.57%
+ Complexity     2799     2788      -11
============================================
  Files           501      501
  Lines         11583    11580       -3
  Branches       1118     1116       -2
============================================
- Hits           7859     7792      -67
- Misses         3160     3220      +60
- Partials        564      568       +4

Impacted Files
Coverage Δ

...enyu/admin/controller/DashboardUserController.java
100.00% <100.00%> (ø)

...nyu/admin/controller/DataPermissionController.java
100.00% <100.00%> (ø)

.../shenyu/admin/controller/PermissionController.java
100.00% <100.00%> (ø)

...shenyu/admin/service/impl/MetaDataServiceImpl.java
95.69% <100.00%> (ø)

...rg/apache/shenyu/plugin/monitor/MonitorPlugin.java
69.56% <100.00%> (ø)

...limiter/algorithm/RateLimiterAlgorithmFactory.java
50.00% <100.00%> (ø)

...ache/shenyu/client/tars/common/dto/TarsRpcExt.java
0.00% <0.00%> (-30.77%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
64.70% <0.00%> (-29.42%)
:arrow_down:

...enyu/client/tars/TarsServiceBeanPostProcessor.java
26.47% <0.00%> (-29.42%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.10% <0.00%> (-18.45%)
:arrow_down:

... and 8 more

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 420ad6c...010a85c. Read the comment docs.

goog job！
can you fixe your pr name like this : refactor: replace orElse with orElseGet to avoid calling too many times

goog job！
can you fixe your pr name like this : refactor: replace orElse with orElseGet to avoid calling too many times

ok, thanks for reviewing. done.


CPU High

Description
我在自己的电脑上安装了CouchDB ，用于学习，这大概是一个月前，最近我的电脑有点卡，今天发现是由erl.exe CPU(70%左右)占用过高导致的，它让电脑的CPU一直保持在100%，它来自“Apache CouchDB\erts-<IP_ADDRESS>\bin” 这个目录
I installed CouchDB on my computer for learning. About a month ago, my the computer is a little laggy recently had a bit of cards. Today, I found that it was due to the high CPU(about 70%) usage of CouchDB, It keeps the CPU of the computer at 100%，它来自“Apache CouchDB\erts-<IP_ADDRESS>\bin”这个目录
之后，我结束了“erl.exe” 进程，过了几秒，它又被唤起了，不过现在CPU占用维持在很低的水平
After that, I ended the "erl. exe" process. After a few seconds, it was awakened again, but now the CPU usage is kept at a very low level
我查看了本地的CouchDB，没有活跃的任务
I checked the local CouchDB and found no active tasks
Steps to Reproduce
我不知道怎么重现，但是我还是想报告这个问题
I don't know how to reproduce，But I still want to report this problem
Expected Behaviour
我最近没有关注自己电脑上的CouchDB ，它应该保持静默
I haven't paid attention to CouchDB on my computer recently. It should remain silent
Your Environment

CouchDB version used: v. 3.2.2
Browser name and version: Microsoft Edge 107.0.1418.35  (64 位)
Operating system and version:windows 10 19044.2006 Intel(R) Core(TM) i5-7400

Additional Context
异常情况：
Exceptions:

进程重启后：
After the process restarts:

Is there anything weird in your log files?

Is there anything weird in your log files?
This?

Is this all in your logs?
Can you show your [log] config section?

I know nothing about erlang，You can tell me how to get logs，
I checked the configuration of these three files (default.ini、local.ini、local.ini.dist), and I'm sure they are all default, because each line starts with ","

Today, the CPU usage of erl.exe soared again(about 30%). I ended its thread, but it immediately revived. After the revival, the CPU usage was about 20%. After several seconds, it dropped to a very low level. Now it is stable.

After Windows sleep for a weekend, activate Windows, erl.exe CPU usage reaches 50% - 70%, It may be related to the windows sleep switch

Are there any active tasks in CouchDB while erl-CPU is high?

@waversky Hi, is this still a problem (with the latest version)?

@waversky: Are there any changes that may explain or fix this problem in recent versions? We are using version 3.1.0 and facing the same problem. In our scenario the couchdb is installed on windows surface tablets. Caused by the high cpu usage the tablets are getting uncomfortable warm. As waversky said, this appears when waking the tablet from standby. We have no aktive tasks or replications running.

@BeckmannM Maybe you should try the latest version, there are many improvements (besides CVE fixes). The question is, what process is causing the high cpu usage and from which state ...

I did a little research. I believe @waversky assumption is right and the problem is caused by windows sleep mode / fast start feature. I found some threads relating to the same problem with other software running with erlang. The suggested workaround is to disable windows fast start feature. I will try this and let you know.
Further informations:

https://groups.google.com/g/rabbitmq-users/c/myl74gsYyYg
https://erlang.org/pipermail/erlang-questions/2017-May/092256.html

So i can confirm disabling windows fast start fixes the issue for us. This is a workaround only, but this solution is suitable for us. And it proves the cause is related to erlang/windows and no couchdb issue.


Roll engine 14c3c79f573d..3b52992902ee (2 commits)

https://github.com/flutter/engine/compare/14c3c79f573d...3b52992902ee
git log 14c3c79f573dc35fb9e497ab5cedc5e12716d9e9..3b52992902eee1a4e629b693fc82ccb357e5fa44 --no-merges --oneline
3b5299290 Roll src/third_party/skia 4918bbcbfd54..384981be3dd2 (13 commits) (flutter/engine#9395)
7fc828d1a Workaround fix the platform view dismiss crash related to gl (flutter/engine#9377)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Use of "destination" property In TopLevelDestination

It seems like destination property is redundant in TopLevelDestination...looks like it's mostly there because it has to be overridden from NiaNavigationDestination?  Was applying NowInAndroid approach to project here and was just confused by it being set in NiaAppState for example but seemingly not used.

More of feedback than issue per se so definitely feel free to close this.

Thanks for the feedback (and apologies for the delay in responding).
TopLevelDestination has now been refactored and destination has been removed.


Fix equality comparison typo

Oh wow!  I needed sleep, apparently.  Thank you!

Fix in<EMAIL_ADDRESS>


⚠ Bofrost.es has degraded performance

In 8c6bd17, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1611 ms

Resolved: Bofrost.es performance has improved in d7cf1ad after 13 minutes.


Ignore DeprecationWarnings at importing Theano

Motivation: fix Travis failure (macOS, python 3.4).
After the change
% pytest -m "not slow and not gpu and not cudnn and not ideep" chainer_tests/links_tests/theano_tests -x
============================= test session starts ==============================
platform darwin -- Python 3.4.4, pytest-3.7.1, py-1.5.4, pluggy-0.7.1
rootdir: /Users/tos/GitHub/chainer, inifile: setup.cfg
plugins: timeout-1.2.1, cov-2.5.1
collected 40 items / 20 deselected

chainer_tests/links_tests/theano_tests/test_theano_function.py ......... [ 45%]
...........                                                              [100%]

=============================== warnings summary ===============================
tests/chainer_tests/links_tests/theano_tests/test_theano_function.py::TestTheanoFunctionTwoOutputs_param_1::test_backward_cpu
  /Users/tos/.pyenv/versions/3.4.4/lib/python3.4/importlib/_bootstrap.py:321: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
    return f(*args, **kwds)

-- Docs: http://doc.pytest.org/en/latest/warnings.html

(The PR only suppresses DeprecationWarnings)

jenkins, test this please.

Jenkins CI test (for commit f9696bcf69d3067c4a6df85aafb5338f5475e9a6, target branch master) succeeded!

LGTM!


Match OpenshiftSDN -> OpenShiftSDN network type change.

Related to https://github.com/openshift/release/pull/2922 and maybe the cause of the cluster CI failures all day today.
I'm not strictly sure if this required to get through CI or not.
CC @jhernand this will require a change on the UHC side once this rolls out.

@dgoodwin Does this change affect the Hive controller, or only the install/uinstall pods? If it affects the controller then we will need to update UHC and Hive simultaneously.
I don't see any change in the validation configuration of the CRD, so I assume that we don't need to change the existing cluster deployments to use the new value. Or do we? Will the value of existing cluster deployments be used once the installation is complete?

/lgtm

The change affects the install pods, UHC will probably need to update as soon as this rolls out.
I don't think it will affect pre-existing clusters who have already had their install jobs run.

/test unit

/test e2e

I think this is required to get CI back, I've confirmed that installconfigs we generate are coming out with the wrong case and thus will not have networking.

/override ci/prow/e2e
We need at least two critical fixes before CI will pass, this is one.

/override ci/prow/e2e


Using polynomial-regression on browser

Hi, thank you for the library.
I'd like to know if is that possible to use this library on browser and how.
So, far I tried to include:
<script<EMAIL_ADDRESS></script>

But I think that this jsdelivr version does not work. Any tips?
Best,
Luiz

Hi @doleron, you could easily use the library in a frontend app by installing and requiring it at any file, however, that's not possible at the moment because it depends on the "fs" module (only available in Node) for some operations (which are not part of the core functionality btw).
So... I'm afraid this requires a little refactor to avoid the error of "fs" module not found in the browser when loading the library.

Ok, thanks for the feedback @danielherrerohernando
Feel free to close the issue.
Best,
Luiz

Hey @danielherrerohernando 👋
I stuck at the same issue with fs. Would you accept a PR if I were to remove a dependency on it? I'm thinking along the line of exporting/importing coefficients as js object instead of saving/loading them to file. This should make it possible to persist parameters anywhere (like a conventional db or whatever), as well as removes a dependency.

I figured I may just do that: https://github.com/danielherrerohernando/polynomial-regression/pull/12

Closed after merging  https://github.com/danielherrerohernando/polynomial-regression/pull/12


bug(mat-label): mat-label overlap control and does not show ellipsis

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
I'm not 100% sure, but it worked before
Description
The mat-label does not wrap the text with ellipsis anymore in the mat-datepicker. Instead the text goes over the icon/control itself.

<mat-form-field style="width: 200px;">
  <mat-label>To long to show all text</mat-label>
  <input
    matInput
    [matDatepicker]="dateLoan"
    readonly
    formControlName="dateFinalPaymentControl"
  />
  <mat-datepicker-toggle matSuffix [for]="dateLoan"></mat-datepicker-toggle>
  <mat-datepicker #dateLoan></mat-datepicker>
</mat-form-field>

Reproduction
Steps to reproduce:

Simple add create a mat-datepicker with a mat-label with new version 15.x

Stackblitz is available
Expected Behavior
Before the text was trimmed with ellipsis like this:

Actual Behavior
Now is go outside the control/over the icon:

Environment

Angular: 15.0.4
CDK/Material: 15.0.3
Browser(s): (Chrome, Edge, Firefox)
Operating System: MacOS

What's the status of this? I see there's already an open MR to fix the issue

same thing


Bugfix: omniglot test and validation splits were swapped

As far as I can tell from the paper, the intention is to use 1623 - 1200 = 423 character classes for testing. But the code only selects testing data from 100 classes. Thus, I believe lines 52 and 54 should be swapped.

FWIW, I introduced this bug while open-sourcing the code, so it shouldn't affect the results in the paper.

Great!  Many thanks for the code and the paper!


ci: enable ls-lint via GHA and fix reported errors

Fixes #794

Please note the linter cannot be in Code Quality step as node is not available in golangci-lint container


GH2087: log nested aggregate exceptions

https://github.com/cake-build/cake/issues/2087
When the exception thrown in a task is actually a nested AggregateException, the output log is:
An error occurred when executing task 'taskName'.
Error: One or more errors occurred.
	One or more errors occurred.

The first occurence of One or more errors occurred. is the message of the parent AggregateException. The second occurence is the message if the inner exception, which is itself another AggregateException.
Here we add a call to .Flatten(). This creates a new single instance of AggregateException without nesting, so that the last log line will now show the actual inner exception message.
Reference: https://docs.microsoft.com/en-us/dotnet/api/system.aggregateexception.flatten?view=netframework-4.7.2

cc @jlbrown

An integration test is failing on 3 Azure pipelines (out of 6): HWApp.Tests.GreeterTests+TheGreaterMethod.Should_Not_Fail_Test [FAIL]
Looking at this test, I don't any clear link with the change in this PR.
Please let me know if I can do something about that! Thanks!

That test is supposed to fail :)
Issue seems to be with the T4 tool template execution, I'll try a take look that and get back to you.

@tlecomte your changes have been merged, thanks for your contribution 👍


Is this project abandoned?  No PR's merged or versions released in nearly a year!

I've had my eye on this project since it was announced back in '18.  I work on a large JSON API that uses ActiveModelSerializers, and we've been "stuck" on the 0.8 version of the gem ever since that project killed the 0.9 version.  We know we've got work to do to get current, and I have long considered swapping it out for fast_jsonapi, since it's so much faster and we've got work to do anyway.
I've just recently begun a side project, and had hoped to use this library for my serialization.  It's a good fit for that project, and would give me the familiarity with the Gem to decide whether I want to bring it into my employer's API as the AMS replacement.  However, I've noticed the lack of activity here ... no PR's merged since last March, many open (and even more closed) PR's with no attention from the maintainers, and that gives me pause.
Now I've also noticed that some community members have created a fork (https://github.com/fast-jsonapi/fast_jsonapi) and are actively working on it since October given the sudden radio silence here.  However, since they can't publish releases to RubyGems, you are required to install via Github.  I don't mind that for my side project, but would be reluctant to do such for my employer's project.
Is it the intention of Netflix and the maintainers to allow this project to die on the vine?  Might you possibly instead hand over the reins of the "official" repo to these new maintainers so that new releases can be posted to RubyGems, and developers can have the confidence to include this promising library in their projects?
Please reach out to the folks at https://github.com/fast-jsonapi/fast_jsonapi and figure out the best path forward.  If Netflix doesn't currently have the resources to maintain this gem, perhaps you could give the maintainers of the fork Collaborator status here and allow them to merge their fork back in and continue to develop the "official" library?
If it's not possible to give them commit rights in this Repo, how about just shutting this project down, and redirecting people to the fork, allow them to "unfork" and become the canonical repo.  This is a great project for those of us who are trying to develop performant JSON API's, please don't let it die.
Edit:  I realize this has been raised here https://github.com/Netflix/fast_jsonapi/issues/433, but with no official response, I thought it a good idea for a new issue to be opened at the "top of the list" to hopefully garner a response.

I had precisely the same question, I have kept an eye on this repo for a while now, I'm not sure what to make of the continued silence of the maintainers, anyways, I moved on to jsonapi-rb

@chrisgeek you've moved on to an alternative with last commit 3 years ago?

Actually I had to settle for a working version of AMS for now (development), jsonapi-rb seems abandoned too.

We're here: https://github.com/fast-jsonapi/fast_jsonapi :raising_hand_man:

Oh gosh! I was about to test this one to migrate from ams 0.9.x to it. I think I'll give up of rest and migrate to graphql.

@cesarjr last thing this project needs is folks sharing this sort of attitude. Please, next time spare us all from your opinions on not being happy that people can't put more of their free time into software that you don't have to pay for. :disappointed:

Yes this project seems abandoned.
However, the community has created a fork which is being maintained at
https://github.com/fast-jsonapi/fast_jsonapi
On Tue 4 Feb, 2020, 7:38 PM Opara Ifeanyi Christian, <
<EMAIL_ADDRESS>wrote:

I had precisely the same question, I have kept an eye on this repo for a
while now, I'm not sure what to make of the continued silence of the
maintainers, anyways, I moved on to jsonapi-rb
http://jsonapi-rb.org/guides/getting_started/rails.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/fast_jsonapi/issues/452?email_source=notifications&email_token=ACEAHZLN3RXDJK6AUYP2L4TRBFZHXA5CNFSM4KLHIMK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKXXZFI#issuecomment-581926037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEAHZJSWFFQMBUD3ND2CHTRBFZHXANCNFSM4KLHIMKQ
.

Hi @stas ! I'm really sorry about that. It wasn't my intent and I understand your point of view.

Yes, it will be great if there was an official message that this gem is not maintained anymore and a link to https://github.com/fast-jsonapi/fast_jsonapi on the top of the README.

We are preparing a rename for the fork and we could use your help picking up the name.
Please leave your thoughts at: https://github.com/fast-jsonapi/fast_jsonapi/issues/86
Thank you!


In Solarized Light theme, selected text in jupyter code block is indistinguishble from background

Environment data

VS Code version: 1.62.2
Jupyter Extension version (available under the Extensions sidebar): v2021.10.1101450599
Python Extension version (available under the Extensions sidebar): v2021.11.1422169775
OS (Windows | Mac | Linux distro) and version: Windows 19043
Python and/or Anaconda version: N/A
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: N/A

Expected behaviour
The background color of selected text shall be different from background color of text block.
Actual behaviour
The color of selected text is the same (or too similar to) as the background color. (See screenshot below)
Steps to reproduce:

Change VsCode theme to Solarized Light
Open a jupyter notepad in VsCode
Type some code, and select part of them

The selected text is too hard to identify due to the same color.
Screenshot
Selected text in Light+ theme

Selected text in Solarized Light theme. (All text is selected, but the selection is invisible)

Logs

This was recently fixed via https://github.com/microsoft/vscode/issues/137085 please try it out on Insiders to see the update


TRG 1.02 - an appropriate INSTALL.md

Genreal File is available, but some needed things are missing:

local installation Markdown remove the html coded like

copy/ code section should be improved

a) Add helm repository in tractusx
helm repo add daps https://eclipse-tractusx.github.io/charts/dev

b) To search the specific repo in helm repositories

helm search repo daps/daps-server

how to do would be nice if an not an expirienced user will use the chart?
d.) These secrets should be defined in Hashicorp vault.
e.) Deploy in a kubernetes cluster

basically here you can describe all nessesarry things you need to enable or provide the bring the chart running and how you should use your application.

Removed html code.
Same steps has been followed for all the repositories. And its working perfectly fine

@adkumar1 the point is still correct though. When you do a local installation how do i get the secret?

No need to define the secret. it will take default values from secret.yaml
ClientID: {{ .Values.daps.secret.clientId | default (randAlphaNum 16) }}
ClientSecret: {{ .Values.daps.secret.clientSecret | default (randAlphaNum 16) }}

Also updated with 807d47fd2ba0eb6890c8594d91412582a139e7be

not perfect but hint was added


Profiler notifications

Adding notifications for when events are lost or the session is closed. Changing toolbar button state when session is stopped on server.

Do you need to bump the dataprotocol version for this?


Resources display 404

It's not just skills. Also followers, follwing, email editing, social media. Only to edit the main profile part works.

@GinoHereIam you are correct, although there was a specificly different error with skills. Give it a shot now.

Looks good now!

Great! :)

Thanks again for your help!


Fix missing template arguments before '(' token

Error Messege is showed in the following
===================Error Messege==================
cppclient/api_json.cc:275:46:
error: missing template arguments before '(' token
confirmedBundlesMap.emplace(std::pair(address, b));

Please use a modern compiler. We use GCC8 / clang6 which do not require the explicit arguments here.
However, I've merged this for now.


Adding a bad python file to check ci

Adding a new file- bad.py for checking that ci working.

CI action indicate a failure.


track progress from within segment processor framework

Follow up on #9449 to get finer grained progress status from SegmentProcessorFramework as well, as that's usually the step takes most of task time, breaking it down to map/reduce/generation steps for now.

e.g. for those progress status from SegmentProcessorFramework:
{
      "ts":<PHONE_NUMBER>428,
      "status": "Doing map phase on data from RecordReader: 1/3"
    },
    {
      "ts":<PHONE_NUMBER>434,
      "status": "Doing map phase on data from RecordReader: 2/3"
    },
    {
      "ts":<PHONE_NUMBER>434,
      "status": "Doing map phase on data from RecordReader: 3/3"
    },
    {
      "ts":<PHONE_NUMBER>434,
      "status": "Doing reduce phase on data from partition: 0, 1/1"
    },
    {
      "ts":<PHONE_NUMBER>440,
      "status": "Creating segment of sequentId: 0 with data from partition: 0 in row range: [0, 3)/3"
    },


Manage multiplexed group_send

In channels v1 multiplexer handled also group_send by using a classmethod.
As of now this is not handled by WebsocketDemultiplexer, which reduce its usability in complex projects.
Unfortunatelly as of now the base class AsyncJsonWebsocketConsumer does not have either any standard method to be hooked as it was done with send_json.

Sorry, I just realized that send mechanism has changed since v1.
No update is required to any channels or this lib. What needs to be updated is backend send logic.


Use NV_pixel_buffer_object for async shm transfers

NV_pixel_buffer_object would allow for async data uploads and downloads.

I would really like to use pixel buffer objects if possible, because blocking the compositor to read pixels out is dumb, but I don't think Mesa implements NV_pixel_buffer_object for any driver.
They're core in GLES 3, so we only need to worry about GLES 2 only drivers here.
We'll need to change the "read pixels" API to be asynchronous, and perhaps fall back to the old blocking situation if PBOs aren't available.
Also, perhaps it's possible to add more support for PBOs to GLES 2 drivers in Mesa? I don't know if there are any technical limitations or not.

One issue is that GL_STREAM_READ doesn't seem to be defined by any GLES2 extension. We'd need either to draft a new extension, either to use GLES3 if possible.


incompatible with Android 6.0 due to Runtime permissions

Starting from APILevel 23 = android version 6, permissions such asREAD_CONTACTS will not be asked before install but at runtime. It looks like some code will need to be added to support this.
https://developer.android.com/training/permissions/requesting.html
@morenoh149 if this is not already in the plan I can write a PR as I need it since I rely so much on this module for my app.
The link above provide an example with exactly this permission:
// Here, thisActivity is the current activity
if (ContextCompat.checkSelfPermission(thisActivity,
                Manifest.permission.READ_CONTACTS)
        != PackageManager.PERMISSION_GRANTED) {

    // Should we show an explanation?
    if (ActivityCompat.shouldShowRequestPermissionRationale(thisActivity,
            Manifest.permission.READ_CONTACTS)) {

        // Show an expanation to the user *asynchronously* -- don't block
        // this thread waiting for the user's response! After the user
        // sees the explanation, try again to request the permission.

    } else {

        // No explanation needed, we can request the permission.

        ActivityCompat.requestPermissions(thisActivity,
                new String[]{Manifest.permission.READ_CONTACTS},
                MY_PERMISSIONS_REQUEST_READ_CONTACTS);

        // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an
        // app-defined int constant. The callback method gets the
        // result of the request.
    }
}

and
@Override
public void onRequestPermissionsResult(int requestCode,
        String permissions[], int[] grantResults) {
    switch (requestCode) {
        case MY_PERMISSIONS_REQUEST_READ_CONTACTS: {
            // If request is cancelled, the result arrays are empty.
            if (grantResults.length > 0
                && grantResults[0] == PackageManager.PERMISSION_GRANTED) {

                // permission was granted, yay! Do the
                // contacts-related task you need to do.

            } else {

                // permission denied, boo! Disable the
                // functionality that depends on this permission.
            }
            return;
        }

        // other 'case' lines to check for other
        // permissions this app might request
    }
}

At the moment this is what I got

a solution to this problem is also referenced here:
http://stackoverflow.com/questions/29915919/permission-denial-opening-provider-com-android-providers-contacts-contactsprovi

PR is welcome

@fabriziomoscon i'm running into the same issue. Can i help test perhaps?

I haven't started yet, I was planning to look at this in September. So please feel welcome to start the work and I will follow.

@fabriziomoscon any update on this?

Hi, unfortunately I am very busy on other components at the moment, which require 100% of my time. This is still in my radar, but I don't have an ETA for it.

@fabriziomoscon any progress on this yet?

Hi, sorry I wasn't realised there were people relying on this.
Actually what I found out is that my app works on Android 6 even without this modification. So I de-prioritize this issue as nice to have.
But if someone could correct my observation and see that this change is actually needed I am happy to reconsider.

My app also works on android 6 without this change

Doesn't work on my app, contact permissions are not granted on install so I need to be able to prompt.


added windows 11, adjusted format

after reading this article, i confirmed windows 11 is supported

Learn Build status updates of commit 7f70170:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/network-security-configure-encryption-types-allowed-for-kerberos.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@RAJU2529

Learn Build status updates of commit 8f7b8c1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/network-security-configure-encryption-types-allowed-for-kerberos.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Feature request

Ablity to take past emails generated from the tool to paste back for editing

That's why I've added the saving templates feature. After generating the HTML, it won't be possible to re-generate from that HTML.


Add Quantum Computing API

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

STOP the service
On Sat, Oct 9, 2021, 14:14 Riddler @.***> wrote:

My submission is formatted according to the guidelines in the contributing
guide http:///CONTRIBUTING.md
My addition is ordered alphabetically
My submission has a useful description
The description does not have more than 100 characters
The description does not end with punctuation
Each table column is padded with one space on either side
I have searched the repository for any relevant issues or pull
requests
Any category I am creating has the minimum requirement of 3 items
All changes have been squashed
https://github.com/todotxt/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit
into a single commit

You can view, comment on, or merge this pull request online at:
https://github.com/public-apis/public-apis/pull/2419
Commit Summary

Add Quantum Engine API
https://github.com/public-apis/public-apis/pull/2419/commits/407abab656fb4a165ace6ea77deb257648b01a56
Add Quantum Computing API
https://github.com/public-apis/public-apis/pull/2419/commits/3391a4d323baf0b5bc9460da2f87220b54d15153

File Changes

M README.md
https://github.com/public-apis/public-apis/pull/2419/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(8)

Patch Links:

https://github.com/public-apis/public-apis/pull/2419.patch
https://github.com/public-apis/public-apis/pull/2419.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/public-apis/public-apis/pull/2419, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV4FXTVDFXTOOHL72QENYXLUF76IFANCNFSM5FVBSGXQ
.

STOP the service
…

What does it mean? @Mehee3333