Forcing 64bit powershell ?

Hi.
Having a issue trying to import and run a module that required 64bit powershell.
Error is: import-module : The current processor architecture is: X86.  The module requires the following architecture: Amd64.
Any ideas how to force webcommander to use the 64bit powershell.exe
Cheers
Steve

Hi Steve,
Currently, PHP for IIS is only available in 32 bit.
Although there is an x64 PHP on http://windows.php.net/, it also says "The x64 builds of PHP for Windows should be considered experimental, and do not yet provide 64-bit integer or large file support".
Without x64 PHP, we couldn't launch x64 Powershell from webcommander.
If you don't use Windows authentication integrated in IIS, you could try to replace IIS with Apache so that you could use x64 PHP to launch x64 Powershell.

Thanks Jerry,
Will give apache a go but I did manage a workaround – using webcommander 32 bit to call the 64 bit powershell script:
c:\windows\Sysnative\windowsPowershell\V1.0\PowerShell.exe "C:\WebCommander\powershell\vSphere\64bitpowershell.ps1"
From: Jerry Liu<EMAIL_ADDRESS>Sent: 29 July 2015 19:06
To: vmware/webcommander
Cc: Yeomans, Steve
Subject: Re: [webcommander] Forcing 64bit powershell ? (#74)
Hi Steve,
Currently, PHP for IIS is only available in 32 bit.
Although there is an x64 PHP on http://windows.php.net/, it also says "The x64 builds of PHP for Windows should be considered experimental, and do not yet provide 64-bit integer or large file support".
Without x64 PHP, we couldn't launch x64 Powershell from webcommander.
If you don't use Windows authentication integrated in IIS, you could try to replace IIS with Apache so that you could use x64 PHP to launch x64 Powershell.
—
Reply to this email directly or view it on GitHubhttps://github.com/vmware/webcommander/issues/74#issuecomment-126043269.
This email (including any attachment) may contain confidential and/ or legally privileged information. If you are not the intended recipient, please notify us on +44(0)1202 292333 ext. 30033 and destroy it and any copies. Unauthorised access, use, disclosure, storage or copying of this email is not permitted and, unless you are the intended recipient, you are not entitled to rely on it in any way. Any opinions expressed in this email are those of the individual sending it and not necessarily those of LV=.
This email is believed to be free of any virus or other defect. However, communication by email cannot be guaranteed to be free from defect, error free or secure. If you choose to communicate with us by email you must realise that there can be no guarantee of privacy and you should carry out your own security checks before opening any email or attachment. LV= accepts no liability for any loss or damage which may be caused by any lack of privacy, software viruses or other defect.
LV= reserves the right to monitor and inspect any email (including any attachment) sent to and/or from LV= for reasons of security and for monitoring internal compliance with our office policies. LV= may use email monitoring or blocking software at its discretion. You are responsible for ensuring that any email you send is appropriate and within the bounds of the law.
LV= and Liverpool Victoria are trade marks of Liverpool Victoria Friendly Society Limited and LV= and Liverpool Victoria are trading styles of the Liverpool Victoria group of companies. The registered office address for all LV= companies is County Gates, Bournemouth, BH1 2NF. Information about the LV= group of companies can be found via this link www.lv.com/legal/lvcompanieshttp://www.lv.com/legal/lvcompanies/

I tried the same trick before. It didn't work for me.
If I run the the following command from x86 powershell console
c:\windows\system32\windowspowershell\v1.0\powershell.exe -command "ls env:"
The output still shows "PROCESSOR_ARCHITECTURE x86", which means the x64 powershell is not launched at all.

Try using sysnative from the x86 console as below (note sysnative not system32) ☺
c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -command "ls env:"
PROCESSOR_ARCHITECTURE         AMD64
From: Jerry Liu<EMAIL_ADDRESS>Sent: 29 July 2015 20:28
To: vmware/webcommander<EMAIL_ADDRESS>Cc: Yeomans, Steve<EMAIL_ADDRESS>Subject: Re: [webcommander] Forcing 64bit powershell ? (#74)
I tried the same trick before. It didn't work for me.
If I run the the following command from x86 powershell console
c:\windows\system32\windowspowershell\v1.0\powershell.exe -command "ls env:"
The output still shows "PROCESSOR_ARCHITECTURE x86", which means the x64 powershell is not launched at all.
—
Reply to this email directly or view it on GitHubhttps://github.com/vmware/webcommander/issues/74#issuecomment-126067928.
This email (including any attachment) may contain confidential and/ or legally privileged information. If you are not the intended recipient, please notify us on +44(0)1202 292333 ext. 30033 and destroy it and any copies. Unauthorised access, use, disclosure, storage or copying of this email is not permitted and, unless you are the intended recipient, you are not entitled to rely on it in any way. Any opinions expressed in this email are those of the individual sending it and not necessarily those of LV=.
This email is believed to be free of any virus or other defect. However, communication by email cannot be guaranteed to be free from defect, error free or secure. If you choose to communicate with us by email you must realise that there can be no guarantee of privacy and you should carry out your own security checks before opening any email or attachment. LV= accepts no liability for any loss or damage which may be caused by any lack of privacy, software viruses or other defect.
LV= reserves the right to monitor and inspect any email (including any attachment) sent to and/or from LV= for reasons of security and for monitoring internal compliance with our office policies. LV= may use email monitoring or blocking software at its discretion. You are responsible for ensuring that any email you send is appropriate and within the bounds of the law.
LV= and Liverpool Victoria are trade marks of Liverpool Victoria Friendly Society Limited and LV= and Liverpool Victoria are trading styles of the Liverpool Victoria group of companies. The registered office address for all LV= companies is County Gates, Bournemouth, BH1 2NF. Information about the LV= group of companies can be found via this link www.lv.com/legal/lvcompanieshttp://www.lv.com/legal/lvcompanies/

You are right. "Sysnative" is the correct path to use. And it does launch the x64 powershell.
I also notice that this change could make the command performance worse. For instance, the showHistory command took about 9 seconds before the change, but now it takes 13 seconds.
If you have a clue about this, please let me know.

Hi Jerry
The extra time will probably be because of the extra time to open a new powershell thread.
I only use the change for scripts that use 64 bit modules and keep everything else at 32 bit
So for example I have one script that needs 64 bit and call it as such – tintrirepl.ps1 calls the below tintrirepl1.ps1:
Author: Jerry Liu<EMAIL_ADDRESS>foreach ($paramKey in $psboundparameters.keys) {
$oldValue = $psboundparameters.item($paramKey)
$newValue = [system.web.httputility]::urldecode("$oldValue")
set-variable -name $paramKey -value $newValue
}
. .\objects.ps1
$results = & c:\windows\sysnative\windowsPowershell\V1.0\PowerShell.exe "C:\WebCommander\powershell\vSphere\tintrirepl1.ps1"
[array]$replicationVMs=@()
foreach ($result in $results) {
$replicationVMs += $result
}
writeStdout $replicationVMs
From: Jerry Liu<EMAIL_ADDRESS>Sent: 30 July 2015 17:20
To: vmware/webcommander
Cc: Yeomans, Steve
Subject: Re: [webcommander] Forcing 64bit powershell ? (#74)
You are right. "Sysnative" is the correct path to use. And it does launch the x64 powershell.
I also notice that this change could make the command performance worse. For instance, the showHistory command took about 9 seconds before the change, but now it takes 13 seconds.
If you have a clue about this, please let me know.
—
Reply to this email directly or view it on GitHubhttps://github.com/vmware/webcommander/issues/74#issuecomment-126388773.
This email (including any attachment) may contain confidential and/ or legally privileged information. If you are not the intended recipient, please notify us on +44(0)1202 292333 ext. 30033 and destroy it and any copies. Unauthorised access, use, disclosure, storage or copying of this email is not permitted and, unless you are the intended recipient, you are not entitled to rely on it in any way. Any opinions expressed in this email are those of the individual sending it and not necessarily those of LV=.
This email is believed to be free of any virus or other defect. However, communication by email cannot be guaranteed to be free from defect, error free or secure. If you choose to communicate with us by email you must realise that there can be no guarantee of privacy and you should carry out your own security checks before opening any email or attachment. LV= accepts no liability for any loss or damage which may be caused by any lack of privacy, software viruses or other defect.
LV= reserves the right to monitor and inspect any email (including any attachment) sent to and/or from LV= for reasons of security and for monitoring internal compliance with our office policies. LV= may use email monitoring or blocking software at its discretion. You are responsible for ensuring that any email you send is appropriate and within the bounds of the law.
LV= and Liverpool Victoria are trade marks of Liverpool Victoria Friendly Society Limited and LV= and Liverpool Victoria are trading styles of the Liverpool Victoria group of companies. The registered office address for all LV= companies is County Gates, Bournemouth, BH1 2NF. Information about the LV= group of companies can be found via this link www.lv.com/legal/lvcompanieshttp://www.lv.com/legal/lvcompanies/

What I did is changing line 210 of webcmd.php to below
$cmd = "set runFromWeb=true & c:\windows\sysnative\windowspowershell\v1.0\powershell .\" . $scriptName . ".ps1";
So there is no new thread opened.

Is x64 support going to be added to webCommander? I don't see this line added to webcmd.php in the repo? Or will it be added to the new version of webCommander?

Considering it's Steve who found the solution, I wish he would update the code and send me a pull request.
If this won't happen when I release the new version, I will add it in.
In case you need the x64 support immediately, please just modify the code as I mentioned in my previous comment.

Thanks Jerry!

My pleasure :)

Hi All,
To run 64 bit shell as is without changing any of the default files:
Script 1 is the 32 bit script that is called via webcomander:
Script 2 is the 64 bit script called by script one and its results are stored in the $results variable
Script 1 reads results, formats them if required and outputs to web
Sample script 1
$results = & c:\windows\sysnative\windowsPowershell\V1.0\PowerShell.exe "C:\WebCommander\powershell\vSphere\script2.ps1"
foreach ($result in $results) {
$output += $result
}
writeStdout $output
Sample script 2
do the 64 bit stuff (module below is 64 bit only)
import-module "C:\Program Files\TintriPSToolkit\TintriPSToolkit.psd1"
get-tintrivm
hope that helps !
From: Jerry Liu<EMAIL_ADDRESS>Sent: 02 November 2015 16:57
To: vmware/webcommander
Cc: Yeomans, Steve
Subject: Re: [webcommander] Forcing 64bit powershell ? (#74)
My pleasure :)
—
Reply to this email directly or view it on GitHubhttps://github.com/vmware/webcommander/issues/74#issuecomment-153082241.
This email (including any attachment) may contain confidential and/ or legally privileged information. If you are not the intended recipient, please notify us on +44(0)1202 292333 ext. 30033 and destroy it and any copies. Unauthorised access, use, disclosure, storage or copying of this email is not permitted and, unless you are the intended recipient, you are not entitled to rely on it in any way. Any opinions expressed in this email are those of the individual sending it and not necessarily those of LV=.
This email is believed to be free of any virus or other defect. However, communication by email cannot be guaranteed to be free from defect, error free or secure. If you choose to communicate with us by email you must realise that there can be no guarantee of privacy and you should carry out your own security checks before opening any email or attachment. LV= accepts no liability for any loss or damage which may be caused by any lack of privacy, software viruses or other defect.
LV= reserves the right to monitor and inspect any email (including any attachment) sent to and/or from LV= for reasons of security and for monitoring internal compliance with our office policies. LV= may use email monitoring or blocking software at its discretion. You are responsible for ensuring that any email you send is appropriate and within the bounds of the law.
LV= and Liverpool Victoria are trade marks of Liverpool Victoria Friendly Society Limited and LV= and Liverpool Victoria are trading styles of the Liverpool Victoria group of companies. The registered office address for all LV= companies is County Gates, Bournemouth, BH1 2NF. Information about the LV= group of companies can be found via this link www.lv.com/legal/lvcompanieshttp://www.lv.com/legal/lvcompanies/

It's helpful for sure. The sysnative way is easier.
If you don't want to update webcommander code, I'll add it in anyway.

I should add that Jerrys edit is of course cleaner but as Jerry highlighted changing everything to 64bit shell increases the runtime.
Hence I left the defaults as is so the runtime only increases on the specific scripts that need 64 bit shell.
Jerry – if you need me to do a pull request please advise how as I have no idea ☺
Cheers
Steve
From: Yeomans, Steve
Sent: 02 November 2015 19:17
To: 'vmware/webcommander'; vmware/webcommander
Subject: RE: [webcommander] Forcing 64bit powershell ? (#74)
Hi All,
To run 64 bit shell as is without changing any of the default files:
Script 1 is the 32 bit script that is called via webcomander:
Script 2 is the 64 bit script called by script one and its results are stored in the $results variable
Script 1 reads results, formats them if required and outputs to web
Sample script 1
$results = & c:\windows\sysnative\windowsPowershell\V1.0\PowerShell.exe "C:\WebCommander\powershell\vSphere\script2.ps1"
foreach ($result in $results) {
$output += $result
}
writeStdout $output
Sample script 2
do the 64 bit stuff (module below is 64 bit only)
import-module "C:\Program Files\TintriPSToolkit\TintriPSToolkit.psd1"
get-tintrivm
hope that helps !
From: Jerry Liu<EMAIL_ADDRESS>Sent: 02 November 2015 16:57
To: vmware/webcommander
Cc: Yeomans, Steve
Subject: Re: [webcommander] Forcing 64bit powershell ? (#74)
My pleasure :)
—
Reply to this email directly or view it on GitHubhttps://github.com/vmware/webcommander/issues/74#issuecomment-153082241.
This email (including any attachment) may contain confidential and/ or legally privileged information. If you are not the intended recipient, please notify us on +44(0)1202 292333 ext. 30033 and destroy it and any copies. Unauthorised access, use, disclosure, storage or copying of this email is not permitted and, unless you are the intended recipient, you are not entitled to rely on it in any way. Any opinions expressed in this email are those of the individual sending it and not necessarily those of LV=.
This email is believed to be free of any virus or other defect. However, communication by email cannot be guaranteed to be free from defect, error free or secure. If you choose to communicate with us by email you must realise that there can be no guarantee of privacy and you should carry out your own security checks before opening any email or attachment. LV= accepts no liability for any loss or damage which may be caused by any lack of privacy, software viruses or other defect.
LV= reserves the right to monitor and inspect any email (including any attachment) sent to and/or from LV= for reasons of security and for monitoring internal compliance with our office policies. LV= may use email monitoring or blocking software at its discretion. You are responsible for ensuring that any email you send is appropriate and within the bounds of the law.
LV= and Liverpool Victoria are trade marks of Liverpool Victoria Friendly Society Limited and LV= and Liverpool Victoria are trading styles of the Liverpool Victoria group of companies. The registered office address for all LV= companies is County Gates, Bournemouth, BH1 2NF. Information about the LV= group of companies can be found via this link www.lv.com/legal/lvcompanieshttp://www.lv.com/legal/lvcompanies/

Hi Steve,
Please refer to github help about creating a pull request
https://help.github.com/articles/using-pull-requests/
Looking forward to seeing you in the contributor list!


search results are not based on the same Electron version as docs

3.0.x is the current stable branch, so https://electronjs.org/docs is showing the 3.0.x docs.
However, when I search for "breaking changes" in the search entry field, the result of "Planned Breaking API Changes (3.0)" with a link to https://electronjs.org/docs/tutorial/planned-breaking-changes shows up. This file was moved between 2-0-x and 3-0-x, so that link is a 404.
So, things that were changed between these versions won't be discoverable through search. Also, things that were removed (such as tutorial/planned-breaking-changes) will give false matches.

Somewhat related: https://github.com/electron/electronjs.org/issues/797

We deployed new indices of search, which contains very many new data. Please @ mention me if you still see this error.


abci: add preprocess block

Description
This pr adds preprocess block to abci
Closes: #XXX

Codecov Report

Merging #110 (acd911a) into master (7ae7b13) will decrease coverage by 1.64%.
The diff coverage is 4.00%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   60.81%   59.16%   -1.65%
==========================================
  Files         261       82     -179
  Lines       24216     6992   -17224
==========================================
- Hits        14726     4137   -10589
+ Misses       7954     2389    -5565
+ Partials     1536      466    -1070

Impacted Files
Coverage Δ

state/execution.go
64.80% <0.00%> (-3.56%)
:arrow_down:

state/state.go
83.89% <ø> (ø)

types/block.go
70.96% <0.00%> (-1.07%)
:arrow_down:

types/test_util.go
55.35% <100.00%> (ø)

types/tx.go
81.13% <0.00%> (-3.78%)
:arrow_down:

libs/json/types.go

p2p/test_util.go

consensus/reactor.go

privval/signer_endpoint.go

libs/log/tm_json_logger.go

... and 165 more

The failing test, seems to be a non-deterministic flaky test unrelated to the changes here: https://github.com/tendermint/tendermint/issues/1040


Call javascript from dotnet : link is broken

Issue description
The links to the documentation for blazor interop calls seems to be broken:

JS -> .NET
.NET -> JS

Target framework
aspnetcore-5.0 documentation

I think I have found the new links to be redirected to:
https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-5.0
https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-dotnet-from-javascript?view=aspnetcore-5.0

Thanks for reporting this -- Which article has the broken links?


a slightly wrong documentation in scipy.stats.chi2

In http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.chi2.html#scipy.stats.chi2,
The probability density function for chi2 is written as:

chi2.pdf(x, df) = 1 / (2* gamma(df/2)) * (x/2)**(df/2-1) * exp(-x/2)

Yet, the form should be written as:

chi2.pdf(x, df) = 1 / (2** (df/2) * gamma(df/2)) * (x/2)**(df/2-1) * exp(-x/2)

Refer to https://en.wikipedia.org/wiki/Chi-squared_distribution

The formula seems to be the same and it seems to correspond to what chi2.pdf actually computes. The latter is correct:
In [1]: from scipy.integrate import quad

In [2]: from scipy.stats import chi2

In [3]: df = 5

In [4]: quad(lambda x: chi2.pdf(x, df), 0, float('inf'))
Out[4]: (0.9999999999977732, 7.853011432973038e-09)

In [5]: quad(lambda x: chi2.pdf(x, 8), 0, float('inf'))
Out[5]: (1.0, 3.288731217520841e-10)

A formula copy-pasted from the docsting seems to work fine too. I think the confusion might be with a factor of 2 which comes from (x/2)**(df/2-1) in scipy but x**(df/2-1) in wikipedia.
I'll close this issue since I don't believe there is a problem. Feel free to keep discussing though.


Fixing an OBJ loader bug that fragmented the loaded meshes

The nextShapeEnd integer is a pointer in the OBJ data structures. The faceVertIndex is a vertex index counter for the mesh we are about to create. Both integers are not compatible, which causes the code to finish the meshes too early, thus writing the OBJ data incompletely into the target meshes.
It wasn't noticed because for the last mesh, it process all remaining data, causing the last mesh to contain all remaining triangles.
This would have been noticed if the OBJ meshes used different textures for each mesh.

@zet23t Great! Thank you very much for reviewing this issue anf for the fast fix! 👍😄


Maybe a lore channel?

Title Of Issue
As above ^
A description of the issue:
Maybe for some of the newer people here. Get a #lore channel for some of the more "notable" people that have been on this server?
Proposed Solution:
Create said #lore channel.

Tbh sounds like a shitpost fest

With one notable exception, this server isn't about cult of personalities. Whilst the community undeniably has it's history, I don't think it needs cataloging in this way. It looks to the past when we should be looking to the future.

tbh as long as im in it im down

I mean I'm happy to write it but ima need some help filling in gaps

When I mean a lore post, I mean maybe a post on some notable people that have been on the server and then a brief overview from mods, or limited access to trusted members

Closing this due to inactivity, but I agree with @thebeanogamer here - good idea, but perhaps the execution would simply be better done saying it as is as opposed to a dedicated channel 😄


chore: Upgrade react-native

Acceptance Criteria

Upgrade react-native version to v0.67.4
remove unused dependencies
upgrade used dependencies

Security Checklist

[ ] Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

Why did you commit android/app/debug.keystore file?

The upgrade helper specifically excluded all keystore files in gititnore except the debug.keystore. I thought that since this file should only be used in dev it wouldn't have much of an impact.
But what do you think @pedroferreira1, should we remove it?

But what do you think @pedroferreira1, should we remove it?

We can keep it, no problem


Dark mode in source 2 viewer

Is your feature request related to a problem? Please describe.
the feature is not related to any problems
Describe the solution you'd like
Make an option in source 2 viewer that enables dark mode (it would be better if had the source 2 dark theme)
Original

Dark theme (it was made in photoshop)

Describe alternatives you've considered
No response
none.

It's not worth it styling every component to add dark colors. So this is effectively blocked on this: https://github.com/dotnet/winforms/issues/7641

I understand :(

Its fine to leave the issue open


2140 mitigate owasp zap scan rate limit

Testing this because it is Friday and is a good time to see lots of flaky owasp zap scan failures

Unsuccessful attempt!


Add copy button to readme's pip install cmd

Just a small QOL improvement to make the install command easier to copy.
Also, love the fact that you support .svx files out of the box! 👍

@erikbern ping

Sorry for the slow response! Thanks for the fixes :)


Scheduler throwing "Error: null"

Attempting to run the scheduler exits after the following:
root@mesos-master1 [STAGING]:~/zipkin-mesos-framework$ ./zipkin-mesos.sh scheduler --master master:5050 --user root --api http://master:8080 Loading config defaults from zipkin-mesos.properties log4j:WARN No appenders could be found for logger (org.I0Itec.zkclient.ZkConnection). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Error: null
This is with debug turned on. Not sure where the error is coming from.

storage ? i think it would be default
check out if zipkin-deps has all the necessary dependencies


updating to <IP_ADDRESS>

Updating release version to <IP_ADDRESS>

Docs Build status updates of commit 9858b75:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md
:x:Error

Details

docs-conceptual/azureadps-1.0/overview.md
:x:Error

Details

docs-conceptual/azureadps-2.0/working-with-licenses.md
:x:Error

Details

docs-conceptual/azureadps-2.0/PowerShell-logfile.md
:x:Error

Details

docs-conceptual/azureadps-2.0/Install-previous-version.md
:x:Error

Details

docs-conceptual/azureadps-2.0/recovering-deleted-data.md
:x:Error

Details

docs-conceptual/azureadps-2.0/Working-with-Administrative-Units.md
:x:Error

Details

docs-conceptual/azureadps-2.0/install-adv2.md
:x:Error

Details

docs-conceptual/azureadps-2.0/Enabling-licenses-sample.md
:x:Error

Details

docs-conceptual/azureadps-2.0/overview.md
:x:Error

Details

docs-conceptual/azureadps-2.0/account-not-in-system-error.md
:x:Error

Details

docs-conceptual/azureadps-2.0/importing-data.md
:x:Error

Details

docs-conceptual/azureadps-2.0/using-extension-attributes-sample.md
:x:Error

Details

docs-conceptual/azureadps-2.0/new-user-sample.md
:x:Error

Details

docs-conceptual/azureadps-2.0/signing-in-service-principal.md
:x:Error

Details

docs-conceptual/azureadps-2.0/Find-Module-version.md
:x:Error

Details

docs-conceptual/azureadps-2.0/Cannot-find-object.md
:x:Error

Details

docs-conceptual/azureadps-2.0/List-Service-principal-application-roles.md
:x:Error

Details

:x:Error

Details

docs-conceptual/azureadps-2.0-preview/account-not-in-system-error.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/Cannot-find-object.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/signing-in-service-principal.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/install-adv2.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/working-with-licenses.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/importing-data.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/new-user-sample.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/recovering-deleted-data.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/List-Service-principal-application-roles.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/Working-with-Administrative-Units.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/Find-Module-version.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/PowerShell-logfile.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/Install-previous-version.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/Enabling-licenses-sample.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/overview.md
:x:Error

Details

docs-conceptual/azureadps-2.0-preview/using-extension-attributes-sample.md
:x:Error

Details

azureadps-2.0/AzureAD/AzureAD.md
:warning:Warning

Details

[Error]

Generation of document id failed: System.ArgumentException: documents contains elements whose output relative path in depot is same: output relative path in depot module/AzureAD/index shared by documents: azureadps-2.0/AzureAD/AzureActiveDirectory.md, azureadps-2.0/AzureAD/AzureAD.md;
Parameter name: documents
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorHelper.ValidateDocuments(IReadOnlyList`1 documents)
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorWithRedirection.<GenerateAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorWithNormalizedAssetId.<GenerateAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.DocAsCode.EntityModel.Plugins.OpenPublishing.SetDocumentId.<GenerateDocumentIdsAsync>d__24.MoveNext()

[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "azureadps-2.0/AzureAD/AzureAD.md, azureadps-2.0/AzureAD/AzureActiveDirectory.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "azureadps-2.0/AzureAD/AzureAD.md, azureadps-2.0/AzureAD/AzureActiveDirectory.md".

docs-conceptual/azureadps-1.0/install-msonlinev1.md

[Error] Metadata rules not available

docs-conceptual/azureadps-1.0/overview.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/working-with-licenses.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/PowerShell-logfile.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/Install-previous-version.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/recovering-deleted-data.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/Working-with-Administrative-Units.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/install-adv2.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/Enabling-licenses-sample.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/overview.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/account-not-in-system-error.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/importing-data.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/using-extension-attributes-sample.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/new-user-sample.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/signing-in-service-principal.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/Find-Module-version.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/Cannot-find-object.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0/List-Service-principal-application-roles.md

[Error] Metadata rules not available

[Error]

Generation of document id failed: System.ArgumentException: documents contains elements whose output relative path in depot is same: output relative path in depot module/AzureAD/index shared by documents: azureadps-2.0/AzureAD/AzureActiveDirectory.md, azureadps-2.0/AzureAD/AzureAD.md;
Parameter name: documents
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorHelper.ValidateDocuments(IReadOnlyList`1 documents)
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorWithRedirection.<GenerateAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.OpenPublishing.Build.DocumentIdGenerators.DocumentIdGeneratorWithNormalizedAssetId.<GenerateAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.DocAsCode.EntityModel.Plugins.OpenPublishing.SetDocumentId.<GenerateDocumentIdsAsync>d__24.MoveNext()

[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "azureadps-2.0/AzureAD/AzureAD.md, azureadps-2.0/AzureAD/AzureActiveDirectory.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "azureadps-2.0/AzureAD/AzureAD.md, azureadps-2.0/AzureAD/AzureActiveDirectory.md".

docs-conceptual/azureadps-2.0-preview/account-not-in-system-error.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/Cannot-find-object.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/signing-in-service-principal.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/install-adv2.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/working-with-licenses.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/importing-data.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/new-user-sample.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/recovering-deleted-data.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/List-Service-principal-application-roles.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/Working-with-Administrative-Units.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/Find-Module-version.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/PowerShell-logfile.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/Install-previous-version.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/Enabling-licenses-sample.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/overview.md

[Error] Metadata rules not available

docs-conceptual/azureadps-2.0-preview/using-extension-attributes-sample.md

[Error] Metadata rules not available

azureadps-2.0/AzureAD/AzureAD.md

[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Can't find service name for azureadps-2.0/AzureAD/AzureAD.md
[Warning] Uid(AzureAD) has already been defined in azureadps-2.0/AzureAD/AzureActiveDirectory.md.

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.


Update scalafmt-core to 3.0.5

Updates org.scalameta:scalafmt-core from 3.0.3 to 3.0.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #395 (cc0af59) into master (746cc13) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #395   +/-   ##
=======================================
  Coverage   99.51%   99.51%
=======================================
  Files           8        8
  Lines         412      412
  Branches       41       41
=======================================
  Hits          410      410
  Misses          2        2

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 746cc13...cc0af59. Read the comment docs.


Defining and Clarifying the Verification Process for NMT Proofs Generated from Non-Lexicographically Ordered Trees

Problem
The issue at hand pertains to the generation of NMTs from sets of leaves that are not ordered lexicographically based on their namespaces. The behavior of NMT proofs generated from such malformed trees is unclear and needs to be addressed. The main objectives of this issue are to:

Determine whether the current NMT proof verification system is able to detect out-of-order leaves and respond accordingly.
If the current system is not capable, then develop and implement measures to invalidate NMT proofs generated from malformed NMTs.

just leaving a thought here: I think we'll have the functionality to verify an out of order nmt inclusion proof, but also have some way of notifying the user that one or more nodes was out of lexicographical order. This way, we could prove that an invalid order was committed to.

Per conversation with @evan-forbes, I'd like to provide more detail on the attack scenario that prompted the opening of this issue:
Malicious consensus nodes could produce and commit a block, denoted as B, in which the shares are not ordered lexicographically based on their namespace IDs. A DA (data availability) full node obtains the block header, including the data root denoted as dataRoot, and the underlying shares, and will attempt to construct the block. However, if the node detects that the shares used to construct dataRoot are unordered, it must provide a proof of bad encoding to the light clients. Specifically, it must indicate that there are out-of-order leaves in the tree represented by dataRoot.
The problem is that the current NMT (namespace Merkle tree) implementation does not support this kind of bad-encoding proof. Furthermore, the library does not even allow for the construction of a tree with unordered leaves, since it is protected through the Push method, which checks the namespace ID of the inserted data items. Therefore, the issue at hand is to implement new logic in the NMT library that would allow a full node to provide such bad-encoding proof to the light clients.

It might be already covered  by the existing bad encoding fraud proof https://github.com/celestiaorg/celestia-node/blob/main/share/eds/byzantine/bad_encoding.go, we need to check.


[v2.0] Replace AR_STRING_SV

It's ugly, we need a better way.  Remember to update the custom_policy_and_node to use the update in its single_positional_arg_t help generation.

Can't do this sadly as the language won't permit it - you can't use a std::string_view as a template parameter and function args are not constant expressions.  Best I can do is make the macro documented.


No explanation about how to pass in the customized Bedrock endpoint URL in 09_Guardrails notebook

Unlike other notebooks which shows how to pass a customized Bedrock boto3 client to the Bedrock class init function as an argument, the sample notebook for 09_Guardrail only invoke a singleton class BedrockBorgModels which seems only takes no argument. This made it unable to use dev/test endpoint.

Good catch! You’re totally right about the inconsistency with the 09_Guardrail notebook. Funny enough, I was already tinkering with a fix for this. I plan to roll it out in the next release in a couple of days. With the fix, you’ll be able to pass a customized boto3 client just like in the other notebooks, making it easier to use dev/test endpoints.
I’ll drop a message here once the updated version is live. Thanks a bunch for pointing this out!

#128

Closing this; please refer to the latest bedrock workshop update and reopen if still relevant


site-dark.css not found

in the head of sample html files there is a link for a file named: site-dark.css
which is not available in the repo, does that file exists at somebodies computer and forgot to upload it to the github repo?, if not, that  reference should be removed?
Regards.

oh, sorry it's still empty so git does not commit it. i think it should be removed for now.

maybe i am wrong, can you see https://github.com/egoist/hack/blob/master/src/static/site-dark.css ?

thanks egoist,
I can see this file:
hack/src/static/site-dark.css
but is empty.

let me know if there's any other issues, closed for now.


[3.2] Avoid signal methods in ColorPicker to access the tree when it isn't in the tree

Fixes #46098.

Is the issue not relevant for the master branch?

@akien-mga Yes, In the master branch, these methods are inaccessible in GDScript.

But they could still crash when called at the wrong time from C++ no? So adding the sanity checks would be good there too.

IMO, I think no one (C++ devs) plays by calling these signal methods. If so, they will notice that isn't allowed.
But at that moment, Crashing is one of my violent problems. I agreed with your feedback to add these to the master branch. For mistake checking. If they don't know really how those methods do. (^_^ ๐)
@akien-mga So, Should this PR need to be closed ?

We can keep this PR for 3.2, but you can open another one for master to also have the check there. I agree with you that it's much less important there, but it doesn't cost much and it's always good practice to validate pointers before dereferencing them.

Thanks!


Type conversion does not take content-type into account

The following will result in the attempt to convert to Map
ResponseEntity<String> result = rest.exchange(RequestEntity
				.post(new URI("http://localhost:" + port + "/"))
				.contentType(MediaType.TEXT_PLAIN).body("{\"value\":\"foo\"}"),
				String.class);

. . . resulting in something like this
java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to java.lang.String
	at org.springframework.cloud.function.core.IsolatedFunction.apply(IsolatedFunction.java:47) ~[classes/:na]
	at org.springframework.cloud.function.core.FluxFunction.lambda$0(FluxFunction.java:47) ~[classes/:na]

This happens especially when the type can not be determined and remains as Object.
Also, based on the logic in RequestProcessor it appears json arrays will always be converted regardless of determination of the input type

It's not literally true that content-type is not taken into account - there are several special cases already for form data, multipart, and binary. I think you just mean that in the specific case you were trying the text/plain type was ignored.

@dsyer Actually here are several cases:

Typeless function

@Bean
public Function<?,?> typelessFunction() {
		return value -> value;
}
. . .
rest.exchange(RequestEntity
		.post(new URI("/typelessFunction")).contentType(MediaType.TEXT_PLAIN)
		.body("[{\"value\":\"foo\"},{\"value\":\"bar\"}]"), String.class);

In the above case the input to the function will be List (or Map if you pass just a map) even though IMHO it should not be raw body since input type could not be determined.

Function with String input

@Bean
public Function<String,?> typelessFunction() {
		return value -> value;
}
. . .
rest.exchange(RequestEntity
		.post(new URI("/typelessFunction")).contentType(MediaType.TEXT_PLAIN)
		.body("[{\"value\":\"foo\"},{\"value\":\"bar\"}]"), String.class);

In the above case you basically end up with
java.lang.IllegalArgumentException: Cannot convert JSON [{"value":"foo"},{"value":"bar"}]
Also, content-type is completely irrelevant here and can be anything.
However if the input string was not an array, but a map (e.g., {\"value\":\"foo\"}), then all is good, so obviously an error. That is actually truly a bug due to the order of IFs in RequestProcessor.post(..).
The main point here is that setting an explicit content type should communicate how/if we should perform the conversion as a supplement to knowing (or not) the actual type of the input parameter.  And in the event type can not be determined and CT is explicitly set to text* we should   simply pass the raw body which in this particular case is `String'.


MDX query: If no element on column axis, then no rows are returned

Hello,
if on the column axis of a MDX-query no element is defined, then NBi does not return any rows. The rows are returned in SSMS and MDX Studio, though.

SELECT
{

}
ON COLUMNS,
{
[Account].[Account Number].[Account Number]
*
[Account].[Account Type].[Account Type]
}
ON ROWS
FROM [Adventure Works]

can you reproduce the observation? perhaps I'm doing something wrong.
workaround: define a calculated member with any value (e.g. NULL). if comparing to another query make sure the column exists with the same value.
Cheers

I'm not really surprised but will take a look to how I can improve this.


OptMeowt displays undefined error under Website Response popup tab

For some reason, the popup shows an undefined error and error: Not Found message in place of the .well-known text when I'm on GitHub. No other site seems to show this error for some reason. Here is a screenshot of the issue:

I will try to figure out what this could be, and if not I will suppress the message.

I pushed a small patch for this issue, it should be all set!


[DC-73] Added beta disclaimer

After:

On clicking OK, the val is set in localstorage
To test, go to the databrowser, click on OK, confirm it's gone. Refresh the page, confirm it's no loading anymore.

Thank you Kyuksel!


MSL: Is it possible to disable vertex shader's custom output attribute [[user(clipN)]]?

As far as I understand, this commit a3fe9756 introduced custom output variable with attribute [[user(clipN)]] along side the normal [[clip_distance]] variable to vertex shader if gl_ClipDistance is encountered.
Isn't it a bit waste of output vector slot if fragment shader never need it? If vertex shader write to 8 [[clip_distance]] elements, 8 more [[user(clipN)]] variables will be inserted to its output struct.
I'm not sure whether Metal internal pipeline compiler will automatically strip unused vertex shader's output variables or not.
Is there any option to disable this custom output variable?
Thanks.

I don't think there is an option to remove them, but it is not hard to add an opt-in path where you know clip distances won't ever be read in fragment.

Thanks for the update


[Backport v3.7-branch] net: coap: Fix underlying type for block number

Backport of #76052
Fixes #76000

Though, I guess you will need to forward port the 3.7 migration guide and remove it from the 4.0 in main? :)

Not sure I follow, on main the change will be available in v4.0.0 release. On v3.7-branch  it'll be v3.7.1. Why would we move the migration guide entry on main? I can do it of course if that's how it should be done.


Push rule diff fails on unknown original value

On some projects, dry-run push rules fails.
The error came from ??? value but don't know why original value can't be retrieve on some projects.
GitLabForm version: 2.0.0.post1

config_version: 2

projects_and_groups:

  "my-group/*":
    project_push_rules:
      commit_committer_check: true
      member_check: true

On some projects, I got this error:
Processing project_push_rules in dry-run mode.
Warning: Error occurred while processing project my-group/my-project, exception:
'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/gitlabform/gitlabform/gitlabform/core.py", line 548, in process_all
    self.project_processors.process_project(
  File "/gitlabform/gitlabform/gitlabform/processors/project/__init__.py", line 63, in process_project
    processor.process(project_and_group, configuration, dry_run, output_file)
  File "/gitlabform/gitlabform/gitlabform/processors/util/decorators.py", line 42, in method_wrapper
    return method(self, project_and_group, SafeDict(configuration), *args)
  File "/gitlabform/gitlabform/gitlabform/processors/abstract_processor.py", line 41, in process
    self._print_diff(
  File "/gitlabform/gitlabform/gitlabform/processors/project/project_push_rules_processor.py", line 32, in _print_diff
    DifferenceLogger.log_diff(
  File "/gitlabform/gitlabform/gitlabform/processors/util/difference_logger.py", line 21, in log_diff
    changes = [
  File "/gitlabform/gitlabform/gitlabform/processors/util/difference_logger.py", line 22, in <listcomp>
    [k, json.dumps(current_config.get(k, "???")), json.dumps(v)]
AttributeError: 'NoneType' object has no attribute 'get'

Thanks for reporting this!
It should be fixed in v2.0.3 which has just been released. Please reopen if you are still seeing this after updating GitLabForm.


Build fails on Xcode 12 for iOS 13/14

Describe the bug
Build on Xcode 12 fails when targeting simulator with iOS 13.5 or 14 with the error:
Value of type 'AVCapturePhotoOutput' has no member 'supportedFlashModes'
on source CameraController.swift at line 228.
Strange thing is that if I target a real device with iOS 13.5 the build process completes without any error.
Desktop (please complete the following information):

OS: macOS 10.15.6

Smartphone (please complete the following information):

Device: iPhone 7 Plus
OS: 15.5.1

https://github.com/Yummypets/YPImagePicker/issues/553
Well known problem with Xcode 12. There's a workaround. But I don't really understand swift code. Can anybody experienced take look?

Concrete info https://developer.apple.com/forums/thread/86810


Unexpected behavior with not found component specified in the __root

Describe the bug
I specified the notFoundComponent in the root and after I throw a not found error in child route (ex. /$type/$id) I got a warning that telling me that I didn't specified a notFoundComponent in child route, but I want catch it at root level to avoid layout rendering
P.S. I checked documentation and found that router has a notFoundMode field in options, after that I specified a 'root' mode and it didn't help
Your Example Website or App
https://stackblitz.com/edit/github-3cnvav-8s3gis?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue

Open page at path /unknown/id

Expected behavior
Route render root notFoundComponent
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

If I click on Unknown, I see 123 being rendered which seems to be the root notFoundComponent. Isn't that the expected behavior?

If I click on Unknown in your reproducer, I see 123 being rendered which seems to be the root notFoundComponent. Isn't that the expected behavior?

But if I open it directly it has unexpected behavior, it opens default tanstack not found component

https://github.com/TanStack/router/assets/91194878/df06438b-984b-44f0-abd0-d6b421e7b20d
Look at this, when I open it via link on page it works correctly, but if I reload page it shows default not found component with text "Not found", essentially it should has the same behavior as when opening via link

I found the way to fix it, I just wrapped all routes in the layout and added notFoundComponent component to it, but I think when I specify notFoundComponent in the root it should work the same


Not able to get volume data in formatted number.

Hi,
I have chart with histogram data (volume data)
this is the code i use to get a particular candle:
chart.current.subscribeCrosshairMove((param: any) => {
      const currCandleVolume = param.seriesPrices.get(volumeSeries);
      // const currCandleVolume = null;
      if (currCandleVolume) {
        setLegendText(currCandleVolume);
      }
    });

In charts the volume in nicely formatted, if volume is 29000, it shows 29K, if it is 300 it shows 300 on the axis line.
I would like to get such formatted number on crosshairmove.

You can get the formatter used for a series like this:
const price = 12345;
const formattedNumber = series.priceFormatter().format(price); // would be '12.35K' if price format is 'volume'

https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ISeriesApi#priceformatter


Export api call is not working

I installed superset in my local computer and created few datasets, dashboards and charts. When i try to export from api call i am getting error.
When i try using curl
curl -v --cookie "session=" --output test.zip http://localhost:8088/api/v1/chart/export/?q=201
I get response as "zsh: no matches found:"
When i try using postman
Not a valid rison schema {} is not of type 'array'\n\nFailed validating 'type' in schema:\n    {'items': {'type': 'integer'}, 'type': 'array'}\n\nOn instance:\n    {}
I am passing authorization and csrf token as "X-CSRFToken" in header and chart id as params.
Can someone please help.

its working


[WFCORE-901] Update the utility to properly test our standard configs and legacy configs

Switch ModelParserUtils to use offline CLI to test the provided configs, instead of the complex "mock" model controller setups previously used.
Also includes commits for misc issues that prevented this working or would prevent the tests passing. The first two of these are also in separate PRs #973 and #988.
The tests themselves are in full. See https://github.com/wildfly/wildfly/pull/7985 which depends on this to work. WFLY-5138 is the overall JIRA for this.
@luck3y the 3rd commit is for the issue we were chatting about today.

Linux Build 2477 is now running using a merge of 61425004f8987f7453046cb10562709f221f920d

Windows Build 1989 is now running using a merge of 61425004f8987f7453046cb10562709f221f920d

Core - Full Integration - Windows Build 26 is now running using a merge of 61425004f8987f7453046cb10562709f221f920d

Linux Build 2477 outcome was SUCCESS using a merge of 61425004f8987f7453046cb10562709f221f920d
Summary: Tests passed: 3403, ignored: 64 Build time: 00:36:56

Windows Build 1989 outcome was SUCCESS using a merge of 61425004f8987f7453046cb10562709f221f920d
Summary: Tests passed: 3403, ignored: 64 Build time: 00:37:32

Core - Full Integration - Windows Build 26 outcome was SUCCESS using a merge of 61425004f8987f7453046cb10562709f221f920d
Summary: Tests passed: 3055, ignored: 358 Build time: 00:54:51

WildFly pull requests Build 1897 outcome was SUCCESS using a merge of 61425004f8987f7453046cb10562709f221f920d
Summary: Running Build time: 00:00:03


⚠ Bofrost.lu has degraded performance

In cc58ace, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1599 ms

Resolved: Bofrost.lu performance has improved in a76adca after 6 minutes.


[TextServer] Fix use of find_char in text servers

The find_char method is not (currently) available to extensions and
can't be used in the text servers which can be built as extensions, so
now controlled by compile option
I missed this when reviewing #100024

Needs to be rebased before this can be merged

I'll rebase shortly!

Thanks!


fix water level download end time

downloads water level only until midnight even though another time is specified as end time

created PR in cht_obserations
https://github.com/Deltares-research/cht_observations/pull/4


API responds with 201 before the created resource is ready

Description
I'm creating and merging Pull Requests using Gitea's REST API, and sometimes it responds with HTTP 405 unless I include a delay between the API calls. Can you please make it respond with 201 only after the created resource is actually ready?
Gitea Version
1.22.1
Can you reproduce the bug on the Gitea demo site?

Locally, in Docker
Database
MySQL/MariaDB

What is the description of 405? I guess it maybe something like  PR not in mergeable state, Please try again later.
For each PR, a mergeable test will be run automatically, and this is a backend queue task.
So I guess the issue you met is that the PR is created but mergeable test is still running, so you can not merge it immediately until the test is finished.

Yes it does say to try later, I guess it makes sense that the test has to run asynchronously, PRs can be quite large after all...

Do you have any more questions?
I think this issue can be closed, as the delay is necessary.


Fix: Use sysconf() instead of getpagesize()

https://github.com/vim/vim/pull/2735#issuecomment-375207630
This is fix for 'maxmem' on macOS.
getpagesize() has been dropped from POSIX.

Codecov Report

Merging #2741 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2741      +/-   ##
==========================================
+ Coverage      75%      75%   +<.01%
==========================================
  Files          92       92
  Lines      134149   134149
==========================================
+ Hits       100614   100617       +3
+ Misses      33535    33532       -3

Impacted Files
Coverage Δ

src/os_unix.c
54.61% <ø> (+0.13%)
:arrow_up:

src/gui_beval.c
62.66% <0%> (-0.43%)
:arrow_down:

src/message.c
74.56% <0%> (-0.25%)
:arrow_down:

src/gui.c
47.73% <0%> (-0.06%)
:arrow_down:

src/gui_gtk_x11.c
47.63% <0%> (-0.05%)
:arrow_down:

src/terminal.c
56.72% <0%> (-0.05%)
:arrow_down:

src/ex_getln.c
73.29% <0%> (+0.03%)
:arrow_up:

src/term.c
60.21% <0%> (+0.05%)
:arrow_up:

src/misc1.c
84.41% <0%> (+0.06%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Syntax error: newline unexpected

I was unable to start an existing chroot (been a few months since I used the chromebook)  -- probably just needed to do an update. But it had worked perfectly fine before. So used edit-chroot -d and moved on with my life. However after re-downloading crouton again and trying to install anything gives me issues as you'll see below.
Tried both power washing and deleting the /tmp directory.
chronos@localhost / $ sudo sh -e ~/Downloads/crouton -r kali-rolling -t xfce -e -n kali
Password:
Downloading latest crouton installer...
######################################################################## 100.0%
Choose an encryption passphrase for kali:
Please confirm your passphrase:
Generating keys (move the mouse to generate entropy)...
done
Installing kali-rolling-i386 chroot to /usr/local/chroots/kali
Downloading latest debootstrap...
2016-10-18 19:51:20 URL:https://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [65573] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
/tmp/crouton.35s/functions: 560: Syntax error: newline unexpected

Also tried the following
chronos@localhost / $ sudo sh -e ~/Downloads/crouton -t xfce -e -n ubuntu
Choose an encryption passphrase for ubuntu:
Please confirm your passphrase:
Generating keys (move the mouse to generate entropy)...
done
Installing precise-i386 chroot to /usr/local/chroots/ubuntu
Downloading latest debootstrap...
2016-10-18 19:58:09 URL:https://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [65573] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
/tmp/crouton.gKi/functions: 560: Syntax error: newline unexpected

and just for simplicity sake
chronos@localhost / $ sudo sh ~/Downloads/crouton -t xfce
Installing precise-i386 chroot to /usr/local/chroots/precise
Downloading latest debootstrap...
2016-10-18 20:03:32 URL:https://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [65573] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
/tmp/crouton.QMX/functions: 560: Syntax error: newline unexpected

Now this only RECENTLY started happening after I rebooted for a chromos update. All other attempts would create the environment but fail when building/extracting? something about dpkg and then would fail install -- trying to run the chroot would ask me if i'd like to finish it -- which it would error with something else. But obviously that's not the issue anymore.

https://anonscm.debian.org/cgit/d-i/debootstrap.git/commit/?id=8a77b648b1a989962314a7d389a529bdef66cf1d was just commited an hour ago.  Looks like that broke things.

Checking with Julien to fix debootstrap.  In the meantime, I've disabled pulling debootstrap from gitweb, so please try again.

Nice. Thanks for a prompt fix in the meantime =)


Added troubleshooting instructions for environment set up

Description
Added to the environment setup instructions to help contributors with potential issues.
Issues Resolved
https://github.com/opensearch-project/documentation-website/issues/6800
https://github.com/opensearch-project/documentation-website/issues/6242
Checklist

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

@AMoo-Miki - Can you give this a quick tech review? Thanks!

Thanks.

I consolidated the error and resolution steps into one bullet a piece.

@Naarcha-AWS Thanks! I've updated with your suggestions.


clang -Wbitwise-instead-of-logical

https://github.com/CommitThis/zip-iterator/blob/8d1362e82577b210e8bc5d9de793aa25fe35aae2/zip_tuple.hpp#L28
Clang gives a warning on the above line. Shouldn't local or || be used here instead of bitwise |? If so, I can send a PR to fix.

Hi Jake, thanks for reviewing. You're right, a pull request would be
welcomed!
On Sat, 13 Jan 2024, 03:56 Jake Tuero, @.***> wrote:

https://github.com/CommitThis/zip-iterator/blob/8d1362e82577b210e8bc5d9de793aa25fe35aae2/zip_tuple.hpp#L28
Clang gives a warning on the above line. Shouldn't local or || be used
here instead of bitwise |? If so, I can send a PR to fix.
—
Reply to this email directly, view it on GitHub
https://github.com/CommitThis/zip-iterator/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQPLQK4L2A2D5W55VAUBZTYOIAWLAVCNFSM6AAAAABBZARSS6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DAMBVGI4TKNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Super cool - thanks for this - is it possible to access non-persistent apps?

This is a really cool project you have. I was wondering is it possible to access dock icons that are not "Kept in Dock" (persisted)? I have an issue:
I created a desk.app on my Desktop. This desk.app runs a shell script to launch another application (Firefox). I have "kept in dock" this desk.app
So now click it launches Firefox, and all Firefox is icons all take the icon of desk.app, like window dialogs, and miniaturized windows. HOWEVER if I restart Firefox, it leaves my desk.app dock icon in the persistent section and now Firefox's actual logo pops up and is over in the non-persistent app section. I'm trying to remove that logo from non-persistent section and associate the Firefox application windows back to the desk.app icon I have persisting.
Can you please share your awesome wisdom on this subject on how I can fix this, programtically (as I do this from my firefox addon)

I'm going to close this issue.  Sorry for the delay.  I don't have an answer on this one.


[Documentation] java-lang-format plugin is required to build app

You can't build ground in android studio unless required plugins are installed. Required plugins:

java-lang-format

Marking obsolete. @scolsen please reopen if I'm wrong!


Rancher logging 3.15.0 fluentd pods go into crashloop with 2.5-head

Rancher Server Setup

Rancher version: 2.5-head Commit ID 777b5d4
Installation option (Docker install/Helm Chart): Docker

Information about the Cluster
Downstream node driver; digital ocean;
Describe the bug
fluentd pods are in crashloop and there are ruby errors in the logs

2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/engine.rb:105:in `configure'
--
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/engine.rb:80:in `run_configure'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/supervisor.rb:714:in `block in run_worker'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/supervisor.rb:966:in `main_process'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/supervisor.rb:706:in `run_worker'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/lib/fluent/command/fluentd.rb:364:in `<top (required)>'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.13.3/bin/fluentd:15:in `<top (required)>'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/bin/fluentd:23:in `load'
Thu, Dec 23 2021 2:31:43 pm | 2021-12-23 19:31:43 +0000 [error]: fluent/supervisor.rb:965:main_process: /usr/bin/fluentd:23:in `<main>'

To Reproduce

On downstream install logging v2 3.15.0 in system
configure output - I used elasticsearch - but i've seen this error before configuring output
Go to cluster explorer > Pods
Observe pods in cattle-logging and cattle-logging-system

Result
pods crash; no log output to elasticsearch
Expected Result
all pods running with no crashes/restarts; logs flowing to elasticsearch
Screenshots

Additional context

@ronhorton what version of kubernetes is the downstream cluster running?

k8s version downstream: 1.20.14

I'm no longer seeing the crashing pods as of v2.5-07a745a

Unable to recreate - sending to test

Issue is no longer present as of v2.5-07a745a

On downstream install logging v2 3.15.0 in system
configure output - I used elasticsearch - but i've seen this error before configuring output
Go to cluster explorer > Pods
Observe pods in cattle-logging and cattle-logging-system

I repeated this test on 3 downstream clusters.
Both versions 3.15.0 and 3.9.4 of logging.
Also verified logging v1 working as expected.


fix(encryptionKey): align credential and wallet config

Description
Align the credential and wallet configuration to use the same encryption key
Why
The same key is used for encrypting and decryption the wallet data by different processes.
Issue
Refs: #197
Checklist

[x] I have followed the contributing guidelines
[x] I have performed IP checks for added or updated 3rd party libraries
[x] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added copyright and license headers, footers (for .md files) or files (for images)

shouldn't it be the other way around as the wallet encryption key must match the credential encryption key: I mean shouldn't the credential encryption key in the issuer service remain as that is the key which does and will continue doing encrypting?

absolutely right. adjusted.


encodingFormat use CWL example, mismatch with Workflow section

Describe the bug
In https://www.researchobject.org/ro-crate/1.1-DRAFT/data-entities.html?highlight=commonwl#adding-detailed-descriptions-of-encodings example we see an example of encodingFormat being a URI rather than media type:
 {
    "@id": "1st-tool.cwl",
    "@type": "File",
    "contentSize": "120",
    "description": "An example Common Workflow Language File",
    "encodingFormat": ["text/plain", {"@id": "https://www.commonwl.org/v1.0/Workflow.html"}]
  },
    {
    "@id": "https://www.commonwl.org/v1.0/Workflow.html",
    "name": "Common Workflow Language (CWL) Workflow Description, v1.0.2",
    "@type": "Website"
  }

First of all (@mr-c might correct me) I think the better URI here would be CWL's permalink https://w3id.org/cwl/v1.0/ as shown on https://www.commonwl.org/v1.0/Workflow.html
Secondly this use of encodingFormat here seems to be at odds with programmingLanguage in Workflows section - it is unclear which one of these should be used - or both?
Suggested fix
Easiest fix is to avoid mentioning workflows at the encodingFormat example - perhaps use a geopositional format or something instead.
Longer fix would be to reconcile the two, or at least mention encodingFormat under the Workflow section. Most programming languages don't have a registered IANA media type but would usually be a variant of text/plain (CWL is encoding format text/x-yaml - even YAML does not have a media type yet).
So perhaps https://yaml.org/spec/1.1/ could be a better example, but generic YAML rather than CWL-that-happens-to-be-YAML.

See also #154 which looks at adding profiles to data entities.

This will be solved by #230 that replaces the workflow with a data entity.


Integrated code lifecycle: Fix an issue with binary file conversions before build execution

Checklist
General

[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[ ] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I strictly followed the server coding and design guidelines.
[x] I documented the Java code using JavaDoc style.

Changes affecting Programming Exercises

[ ] High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).

Motivation and Context
A file conversion from Windows to Unix is also applied to binary files and leads to issues
Description
We remove the file conversion because it does not seem to be necessary any more.
Steps for Testing

Prerequisites:

1 Instructor
Multiple default programming exercises (without binary files for different project types and programming languages)
1 Programming Exercise with a binary file that is read during test execution (you can reuse a minimum working example as specified on https://artemis-staging-localci.artemis.cit.tum.de/course-management/86/programming-exercises/626

Make sure template build and solution build run correctly for all programming exercises

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Performance Review
Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Instructions to create a minimal working example as specified here: https://artemis-staging-localci.artemis.cit.tum.de/course-management/86/programming-exercises/626.
Create a new python programming exercise, for example with our custom docker image: ghcr.io/yascho/mlgs-2024-docker:latest.
Store a binary file in the test repository, for example:
import numpy as np
data = np.random.rand(10,10) # random 2D-array
np.save("data.npy", data)

Write a test that loads the binary file:
import numpy as np
data = np.load("data.npy")

Push the repository containing the binary file and the test case that reads the file.
This test will fail on Artemis: Numpy cannot read the binary file and will throw an error because the file is corrupted.

This does unfortunately cause issues for Java Gradle exercises (at least locally with Windows):
/var/tmp/script.sh: ./gradlew: /bin/sh^M: bad interpreter: No such file or directory
Does anyone know the issue here?
Other exercises including Java Maven do not seem to be affected

I couldn't replicate the original issue on Windows or Ubuntu.
But I also get the same issue as @laurenzfb on Windows


new project with RN 0.60.3 returns ENOENT

Clean install with react-native init AwesomeApp results with ENONET error on react-native run-android
React Native version: 0.60.3
IDE: Visual Studio Code
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.47 GB / 7.95 GB
Binaries:
Node: 10.3.0 - C:\Program Files\nodejs\node.EXE
npm: 6.1.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-183.6<IP_ADDRESS>92245
Steps To Reproduce

run react-native init AwesomeApp
run react-native run-android

Describe what you expected to happen:
Command to execute successfully.
Error:
error Failed to run jetifier. Error: spawnSync E:\DEV\AwesomeApp\node_modules\jetifier\bin\jetify ENOENT     at Object.spawnSync (internal/child_process.js:981:20)     at spawnSync (child_process.js:588:24)     at execFileSync (child_process.js:616:13)     at Object.runAndroid [as func] (E:\DEV\AwesomeApp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:101:41)     at Command.handleAction (E:\DEV\AwesomeApp\node_modules\react-native\node_modules\@react-native-community\cli\build\cliEntry.js:160:21)        at Command.listener (E:\DEV\AwesomeApp\node_modules\commander\index.js:315:8)     at Command.emit (events.js:182:13)     at Command.parseArgs (E:\DEV\AwesomeApp\node_modules\commander\index.js:651:12)     at Command.parse (E:\DEV\AwesomeApp\node_modules\commander\index.js:474:21)     at setupAndRun (E:\DEV\AwesomeApp\node_modules\react-native\node_modules\@react-native-community\cli\build\cliEntry.js:210:24)

There is an info when running
react-native run-android command
like that info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
With
react-native run-android --no-jetifier
command, project opens correctly but I dont know what happens if jetifier stopped.

You can run react-native run-android --no-jetifier

[https://github.com/facebook/react-native/issues/25669] Connected topics.

#25669
issue related that

You can run react-native run-android --no-jetifier

Yeah, but some libs require jetifier

You can run react-native run-android --no-jetifier

Yes, but my real scenario is that I have a bunch of libs that fail without jetifier. I've found some workarounds like this, but I find them inconsistent as it may cause other problems on further RN upgrades.

Hey guys, nothing working here yet!
For some reason, I receive the following error: "Failed to run jetifier. Run"
My environment is the following:

Node: 12.6.0
NPM: 6.9.0
React Native CLI:  2.0.1
React Native: 0.60.1
OS: Windows 10

Can someone please help me? I need Jetifier in my project!

maybe it will help someone

npm i jetifier -D
add script "jetify": "jetify"
npm run jetify
react-native run-android --no-jetifier

This is an issue with the CLI. Looks like jetifier/bin/jetify is not found on Windows. Can somebody with Windows machine investigate? Here's the code responsible: https://github.com/react-native-community/cli/blob/672986873848e15f29d60cc0daa1c7b5d795d390/packages/platform-android/src/commands/runAndroid/index.js#L71

@jaycobbs I tried it and, with some changes, it worked!
I just had to run:
npx jetify
Followed by:
react-native run-android --no-jetifier
And it compiled successfully!
But, I have some updates here: I downgraded React Native to 0.59.8 and it worked like a charm as it doesn't uses Jetifier to migrate plugins to AndroidX, so, it's clearly that the problem is with Jetifier... I just can't understand why the script runs on npx and not with directly with the compiler...
I'll check the code and try to find something...
But anyway, thank you guys for helping!

I kindly request reviewing and testing a proposal to fix this: https://github.com/react-native-community/cli/pull/541 as I don't have Windows machine set up currently.

How come the new version of such a library is not tested before you release it?

Why the issue is closed?  the suggested fix not going to work if the project requires  jetifier required libraries right ??

It's closed because cli published a fix, so next time you init a fresh project or regenerate the lock file (to use cli v2.6.2 or newer), jetifier should be executed properly.

It's closed because cli published a fix, so next time you init a fresh project or regenerate the lock file (to use cli v2.6.2 or newer), jetifier should be executed properly.

Thanks Got it to work...

maybe it will help someone

npm i jetifier -D
add script "jetify": "jetify"
npm run jetify
react-native run-android --no-jetifier

Getting the error unknown option --no-jetifier


playlist_max_videos setting is ignored

If I set the config value playlist_max_videos to something higher like 200 adding a playlist still only adds 50 titles.

Thanks. I'll look into this. Can you please post the [youtube] section of your mopidy config.
I hope you are enjoying the plug-in.

My config looks like this:
[youtube]
enabled = true
youtube_api_key =
threads_max = 4
search_results = 30
playlist_max_videos = 200
api_enabled = false

mopidyctl config shows the same.

Have made some changes; should max out at 100 now.  Probably isn't going to get any better than  that any time soon, due to the way YouTube returns results.

Interesting. How does it return results?

Continuous scrolling page. When you load the playlist page, it returns the first 100 songs. There's a JavaScript trigger that returns the next 100 when you scroll to the bottom.
There are ways to replicate that in Python (eg, using Selenium) but they are non-trivial.


Performance comparison between mocha.parallel

I'm trying to find the fastest mocha 'parallelizing' library. It would be useful if the performance if this library could be compared to those of others.

Thank you for posting issue!
I'm not sure about the performance comparison, but from what I see, mocha.parallel changes the way you write tests: it adds its own API. At the same time mocha-parallel-tests has better test coverage because it has been developing all this time with TDD.
But I will try to make some perfomance comparison soon.

I believe the performance increase for mocha.parallel is that is uses Bluebird, which implements Promises as compiled machine-code, rather than it running on parallel threads. In theory mocha-parallel-tests could do the same thing to boost performance (if it's not already).

You could also bak threading into the core: https://www.npmjs.com/package/threads
Actually if mocha-parallel-tests used threads, it would be a huge, huge, massive win. (That and it not swallowing console logs and exceptions.)

uses Bluebird

Hm... Well, mocha-parallel-tests is not using promises at all, so I don't know if bluebird usage is good or bad. As for threads: yes, mocha-parallel-tests is currently running inside one thread, but there's an issue to investigate running inside multiple threads: #66.
Right now I would say that using multiple threads will result in worse performance because of threads creation cost, but #66 is definitely better place to discuss this.

I think it depends on the kind of tests that are being run. A lot of my tests make HTTP requests and start up electron. In these kinds of situations, adding thread support could really help out. But for simple unit test assertions, threads would be a drawback.

Good points.
I also agree it depends on the kinds of tests being run.
It could mean worse performance for basic unit testing. When I run threaded code in Node, I stop seeing a direct benefit after 4-5 threads on a Mac Book Pro. But if the code I was running was much quicker, I understand why you would see the thread startup/teardown costs.
And... I think you would also have to be writing code that would instantiate appropriately if testing code from require('im-a-singleton') with threads. As far as I'm aware, by-and-large, I don't think people are writing their modules that way.
As @amilajack points out, service based tests could really benefit from threading. Also testing functions that are running heavier calculations would benefit from threads (more my use case).
Perhaps a new testing library specifically for threaded testing would be more relevant and should be designed from the ground up. I suppose I was hoping as Mocha is a nice syntax, that there was something out there already. :)

Perhaps a new testing library specifically for threaded testing

Not sure if a new library is needed. How about a config option through a flag:
./node_modules/.bin/mocha-parallel-tests --threads=true **/*.js

Setting to true would automatically scale the tests to how many cores the CPU has. By default, this should be off (--threads=false).

As @amilajack points out, service based tests could really benefit from threading

Can't agree. Service-based tests are async and don't depend heavily on CPU, so mocha-parallel-test's one thread should be okay
< Also testing functions that are running heavier calculations would benefit from threads (more my use case).
Totally agree

How about a config option through a flag

Sounds good.

Do you guys know a good library that makes multithreading easy in node?

@1999: Can't agree.

I see your point.

@amilajack: Do you guys know a good library that makes multithreading easy in node?

cluster https://www.sitepoint.com/how-to-create-a-node-js-cluster-for-speeding-up-your-apps/
web-worker-threads https://www.npmjs.com/package/webworker-threads

@amilajack what's wrong with native child_process module?

There are a number of limitations with mutithreaded javascript. But I think we should try using child_process before we try using libraries.

Not sure about the performance comparison but I finally made it:
https://github.com/yandex/mocha-parallel-tests/wiki/Comparison-with-mocha.parallel
https://github.com/yandex/mocha-parallel-tests#comparison-with-mochaparallel


Time to ship!

Hey folks!  I've made a lot of changes here.  I tried out the system-tests on a few libs with this version, and things seem to be ok.  Would it be possible to cut a release?

Why not, let's do that. Mind writing a release notes draft?


Feature request: timeout redirection.

Do not redirect to sign in page after session timeout if user tries to access public page (not protected with before_filter :authenticate_user!). I'd like to provide pull request, but still can't understand how to fix it.

Related:
https://github.com/plataformatec/devise/wiki/How-To:-Do-not-redirect-to-login-page-after-session-timeout


Snmp-Write with 0 on Integer field does not work

Describe the bug
I am trying to change a snmp-value by doing a write via the iobroker-objects view.
This is working fine for all values, except the 0.
To Reproduce
Expected behavior
I would expect, that a "0" is written.
Screenshots & Logfiles
Versions:
Platform: linux
operating system: linux
Architecture: x64
CPUs: 2
Speed: 2903 MHz
Model: Common KVM processor
RAM: 7.5 GB
System uptime: 2 d. 04:25:44
Node.js: v16.19.1
time:<PHONE_NUMBER>243
timeOffset: -120
adapters count: 561
NPM: 8.19.3
Disk size: 14.7 GB
Disk free: 9.2 GB
Uptime: 2 d. 03:59:26
Active instances: 14
Path: /opt/iobroker/

SNMP-Adapter version: 2.4.5
JS-Controller: 4.0.24

Additional context
Add any other context about the problem here.

seesm to be duplicate of #239


Allow users to upsert web links and direct text (through endpoint)

Currently we are only processing pdf and txt files. Diversify this to take up web links and direct text. Alter the models to store this data as well.

@skks1212 What is meant by web links? Are we going change the upsert function to process direct text and scrape website from the given link? Can you explain user the flow for this issue

@ishanExtreme Yes, you will have to scrape from the URL.
For ex. If we want to scrape data from React docs, we can do that by entering the URL of the page, one page at a time (maybe we can automate that at a later stage)

Direct text is a different thing, where we can just enter text directly to a textarea and upsert