docs(#2684): use cleanup.policy=compact

Use cleanup.policy=compact as this is default for the schema registry indicated here https://github.com/Apicurio/apicurio-registry/blob/2.2.5.Final/storage/kafkasql/src/main/java/io/apicurio/registry/storage/impl/kafkasql/KafkaSqlRegistryStorage.java#L225
Solves https://github.com/Apicurio/apicurio-registry/issues/2684

LGTM.  I'm merging this change because @smccarthy-ie is out on PTO and I think this is correct.  But we can revert/change if needed. :)
Thanks @dweber019

Thx for the fast response.


Button tile design for all pages - general layout/shape/colour

Task: Button Tile Design (general layout/shape/colour) for All Pages.
Feature: Implement User Interface (UI)
Description
The 'Button Tile Design for All Pages' task is the finalisation of the game's buttons. More specifically, establishing the general layout, size, shape, colour and aesthetic of the buttons whilst prioritising readability and the theme of the game. Using Adobe Creative Cloud software to create a group of various themed buttons for different functionalities and usage. The buttons tend to be shared with all game creators and implemented across the entire game.
Example (optional)

Start Page Buttons: The start page will have a few buttons presented, such as buttons, that allow the game to 'start', access 'settings', etc.
Game Page Buttons: The majority of the button's workload will be spent on the numerous button tiles that will be presented whilst the user is playing the game. These buttons allow the user to move smoothly across our interface letting them return to the start page, check their entities status, access settings, access their inventory etc.
Settings Page Buttons: Players will be able to toggle the music and customise certain settings which require a button to complete the action.

Universal Buttons for Entire Studio: To ensure game cohesiveness across features, universal buttons will be provided for the studio to integrate into the various tickets.

Milestones
List of steps that need to be completed for this task.

[ ] Step 1 (Aug. 19)
Setup Creative Cloud shared platform for the team to work on.
Use Creative Cloud software (In-Design or Photoshop) to create the buttons.
Create a variety of different sized and shaped buttons for each functionality.
[ ] Step 2 (Aug. 20)
Using the now-made buttons, create the desired layout of buttons on screens.
Buttons are included in code, however, they are static at this point in time.
[ ] Step 3 (Aug. 23)
Buttons are made functional, so they are clickable and usable.
[ ] Step 4 (Aug. 26)
Testing is performed to ensure all buttons work correctly (i.e. navigate to the correct page/prompt)

Completion Deadline: Aug. 26
Documentation

Main description of feature

Member

Olivia Leighton (@Olivialeighton)
Bagus Prabowo Reksoprodjo (@baguspr)
Tara-Jade Garnsworthy (@tgarnsworthy)
Syed Muhammad Zahir (@ChevScore)


Request failed with status code 501

I tried  in https://phoenix-hive.terra.dev/graphql
query {
tx {
byHeight(height:50000){
height
}
}
}
but I got Request failed with status code 501  (INTERNAL_SERVER_ERROR)
let me know about it.

I have found the solution myself.
it is because of RPC_endpoint not used.


Swap out metamap atomically on certain notifications

Fixes a race Chris ran into: when we get a leaveConversation notification from the service, we were handling it in the reducer by clearing out the metaMap while a request for the new metas was inflight. There was a short time when we didn't have a metaMap in the store because of this. If you tried to do anything that depends on metaMap in the meantime (e.g. sending a message), we could end up sending malformed RPCs.
This PR gets rid of that timing issue and makes the clear -> replace atomic by adding a flag clearExisting to the metasReceived action.

[x] Retain pending conversation data on metasReceived w/ clearExisting

r? @keybase/react-hackers

looking


Removed unused CppSupportChecker

Removes the unused CppSupportChecker. The only implementation ClwbSupportsCpp returns always true.

Nvm, used by aswb.


[Build] Reduces build time for SYCL target

Can one of the admins verify this patch?

Jenkins, test this please.


Expression condition selection on an RNA seq job result page does not work on firefox.

@janakagithub reports this

Verified. You can see this in the workshopdemo dataset workshopdemo / home / Experiments / Antibiotic resistance in baumannii
Here is the javascript output on safari.
[Log] Filtering f<EMAIL_ADDRESS>resistance in baumannii/experiment.json", "C8AAA9A8-2A4C-11E5-A7B0-E2C2682E0674"]
[Log] Filtering f<EMAIL_ADDRESS>resistance in baumannii/expression.json", "C8B616EE-2A4C-11E5-83EE-5FC4682E0674"]
[Log] Filtering f<EMAIL_ADDRESS>resistance in baumannii/sample.json", "C95D2394-2A4C-11E5-9DAB-01C4682E0674"]
[Log] Filtering f<EMAIL_ADDRESS>resistance in baumannii/mapping.json", "C90E4FA8-2A4C-11E5-8568-5FC4682E0674"]
[Log] Experiment Sub Paths<EMAIL_ADDRESS>resistance in baumannii/experiment.json"<EMAIL_ADDRESS>resistance in baumannii/sample.json"]
[Log] Got sample Data:
Object

[Log] results:  [
Object
,
Object
,
Object
]
[Log] Total Rows:  3
[Log] dgrid-select:
Event
bubbles: true
cancelBubble: false
cancelable: false
clipboardData: undefined
currentTarget: null
defaultPrevented: false
eventPhase: 0
grid: Object
parentType: "mousedown"
returnValue: true
rows: Array[1]
srcElement: div.dgrid-content ui-widget-content
target: div.dgrid-content ui-widget-content
timeStamp:<PHONE_NUMBER>933
type: "dgrid-select"
__proto__: EventPrototype

here is the javascript output on firefox, with the error.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ dojo.js:19:0
"Filtering f: " Array [<EMAIL_ADDRESS>"C8AAA9A8-2A4C-11E5-A7B0-E2C2682E0674" ] Experiment.js:19:5
"Filtering f: " Array [<EMAIL_ADDRESS>"C8B616EE-2A4C-11E5-83EE-5FC4682E0674" ] Experiment.js:19:5
"Filtering f: " Array [<EMAIL_ADDRESS>"C95D2394-2A4C-11E5-9DAB-01C4682E0674" ] Experiment.js:19:5
"Filtering f: " Array [<EMAIL_ADDRESS>"C90E4FA8-2A4C-11E5-8568-5FC4682E0674" ] Experiment.js:19:5
"Experiment Sub Paths: " Array [<EMAIL_ADDRESS><EMAIL_ADDRESS>] Experiment.js:40:4
"Got sample Data: " Object { metadata: Object, data: Object } Experiment.js:51:5
"results: " Array [ Object, Object, Object ] Grid.js:71:5
"Total Rows: " 3 Grid.js:55:4
"dgrid-select: " dgrid-select { target: <div.dgrid-content.ui-widget-content>, isTrusted: false, currentTarget: <div#dgrid_0.dgrid.dgrid-grid.ui-widget.ExperimentViewer-child.ExperimentViewerPane.dijitAlignCenter>, eventPhase: 3, bubbles: true, cancelable: false, defaultPrevented: false, timeStamp:<PHONE_NUMBER>167446, originalTarget: <div.dgrid-content.ui-widget-content>, explicitOriginalTarget: #text "COL|MERO", NONE: 0 } Experiment.js:100:41
ReferenceError: event is not defined dojo.js line 19 > Function line 1 > eval:102:48
Use of getAttributeNode() is deprecated. Use getAttribute() instead.

Dustin found the evt emit problem. Assigning to him for label fixing

I'm having trouble reproducing this since the event error has been fixed. I see the icon for "genes" show up (with label) as well as the content in the item detail panel.  Am I missing something?

Verified that

when a single condition is selected, metadata is displayed in the right panel
when multiple conditions are selected, number  selected is shown
for any selection icon for gene table is displayed

closing the ticket.


All-vs-all search on clustering result for visualisation in Cytoscape

Hi,
Appologies if this question has already been answered, but I do not seem to find it in the manual and within the entered Issues.
I have run a clustering and would like to visualise the clusters in Cytoscape. As far as I know I have to run an all-vs-all search on my clustering results (and converting the results toa BLAST tabulated output) .
However, I cannot find a way to do it directly from the clustering results using something like:
mmseqs cluster DB DB_clu tmp
mmseqs search DB_clu DB_clu DB_clu_allvsall tmp

as I get the following error:
Input database "DB_clu " has the wrong type (Clustering)
Allowed input:
- Index
- Nucleotide
- Profile
- Aminoacid

Instead, it seems that I have to convert the clustered database to a normal database, i.e.
mmseqs cluster DB DB_clu tmp
mmseqs createseqfiledb DB DB_clu DB_clu_seq
mmseqs result2flat DB DB DB_clu_seq DB_clu_seq.fasta
mmseqs createdb DB_clu_seq.fasta DB_clu_seq_DB
mmseqs search  DB_clu_seq_DB  DB_clu_seq_DB DB_clu_allvsall tmp

Is it the best way to do it (as it seems a little convoluted)? Or is there a way to do a all-vs-all search directly from the clustered results which would be easier/faster?
Many thanks in advance

I got same error,how to fix? or fake_prefilter can not support for mmseqs search?


[QUESTION] Cannot create index pattern

Hello,
I've encountered some problems when setting up Kibana:
I've done the steps to setup Kibana as shown in this link https://github.com/twintproject/twint/wiki/Elasticsearch. On the third step, when I want to create index pattern, I cannot find the "Index Pattern: twint" stuff. How can I solve this problem?
Thanks.
I'm using Ubuntu 18.04

Hello,
with the latest updates of Twint everything is made easier. I suggest you to delete the created index:

And proceed with the updated Wiki (which I updated a couple of minutes ago).
The old way was causing issues with a couple users, now it's made simpler
Please be sure to have installed Twint with pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint

I've done the new steps described in the wiki.
A new problem comes, however.
It seems that the result doesn't take place as it is supposed to be.

Is there anything to do?

Top right corner, change "last 15 minutes" to a different time-range

It works!
Thank you for your support. I really appreciate it.

Great, for other questions just open a new issue or contact me via Slack or Twitter!


unable to install via bower

gives the following error after downloading a portion from the repo
Download of https://github.com/Dogfalo/materialize/archive/v0.95.3.tar.gz failed with ESOCKETTIMEDOUT, retrying

Sounds like just a connection problem. Should work if you try again.


Reverse chart legend in policy violations by category chart

Description
Reverses the order of the legend in the "Violations by policy category" chart to be in line with the mocks.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
TODO(replace-me)

Current dependencies on/for this PR:

master

PR #2205   👈

This comment was auto-generated by Graphite.


showcase it with an import statement

Thanks for your contribution @capaj! I 100% agree with the need for this, but ultimately ended up adding a single demonstration of how to import all functions at the top of the README.


New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process argument because the value of argument "password" is null.

When create a service principal. and try auto login azure account I copy below code

$credentials = New-Object Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential -Property @{StartDate=Get-Date; EndDate=Get-Date -Year 2024; Password="xxxxxxxxxxxxxxx"}
$sp = New-AzAdServicePrincipal -DisplayName ServicePrincipalName -PasswordCredential $credentials
3.$pscredential = New-Object -TypeName System.Management.Automation.PSCredential($sp.ApplicationId, $sp.Secret)

However there is error saying
New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process argument because the value of argument "password" is null.
I've thought I already give argument of password in the 1st step?

@yaobaobao2002 Thank you for reaching out. Please be noted that this channel is only to drive document improvements with in Azure Power Shell Docs. It would be great if you can share the documentation link you are referring, so that we can assist you accordingly.

Hello
Please refer below link and attachment
https://docs.microsoft.com/en-us/powershell/azure/create-azure-service-principal-azureps?view=azps-4.3.0
<EMAIL_ADDRESS>LIU Yao Iris
Software Engineer
DNV GL - Digital Solutions
Det Norske Veritas (China) Company Limited
E-mail Yao.liu<EMAIL_ADDRESS>Mobile +86<PHONE_NUMBER>6
www.dnvgl.comhttp://www.dnvgl.com/  |  LinkedInhttp://www.linkedin.com/company/dnvgl
[DNV GL]http://www.dnvgl.com/
From: BharathNimmala-MSFT<EMAIL_ADDRESS>Sent: Sunday, June 28, 2020 1:31 AM
To: MicrosoftDocs/azure-docs-powershell<EMAIL_ADDRESS>Cc: Liu, Yao Iris<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs-powershell] New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process argument because the value of argument "password" is null. (#1451)
@yaobaobao2002https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyaobaobao2002&data=02|01|yao.liu%40dnvgl.com|f098f101156f4bdd6f6e08d81abfe7a4|adf10e2bb6e941d6be2fc12bb566019c|1|0|637288758818516106&sdata=ATb4GQWNiHNp%2FmHWmC%2BF7A5UzqZY0o62ZmHgFstBMTE%3D&reserved=0 Thank you for reaching out. Please be noted that this channel is only to drive document improvements with in Azure Power Shell Docs. It would be great if you can share the documentation link you are referring, so that we can assist you accordingly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs-powershell%2Fissues%2F1451%23issuecomment-650589446&data=02|01|yao.liu%40dnvgl.com|f098f101156f4bdd6f6e08d81abfe7a4|adf10e2bb6e941d6be2fc12bb566019c|1|0|637288758818526061&sdata=n1LgC4uueLxCYAiE1N7tIW2gn7QigzJBdMaWRBS35aA%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL6OGYEATRWB6LCWB4XIZULRYYUGNANCNFSM4OJ5S4PA&data=02|01|yao.liu%40dnvgl.com|f098f101156f4bdd6f6e08d81abfe7a4|adf10e2bb6e941d6be2fc12bb566019c|1|0|637288758818526061&sdata=V45ORrbng7%2Buma8JP%2FVl9929P3qabNoGUPhVN7BvtA8%3D&reserved=0.

This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited.

Correct, you've already created a credential object in step 1. If these three steps exist together in one of the docs, please let us know where. It appears step 1 and 2 are taken from the first doc and step 3 is taken from the second doc.
Import-Module -Name Az.Resources # Imports the PSADPasswordCredential object

$credentials = New-Object Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential `
-Property @{StartDate=Get-Date; EndDate=Get-Date -Year 2024; Password=<Choose a strong password>}

$sp = New-AzAdServicePrincipal -DisplayName ServicePrincipalName -PasswordCredential $credentials

After running the previous code, you can connect using the service principal:
Connect-AzAccount -ServicePrincipal -Credential $pscredential -Tenant $tenantId

The reason the following line generates an error is because service principals with user defined passwords don't have a Secret property.
$pscredential = New-Object -TypeName System.Management.Automation.PSCredential($sp.ApplicationId, $sp.Secret)

The second doc creates a service principal with an autogenerated password. This code is used in that particular doc since the user wouldn't know the password.

After run code for define $credentials and $sp,  If I directly run the code “Connect-AzAccount -ServicePrincipal -Credential $pscredential -Tenant $tenantId”  without define $pscredential
There is error showing 'Connect-AzAccount : Cannot bind argument to parameter 'Credential' because it is  null'
From: Mike F. Robbins<EMAIL_ADDRESS>Sent: Tuesday, June 30, 2020 10:08 AM
To: MicrosoftDocs/azure-docs-powershell<EMAIL_ADDRESS>Cc: Liu, Yao Iris<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs-powershell] New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process argument because the value of argument "password" is null. (#1451)
Correct, you've already created a credential object in step 1. If these three steps exist together in one of the docs, please let us know where. It appears step 1 and 2 are taken from the first doc and step 3 is taken from the second doc.
Import-Module -Name Az.Resources # Imports the PSADPasswordCredential object
$credentials = New-Object Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential `
-Property @{StartDate=Get-Date; EndDate=Get-Date -Year 2024; Password=}
$sp = New-AzAdServicePrincipal -DisplayName ServicePrincipalName -PasswordCredential $credentials
After running the previous code, you can connect using the service principal:
Connect-AzAccount -ServicePrincipal -Credential $pscredential -Tenant $tenantId
The reason the following line generates an error is because service principals with user defined passwords don't have a Secret property.
$pscredential = New-Object -TypeName System.Management.Automation.PSCredential($sp.ApplicationId, $sp.Secret)
The second doc creates a service principal with an autogenerated password. This code is used in that particular doc since the user wouldn't know the password.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs-powershell%2Fissues%2F1451%23issuecomment-651475251&data=02|01|yao.liu%40dnvgl.com|5d4c4342749c4a43225108d81c9a5a8b|adf10e2bb6e941d6be2fc12bb566019c|1|0|637290796553089330&sdata=vA3la0ZfeY0rKmoNb0nBIdegUdktsBXxzjQX6ysqc%2BI%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL6OGYC4PBXLHK4LJF66523RZFCGLANCNFSM4OJ5S4PA&data=02|01|yao.liu%40dnvgl.com|5d4c4342749c4a43225108d81c9a5a8b|adf10e2bb6e941d6be2fc12bb566019c|1|0|637290796553089330&sdata=fKw4i53195PHTEJQBNAk6N%2FvFA8XBi6fWWNRPKuxbbY%3D&reserved=0.

This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited.

There was a step missing in the previously posted example.
Import-Module -Name Az.Resources # Imports the PSADPasswordCredential object

$credentials = New-Object Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential -Property @{StartDate=Get-Date; EndDate=Get-Date -Year 2024; Password=<Choose a strong password>}

$sp = New-AzAdServicePrincipal -DisplayName ServicePrincipalName -PasswordCredential $credentials

$pscredential = New-Object -TypeName System.Management.Automation.PSCredential($sp.ApplicationId, ($credentials.Password | ConvertTo-SecureString -AsPlainText -Force))

$tenantId = (Get-AzContext).Tenant.Id

Connect-AzAccount -ServicePrincipal -Credential $pscredential -Tenant $tenantId


Add workspace dependancies to Arbiter

Right now we have our binary and core dependancies specified separately. We should specify shared dependancies across the wokspace.

Bonus points would be moving up any use imports higher in scope if they are reused.


upgraded to jboss-ip-bom 6.0.0.CR29

@Petr: here is the upgrade to jboss-ip-bom 6.0.0.CR29.
I run the build and executed the tests AND took your branch ip-bom-cr29 with some fixes for the tests.
Finally there failed three tests (which I thik it is quit normal): http://kie-releases.lab.eng.brq.redhat.com/kie-artifacts/jboss-ip-bom-6.0.0.CR29/failedUnitTests/21.10.2015-22.48/

this has to cherry picked to master too

+1. I am going to merge this soon as it may require some additional fixes in other repositories.


clipper github issue is error

The file will lost '.md'

It's a little difficult to piece together how to help you given that you haven't described what exactly you're doing when you encounter this problem, but I can tell you that this tool does allow you to define how the filename of your "clipped" page is named -- including setting a file extension (e.g. .md).  Given that fact, I'm afraid I think you might just have misconfigured your template.
If you were to get a screenshot of the template you're using, I or somebody else could possibly point you in the right direction around what you've overlooked, but in any case, there's very unlikely to be a bug here.  Do feel free to start a discussion (see the "Discussions" tab) if you're still stuck; what I'd recommend doing is titling it something like "Why is my clipped page missing the .md extension?" and including a screenshot of the template you're using in your discussion post.
Cheers & good luck!


Security: Added warning for all vsix extensions

New PR because the old file got deleted after the merge. Added warning for third party extensions (extensions that are installed via the .vsix file). Fixes https://github.com/Microsoft/sqlopsstudio/issues/2418
EDIT - Added "Don't Show Warning"

@abist to clarify a previous comment.  Can we use the mechanism in the screenshot for "Don't Show Again"? i.e., menu from the gear icon

@kburtram Updated the PR with a screenshot


Pass validateLinkPropTypes directly to prevent error

cc: @marcaaron since you found this
Details
Passes validateLinkPropTypes directly instead of using objectOf which was causing a JS error.
Fixed Issues

Fixes N/A
Tests

Log into an account on E.cash
Open your developer console
Navigate to the following URL http://localhost:8080/v/41/EGFEPALHG
Confirm you don't see the following error in your console.

Warning: Failed prop type: Invalid prop `route.name` of type `string` supplied to `ValidateLoginPage`, expected `object`.

QA Steps

Log into an account on E.cash on staging
Open your developer console
Navigate to the following URL http://staging.expensify.cash/v/41/EGFEPALHG
Confirm you don't see the following error in your console.

Warning: Failed prop type: Invalid prop `route.name` of type `string` supplied to `ValidateLoginPage`, expected `object`.

Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots
N/A no UI changes.
Web

Mobile Web

Desktop

iOS

Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 [Deployed](https://github.com/Expensify/Expensify.cash
/actions/runs/765130740) 🚀 to
staging on Mon Apr 19 2021 at 22:41:56 GMT+0000 (Coordinated Universal Time)

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Will library be updated for Intelligent series?

Hi,
am surely wrong, but is theer an updated version released inclusive of new Intelligent series objects?
Thank you

I guess answer is non and that I'll have to continue sending serial strings.
Appreciate help
Cheers

Now its May 2020 and I have to ask the same question.
Why would I buy the Intelligent series of display if there is no explicit library support for it, and I have to write my own  by extending existing functions/methods ??
Its interesting that the github readme.md file does not include the same text found on itead site vis:
"Newer components and Intelligent Series support has not been added."
Surely its about time the extra support was added in the library ?


Feature/cleanup config

What? and Why?
There are a number of configurable items that don't change between environments and are likely to never change. Hard coding these in the settings file will make configuration management simpler by having a smaller list of items to manage.
NOTE: Don't merge until the config branch of the same name is also merged.
Checklist

[x] CHANGELOG.md updated? (if required)

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master     #76   +/-   ##
======================================
  Coverage    85.2%   85.2%
======================================
  Files          12      12
  Lines         446     446
======================================
  Hits          380     380
  Misses         66      66

Impacted Files
Coverage Δ

app/settings.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add frost season indices

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fulfills a need for an Ouranos project

[x] Tests for the changes have been added (for bug fixes / features)
[x] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)
[x] bumpversion (minor / major / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?

Adds indicators frost_season_length and first_day_above (both using tasmin).
Also, transforms run length's run_length_with_dates to season_length. The difference being that the date argument is now optional. Passing a date adds the restriction that this date be in the run. I understood "season" as meaning that the run needs to have a minimum length (window) and  may include breaks shorter than window. The last part is the difference between this and the simple run_length.
Moved the consecutive_frost_days indice   to maximum_consecutive_frost_days and made the threshold a parameter, in order to harmonize the naming with maximum_consecutive_dry_days and others. The consecutive_frost_days keeps its name (so the change is not as breaking) but now has a thresh parameter.

Does this PR introduce a breaking change?
Yes.

xc.indices.run_length.run_length_with_dates -> xc.indices.run_length.season_length. Also argument date is now optional and the defautl changes from "07-01" to None.
xc.indices.consecutive_frost_days -> xc.indices.maximum_consecutive_frost_days

Other information:
Each time I add such indices it's the same realization : we have many similar indices with completely different names. And many indices that could easily be generalized, but have very specific names...

Pull Request Test Coverage Report for Build 2322

24 of 30 (80.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 91.882%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

xclim/indices/_threshold.py
9
15
60.0%

Totals

Change from base Build 2320:
-0.2%

Covered Lines:
3158

Relevant Lines:
3437

💛  - Coveralls

I refactored the History.rst file by splitting "new features" and "new indicators", I thought the indicators ought to be more obvious. @Zeitsperre

After discussion with @tlogan2000, looks like frost_season should include the mid_date option after all. I kept the option not to give it, but it now defaults to "01-01", which makes sense in the Northern Hemisphere with  freq='AS-JUL'.


Request Interceptors can't be add to the Feign builder

I want to use Feign together with spring cloud security especially with @EnableOAuth2Resource.
When I request a resource with feign I got a 401. The reason is, that feign didn't include a token in the header.
I created a request interceptor
@Component
public class OAuthRequestInterceptor implements RequestInterceptor {

	private final HttpServletRequest request;

	@Autowired
	public OAuthRequestInterceptor(HttpServletRequest request) {
		this.request = request;
	}

	@Override
	public void apply(RequestTemplate template) {
		String header = request.getHeader("authorization");

		template.header("Authorization", header);
	}
}

addition I must enhance the FeignConfiguration to include the interceptor.
	@Autowired
	private RequestInterceptor requestInterceptor;

	protected Feign.Builder feign() {
		Feign.Builder builder = Feign.builder()
				// required values
				.logger(logger).encoder(encoder).decoder(decoder)
				.contract(contract);
		if (requestInterceptor != null) {
			builder.requestInterceptor(requestInterceptor);
		}

Did I miss something or is Feign with @EnableOAuth2Resource not working?

It would be good to allow custom request interceptors.

Feign is on the client side and @EnableOAuth2Resource is a sever side feature so they are not really connected in any way.
In your interceptor where would the token come from exactly?

I understand, that @EnableOAuth2Resource is a security feature and is not direct connected with Feign. I have several microservices and the communication to outside and also between the services is done via Rest. I want to use Feign as an easy way, to get or post data from one service to another. It was my understanding, that this is one reason to include Feign in Spring Cloud.
The problem starts with, that all my services are secured by @EnableOAuth2Resource and currently there is no way to easy setup Feign to request secured services. Also for external services it is not possible to include authorizations into the Feign request.
My interceptor use the token from the header the service gets from the proxy. This is only a first try, not sure if my interceptor will cover all my cases.
How would you handle the communication between services, when Feign is not aware of the @EnableOAuth2Resource?

I don't quite follow. Why would Feign ever be aware of the @EnableOAuth2Resource. And I didn't understand where the access token comes from. If you do have an access token though, then you can plug it into your interceptor I suppose? I'm just not quite sure where you want to start.

You are right. I saw it to small. My assumption was, that you have several microservices, each is secured with @EnableOAuth2Resource and all use the same OAuth provider. Now you can access all services with the same token.
When a client sends a request to service A and service A need information from service B, service A can use the same token which it received from the client, to request the data from service B with Feign.
Perhaps a general question. If you have the service secured with @EnableOAuth2Resource what is the recommendation for Rest communication between the services?

Now you can access all services with the same token

I don't think that's a valid assumption generally, although it is quite useful as a quick way to get something working, assuming you control all the services. We could also make every service responsible for its own authentication and require it to obtain an access token on its own, rather than just relaying the value that it was called with.
There are probably several ways we might implement the token relay (your suggestion). The best might be to grab the access token from the incoming request or Authentication (like the OAuth2TokenRelayFilter does in spring-cloud-security) and wire it up to the Feign client in an interceptor.

My assumption was that I control all the services and it is currently really to get something up quick.
As a first step, it would be enough, to add the possibility to use custom requestInterceptor.

Regardless of @sebastian-sch use of adding a feign requestInterceptor, being able to add one is valid.


SD-1757 Remove MountConfigs interpretation from CoreEff interpreter

Provide non-IO variants for a few effect types

:+1:


Add scan caching

Fixes #522

Absorbed into https://github.com/opencypher/cypher-for-apache-spark/pull/548


Added Bank Holiday - State Funeral of Elizabeth II

Added new Bank Holiday (Mon 19 Sep) for State Funeral of Elizabeth II on line 184/5

SEP isn't imported. #702 has it working properly and has a test case.

Hi,
unfortunately this PR doesn't provide tests, while a similar one ( https://github.com/dr-prodigy/python-holidays/pull/702 ) which does is in existence.
Due to this, I'm proceeding with merge of https://github.com/dr-prodigy/python-holidays/pull/702 .
Thx


No result/logger information

The documentation for the logger and results is empty (https://el-openqaoa.readthedocs.io/en/latest/logger_and_results.html). I'm not sure if it doesn't exist or isn't being generated properly, but it is valuable documentation to have available.

Well spotted! This is indeed a bug! Actually, there was an issue with the doc-building test (it turns out that sphinx-build needs the flag -W in order to return 1 and signal that to the user) ... so we were fooled by tests always being green!
I have started fixing this and issue #106 too.
Regarding the status of the underlying docstrings: the result one should be fairly complete, while the logger one requires some improvements.

Closing this issue, the docs were fixed in PR113


easy and clean support for camunda REST api via starter

The current starter supports adding the REST API controllers. The setup is very complicated, there are a lot of dependencies I have to add to my pom to activate this and even then it is not perfectly clear how it all works together and how I can configure it. (see also #20)
Maybe we can find a simpler way by offering a dedicated "starter-rest" that bundles the usual dependencies to run server+api?
Also we should investigate if we can get rid of the jboss/resteasy dependency, doesn't seem to be very "springy" in my opinion ...

I think we should stick to Jersey
On 09.09.15 11:30, Jan Galinski wrote:

The current starter supports adding the REST API controllers. The
setup is very complicated, there are a lot of dependencies I have to
add to my pom to activate this and even then it is not perfectly clear
how it all works together and how I can configure it. (see also #20
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/20)
Maybe we can find a simpler way by offering a dedicated "starter-rest"
that bundles the usual dependencies to run server+api?
Also we should investigate if we can get rid of the jboss/resteasy
dependency, doesn't seem to be very "springy" in my opinion ...
—
Reply to this email directly or view it on GitHub
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/21.

Forgot: Also provide a simple spring-boot pom which brings the necessary
dependencies. +1

Indeed the dependencies are not really clean. I like the "starter-rest" idea.

Am 09.09.2015 um 11:30 schrieb Jan Galinski<EMAIL_ADDRESS>starter-rest

Christian introduced the starter-rest which makes live easier. But I do not like that the "starter" module has an optional dep on jersey just to provide a RestConfiguration that will be triggered when using the starter-rest module. So I would move the Rest specific stuff to the new module.

Move the REST specific stuff to the new module including the RestConfigurationclass.

I moved all the code and tests and double checked: works!
Question: do we still need the RestConfiguration class? Or is it enough to provide the Camunda JerseyConfig, so the implementing apps can extend it?


Problems with 3.0.0.CR1

Hi,
while building (and deploying) works fine now with Beta1, building with CR1 produces
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.0.0.CR1:build (default) on project memoryalpha-to-inveniordm: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] 	[error]: Build step io.quarkiverse.helm.deployment.HelmProcessor#generateResources threw an exception: java.lang.NoSuchMethodError: 'void io.dekorate.ConfigReference.<init>(java.lang.String, java.lang.String[], java.lang.Object, java.lang.String, java.lang.String)'
[ERROR] 	at io.quarkiverse.helm.deployment.HelmProcessor.lambda$toValueReferences$7(HelmProcessor.java:354)

I was in the middle of the upgrade :)
Once https://github.com/quarkiverse/quarkus-helm/pull/215 is green, will release a new version of the extension.


[Feature Request] Change tag on click functionality with river/tags

More or less self explanatory, I'd like to be able to click on a tag and then be sent to the tag, at the moment they tag functionality is purely visual and does not provide any functionality. I'm unsure how difficult it would be to implement, but I am interested and could put in some work if needed.

I also need this feature.

@Alexays river uses this command riverctl set-focused-tags $((1 << ($i - 1))) to change tags. This command can be used for changing for tags on click.

Yep, all I need is the actual functionality to implement it, even just on "on-cilck" for each tag button would suffice for now. Obviously a full implementation that just runs the command for each tag would be ideal.

I am struggling to configure river/tags . Can I have a look at your config?

You can try this
https://codeberg.org/dnkl/yambar/src/branch/master/examples/scripts/dwl-tags.sh


NotFoundHandler generateTemplatedResponse Content Type missing

I believe "Content-Type" header is missing from the newly created response object when a 404 error is handled.
/src/Handler/NotFoundHandler.php
/**
     * Generates a response using a template.
     *
     * Template will receive the current request via the "request" variable.
     */
    private function generateTemplatedResponse(
        TemplateRendererInterface $renderer,
        ServerRequestInterface $request
    ) : ResponseInterface {

        $response = ($this->responseFactory)()->withStatus(StatusCodeInterface::STATUS_NOT_FOUND);
        $response->getBody()->write(
            $renderer->render($this->template, ['request' => $request, 'layout' => $this->layout])
        );

        return $response;
    }

Should be
/**
     * Generates a response using a template.
     *
     * Template will receive the current request via the "request" variable.
     */
    private function generateTemplatedResponse(
        TemplateRendererInterface $renderer,
        ServerRequestInterface $request
    ) : ResponseInterface {

        $response = ($this->responseFactory)()
                 ->withHeader('Content-Type', 'text/html')
                 ->withStatus(StatusCodeInterface::STATUS_NOT_FOUND);
        $response->getBody()->write(
            $renderer->render($this->template, ['request' => $request, 'layout' => $this->layout])
        );

        return $response;
    }

Not 100% sure if this relates to your problem, but I get a server 500 error on anything "that goes wrong" in my application, even for 404's. - when I switch PHP error reporting off then all works... which is clearly a sign of bad architecture.
One would imagine that a framework with PSR-7 & 15 at its roots would have the basics of HTTP sorted, clearly not...
I'm so tired of wasting time with Zend's convoluted configuration and over-engineered concepts, and code examples which are naive or simply does not work....
wish I could say, I'm done with Zend and going back to PHP Slim, but the previous developers made the mistake of choosing Zend Expressive and now we are stuck with this bad experience.... and reminds me of why ZF never became popular and why I left ZF1-2 years ago.

This repository has been closed and moved to mezzio/mezzio; a new issue has been opened at https://github.com/mezzio/mezzio/issues/5.


Trigger prod release for go 1.18.10, 1.19.11, 1.20.6

Issue #, if available: https://github.com/aws/eks-distro-build-tooling/issues/1056
Description of changes:
1.18: https://github.com/aws/eks-distro-build-tooling/pull/1059
1.19/1.20: https://github.com/aws/eks-distro-build-tooling/pull/1058
/hold
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/unhold


Subclass abcmeta

Implemented what we discussed in #120
Also changed pytest execution in the Makefile (was failing in my machine).

What kind of documentation are you thinking about? Since it's in the stdlib the documentation is already there: https://docs.python.org/3/library/abc.html
Maybe just a mention in the changelog?

Just a show section in the main docs saying something like "pydantic works with python's standard abc" then a mini example in python.

Tests are failing since I readded pytest-sugar to the Makefile.

Looks great. Thank you very much. I'll wait a couple of days in the hope that pytest-sugar gets fixed, if it doesn't I'll remove it.
Once that's done this looks ready to merge.

great, thank you very much.


CB-21242: Sdx external database configuration provider should use the internal database request as well

In this commit I set the default database engine version to 11 and modified the database config provider to use the database engine version and the availability type from the internal database request if present

@tiborpopovics usage proto generation will come into master with this merge PR https://github.com/hortonworks/cloudbreak/pull/14586 i suggest to wait for it and rebase this PR


getTypes interface error

The lookup() function has been changed to getType(). I believe the interface is out of date.
My code:
import mime from 'mime'; // mime: "^2.5.2"
const ContentType = mime.getType(originalPath);

Typescript error:
Property 'getType' does not exist on type 'typeof import("....../node_modules/@types/mime/index")'.
Lookup type:

I have the same issue here. I've just changed it in the index.d.ts but it would be nice to see an update to solve this issue

This installs the right types.
npm i @types/mime
However, the v2 types should be installed automatically with npm i mime

This installs the right types.
npm i @types/mime
However, the v2 types should be installed automatically with npm i mime

it didn't work

I've got the same issue
After installing @types/mime it started to working as the expected
// mime: "^2.5.2"
import { getType } from 'mime';
const ContentType = getType(originalPath);

same problem here with mime: "^2.5.2"

This appears to be an issue with @types/mime, not this module (mime), right?
The lookup() method was removed four (4) years ago (in both theses modules).  E.g. in mime/types... https://github.com/DefinitelyTyped/DefinitelyTyped/commit/b59dee51308fa0d8e1979ea4504356790f8c4d14, so I'm not sure how/why this error would be surfacing now.

Closing, as this doesn't appear to be an issue with this project.  'Happy to reopen if someone wants to explain what tangible actions should stem from this in this module.


Profile edit view: make "Description" field larger?

My assumption/hope is that 'description' will become the catch-all field where culture will spontaneously emerge as the conference goes on (which also maybe suggests a different name from 'description' is needed?)
If that happens, having a single-line to edit might be frustrating. Potentially worth moving this to the bottom and giving it breathing room.

Kawa and I were talking and another way to flavour this might be more "This space on your name badge is intentionally left blank - fill in as you like" or just "What else is written on your name badge?"

Naively making the description field take up multiple columns with CSS grid causes it to break on mobile. I suspect I could add a media query.


fix: enable use-client-protocol test

What type of PR is this?

What this PR does / why we need it:
Add retries and wait for requests to converge to appropriate status code before making assertions on protocol.
Which issue(s) this PR fixes:

Fixes #3473

/retest

basic auth test seems to flake for some reason, with upstream not being ready for test: https://github.com/envoyproxy/gateway/actions/runs/9899589116/job/27348982865#step:6:4263
https://github.com/envoyproxy/gateway/actions/runs/9905993051/job/27366970306#step:6:4073


Migrate CI to GitHub actions

As Travis CI isn't running anymore. For security reasons, workflows added from a fork won't run on a PR, so you can't see them run here, but you can check the results on my fork

@browniebroke What do you think about extending the version support to modern Python? I did that in my fork: https://github.com/jacekbj/django-dd-logger/blob/master/.github/workflows/pr-checks.yml#L35

Oh yes, I think that would be well needed! I was hoping to get this merged first and was planning to do it in a follow up PR.

Closed in favor of @jacekbj -s version

This will need to be updated before release then:
https://github.com/namespace-ee/django-datadog-logger/blob/c90df5b5a6ab8223bc81145839e1e8517485a704/setup.py#L36-L39


Path-related bugs on windows

related to backslashes.

Running pmtiles commands with a path argument results in a runtime error (v1.10.5 x86-64)

@hpetrov29 please try release https://github.com/protomaps/go-pmtiles/releases/tag/v1.11.1


_current.json save location does not respect .sequelizerc

If a .sequelizerc file is present modelsDir is updated to the specified directory but stateDir remains at ./models
https://github.com/MRVMV/sequelize-mig/blob/f650f9ae8ae20fa1f10dc87691c4c8a97d3213bd/lib/helpers.js#L195-L200

yep thats right just a second and I will add this one thats easy :)


Follow test problems

AcceptFollowTest

incorrect 'super' usage on get_actors and now_related

ReceivesFollowTest

Uses undefined send_follow_activity

RejectsFollowTest
Uses undefined send_follow_activity
Uses undefined send_reject_activity

Refactored. Works now.


Undo patch of double-block apply

If f{}{} is candidate for rewrite, unpatch it.
We don't know exact spans, so just check endpoints to remove.
Fixes #21382

Not a satisfying solution, but has the virtue of discretion (of being discrete).
It would be more natural to check lastToken against colonEOLPredecessors and turn off canRewrite. I expected to have to scan backward in text for previous token, and set a variable like possibleColonOffset to turn off the rewrite non-contextually.

@som-snytt do you plan to work on this or should I take it from here?

@bracevac I had no immediate plan. Feel free to either use it or lose it!

superseded by https://github.com/scala/scala3/pull/21982


Use EventuallyConsistentTestTrait for a test

Use ob_start and ob_get_clean. Also rebased to the master. @bshaffer PTAL


[WIP] Respond to bot id with basic message

Will reply to messages that contain it's id.

Not sure what we want it to do when mentioned. That's the only WIP part left.

We can just leave it in the affirmations for now and break it out later if needed.


Key Creation

It would be awesome if this library also was able to create the private/public keys.

It is not the current goal of this library to generate keys. There are a lot of platform inconsistencies and other things like that to deal with to build that feature.


OSSL_STORE_expect causes OSSL_STORE_load to throw an error

I found this problem in OpenSSL 3.0.8.
If I have a file with a certificate concatenated with a private key:
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----

and I have this code:
OSSL_STORE_expect(ctx, OSSL_STORE_INFO_CERT);
OSSL_STORE_load(ctx);
OSSL_STORE_load(ctx);

the second OSSL_STORE_load will result in OSSL_STORE_error(ctx) == 1.
This was not the behavior in OpenSSL 1.1.1t, and it seems to contradict the documentation:
OSSL_STORE_expect() helps applications filter what OSSL_STORE_load() returns by specifying a OSSL_STORE_INFO type.

In OpenSSL 1.1.1t, expect() was acting like a filter, and it was causing load() to skip over unexpected artifacts. In OpenSSL 3.0.8, expect() is acting more like a way to set up an assertion that must not fail.

It would have been nice to see the error produced.  Would you mind adding this line?
ERR_print_errors_fp(stderr);

005D040400000000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:../crypto/store/store_result.c:151:

The same thing has started happening in the 3.1 line between the 3.1.0 and 3.1.3 releases.

I think it's actually at end of file that OSSL_STORE_error returns true (as well as OSSL_STORE_eof) but only if there is a filter installed with OSSL_STORE_expect.

We recently made a change in the logic for how error and eof was treated, see 17dd9a2c6262c00800301fddd9441a9c590a630e.  I think the behavior observed here may be due to the error flag never being cleared before the next load.
The fix is present in the latest releases (3.0.11 and 3.1.3), please try them out to see if they helped.

It was actually when I upgraded from 3.1.0 to 3.1.3 today that I ran in to this so no I don't think 3.1.3 helps ;-)
I had a file with three certificates (and nothing else) and read it with a filter on certificates installed and the first three times I called OSSL_STORE_load there was a non-null result with details of the certificate and the fourth time it returned null and both OSSL_STORE_eof and OSSL_STORE_error were returning true.

Could it be that it is actually regression from https://github.com/openssl/openssl/commit/17dd9a2c6262c00800301fddd9441a9c590a630e ? It is suspicious.

I can confirm that reverting 17dd9a2c6262c00800301fddd9441a9c590a630e appears to restore the old behaviour,

@tomhughes would it be possible to submit here an example of the code and data which trigger this regression?

Sure, here's a test case:
#include <stdio.h>

#include "openssl/err.h"
#include "openssl/store.h"
#include "openssl/x509.h"

int main( int argc, char **argv )
{
   OSSL_STORE_CTX *ctx = OSSL_STORE_open( "ossl.pem", NULL, "", NULL, NULL );

   while ( !OSSL_STORE_eof( ctx ) )
   {
      OSSL_STORE_INFO *info = OSSL_STORE_load( ctx );

      if ( info && OSSL_STORE_INFO_get_type( info ) == OSSL_STORE_INFO_CERT )
      {
         X509 *cert = OSSL_STORE_INFO_get1_CERT( info );
         X509_NAME *name = X509_get_subject_name( cert );
         char buffer[256];

         printf( "CERT: %s\n", X509_NAME_oneline( name, buffer, sizeof( buffer ) ) );
      }
      else if ( info == NULL && OSSL_STORE_error( ctx ) )
      {
         printf( "ERROR: %lu\n", ERR_get_error() );
      }
   }

   OSSL_STORE_close( ctx );

   return 0;

}

you can run it against any file, but here's an example:
-----BEGIN CERTIFICATE-----
MIIFYDCCBEigAwIBAgIQQAF3ITfU6UK47naqPGQKtzANBgkqhkiG9w0BAQsFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTIxMDEyMDE5MTQwM1oXDTI0MDkzMDE4MTQwM1ow
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQCt6CRz9BQ385ueK1coHIe+3LffOJCMbjzmV6B493XC
ov71am72AE8o295ohmxEk7axY/0UEmu/H9LqMZshftEzPLpI9d1537O4/xLxIZpL
wYqGcWlKZmZsj348cL+tKSIG8+TA5oCu4kuPt5l+lAOf00eXfJlII1PoOK5PCm+D
LtFJV4yAdLbaL9A4jXsDcCEbdfIwPPqPrt3aY6vrFk/CjhFLfs8L6P+1dy70sntK
4EwSJQxwjQMpoOFTJOwT2e4ZvxCzSow/iaNhUd6shweU9GNx7C7ib1uYgeGJXDR5
bHbvO5BieebbpJovJsXQEOEO3tkQjhb7t/eo98flAgeYjzYIlefiN5YNNnWe+w5y
sR2bvAP5SQXYgd0FtCrWQemsAXaVCg/Y39W9Eh81LygXbNKYwagJZHduRze6zqxZ
Xmidf3LWicUGQSk+WT7dJvUkyRGnWqNMQB9GoZm1pzpRboY7nn1ypxIFeFntPlF4
FQsDj43QLwWyPntKHEtzBRL8xurgUBN8Q5N0s8p0544fAQjQMNRbcTa0B7rBMDBc
SLeCO5imfWCKoqMpgsy6vYMEG6KDA0Gh1gXxG8K28Kh8hjtGqEgqiNx2mna/H2ql
PRmP6zjzZN7IKw0KKP/32+IVQtQi0Cdd4Xn+GOdwiK1O5tmLOsbdJ1Fu/7xk9TND
TwIDAQABo4IBRjCCAUIwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw
SwYIKwYBBQUHAQEEPzA9MDsGCCsGAQUFBzAChi9odHRwOi8vYXBwcy5pZGVudHJ1
c3QuY29tL3Jvb3RzL2RzdHJvb3RjYXgzLnA3YzAfBgNVHSMEGDAWgBTEp7Gkeyxx
+tvhS5B1/8QVYIWJEDBUBgNVHSAETTBLMAgGBmeBDAECATA/BgsrBgEEAYLfEwEB
ATAwMC4GCCsGAQUFBwIBFiJodHRwOi8vY3BzLnJvb3QteDEubGV0c2VuY3J5cHQu
b3JnMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly9jcmwuaWRlbnRydXN0LmNvbS9E
U1RST09UQ0FYM0NSTC5jcmwwHQYDVR0OBBYEFHm0WeZ7tuXkAXOACIjIGlj26Ztu
MA0GCSqGSIb3DQEBCwUAA4IBAQAKcwBslm7/DlLQrt2M51oGrS+o44+/yQoDFVDC
5WxCu2+b9LRPwkSICHXM6webFGJueN7sJ7o5XPWioW5WlHAQU7G75K/QosMrAdSW
9MUgNTP52GE24HGNtLi1qoJFlcDyqSMo59ahy2cI2qBDLKobkx/J3vWraV0T9VuG
WCLKTVXkcGdtwlfFRjlBz4pYg1htmf5X6DYO8A4jqv2Il9DjXA6USbW1FzXSLr9O
he8Y4IWS6wY7bCkjCWDcRQJMEhg76fsO3txE+FiYruq9RUWhiF1myv4Q6W+CyBFC
Dfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5
-----END CERTIFICATE-----

Note that it seems I was wrong about needing to have a filter installed.
Building against 3.1.3 will give output like:
CERT: /C=US/O=Internet Security Research Group/CN=ISRG Root X1
ERROR: 0

while earlier versions will not have the ERROR line.
I've also debugged it down through openssl now and located the problem, which appears to be https://github.com/openssl/openssl/blob/30224a248495ad604a06b8977fa3aa1cc75b9d0d/crypto/encode_decode/decoder_lib.c#L100which logs a "No data to decode" error but also returns false.
The layer above at https://github.com/openssl/openssl/blob/30224a248495ad604a06b8977fa3aa1cc75b9d0d/providers/implementations/storemgmt/file_store.c#L533 then carefully ignores that error and clears the error stack but leaves the return value alone, causing the already identified code to set the error flag now that it no longer does an EOF check.

@tomhughes
Can you execute perl -pi -e 'chomp if eof' ossl.pem and rerun your code. I don't see ERROR: 0 after.
This might be symptom of:
read one cert
their is some bytes in buffer (mostly white space like \r or \n)
read another cert (it can only consume white chars) but their is none so it fail.
I see two solution:

OSSL_STORE_load: read one cert and white space
OSSL_STORE_eof: seek for a -----BEGIN (I don't know if the number of dash is important)

For second solution I don't propose to eat white space because I have seen this kind of files with text (comment or part of the certificate ?)
RqEIr9baRRmW1FMdW4R58MD3R++Lj8UGrp1MYp3/RgT408m2ECVAdf4WqslKYIYv
uu8wd+RU4riEmViAqhOLUTpPSPaLtrMwDDAKBggrBgEFBQcDAQ==
-----END TRUSTED CERTIFICATE-----

AC RAIZ FNMT-RCM SERVIDORES SEGUROS
-----BEGIN CERTIFICATE-----
MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQsw
CQYDVQQGEwJFUzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgw
FgYDVQRhDA9WQVRFUy1RMjgyNjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1S
Q00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4MTIyMDA5MzczM1oXDTQzMTIyMDA5
MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNNMQ4wDAYDVQQL
DAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNBQyBS
QUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgEGBSuB
BAAiA2IABPa6V1PIyqvfNkpSIeSX0oNnnvBlUdBeh8dHsVnyV0ebAAKTRBdp20LH
sbI6GA60XYyzZl2hNPk2LEnb80b8s0RpRBNm/dfF/a82Tc4DTQdxz69qBdKiQ1oK
Um8BA06Oi6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD
VR0OBBYEFAG5L++/EYZg8k/QQW6rcx/n0m5JMAoGCCqGSM49BAMDA2kAMGYCMQCu
SuMrQMN0EfKVrRYj3k4MGuZdpSRea0R7/DjiT8ucRRcRTBQnJlU5dUoDzBOQn5IC
MQD6SmxgiHPz7riYYqnOK8LZiqZwMR2vsJRM60/G49HzYqc8/5MuB1xJAWdpEgJy
v+c=
-----END CERTIFICATE-----

Trusted for:
  - <IP_ADDRESS>.<IP_ADDRESS>.1 (RFC5280: serverAuth key usage)
-----BEGIN TRUSTED CERTIFICATE-----
MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQsw
CQYDVQQGEwJFUzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgw
FgYDVQRhDA9WQVRFUy1RMjgyNjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1S
Q00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4MTIyMDA5MzczM1oXDTQzMTIyMDA5
MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNNMQ4wDAYDVQQL
DAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNBQyBS
QUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgEGBSuB
BAAiA2IABPa6V1PIyqvfNkpSIeSX0oNnnvBlUdBeh8dHsVnyV0ebAAKTRBdp20LH
sbI6GA60XYyzZl2hNPk2LEnb80b8s0RpRBNm/dfF/a82Tc4DTQdxz69qBdKiQ1oK
Um8BA06Oi6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD
VR0OBBYEFAG5L++/EYZg8k/QQW6rcx/n0m5JMAoGCCqGSM49BAMDA2kAMGYCMQCu
SuMrQMN0EfKVrRYj3k4MGuZdpSRea0R7/DjiT8ucRRcRTBQnJlU5dUoDzBOQn5IC
MQD6SmxgiHPz7riYYqnOK8LZiqZwMR2vsJRM60/G49HzYqc8/5MuB1xJAWdpEgJy
v+cwDDAKBggrBgEFBQcDAQ==
-----END TRUSTED CERTIFICATE-----

I can confirm that fixes it:
rawhide [~] % rpm -q openssl
openssl-3.2.1-2.fc40.x86_64
rawhide [~] % md5sum ossl.pem
505444090df336fa2a75cc94cb3ce079  ossl.pem
rawhide [~] % ./ossl ossl.pem
CERT: /C=US/O=Internet Security Research Group/CN=ISRG Root X1
ERROR: 0
rawhide [~] % perl -pi -e 'chomp if eof' ossl.pem
rawhide [~] % md5sum ossl.pem
6b58e47fce41e46ec8af7d68910e7454  ossl.pem
rawhide [~] % ./ossl ossl.pem
CERT: /C=US/O=Internet Security Research Group/CN=ISRG Root X1

Is seems this issue has been resolved, marking as inactive to be closed at the end of the 3.4 dev cycle barring further discussion


Where do i find the pretrained model with 128 features with date 2017-03-02

Hi,
Where do i find the pre-trained model with 128 features with date 2017-03-02?

Hi,
The models you are looking for are the 20170214-092102 and the 20170216-091149 models which both produce 128d feature vectors.


SEO optimization

[x]  add meta tags
[ ] add aria labels on buttons, links, images, and other elements
[x] use svg and webp image format for better render

-These tasks are also resolved.

add meta tags
use svg and webp image format for better render.


Improve logic to compute Reaper availability mode [K8SSAND-1177]

What this PR does:
This commit changes the logic to be as follows:

For single-DC clusters, always use ALL;
For multi-DC clusters:

If all DCs have their Reaper instance, use EACH;
Otherwise use ALL.

Which issue(s) this PR fixes:
Fixes #308
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[ ] CLA Signed:  DataStax CLA

It would nice to see an e2e test where the DC availability changes from ALL to EACH. That would have to come in a follow up PR because we need #262 merged first.
I briefly looked at your prototype. I need to look at it more but I like it.

It's now a PR, see #322 . It's based on this one though.

Superseded by #322.


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=487576826
https://github.com/Azure/azure-cli-extensions/commit/93f71860ea9aca66f7e8d7eafb2bebfc40f292bd

OPS Build status updates of commit 75d7a9a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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


Duplicate messages while consuming events from kafka enabled azure event hub

Hi All,
I am getting duplicate messages while consuming events from kafka enabled azure event hub.
we are doing load testing with around 30k messages,All these 30k messages are first consumed at our side from external source system on confluent kafka and then we do data processing/transformation and send it to our internal kafka topics on azure(kafka enabled azure event hub) from where our downstream applications consume these messages.
We are able to consume messages(>30K) with no issue from confluent kafka, but once data transformation is done and these messages are sent to event hub topic for downstream applications to consume, thats where we observed that for incoming messages with volumes(around >400 msgs) , messages are getting reprocessed(duplicated) even after manual acknowledgement of each record at the consumer side.
Our java service are using spring cloud stream kafka dependencies:
org.springframework.cloud
spring-cloud-dependencies
Hoxton.RELEASE
org.springframework.cloud
spring-cloud-starter-stream-kafka
3.0.0.RELEASE
for consuming messages. as mentioned in earlier posts the issue happened for two consumers in a consumer group, but in our case its one topic and one consumer in a consumer group, still getting duplicate messages .
I see there is already a issue opened : https://github.com/Azure/azure-event-hubs-java/issues/339, but discussion was not concluded.
can anyone let me know if this is an issue with cloud stream kafka or azure event hub? i do not think this is problem with cloud stream kafka as we are able to consume messages from confluent kafka , something to do with azure event hub.
would appreciate if someone can help.

@deb-amit-84 Nothing comes to mind why it is consuming duplicate messages randomly. It does not look like a binder related issue. Do you have any updates as to what might be causing this?

@deb-amit-84 Closing the issue as we cannot think of any binder scenario that may cause this. Please feel free to re-open if you find any binder issues related to this.


Identify customer

This adds the identifyCustomer method to the api.

Merge master into here to fix that conflict and then ship it!


Make form card clickable

Is your feature request related to a problem? Please describe
Especially when implementing dashboards like user interfaces with Wave we can use ui.form_card as dashboard cards. But in most of the use cases, these cards should be clickable such that the user will be directed to a more details page for that particular card.
Describe the solution you'd like
Trigger an event when clicked anywhere on the form card.

@lo5 do we want to do this? I feel like form_card is intended to be used for forms which do not need this behavior. This feature could be provided by one of the many new cards in the design proposal.
However, I also understand @dulajra's point since the form_card is the most flexible in dev terms.

I think it makes sense on some of the cards that display stats or summary information, which the user can then click to get detailed information. The click behavior probably needs to be designed individually for each type of card. For example the small stats cards can be directly clicked on, but the ones that display lists or tables will probably need a link at the bottom.

Trigger an event when clicked anywhere on the form card.

I don't think the form card needs a click behavior, since you already have the ability to include buttons on links inside the card. In any case this will be problematic to implement because the mouse handling will interfere with individual form fields.

This feature could be provided by one of the many new cards in the design proposal.

@mturoci Yes, I agree with you. But the problem here is currently no such cards are available to use for such use cases. For example, in the model monitoring app, we use a form card with ui.markup components to build the UX design prepared by the UX team. For MLOPs also this will be the case.
@lo5 Yes we can use a button or a button link to open the card. But the problem here is then we cannot implement what is designed by the UX team as it is. For example please refer to this design.
FYI @iamabhishekmathur @sandruparo @VijithaEkanayake

@dulajra
The following might not be the cleanest "wavey" app, but does it go into the direction you are looking for?
https://user-images.githubusercontent.com/6949295/128683431-3f839e2a-17ad-4939-af29-1de9a41bf676.mp4
from h2o_wave import main, app, Q, ui, on, handle_on, site
import h2o_wave

on_click_js = r"""
c1 = document.querySelectorAll('[data-test="card1"]')[0];
c2 = document.querySelectorAll('[data-test="card2"]')[0];

c1.onclick = (e) => on_card_click(e, "card1");
c2.onclick = (e) => on_card_click(e, "card2");

function on_card_click(e, val) {
    elementMouseIsOver = document.elementFromPoint(e.clientX, e.clientY);
    background_clicked = elementMouseIsOver.getAttribute("data-test") == val
    wave.emit(val, "background_clicked", background_clicked)
}
"""

@app("/")
async def serve(q: Q):
    print("args", q.args)
    if not q.client.initialized:
        q.page["meta"] = ui.meta_card(box="", redirect="")
        q.client.initialized = True
        await q.page.save()

    q.page["card1"] = ui.form_card(
        box="2 2 2 2",
        title="",
        items=[ui.slider(name="slider1", label="Slider on Card 1", min=0, max=100)],
    )
    q.page["card2"] = ui.form_card(
        box="4 2 2 2",
        title="",
        items=[ui.slider(name="slider2", label="Slider on Card 2", min=0, max=100)],
    )

    if len(str(q.events)) > 0:
        if q.events.card1:
            msg = f"Click registered on card 1, backgound: {q.events.card1.background_clicked} "
        if q.events.card2:
            msg = f"Click registered on card 2, backgound: {q.events.card2.background_clicked} "

        q.page["click_event"] = ui.form_card(
            box="2 1 4 1",
            title="",
            items=[
                ui.text(content=msg),
            ],
        )
    await q.page.save()
    q.page["meta"].script = ui.inline_script(on_click_js)
    await q.page.save()

In any case this will be problematic to implement because the mouse handling will interfere with individual form fields

True, we would have to stop the event bubbling within form elements and prevent them from propagation into form.
@dulajra I see what you are asking for, but note that we cannot just do a "quick tmp" workaround for you until new cards are implemented. We try to keep the API well thought through with zero / minimum breaking changes. So as long as a feature is supposed to serve as a tmp solution, we are probably not going to implement it.
After the new card's design is reviewed and approved, we can prioritize accordingly.
I would suggest using @Far0n 's hack for now.

Thanks @Far0n for the sample code.

Closing as @Far0n 's solution is a good workaround for now.


[Feature Request] Use the new Nexts js 9.3 static export methods for static CSS generation at build time.

The current way to do server side rendering in Next js requires creating a _document.jsx file in the pages directory, it uses Next's getInitialProps method which runs at eacg request.
In their latest release Next 9.3 Next has introduced methods to do static site generation.
Can we use this new functionality to create our <styles> at build time.
This would allow the app to render for the first time without any flickers(the app initially loads without any styles and CSS is injected later).

This is more of an issue (or question?) for the next.js repository as it doesn’t affect our development. As far as I know the styles-components example on their repository will be unaffected and hasn’t / won’t block static optimisations as the ServerStyleSheet is typically only used on the server-side _document.js


Add c8y-firmware-plugin

Proposed changes
This PR should implement as described in the ticket #1696.
The following memo might help you to understand the code better.

c8y-firmware-plugin --init creates 3 required directories: /var/tedge/cache, /var/tedge/firmware, and /var/tedge/file-transfer. Make sure that /var/tedge/file-transfer can be also created by tedge-agent upon the first POST request.
The downloaded file will be stored in /tmp first, then move to /var/tedge/cache. If /var/tedge/cache doesn't exist, this plugin creates the directory in runtime returns error.
The file transfer dir /var/tedge/file-transfer/<child-id>/firmware_update will keep a symlink of the file. If this directory doesn't exist, this plugin creates the directory in runtime. If /var/tedge/file-transfer directory doesn't exist, returns error. /<child-id>/firmware_update directory will be created in runtime.
The name of downloaded file and the symlink are sha256 of the file URL from the server (not localhost!).
The sha256 field of request and response JSON is the sha256 of file itself. Checksum if they downloaded correct file.
The operation timeout is configurable by tedge CLI. e.g. tedge config set firmware.timeout 200 tedge config set firmware.child.update.timeout 200.
If status field in the response from child device is invalid but operation ID is correct, the operation status is treated None internally. From user, it will be an error.

NOT in this PR's scope

Creation of supported operation file named c8y_Firmware. This will be created by user.
Heartbeat from child device to extend the operation timer.
Case-insensitive status on child device response.

TODO before merge

[x] Add uuid and attempt to operation payload.
[x] Add mechanism to read/write a status operation to a file to keep persistent server url - localhost url mapping.
[ ] Update "after help text". The output of c8y-firmware-plugin --help.
[x] Add tests!!!
[x] --init creates directories.
[x] Error handling. If an error occurs, make c8y_Firmware operation failed.
[x] Rename the tedge config key from firmware.timeout to firmware.child.update.timeout.

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
#1696
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
Directory/file permissions under /var/tedge and its security.

/var/tedge is created by tedge-agent --init owned by tedge:tedge.
/var/tedge/file-transfer is created by tedge-agent owned by tedge:tedge upon PUT` request. (timing of child device bootstrapping of config plugin)
/var/tedge/file-transfer/<child-id> is created by tedge-agent owned by tedge:tedge upon PUT request. (timing of child device bootstrapping of config plugin)
/var/tedge/file-transfer/<child-id>/config_update is created by c8y-configuration-plugin owned by root:root.

This plugin needs them. Now c8y-firmware-plugin is supposed to be run by tedge user, therefore, they will be owned by tedge:tedge. But it is a security risk as any one can modify via tedge-agent http server.

/var/tedge/cache/<file>
/var/tedge/file-transfer/<child-id>/firmware_update/<symlink>

One aspect that I didn't fully understand from the impl is how the child devices would send their current firmware details to C8Y using the set firmware message? There was some contract for the c8y-config-plugin to send the initial config list to tedge/c8y. Something similar is needed here as well, right?

I think we can split the initial setting of the firmware when the child device starts in another PR, as we still need to think about the interface here. In the meantime the child device adapter/connector can update the firmware in the c8y_Firmware fragment via the c8y/inventory/.... topic.

@rina23q Now that the #1714 is merged, you will have rebase/merge the changes from main into your branch, as some of the integration test files are not present in your branch which causes the new integration-test workflow to fail.

@rina23q Now that #1714 is merged, you will have rebase/merge the changes from main into your branch, as some of the integration test files are not present in your branch which causes the new integration-test workflow to fail.

It's done.

I believe now this PR needs only minor fixes, therefore, change the state from Draft to Open.

This can be done independently as this PR is already large.

That said I would suggest yet another direction (for later!). I agree with Albin that we cannot have a method per combination, but I also understand the need for something more explicit than a function with 3 optional arguments. So I would add with_user, with_group and with_mode method to PermissionEntry. So we could write: PermissionEntry::new().with_mode(644).create_file(path, content).

It sounds good. I'd like to address in next PR!


Eagle -168 - AlertEmail Initialization Issue

code is good, please go ahead to merge

Merged, with a fix of the assembly.xml


Implement locale-specific upper and lower case conversions in Intl

 Issue by alan-knight
Originally opened as dart-lang/sdk#12721

See https://code.google.com/p/dart/issues/detail?id=28
Also https://plus.google.com/u/0/114943499066504644906/posts/XJFut2iS7Tg
and http://www.unicode.org/faq/casemap_charprop.html

 Comment by alan-knight

Removed Type-Defect label.
Added Type-Enhancement label.

 Comment by kasperl

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

 Comment by sethladd

Removed Priority-Medium label.
Added Priority-Low, Pkg-Intl labels.

 Comment by kasperl

Removed Oldschool-Milestone-Later label.


Default rolls needs updated to newer set up.

It seems that the current default roll for Aptitudes is set to the original release default.  The current version uses 1 die of the Trait with a -4 penalty rather than a full trait roll with a -8 penalty.
Also, feel free to add me on Discord.  My user name is James Smith#0343.  I have been playing Deadlands Classic since 1996 and have a very solid feel for the system from many, many conversations with Shane H and John G.

Hi I've hit you up on Discord, I'm going to look into making these types of erratas optional in a config setting.
I wasn't aware of that one but it seems easy enough to implement, are there any others you can think of off the top of your head?

Hi I've hit you up on Discord, I'm going to look into making these types of erratas optional in a config setting.
I wasn't aware of that one but it seems easy enough to implement, are there any others you can think of off the top of your head?

Finally added this as a config option on the last update.  Closing.


General Question About EmbedMaker

Hey Sinbad;
I have a question about your embedmaker cog. Do you support the content: variable? It would be nice to be able to have messages outside of an embed for things like important notes or to @mention a user/role with the embed listing whatever information is needing a ping.
I'd happily sponsor this change if possible in the future.

I'm not currently considering further changes to any code here. The code remains available to not have my decisions relating to leaving Red break people who have not switched to supported alternatives, whether they be in the red ecosystem or not.

That's unfortunate. I hope you're doing well and I did enjoy your cogs. Enjoy 2021

That's unfortunate. I hope you're doing well and I did enjoy your cogs. Enjoy 2021


Use Bukkit's preferred formatting for bold and italic

https://www.spigotmc.org/wiki/the-chat-component-api/#colors-and-formatting-styles

Fixing this might help to fix #34


ERROR TO RUN AZD UP

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

azd up

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10

azd version?

run azd version and copy paste here.
1.1.0

Versions

Mention any other details that might be useful
Hello
I need help running azd up.
I have already installed all the requirements as described in the readme, however, according to the attached screen, it presents some error about python, it seems not to have found the path.
I don't have much experience, I would like some help :)

Thanks! We'll be in touch soon.

Looks like python is not found on your system.
How/fromWhere did you install python?


Redundant variables being created when parsing quadratic objectives

Describe the bug
When parsing optimal control problems (OCP) with quadratic objectives, CVXPY nearly doubles the number of optimization variables in the problem.
To Reproduce
In the code provided, very simple OCP is created and solved with CVXPY. This problem instance is identical to LQR. There should only be 108 variables, but when the problem is solved, Clarabel is reporting there are 208 variables. It appears that 100 new variables are introduced and then 100 new equality constraints are created to ensure that these 100 variables are equal to 100 of the original variables (I do not think it creates a copy of the variable for the initial condition).
# Generate data for control problem.
import numpy as np
import cvxpy as cp
from matplotlib import pyplot as plt

np.random.seed(1)

n = 8
m = 2
T = 10

alpha = 0.2
beta = 3

A = np.eye(n) - alpha * np.random.rand(n, n)
B = np.random.randn(n, m)
x_0 = beta * np.random.randn(n)

# In total there should be n*(T+1) + m*T = 108 optimization variables.
x = cp.Variable((n, T + 1))
u = cp.Variable((m, T))

cost = 0
constr = []
for t in range(T):
    cost += cp.sum_squares(x[:, t + 1]) + cp.sum_squares(u[:, t])
    constr += [x[:, t + 1] == A @ x[:, t] + B @ u[:, t]]

constr += [x[:, 0] == x_0]
problem = cp.Problem(cp.Minimize(cost), constr)

# Looking at the solver output, there are 208 variables.
problem.solve(verbose=True, solver=cp.CLARABEL)

data, _, _ = problem.get_problem_data(cp.CLARABEL)
A = data['A']

# We can see that there are only zero cones present.
print("Number of zero cones: ", data['dims'].zero)
print("Number of nonnegative cones: ", data['dims'].nonneg)

# Looking at the sparsity pattern of A, we see that everything after the first hundred or so rows
# is typical for optimal control problems, however, the first hundred rows consist of strange "consensus" constraints.
# I call them consensus constraints because it appears that there is now a new copy of the variables and they are constrained
# to be equal to the original variables. This can be seen by doing print(A[0,:].data) and print(b[0]). You will see that a 1 and a -1
# appear in the first row of A and a 0 appears as the first element of b. This trend holds for the first hundred or so rows of A.
plt.spy(A.toarray())
plt.show()

Expected behavior
I expect that CVXPY passes a problem with only the original 108 variables to Clarabel, but a problem  instance of size 208 is passed to Clarabel.
Version

OS: Ubuntu
CVXPY Version: 1.5.3

Additional context
When this problem is parsed for ECOS, which cannot directly handle quadratic objectives, these redundant variables are not created. The redundant variables are only created when passed to Clarabel, SCS, PIQP, and OSQP which can all directly handle quadratic objectives.

It creates the desired number of variables if you vectorize (see code below). The reason it creates new variables in the original code is because there is an internal cvxpy heuristic to decide whether to combine quadratic objective terms directly into a single quadratic objective or to create new variables to represent the expressions inside the quadratic terms. This heuristic was primarily intended to fix some compilation time issues with quadratic objectives that we have since fixed. It might make sense to change the heuristic now so that quadratic objective terms are always combined into a single quadratic without introducing any new variables.
import numpy as np
import cvxpy as cp
from matplotlib import pyplot as plt

np.random.seed(1)

# Problem dimensions
n = 8  # state dimension
m = 2  # control input dimension
T = 10  # time horizon

# Problem parameters
alpha = 0.2
beta = 3

# System dynamics
A = np.eye(n) - alpha * np.random.rand(n, n)
B = np.random.randn(n, m)
x_0 = beta * np.random.randn(n)

# Define variables
x = cp.Variable((n, T + 1))
u = cp.Variable((m, T))

# Vectorized cost function
cost = cp.sum_squares(x) + cp.sum_squares(u)

# Dynamics constraints using matrix multiplication
dynamics_constraints = [x[:, 1:] == A @ x[:, :-1] + B @ u]
initial_constraint = [x[:, 0] == x_0]

# Solve the problem
problem = cp.Problem(cp.Minimize(cost), dynamics_constraints + initial_constraint)
problem.solve(verbose=True, solver=cp.CLARABEL)

# Analyze problem structure
data, _, _ = problem.get_problem_data(cp.CLARABEL)
A_matrix = data['A']

print("Number of zero cones: ", data['dims'].zero)
print("Number of nonnegative cones: ", data['dims'].nonneg)

plt.spy(A_matrix.toarray())
plt.title('Sparsity Pattern of Constraint Matrix')
plt.show()

Sweet, thanks for the response!


Just a week away...

About the PR
when...
Screenshots

Changelog

:cl:

add: Added a poster celebrating the current state of our forthcoming server.

-squinting intensifies-

sovl


Generated folder contains images multiple times after multiple site generations

My config looks like this:
# Image-Tag presets
image:
  source: assets/images/
  output: generated
  presets:
    # Proportional preset
    default:
      width: 720

After running jekyll generate multiple times, each image appears multiple times in the generated folder.
Example:
incident-695x309-ae81c8.png
incident-695x309-af4c36.png
incident-695x309-b489a5.png
incident-695x309-ba62f1.png
incident-695x309-bebd5e.png
incident-695x309-bfefe2.png
incident-695x309-c4b627.png

I thought the regeneration might delete the old images or better reuse the images it already resized! What am I doing wrong? This takes a lot of generation time and a lot of space on my webserver.

Is this still happening? It looks like the source image file was changed 7 times. The old images should be removed.


calc: specify license

Motivation for this change
Follow-up #113890
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

We can conditional the license on the bool. Eg: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/logstash/6.x.nix#L51

We can conditional the license on the bool. Eg: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/logstash/6.x.nix#L51

both licenses are free, so I don't think we need this here.


refactor(autoware_launch): add an option for filtering and validation

Description
This PR adds an option which determines object filtering and object validation method to tier4_perception_component.
releated:

https://github.com/autowarefoundation/autoware.universe/issues/4250

autoware.universe PR:

https://github.com/autowarefoundation/autoware.universe/pull/4402

Tests performed

The tests are performed in logging simulator: object_lanelet_filter, object_position_filter, obstacle_pointcloud and occupancy_grid (we need change occupancy_grid_map_method to laserscan_based_occupancy_grid_map also) mode works as expected.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Hi, could you also check it @yukkysaito :+1: ?


TSServer: Project Info Should Not Throw an Exception On Files Without a Project

TypeScript Version:  2.1.6
Repo
Send projectInfo to the TSServer for a file that is not a javascript or typescript file that TypeScript knows about
Expected
Returns an empty response to indicate the file is not part of a project
Actual
TSServer throws an exception:
[Info  - 3:20:32 PM] Using tsserver from location: /Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js
[Trace - 3:20:32 PM] Sending request: projectInfo (0). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "/Users/matb/projects/test-site/x.html",
    "needFileNameList": false
}
[Trace - 3:20:32 PM] Response received: projectInfo (0). Request took 283 ms. Success: false . Message: Error processing request. No Project.
Error: No Project.
    at Object.ThrowNoProject (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:67007:23)
    at IOSession.Session.getFileAndProjectWorker (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:70846:42)
    at IOSession.Session.getProjectInfoWorker (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:70654:36)
    at IOSession.Session.getProjectInfo (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:70651:29)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:70301:61)
    at IOSession.Session.executeCommand (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:71348:28)
    at IOSession.Session.onMessage (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:71368:35)
    at Interface.<anonymous> (/Users/matb/projects/vscode/extensions/typescript/node_modules/typescript/lib/tsserver.js:72520:27)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:188:7)
[Trace - 3:20:32 PM] Sending request: configure (1). Response expected: yes. Current queue length: 5
Arguments: {
    "hostInfo": "vscode"
}

Discovered while working on https://github.com/Microsoft/vscode/pull/20362 We've worked around this on the VSCode side

Same as https://github.com/Microsoft/TypeScript/issues/20629

Fixed by #21910


Failed to create or update action group

I'm not able to create an action group from the portal due to a policy restricting the location to West Europe but I'm not able to select a location for the action group!
Also, I've disabled the policy assignment and still getting the same error.
The error message: Failed to create or update action group 'ActionGroupName'. Error 'Resource 'ActionGroupName' was disallowed by policy. Policy identifiers: '[{"policyAssignment":{"name":"Restrict Location to WestEurope","id":"/subscriptions/{subId}/providers/Microsoft.Authorization/policyAssignments/{id}"},"policyDefinition":{"name":"Restrict Location to WestEurope","id":"/subscriptions/{subId}/providers/Microsoft.Authorization/policyDefinitions/{id}"}}]'.'

@arseyam Thanks for your question. Please provide us with the link to the documentation you are referring to so we can better assist.

sorry it seems I opened the issue in the wrong location, it's not related to documentation but with my Azure portal

okay @arseyam. Thanks for the details. Please post it on Microsoft QnA or Stack Overflow . Thank you for your understanding.

@arseyam We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Broken Link

The link Configuring the Azure Application is broken (This topic is no longer available).

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

ID: 90ff8041-c5e9-51de-21fc-17d22eaf901a
Version Independent ID: b18a0b57-ab52-0bd7-2d56-58d0aa05dbba
Content: Configuring and using the Storage Emulator with Visual Studio
Content Source: articles/vs-azure-tools-storage-emulator-using.md
Product: visual-studio-dev15
GitHub Login: @ghogen
Microsoft Alias: ghogen

@cloewen8 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I submitted a fix for this. It should be live in the next day or so.
#please-close
Thanks for reporting this issue!

@cloewen8 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Sending Message to process not working

I am having issue using Othent to send messages to my process. I logged in using Othent in my localhost. Then I clicked button that send the message with an "Action" tag of value "Register" to my process of ID: "UMd0ZAHuOfc_X7ifaTTDTXIa1jBAhTy71r9GTiKl9n0"
I used NextJS to develop my frontend. I had to use dynamic import in order to use my OthentLogin component, otherwise I would not be able to use it as my website would complain that it is require for that component to exist only on the client and "use client" was not enough.
And when I login with Othent or send messages I get this warning: "Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox."
OthentLoginTsxComponent.txt
RegistrationProcessLua.txt

Hi @ItsJackAnton. @othent/react-components hasn't been updated in a while and has just been deprecated.
You should instead use our SDK, @othent/kms. It requires a few extra manual steps to integrate it in your project, but offers way more flexibility and resolves issues like that third-party cookie warning you got. You can find more about it at docs.othent.io and see it in action at playground.othent.io.


SASS-301 - Updated service dependencies

Could the following warns be addressed please?

Addressed the warnings you mention however there are still pre existing warnings for the templates which I'm not able to get rid of  right now


Clean up repo

There are still some legacy files and unused content in this repo.
We should clean up the repo by removing all the old files that are not relevant anymore.

Most of this was done in #76 , but there are still some files in the student and instructor versions that are left over from renaming. For example, if a day was renamed to W2D2 from W2D3, there will still be old student and instructors version labelled W2D3 in the W2D2 new directory as well as the new ones for W2D2.
@nsea-log


Resolve YAML parsing issues in gpuCI updating workflow

With the bump to<EMAIL_ADDRESS>in our gpuCI updating workflow, the behavior of the action's outputs changed, causing failures; this PR makes the necessary changes to get things working again.

Codecov Report

Merging #955 (dec6f89) into main (6e74f8f) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #955      +/-   ##
==========================================
+ Coverage   76.91%   77.03%   +0.12%
==========================================
  Files          73       73
  Lines        4115     4115
  Branches      751      751
==========================================
+ Hits         3165     3170       +5
+ Misses        782      773       -9
- Partials      168      172       +4

Impacted Files
Coverage Δ

dask_sql/_version.py
35.31% <0.00%> (+1.41%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


put multiple subplots in the same html?

https://stackoverflow.com/questions/59868987/saving-multiple-plots-into-a-single-html
It looks like it's possible to put multiple subplots inside the same html with python/js. Is it possible with rust? Any code example?

Hello,
The graph context I developped for my RINEX-Cli app is able to do that, by simply redacting HTML and appending plots. We consider the current plot as the latest add on top, and have no means to reference older plots in the current interface (not advanced enough). But it's ok to create compelling data reports

@naijim , this is rather a HTML manipulation question than a plotly-rs question. But I agree, for completness, we should have an example in this repo. Will add one when I get a chance.

@naijim added an example in this PR https://github.com/plotly/plotly.rs/pull/257, check this example https://github.com/plotly/plotly.rs/blob/1405731b5121c1343b491e307222a21ef4becc5e/examples/customization/src/main.rs#L34


Water rights filter location

Let's move the Allocation Owner filter to be next to the owner classification. It's more logical to have them next to each other. I think users care less about the type of filter (general search or drop down menu) but probably rather expect relevant filters to be next to each other. For example, I want to tell the story how WestDAAT supports searching by owner name or their classification. So it helps if both of these filters are next to each other.

Let's use the term "Water right" in WestDAAT not allocation. So let's make it "Water right owner name"

Renamed Search Allocation Owner search box -to- "Search Owner Name" to be more descriptive on the intent of the search box and to further remove the world Allocation from the app.
Renamed "Owner Classification" drop down menu filter -to- "Owner Classification Type" to emphasize that his is a WadE vocabulary defined term.
Moved the Search Owner Name search box down next to the Owner Classification Type drop down menu filter.


feat: replace dummy contact info with org info

Adds the organization contact information to the footer partial
🔗 Issue
https://github.com/rubyforgood/pet-rescue/issues/171
✍ Description

Replaces the dummy contact info in the footer with the org's contact info

📷 Screenshots/Demos

Awesome job! Thanks @sean-dickinson
Can you please run rails standard:fix then we will be all set.

@all-contributors
please add @sean-dickinson  for code.


Gradle file not updated

Here is my build.gradle for this package (v2.1.0) :
group 'com.baseflow.geocoding'
version '1.0'

buildscript {
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:4.2.2'
    }
}

rootProject.allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 33

    defaultConfig {
        minSdkVersion 16
    }
    lintOptions {
        disable 'InvalidPackage'
    }
}

dependencies {
    implementation 'androidx.annotation:annotation:1.4.0'
}

As you can see, it hasn't taken in account the updates I see on this repo, for example the Gradle version or the new namespace compatibility.
I have no idea why it didn't update, but yeah I ran a flutter pub cache clean and flutter clean, made sure it was updated to 2.1.0, but I still get this issue.

Same issue.
I added this to manifest and everything worked.
I don't want to fork the library and hope someone of developers will fix this bug soon.

Closing this as it solved itself apparently.