Incorrect credentials Login API (basic authentication) making server to hang

When submitting the following request to the login API the server will hang and will not respond in an reasonable time/response.
curl 'http://localhost:9000/_login' -H 'Authorization:Basic testUser:testUser'
The expected behavior would be not Authenticated response(HTTP 401)

This is "by design"  AFAIK.

AFAIK both authorizations should work.
You have two "secrets" to handle. One is PLAY_CRYPTO_SECRET and the other one is "ROOT_DIGEST" and "ROOT_DIGEST2" make sure all of them ore ok (e.g. there are $ sign in them maybe on mac it misbehaves???)
On Sat, 2017-09-23 at 14:28 -0700, Gilad Hoch wrote:
This is "by design" AFAIK.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_thomsonreuters_CM-2DWell_issues_182-23issuecomment-2D331671039&d=DwMCaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=M-uNGsyyvpGvSlTgX0-KUO09UkJcKYuZeWQ7YdV9x8Q&m=V1Lg1_-JE_CmFY7y2agc2BNy6SqhUpfoRiHJZYPVBzs&s=84YeMVIzUr8NZe6BfC01v2Lno677rS4z4trgRzXYT3I&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARaPOYJNcKq4AvpRllat43eTiIdqjDo5ks5slXfvgaJpZM4PhEL8&d=DwMCaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=M-uNGsyyvpGvSlTgX0-KUO09UkJcKYuZeWQ7YdV9x8Q&m=V1Lg1_-JE_CmFY7y2agc2BNy6SqhUpfoRiHJZYPVBzs&s=pUbXAtlCWRa2rTtksP_fXnM3k7vSNLA3RAXf4J_GJDE&e=.

@e-orz I think he means the 5sec delay.
Which is by design, to eliminate the possibility of brute forcing login attack.
But let's wait for @bryaakov to verify (& close ticket in that case)

@e-orz you're right - but this has nothing to do with that. This bug is only related to Basic HTTP Authentication and not the Digest one.
@hochgi you're right as well - there's a 5sec. delay, but this curl actually reaches a code branch that won't complete the Future[Result] at all.
@YoniMataraso IMHO this should be 400 Bad Request "Invalid Header", and not 401 Not authenticated (note that according to RFC testUser:testUser should be base64 encoded (i.e. dGVzdFVzZXI6dGVzdFVzZXI=) and not plain text. Indeed, when invoking curl localhost:9000/_login -H "Authorization: Basic dGVzdFVzZXI6dGVzdFVzZXI=", it actually does work as expected.
I will create a PR to address this scenario, however, IMHO, it's lower priority since in real life it is very unlikely for someone to create the header manually, but rather to use a client/library that does that for you (e.g. curl -u testUser:testUser will base64-encode the credentials for you).


Java Program: run: line 1: 3 killed

Hello everyone!
This is my first time here in Git Hub so forgive me if this is not the appropriate section where you can share a problem (also sorry for my bad english). I'm a student and we are working on a software that can calculate the "Manhattan Tourist Problem" (if you don't know what this is you can easily search it on the web).
This is the code:
import java.math.*;
public class ManhattanMemoization {
public static final BigInteger BIG_UNKNOWN = new BigInteger("0");

public static void main(String args[]) {
    int i = 20;

    System.out.println(manhattanM2(i, i));
}

public static BigInteger manhattanM2(int i, int j) {

    BigInteger[][] mem = new BigInteger[i+1][j+1];

    for (int h = 0; h <= i; h++) {

        for (int k = 0; k <= j; k++) {

            mem[h][k] = BIG_UNKNOWN;

        }

    }

    return manhattanMem2(i, j, mem);

}

public static BigInteger manhattanMem2(int i, int j, BigInteger[][] mem) {

    if (mem[i][j] == BIG_UNKNOWN) {

        if (i == 0 || j == 0) {

            mem[i][j] = new BigInteger("1");

        } else {

            return manhattanMem2(i-1, j, mem).add(manhattanMem2(i, j-1, mem));

        }

    }

    return mem[i][j];

}

}
Basically the variable "i" stands for the amount of rows and columns in this hypothetical manhattan city. If I set the "i" value to 11 or less the software works fine but if I insert an higher value like 15 or even higher like 20 or 50 in the "output" section I have this error: run: line 1: 3 killed java ManhattanMemoization.
I think is a problem related to the amount of memory available (I'm on iPad Pro 2018) but the strange thing is that the day before everything works fine without this error.
Anyone know why I have this error???
Thanks anyway

I solved the problem...
The problem was the return inside the else in the "manhattanMem2" method. I fixed using:
mem[i][j] = manhattanMem2(i-1, j, mem).add(manhattanMem2(i, j-1, mem));


Handle new schemas

Trello
Extract the content of several new document types.
Some document types have been added to the content store that didn’t used to be there.  Because they didn’t used to be there, we didn’t write queries to extract their content.
A list of all current content types (aka document_type) and the dates they were added: https://github.com/alphagov/publishing-api/blame/41398e871fc9adf1df302d447941355a6050eef6/content_schemas/allowed_document_types.yml
People have noticed that some are missing.

[x] Extract schema_name field from the content store
[ ] Create an alert when we don't have any content of any pages with a certain schema. I.e. get a distinct set of schema_name, and a distinct set of schema_name where content is not null, and alert about any differences.
[ ] Write new MongoDB and Postgres queries to get the content of schemas that aren't currently handled
[ ] Document this process

Deployed in the dev environment.

Working so far in dev.

Working with more schemas.

How to review

Check in dev (where it's currently deployed) that there are no results of this query.  Results would indicate that there are schemas for which none of the documents have any text in GovGraph.WITH
  all_schemas AS (
  SELECT
    DISTINCT s.schema_name
  FROM
    content.schema_name AS s ),
  has_text AS (
  SELECT
    DISTINCT s.schema_name
  FROM
    content.schema_name AS s
  INNER JOIN
    content.content AS c
  USING
    (url)
  WHERE
    c.text IS NOT NULL )
SELECT
  all_schemas.schema_name
FROM
  all_schemas
LEFT JOIN
  has_text
USING
  (schema_name)
WHERE
  has_text.schema_name IS NULL
AND
  schema_name NOT IN (
'completed_transaction', -- No real content
'contact', -- Not really content, complex
'coronavirus_landing_page', -- Complex, only one page, minimal content
'email_alert_signup', -- No real content
'embassies_index', -- No real content, just a catalogue of other pages
'field_of_operation', -- No real content, just a catalogue of other pages
'fields_of_operation', -- No real content, just a catalogue of other pages
'finder', -- No real content, just a catalogue of other pages
'finder_email_signup', -- No real content, just a catalogue of other pages
'generic', -- -- No content in the content store
'generic_with_external_related_links', -- No content in the content store
'get_involved', -- No real content, just a catalogue of other pages
'gone', -- Not reachable on GOV.UK website
'government', -- No real content
'historic_appointments', -- No real content, just a catalogue of other pages
'hmrc_manual', -- No real content, just a catalogue of other pages
'homepage', -- No content in the content store
'how_government_works', -- No content in the content store
'mainstream_browse_page', -- No real content, just a catalogue of other pages
'ministers_index', -- No real content, just a catalogue of other pages
'need', -- Not reachable on GOV.UK website
'organisations_homepage', -- No real content, just a catalogue of other pages
'placeholder', -- Not reachable on GOV.UK website
'placeholder_corporate_information_page', -- Not reachable on GOV.UK website
'placeholder_document_collection', -- Not reachable on GOV.UK website
'placeholder_ministerial_role', -- Not reachable on GOV.UK website
'placeholder_news_article', -- Not reachable on GOV.UK website
'placeholder_policy', -- Not reachable on GOV.UK website
'placeholder_publication', -- Not reachable on GOV.UK website
'placeholder_speech', -- Not reachable on GOV.UK website
'placeholder_statistical_data_set', -- Not reachable on GOV.UK website
'placeholder_world_location_news_article', -- Not reachable on GOV.UK website
'placeholder_worldwide_organisation', -- Not reachable on GOV.UK website
'redirect', -- No content
'service_manual_homepage', -- No real content, just a catalogue of other pages
'service_manual_service_toolkit', -- No real content, just a catalogue of other pages
'service_manual_topic', -- No real content, just a catalogue of other pages
'service_sign_in', -- Form, only one instance of it
'special_route', -- Icons, API endpoints, maybe other things that aren't really content
'taxon', -- No real content, just a catalogue of other pages
'topic', -- No real content, just a catalogue of other pages
'travel_advice_index', -- No real content, just a catalogue of other pages
'world_index' -- No real content, just a catalogue of other pages
  )
  ;

Read the comments in the above query, and decide whether you agree that it's reasonable to omit the content of documents that belong to those schemas


Add fields to the exposure section to define the object name and comment

Fields to set the object name and a comment (and maybe the observer name). These would be passed to the Python server which would add them to the header information.

MRO users don't typically take advantage of the object name field--I propose simplifying by dropping name but retaining comment


Bad trace from Windows Container

I have .Net Core application run in windows container. I run command from container: PerfView.exe /nogui /accepteula /NoView /Zip:TRUE /Merge:TRUE /logFile=log.txt /TrustPdbs /MaxCollectSec:30 collect .\PerfViewData.etl.zip
After i copy PerfViewData.etl.zip on node, where the container is running and opening trace in PerfView GUI.
In logs,i see many WARNING below.
Hence, I get a bad trace, with unknown modules.

It looks like the problem lies in the shared dlls with the host.
If i run the application on the host and take the trace, everything is fine.
Tell me how to properly capture the trace from the container and then read it?

WARNING: The log file does not contain exact PDB signature information for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\clrjit.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\clrjit.dll
Could not find PDB file.
[Quick lookup of coreclr]
[Loading symbols for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll]
No PDB signature for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll in trace.
The file c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll does not exist on the local machine
Attempting to convert c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll to a volume-based path in case the file inside of a container.
Successfully converted to \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll.
FindSymbolFilePathForModule: searching for PDB for DLL \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll.
FindSymbolFilePath: *{ Locating PDB F:\workspace_work\1\s\bin\obj\Windows_NT.x64.Release\src\dlls\mscoree\coreclr\Release\coreclr.pdb GUID 7e9cb043-cd92-4496-8f8c-ff7a869dc737 Age 1 Version 4,700,20,51601 @Commit: d989459717cbce34262060c4b8b949185033e379
FindSymbolFilePath: Pdb is for DLL \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll
FindSymbolFilePath: Checking relative to DLL path \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.pdb does not exist
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\symbols.pri\retail\dll\coreclr.pdb does not exist
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\symbols\retail\dll\coreclr.pdb does not exist
FindSymbolFilePath: Probed file location F:\workspace_work\1\s\bin\obj\Windows_NT.x64.Release\src\dlls\mscoree\coreclr\Release\coreclr.pdb does not exist
FindSymbolFilePath: Probed file location C:\tmp\coreclr.pdb does not exist
FindSymbolFilePath: no file at cache location C:\Users\bear\AppData\Local\Temp\2\SymbolCache\coreclr.pdb\7E9CB043CD9244968F8CFF7A869DC7371\coreclr.pdb and cacheOnly set, giving up.
FindSymbolFilePath: *} Failed to find PDB coreclr.pdb in local cache GUID 7e9cb043-cd92-4496-8f8c-ff7a869dc737 Age 1 Version 4,700,20,51601 @Commit: d989459717cbce34262060c4b8b949185033e379
FindSymbolFilePathForModule returns NULL for F:\workspace_work\1\s\bin\obj\Windows_NT.x64.Release\src\dlls\mscoree\coreclr\Release\coreclr.pdb 7e9cb043-cd92-4496-8f8c-ff7a869dc737 1 4,700,20,51601 @Commit: d989459717cbce34262060c4b8b949185033e379
WARNING: The log file does not contain exact PDB signature information for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\device\harddiskvolume4\programdata\docker\windowsfilter\44bde83a39bda06ded80a93090beee24380871b755c5b47dfd4818b558ddefbc\files\program files\dotnet\shared\microsoft.netcore.app\3.1.10\coreclr.dll
Could not find PDB file.
[Quick lookup of schannel]
[Loading symbols for c:\windows\system32\schannel.dll]
No PDB signature for c:\windows\system32\schannel.dll in trace.
The local file C:\Windows\Sysnative\schannel.dll has a mismatched checksum found 522738 != expected 528669
Attempting to convert c:\windows\system32\schannel.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\schannel.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\schannel.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\schannel.dll
Could not find PDB file.
[Quick lookup of rpcrt4]
[Loading symbols for c:\windows\system32\rpcrt4.dll]
No PDB signature for c:\windows\system32\rpcrt4.dll in trace.
The local file C:\Windows\Sysnative\rpcrt4.dll has a mismatched checksum found 1202380 != expected 1201801
Attempting to convert c:\windows\system32\rpcrt4.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\rpcrt4.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\rpcrt4.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\rpcrt4.dll
Could not find PDB file.
[Quick lookup of kernelbase]
[Loading symbols for c:\windows\system32\kernelbase.dll]
No PDB signature for c:\windows\system32\kernelbase.dll in trace.
The local file C:\Windows\Sysnative\kernelbase.dll has a mismatched checksum found 2755989 != expected 2720513
Attempting to convert c:\windows\system32\kernelbase.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\kernelbase.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\kernelbase.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\kernelbase.dll
Could not find PDB file.
[Quick lookup of advapi32]
[Loading symbols for c:\windows\system32\advapi32.dll]
No PDB signature for c:\windows\system32\advapi32.dll in trace.
FindSymbolFilePathForModule: searching for PDB for DLL c:\windows\system32\advapi32.dll.
FindSymbolFilePath: *{ Locating PDB advapi32.pdb GUID 51d14697-a7f5-875e-2510-c3bda4e61b61 Age 1 Version 10.0.17763.1131 (WinBuild.160101.0800)
FindSymbolFilePath: Pdb is for DLL C:\Windows\Sysnative\advapi32.dll
FindSymbolFilePath: Checking relative to DLL path C:\Windows\Sysnative\advapi32.dll
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\advapi32.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols.pri\retail\dll\advapi32.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols\retail\dll\advapi32.pdb does not exist
FindSymbolFilePath: Probed file location C:\tmp\advapi32.pdb does not exist
FindSymbolFilePath: no file at cache location C:\Users\bear\AppData\Local\Temp\2\SymbolCache\advapi32.pdb\51D14697A7F5875E2510C3BDA4E61B611\advapi32.pdb and cacheOnly set, giving up.
FindSymbolFilePath: *} Failed to find PDB advapi32.pdb in local cache GUID 51d14697-a7f5-875e-2510-c3bda4e61b61 Age 1 Version 10.0.17763.1131 (WinBuild.160101.0800)
FindSymbolFilePathForModule returns NULL for advapi32.pdb 51d14697-a7f5-875e-2510-c3bda4e61b61 1 10.0.17763.1131 (WinBuild.160101.0800)
Attempting to convert c:\windows\system32\advapi32.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\advapi32.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\advapi32.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\advapi32.dll
Could not find PDB file.
[Quick lookup of bcryptprimitives]
[Loading symbols for c:\windows\system32\bcryptprimitives.dll]
No PDB signature for c:\windows\system32\bcryptprimitives.dll in trace.
FindSymbolFilePathForModule: searching for PDB for DLL c:\windows\system32\bcryptprimitives.dll.
FindSymbolFilePath: *{ Locating PDB bcryptprimitives.pdb GUID 8047eeeb-d29f-83d8-993d-0bf3f8f3ad48 Age 1 Version 10.0.17763.1613 (WinBuild.160101.0800)
FindSymbolFilePath: Pdb is for DLL C:\Windows\Sysnative\bcryptprimitives.dll
FindSymbolFilePath: Checking relative to DLL path C:\Windows\Sysnative\bcryptprimitives.dll
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\bcryptprimitives.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols.pri\retail\dll\bcryptprimitives.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols\retail\dll\bcryptprimitives.pdb does not exist
FindSymbolFilePath: Probed file location C:\tmp\bcryptprimitives.pdb does not exist
FindSymbolFilePath: no file at cache location C:\Users\bear\AppData\Local\Temp\2\SymbolCache\bcryptprimitives.pdb\8047EEEBD29F83D8993D0BF3F8F3AD481\bcryptprimitives.pdb and cacheOnly set, giving up.
FindSymbolFilePath: *} Failed to find PDB bcryptprimitives.pdb in local cache GUID 8047eeeb-d29f-83d8-993d-0bf3f8f3ad48 Age 1 Version 10.0.17763.1613 (WinBuild.160101.0800)
FindSymbolFilePathForModule returns NULL for bcryptprimitives.pdb 8047eeeb-d29f-83d8-993d-0bf3f8f3ad48 1 10.0.17763.1613 (WinBuild.160101.0800)
Attempting to convert c:\windows\system32\bcryptprimitives.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\bcryptprimitives.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\bcryptprimitives.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\bcryptprimitives.dll
Could not find PDB file.
[Quick lookup of kernel32]
[Loading symbols for c:\windows\system32\kernel32.dll]
No PDB signature for c:\windows\system32\kernel32.dll in trace.
FindSymbolFilePathForModule: searching for PDB for DLL c:\windows\system32\kernel32.dll.
FindSymbolFilePath: *{ Locating PDB kernel32.pdb GUID 07efa046-5afb-4214-cbd5-328b0b5ed084 Age 1 Version 10.0.17763.475 (WinBuild.160101.0800)
FindSymbolFilePath: Pdb is for DLL C:\Windows\Sysnative\kernel32.dll
FindSymbolFilePath: Checking relative to DLL path C:\Windows\Sysnative\kernel32.dll
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\kernel32.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols.pri\retail\dll\kernel32.pdb does not exist
FindSymbolFilePath: Probed file location C:\Windows\Sysnative\symbols\retail\dll\kernel32.pdb does not exist
FindSymbolFilePath: Probed file location C:\tmp\kernel32.pdb does not exist
FindSymbolFilePath: no file at cache location C:\Users\bear\AppData\Local\Temp\2\SymbolCache\kernel32.pdb\07EFA0465AFB4214CBD5328B0B5ED0841\kernel32.pdb and cacheOnly set, giving up.
FindSymbolFilePath: *} Failed to find PDB kernel32.pdb in local cache GUID 07efa046-5afb-4214-cbd5-328b0b5ed084 Age 1 Version 10.0.17763.475 (WinBuild.160101.0800)
FindSymbolFilePathForModule returns NULL for kernel32.pdb 07efa046-5afb-4214-cbd5-328b0b5ed084 1 10.0.17763.475 (WinBuild.160101.0800)
Attempting to convert c:\windows\system32\kernel32.dll to a volume-based path in case the file inside of a container.
Unable to convert c:\windows\system32\kernel32.dll to a volume-based path.
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\windows\system32\kernel32.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\windows\system32\kernel32.dll
Could not find PDB file.
[Quick lookup of ntdll]
[Loading symbols for c:\device\harddiskvolume4\windows\system32\ntdll.dll]
No PDB signature for c:\device\harddiskvolume4\windows\system32\ntdll.dll in trace.
The file c:\device\harddiskvolume4\windows\system32\ntdll.dll does not exist on the local machine
Attempting to convert c:\device\harddiskvolume4\windows\system32\ntdll.dll to a volume-based path in case the file inside of a container.
Successfully converted to \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\ntdll.dll.
FindSymbolFilePathForModule: searching for PDB for DLL \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\ntdll.dll.
FindSymbolFilePath: *{ Locating PDB ntdll.pdb GUID b77a183b-bc51-3b94-1db6-2f7e5a4bd20b Age 1 Version 10.0.17763.1728 (WinBuild.160101.0800)
FindSymbolFilePath: Pdb is for DLL \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\ntdll.dll
FindSymbolFilePath: Checking relative to DLL path \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\ntdll.dll
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\ntdll.pdb does not exist
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\symbols.pri\retail\dll\ntdll.pdb does not exist
FindSymbolFilePath: Probed file location \?\Volume{83da0a50-7e7c-4f96-aea2-704a62a09d62}\windows\system32\symbols\retail\dll\ntdll.pdb does not exist
FindSymbolFilePath: Probed file location C:\tmp\ntdll.pdb does not exist
FindSymbolFilePath: no file at cache location C:\Users\bear\AppData\Local\Temp\2\SymbolCache\ntdll.pdb\B77A183BBC513B941DB62F7E5A4BD20B1\ntdll.pdb and cacheOnly set, giving up.
FindSymbolFilePath: *} Failed to find PDB ntdll.pdb in local cache GUID b77a183b-bc51-3b94-1db6-2f7e5a4bd20b Age 1 Version 10.0.17763.1728 (WinBuild.160101.0800)
FindSymbolFilePathForModule returns NULL for ntdll.pdb b77a183b-bc51-3b94-1db6-2f7e5a4bd20b 1 10.0.17763.1728 (WinBuild.160101.0800)
WARNING: could not find PDB signature of a 64 bit OS DLL.  Did you collect with a 32 bit version of XPERF?

WARNING: The log file does not contain exact PDB signature information for c:\device\harddiskvolume4\windows\system32\ntdll.dll and the file at this path is not the file used in the trace.
PDB files cannot be unambiguously matched to the EXE.
Did you merge the ETL file before transferring it off the collection machine?  If not, doing the merge will fix this.
The /UnsafePdbMatch option will force an ambiguous match, but this is not recommended.
Failed to find PDB for c:\device\harddiskvolume4\windows\system32\ntdll.dll
Could not find PDB file.
Completed: Looking up high importance PDBs that are locally cached   (Elapsed Time: 0.094 sec)

A couple of questions on this:

What kind of container did you run this in (process isolation container or Hyper-V container)?
What OS image did you base your container on?

mcr.microsoft.com/windows/servercore:ltsc2019 (process isolation)
Windows Server 2019 Std

Thanks.  Can you try running PerfView.exe merge <path\to\etl> -ImageIDsOnly on the host, and see if that solves the problem.  There are some access issues between the host and process isolation containers specifically that often require that you merge the trace both on the host and inside the container.

Nothing immediately jumps out at me as an issue.  That said, this area has some complexity as we're dealing with two somewhat isolated systems (the host and the container).
As a path forward, I would recommend that you diff the traces that you've taken when running the app inside the container and on the host.  This should help us to understand which modules are not being resolved when you run inside the container.  That will hopefully help me to understand what might be happening.
In case you're not familiar with the diffing capabilities of PerfView, here are some instructions to get you started:

Open both traces in a single instance of PerfView.
Open the stack view from each trace and filter it to the equivalent process and work for each trace.
In the window with the missing symbols, select the Diff menu at the top, and choose the other stack view as the baseline.

Assuming that the work done in both traces was equivalent, the missing symbols will show up at the top with a positive cost in the Exc column.  Below that, you'll see negative cost for the modules and symbols that likely represent the missing symbols, and hopefully they will add up to somewhere near the cost of the missing symbols.
Feel free to also share the traces with me, and I can take a look.  The key here is to make sure that the traces represent equivalent work.

Feel free to also share the traces with me, and I can take a look. The key here is to make sure that the traces represent equivalent work.

The inspect process name - WebApplication1.
PerfViewData_from_host.etl.zip
PerfViewData_without_ImageIDOnly_from_container.etl.zip
PerfViewData_with_ImageIDOnly_from_container.etl.zip
Thanks!

@brianrob , are there any ideas for the provided traces?

@brianrob , hello, can I hope for your help?

Coming back to this issue.  There have been a number of fixes in this area.  I recommend retrying this with the latest version of PerfView.  I'm going to close this issue and if needed, please re-open.


Question about Deprovisioning

We're currently using knife-vsphere and looking to move Chef Provisioning VSphere for a number of reasons with Test Kitchen support being one of the bigger ones.  We use a series of knife-vsphere commands to deprovision machines in certain areas of the company where we're using a blue/green deployment model.  One lesson we learned in doing this was that ip addresses handed out by via DHCP needed to be explicitly released prior to physically deleting the VM - otherwise the VLAN would leak addresses.  We accomplished this by using "knife vsphere vm execute" on the guest.
Does the chef provisioning vsphere kitchen driver handle this in some way during it's destroy stage?  I come from the app dev side of the house so networking details isn't my wheelhouse - is there a better way to solve this or avoid the leaking behavior?
Outside of kitchen destroy does Chef Provisioning VSphere support any form of deprovisioning of machines?  Assuming no, would this be a desirable feature from a PR perspective?

Looks like there is a method in the driver.rb for this.  I haven't tested it yet. It may use the action_handler object that  I may use a restricted account within vCenter & attempt it. But it looks doable.
https://github.com/CenturyLinkCloud/chef-provisioning-vsphere/blob/master/lib/chef/provisioning/vsphere_driver/driver.rb#L400
Have you attempted destroying/deleting & did it work?


In rake tasks, only search Rails engines with defined app/chewy folders

When running the "update all" or "reset all" rake tasks, Chewy would
search all "app/chewy" folders for each Rails engine for indexes to
update or reset. However, if a Rails engine did not have an app/chewy
folder defined, the rake task would fail. This change compacts the
folder list to first remove the list of Rails engines that do not have
the folder defined, before checking to see if there are any existing
indexes in those folders.

well, let's leave uniq there as well

Ah, good catch. Fixed.

Thanks!


vendor update

vendor update for https://github.com/appcelerator/amp/pull/669

@generalhenry: conflicts...

Looks like I need more.


Publish on NPM

It would be really nice to also publish this package on npm. I thought a bit about how to make the npm publication most useful.

Exclude the source, include the build result.
People can install the package and host the contents using any webserver they want.
Add instructions on how to run the package via http-server. If you need help with any of this, I can help.

I don't think npm is really made for this since npm is more about libraries and other code that can be reused in other projects while this is just an application that can be served (as a static site, even with just apache/nginx). Maybe having builds output a version that can be downloaded, either from build artifacts (if they're publicly available?) or I guess separate release (kinda bad at making defined versions here since practically whatever is current repo state is latest version)

NPM is made for many things. Publishing full applications is one of them. When you're installing a package you can also choose to install it globally. Usually these would be tools that you can run via the CLI.
I think I would do something like this:

Move all current dependencies to devDependencies (since they are only needed for building).
Add http-server as a dependency.
Add obs-tablet-remote or obs-tablet-remote-server under bin of package.json, with a command that calls http-server.

That way people can do:

npm install -g obs-tablet-remote
obs-tablet-remote --port 8080


Adds agile blog post

Fixes #149
Preview

@lpgoldstein Fixed the PMF reference and found one extra space and fixed the preview link.

@lpgoldstein Can you please review, so we can get this merged into dev and then get a preview of the other blog post?

@mcharg Sorry! I did last week but forgot to approve


Investigate automatic testing of GraphQL serialization of custom scalars.

In core_kernel.v0.14.1, The quickcheck generator for values of type Time.t generates some values that cannot be serialized to string.
The following code
open Core_kernel
let () =
  let gen = Time.quickcheck_generator in
  let sexp_of _t = Sexp.Atom "" in
  Quickcheck.test gen ~sexp_of ~f:(fun t -> ignore (Time.to_string t))

fails with error
(Invalid_argument
  "Float.int63_round_down_exn: argument (-338108499926825757665497462346570628172062288663117774161894853777071297636303910063627043768100600252591612795684562354484702438081718743840344946216281329221367477759363253867988171312912922273935509061255160578654738107360999512856574015210903344953304691774552318935040.000000) is too small or NaN").

And it seems that it is not the case anymore with core.v0.15.0.

Here is the definition of the to_string function for values of type Time.t. It prints it using a date, which may not be possible to do on all values.
With core.v0.15.0, the quickcheck generator seems to only generate values that can be serializable https://github.com/janestreet/core/blob/master/core/src/span_float.ml#L742-L754.


Where do I download the jar dependency file?

Hi Jack Jiang2011,
Well, I'm having problems some problems understanding the language used in the current repository. I only want to know where can I download the l&f latest version.

Do you have any problems?


svd: updates to svd generator to support Freescale MCUs

These changes introduce support for the SVD XML provided by Freescale
for their MCUs.  Changes that were required here were similar to those
that others have had to make for projects like EmbSysRegView
(http://mcuoneclipse.com/2014/05/29/how-to-add-register-details-view-in-eclipse/).
Unfortunately, Freescale's SVD files do not include useful names for
enumerated values for fields, so the generated files will still need
to be modified by maintainers to have useful names.
A couple of changes in here are just cosmetic updates to how the
output looks.

ok to test

I think we need a test pass to verify that other svd files remain stable, given that it actually makes sense to bundle them in tree (I had to modify LPC's svd file to make it work and look reasonably good as well).

:+1:

As an FYI, I started work on a Python version of the SVD generator last night.  I'll open up a PR with that if it works out.  That would have tests and such so we could maintain compatability with the various forms of SVD we are like to encounter over time: https://github.com/posborne/zinc/commit/3aca5284a6b193785480938599256ebce253fd08

SGTM

@posborne for what it's worth, I found this which would allow for putting the generator in the build script (you'd probably have to change quite a bit of it I imagine).

@mcoffin, yeah, I looked at that a bit.  I'm not sure how necessary or wise integrating the SVD transformation into the toolchain is.  That, and rust is maybe not the best tool for doing transformations on XML (though certainly capable).
Right now, I am considering breaking the SVD parser and "library" of SVD XML fragments (I need to look at the license info for each vendor to see if this is OK) into its own repo as that could be useful outside of the zinc ecosystem.  The transformations on the SVD Object Model for zinc would live with the project then.
As of last night, I have a working code generator for Freescale (need to test/support LPC still): https://github.com/hackndev/zinc/compare/master...posborne:svd-generator-python.  Example output (using really rough heuristic to try to fill in for Freescale not providing real "names" for enum values): https://gist.github.com/posborne/757eb9562759ab11dfa8.  It still won't quite compile without some more tweaks.  And you get fun enumerated values like LOGIC_LEVEL_1_IS_DRIVEN_ON_PIN_PROVIDED_PIN_IS_CONFIGURED_FOR_GENERAL_PURPOSE_OUTPUT.  I mean, it's better than E_1, but it also isn't good.


support for models on blablador

With this PR we can use models hosted on blablador. Some documentation (links) are missing yet

done in #326


Google Maps fullscreen button not showing

Google Maps fullscreen button is showing perfectly fine on PC, mobile browsers, and .apk's created by sites like AppsGeyser.
However, it's not there when using SmartWebView. I really have no idea why would it happen. Javascript is enabled.
Might be related to https://github.com/mgks/Android-SmartWebView/issues/60

Having the same issue. Would be really intrested.


Add database to store info

Convert static data into dynamic
Used MongoDB, express and ejs for rendering the info on the website instead of HTML
Updated Contribution Guidelines, highlighting the new steps to be followed for contributing to the project

oh wait, Netlify doesn't support mongodb - so i'll test it locally and change the hosting provided, we discussed about this, but I forgot. Sorry, my bad.

@MayankBansal12 - pls fix the merge conflicts.


Question:  Adding a parameter to a "nested" element in a styled component.

Hi there,
Is it possible do this?  Or is the a better way of approaching this?
My initial thought was to not have to create custom components for h1, for example, letting the styled component handle the high-level "generic" styling at the component level, and then use a styled system utility to control the fonts (leveraging the default breakpoints) at a more granular level on the render side.
I'm intentionally omitting using a theme in the example below for simplicity, as I don't think it would help in this situation (though I could certainly be wrong about that).
Here's what I'm trying to do

Create a styled component using Object Styles to nest elements (e.g. h1).
Add fontSize to the styled component

import styled from "react-emotion";
import { fontSize } from "styled-system";

const Hero = styled.div(fontSize, { // <= Add fontSize here
  alignItems: "center",
  display: "flex",
  flexDirection: "column",
  height: "100vh",
  justifyContent: "center",
  textAlign: "center",
  overflow: "scroll",
  h1: {
    color: "white",
    letterSpacing: "2px",
    textShadow: "2px 2px black",
    textTransform: "uppercase",
  },
  h3: {
    color: "white",
    fontWeight: "100",
    textShadow: "2px 2px black",
  },
});

export default Hero;

Render the component, but use fontSize on a nested element instead of, or in addition to the component

<Hero>  // <-- no parameter here

Fancy Title
 // <-- but here

I'm a fancy tagline. Ain't I fancy!

</Hero>

As far as how styled-components works, you'll only ever be able to get props from the component you're creating – in this case the Hero. There are ways to target the h1 element from the Hero definition, but it can't really check its child elements' props without parsing props.children – e.g. you'll probably want to make use of React.Children for this sort of thing. That said, in the example you give, I think you'd be better off creating a styled component for the h1 element

Thanks @jxnblk for the follow up.
I came to the realization that I was trying to do too much with with a single Hero component, and I wound up breaking it down into smaller components, including a styled.h1 as you suggested.
import styled from "react-emotion";
import { fontSize, space } from "styled-system";

export default styled.h1`
  ${fontSize};
  ${space};
  grid-area: title;
  font-family: "Russo One", sans-serif;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 2px 2px black;
  text-transform: uppercase;
`;

While I was initially that thinking this was more work than desired up front, once done, building out pages is a lot quicker, as it's more assembling the components.  And styled-system awesome for styling those components! :smile:
<Title fontSize={[5, 6, 6, 7]} mb={[0, 3]} mt={["-2em", "-2em"]}>
  Styled Title
</Title>


import pez.open_clip problem? ModuleNotFoundError: No module named 'pez'

I am using a fork of this.. and I am terrible at code, but I do use GPT to help LOL
anyway, when I run, it says "ModuleNotFoundError: No module named 'pez'"

What code can I add to update? thanks!!!

Hi, I assume you are running this on colab. You can cd to the repository first, and just import them, like:
!git clone https://github.com/YuxinWenRick/hard-prompts-made-easy
%cd hard-prompts-made-easy
import open_clip
from optim_utils import *

thanks!!! works!


Error in the page "Azure SQL output binding for Azure Functions (preview)"

Hi
I found an error in the page Azure SQL output binding for Azure Functions (preview)
The sample code doesn't work, it has an error in this line:
rows = list(map(lambda r: json.loads(r.to_json()), req_body))

The error says: "Exception: AttributeError: 'dict' object has no attribute 'to_json'"
I solved changing the line with this one:
rows = func.SqlRowList(map(lambda r: func.SqlRow.from_dict(r), req_body))

I created a project with a sample using an input and output binding for Azure Sql:
DFMERA/azure-functions-sql-binding
I hope you can take a look and fix the error :)
Thank you!!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 49935ec3-dc89-bae4-f3e9-39b2e168af36
Version Independent ID: 10559958-f3cd-76c8-8523-8bd4338c7ad2
Content: Azure SQL output binding for Functions
Content Source: articles/azure-functions/functions-bindings-azure-sql-output.md
Service: azure-functions
GitHub Login: @dzsquared
Microsoft Alias: drskwier

@DFMERA
Thanks for your feedback! We will investigate and update as appropriate.

thanks so much for catching this @DFMERA - love the sample repository and the blog post too!
I've just merged in this docs fix and it will publish in a few hours.

#please-close


Fix #2453

#2453
Tried to fix the problem myself. Looks like the problem originated from AspNetCoreToOpenApiCommand where different base directories were used to load the assemblies (during web host creation) and generate the documents.
My own basic tests were successful, but since I'm far from fully understanding the code base, I'm not sure about the implications of my changes. Couldn't find any unit tests for AspNetCoreToOpenApiCommand or related classes either. So any feedback would be nice.

The problem is that this code is there for a reason and just removing it probably introduces regressions...

Probably it's better to fix your problem somehow in ChangeWorkingDirectoryAndSetAspNetCoreEnvironment so that it applies for every caller


feat: filter Args from error json in RSync status

The Args field sometimes contains values which change between reconciles, such as the failCount in the *-sync containers. Having errors which flap between iterations makes it unfeasible to treat the error message as a unique key for notification delivery, as the user will get repeat notifications for errors with trivial differences. This change adds logic to filter out the Args field of the error payload before passing it through to the RSync status.

/assign @nan-yu

This change is a prerequisite for https://github.com/GoogleContainerTools/kpt-config-sync/pull/542


Publish: redesign publication filters for mobile

Description
redesign publication filters for mobile
https://www.figma.com/design/lwL5jneveZczAj5RLcLFH2/DIAL-Chat?node-id=9718-13288&t=VbcIpQeikvVbTiYh-4
Use case/motivation
No response
Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

related issue #1775


validity errors

Hey, I love this theme, it was basically exactly what I had in my head for what I wanted.
I just installed it and I am getting a ton of validity errors when I run it. It doesn't seem to harm it in any way, but it can't be great.
I did a cursory google and say that it might be related the the version of ruby you are running, i am on ruby 2.0.0p645 and i see that the current version is 2.3.1, what version are you running? are you also seeing these errors?
thanks.
Incremental build: disabled. Enable with --incremental
      Generating...
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID cupidatat-90s-lo-fi-authentic-try-hard already defined
element h2: validity error : ID forage-occaecat-cardigan-qui already defined
element h2: validity error : ID hoodie-duis already defined
element h3: validity error : ID thundercats-ho already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID cupidatat-90s-lo-fi-authentic-try-hard already defined
element h2: validity error : ID forage-occaecat-cardigan-qui already defined
element h2: validity error : ID hoodie-duis already defined
element h3: validity error : ID thundercats-ho already defined
element nav: validity error : ID dl-menu already defined
element h3: validity error : ID figures-for-images-or-video already defined
element h4: validity error : ID one-up already defined
element h4: validity error : ID two-up already defined
element h4: validity error : ID three-up already defined
element h3: validity error : ID alternative-way already defined
element nav: validity error : ID dl-menu already defined
element sup: validity error : ID fnref:1 already defined
element h3: validity error : ID highlighted-code-blocks already defined
element h3: validity error : ID standard-code-block already defined
element h3: validity error : ID fenced-code-blocks already defined
element h3: validity error : ID github-gist-embed already defined
element li: validity error : ID fn:1 already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID usage already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID html-elements already defined
element h1: validity error : ID heading-1 already defined
element h2: validity error : ID heading-2 already defined
element h3: validity error : ID heading-3 already defined
element h4: validity error : ID heading-4 already defined
element h5: validity error : ID heading-5 already defined
element h6: validity error : ID heading-6 already defined
element h3: validity error : ID body-text already defined
element h3: validity error : ID blockquotes already defined
element h2: validity error : ID list-types already defined
element h3: validity error : ID ordered-lists already defined
element h3: validity error : ID unordered-lists already defined
element h2: validity error : ID tables already defined
element h2: validity error : ID code-snippets already defined
element h2: validity error : ID buttons already defined
element h2: validity error : ID kbd already defined
element h2: validity error : ID notices already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID installation already defined
element h2: validity error : ID preview already defined
element h2: validity error : ID site-setup already defined
element h3: validity error : ID site-wide-configuration already defined
element h4: validity error : ID title already defined
element h4: validity error : ID bio already defined
element h4: validity error : ID description already defined
element h4: validity error : ID url already defined
element h4: validity error : ID readingtime already defined
element h4: validity error : ID logo already defined
element h4: validity error : ID background already defined
element h4: validity error : ID google-analytics-and-webmaster-tools already defined
element h4: validity error : ID mathjax already defined
element h4: validity error : ID disqus-comments already defined
element h3: validity error : ID navigation-links already defined
element h2: validity error : ID layouts-and-content already defined
element h3: validity error : ID feature-image already defined
element h3: validity error : ID comments already defined
element h2: validity error : ID questions already defined
element h2: validity error : ID license already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID about already defined
element h2: validity error : ID blog already defined
element h2: validity error : ID code already defined
element h2: validity error : ID example already defined
element h2: validity error : ID feature already defined
element h2: validity error : ID highlighting already defined
element h2: validity error : ID image already defined
element h2: validity error : ID images already defined
element h2: validity error : ID jekyll already defined
element h2: validity error : ID markdown already defined
element h2: validity error : ID mathjax already defined
element h2: validity error : ID moon already defined
element h2: validity error : ID post already defined
element h2: validity error : ID readability already defined
element h2: validity error : ID sample already defined
element h2: validity error : ID sample post already defined
element h2: validity error : ID syntax already defined
element h2: validity error : ID test already defined
element h2: validity error : ID theme already defined
element h2: validity error : ID video already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID features already defined
element h2: validity error : ID preview already defined
element h2: validity error : ID getting-started already defined
                    done in 2.922 seconds.

I am not getting this error. (Hosted on github pages.)
On 10 Jun 2016 17:04, "caranicas"<EMAIL_ADDRESS>wrote:

Hey, I love this theme, it was basically exactly what I had in my head for
what I wanted.
I just installed it and I am getting a ton of validity errors when I run
it. It doesn't seem to harm it in any way, but it can't be great.
I did a cursory google and say that it might be related the the version of
ruby you are running, i am on ruby 2.0.0p645 and i see that the current
version is 2.3.1, what version are you running? are you also seeing these
errors?
thanks.
Incremental build: disabled. Enable with --incremental
Generating...
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID cupidatat-90s-lo-fi-authentic-try-hard already defined
element h2: validity error : ID forage-occaecat-cardigan-qui already defined
element h2: validity error : ID hoodie-duis already defined
element h3: validity error : ID thundercats-ho already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID cupidatat-90s-lo-fi-authentic-try-hard already defined
element h2: validity error : ID forage-occaecat-cardigan-qui already defined
element h2: validity error : ID hoodie-duis already defined
element h3: validity error : ID thundercats-ho already defined
element nav: validity error : ID dl-menu already defined
element h3: validity error : ID figures-for-images-or-video already defined
element h4: validity error : ID one-up already defined
element h4: validity error : ID two-up already defined
element h4: validity error : ID three-up already defined
element h3: validity error : ID alternative-way already defined
element nav: validity error : ID dl-menu already defined
element sup: validity error : ID fnref:1 already defined
element h3: validity error : ID highlighted-code-blocks already defined
element h3: validity error : ID standard-code-block already defined
element h3: validity error : ID fenced-code-blocks already defined
element h3: validity error : ID github-gist-embed already defined
element li: validity error : ID fn:1 already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID usage already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID html-elements already defined
element h1: validity error : ID heading-1 already defined
element h2: validity error : ID heading-2 already defined
element h3: validity error : ID heading-3 already defined
element h4: validity error : ID heading-4 already defined
element h5: validity error : ID heading-5 already defined
element h6: validity error : ID heading-6 already defined
element h3: validity error : ID body-text already defined
element h3: validity error : ID blockquotes already defined
element h2: validity error : ID list-types already defined
element h3: validity error : ID ordered-lists already defined
element h3: validity error : ID unordered-lists already defined
element h2: validity error : ID tables already defined
element h2: validity error : ID code-snippets already defined
element h2: validity error : ID buttons already defined
element h2: validity error : ID kbd already defined
element h2: validity error : ID notices already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID installation already defined
element h2: validity error : ID preview already defined
element h2: validity error : ID site-setup already defined
element h3: validity error : ID site-wide-configuration already defined
element h4: validity error : ID title already defined
element h4: validity error : ID bio already defined
element h4: validity error : ID description already defined
element h4: validity error : ID url already defined
element h4: validity error : ID readingtime already defined
element h4: validity error : ID logo already defined
element h4: validity error : ID background already defined
element h4: validity error : ID google-analytics-and-webmaster-tools already defined
element h4: validity error : ID mathjax already defined
element h4: validity error : ID disqus-comments already defined
element h3: validity error : ID navigation-links already defined
element h2: validity error : ID layouts-and-content already defined
element h3: validity error : ID feature-image already defined
element h3: validity error : ID comments already defined
element h2: validity error : ID questions already defined
element h2: validity error : ID license already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID about already defined
element h2: validity error : ID blog already defined
element h2: validity error : ID code already defined
element h2: validity error : ID example already defined
element h2: validity error : ID feature already defined
element h2: validity error : ID highlighting already defined
element h2: validity error : ID image already defined
element h2: validity error : ID images already defined
element h2: validity error : ID jekyll already defined
element h2: validity error : ID markdown already defined
element h2: validity error : ID mathjax already defined
element h2: validity error : ID moon already defined
element h2: validity error : ID post already defined
element h2: validity error : ID readability already defined
element h2: validity error : ID sample already defined
element h2: validity error : ID sample post already defined
element h2: validity error : ID syntax already defined
element h2: validity error : ID test already defined
element h2: validity error : ID theme already defined
element h2: validity error : ID video already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element nav: validity error : ID dl-menu already defined
element h2: validity error : ID features already defined
element h2: validity error : ID preview already defined
element h2: validity error : ID getting-started already defined
done in 2.922 seconds.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TaylanTatli/Moon/issues/30, or mute the thread
https://github.com/notifications/unsubscribe/AIhzn5f18x2-wSAu9_4Qg8zqMsAOkmYmks5qKYsGgaJpZM4IzGBG
.

unrelated to hosting. I get this when I run locally.

I don't get any error. I'm on ruby 2.3.1p112. Did you make any customization or something on theme?

I hadn't at the time. I''ll upgrade ruby and see how it goes.

Is this problem fixed?

Hey @caranicas, check this: https://github.com/sparklemotion/nokogiri/issues/1208

yeah upgrading ruby did it. i'm on ruby 2.3.0p0 now and running fine.

Ok then, I'm closing this. :)


Update org1peer1-deployment.yaml

@ljbennett62 we can reject this one. We will add this with another PR.

Rejecting this pull request

rejected


"Allow Update Compliance processing" GPO setting missing

Information on the new (since Win10 1909) GPO setting "Allow Update Compliance processing" is missing.
If not set (= Not configured) - according to its description - Update Compliance is NOT allowed to process any data from the device.

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

ID: 37a5ef77-5d80-ce40-7243-c96f708e907c
Version Independent ID: 3e24d136-6af4-2531-31fd-feac09f37901
Content: Manually configuring devices for Update Compliance - Windows Deployment
Content Source: windows/deployment/update/update-compliance-configuration-manual.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@cinglis-msft can you look into this?

@Saibaschbeis, we are looking into this. Right now, this policy is not required. It will be required in the future. GPO docs gave us away. :)

Great, thanks for the information 😊
From: Charles Inglis @.>
Sent: Wednesday, 14 April 2021 23:32
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: Saibaschbeis @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] "Allow Update Compliance processing" GPO setting missing (#9421)
@Saibaschbeis https://github.com/Saibaschbeis , we are looking into this. Right now, this policy is not required. It will be required in the future. GPO docs gave us away. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/9421#issuecomment-819857588 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQZRRO4SN5HXZE5ICXOKJ3TIYCVRANCNFSM425XB3TQ .  https://github.com/notifications/beacon/ADQZRRMFAQMIYV6BK42BQYTTIYCVRA5CNFSM425XB3T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGDPARNA.gif


Egress with mTLS

Description
When we follow guide for egress rules with istio configured with mTLS we can't reach external service
Environment
istioctl version
Version: 0.4.0
GitRevision: 24089ea97c8d244493c93b499a666ddf4010b547-dirty
GitBranch: 6401744b90b43901b2aa4a8bced33c7bd54ffc13
User: root@cc5c34bbd1ee
GolangVersion: go1.8

kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.1", GitCommit:"3a1c9449a956b6026f075fa3134ff92f7d55f812", GitTreeState:"clean", BuildDate:"2018-01-04T11:52:23Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"clean", BuildDate:"2017-11-20T05:17:43Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Steps to reproduce
we've followed

https://istio.io/docs/tasks/traffic-management/egress.html

kubectl describe egressrules httpbin-egress-rule
Name:         httpbin-egress-rule
Namespace:    default
Labels:       <none>
Annotations:  <none>
API Version:  config.istio.io/v1alpha2
Kind:         EgressRule
Metadata:
  Cluster Name:
  Creation Timestamp:             2018-01-22T17:12:23Z
  Deletion Grace Period Seconds:  <nil>
  Deletion Timestamp:             <nil>
  Resource Version:               2251641
  Self Link:                      /apis/config.istio.io/v1alpha2/namespaces/default/egressrules/httpbin-egress-rule
  UID:                            69776ce4-ff97-11e7-89c2-029743d47442
Spec:
  Destination:
    Service:  httpbin.org
  Ports:
    Port:      80
    Protocol:  http
Events:        <none>

Issue
On container
# curl --verbose http://httpbin.org
* Rebuilt URL to: http://httpbin.org/
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 80 failed: Connection refused
* Failed to connect to httpbin.org port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to httpbin.org port 80: Connection refused

On istio-proxy container
curl http://httpbin.org/headers
{
  "headers": {
    "Accept": "*/*",
    "Connection": "close",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.47.0"
  }
}

Iptables without egress
sudo iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
ISTIO_REDIRECT  all  --  anywhere             anywhere             /* istio/install-istio-prerouting */

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ISTIO_OUTPUT  tcp  --  anywhere             anywhere             /* istio/install-istio-output */

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain ISTIO_OUTPUT (1 references)
target     prot opt source               destination
ISTIO_REDIRECT  all  --  anywhere            !localhost            /* istio/redirect-implicit-loopback */
RETURN     all  --  anywhere             anywhere             owner UID match istio-proxy /* istio/bypass-envoy */
RETURN     all  --  anywhere             localhost            /* istio/bypass-explicit-loopback */
ISTIO_REDIRECT  all  --  anywhere             anywhere             /* istio/redirect-default-outbound */

Chain ISTIO_REDIRECT (3 references)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere             anywhere             /* istio/redirect-to-envoy-port */ redir ports 15001

iptables with egress
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
ISTIO_REDIRECT  all  --  anywhere             anywhere             /* istio/install-istio-prerouting */

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ISTIO_OUTPUT  tcp  --  anywhere             anywhere             /* istio/install-istio-output */

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain ISTIO_OUTPUT (1 references)
target     prot opt source               destination
ISTIO_REDIRECT  all  --  anywhere            !localhost            /* istio/redirect-implicit-loopback */
RETURN     all  --  anywhere             anywhere             owner UID match istio-proxy /* istio/bypass-envoy */
RETURN     all  --  anywhere             localhost            /* istio/bypass-explicit-loopback */
ISTIO_REDIRECT  all  --  anywhere             anywhere             /* istio/redirect-default-outbound */

Chain ISTIO_REDIRECT (3 references)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere             anywhere             /* istio/redirect-to-envoy-port */ redir ports 15001

@vadimeisenbergibm , please feel free to close this issue if it is solved.

solved by the new v1alpha3 design


Null ref in ToggleBootstrapFileProvider, FileSystem is null.

Describe the bug
Filesystem is internal so it cannot be created manually, and is not initialised until the Services are constructed. This means there is no way to create a ToggleBootstrapFileProvider in the UnleashSettings, and UseBootstrapFileProvider does not work because FileSystem is null. This means you cannot use the ToggleBootstrapFileProvider to generate the initial cache.
To Reproduce
Steps to reproduce the behavior:

Create an unleash settings, configure as normal.
Call UnleashSettings.UseBootstrapFileProvider
Create the unleash client
Null reference exception on ToggleBootstrapFileProvider.Read, line 32.

Expected behavior
Toggles should be loaded from the supplied files
Screenshots

Additional context
I'm using this sdk in Unity engine to connect to GitLab feature flags, which use unleash. I need to read from a local backup since devices aren't guaranteed to have internet access, and versions might be out of date, so we're taking a snapshot of all the feature flags and saving them in our ci pipeline.
I'm currently working around that problem by duplicating the ToggleBootstrapFileProvider, and using System.File to read without the IFileSystem.

Thank you @TomKnowlesPlayside! We'll have a look!

Thank you, I appreciate it


Add missing runtime dependencies

Add pyspark and plotly to runtime dependencies.
This resolves some errors while attempting to run some of the code snippets from your blog.
Missing module spark where code output has spark.createDataFrame
Missing module plotly after resolving the previous error.
NOTE:

The test_spark_ai.py is failing due to mismatch in the json cache data - I am not sure if it's due to me running on WSL or the source car sales blog website has changed or something else. But the actual code snippets are now running fine. I have saved my own json cache data so I can add it to this PR if required.

I am running with gpt-3.5 as I am new signup at openai.com with not yet access to gpt-4.

I have left out the poetry.lock file in this PR as I presume it will be autogenerated by users cloning and building your repo.

Please feel free to directly make further commits to this PR as part of any review changes required.

@vjr Thanks for the contribution. Merging this one to master.


fix i18n version of get subjects endpoint

There was errors in the previous SQL query, it tried to fetch a field (alternative_form) which is not present in the subject table.
I think this is because the i18n version of the endpoint was originally created by Toffe Björkskog for the Mechelin project, and they have a slightly different table structure than SLS.

You can try the query with, for instance, :p_id = 2 and :lang = 'ar'


Nat.cast_succ simp lemma can be overly aggressive with num literals

In some cases, Nat.cast_succ seems to cause undesirable behavior when the simplifier is invoked in the presence a num literal that's converted to an Int. Mathlib.Data.Nat.Cast.Defs is a transitive dependency from Mathlib.Init.Data.Int.Basic, so it's not hard to pull in the lemma.
Contrived mwe; these both hit maximum recursion depth while attempting to unfold 1000 to (1 + 1 + 1 + .. n) :
@[simp] def numDays (isLeapYear : Bool) : Nat := 1000 + if isLeapYear then 1 else 0

example (x : Int) : x <= 1000 → x <= (Int.ofNat (numDays true)) := by
  intro h
  simp [Int.le_trans h]

example (x : Int) : x <= 1000 → x <= (numDays true) := by
  intro h
  simp [Int.le_trans h]

This has also been discussed on Zulip here.
It seems the given mwe no longer works (nor do some mentioned in the zulip thread) since the priority of Nat.cast_succ was adjusted, but the problem still occurs in places.
Here's another mwe in a context where the rational numbers exist:
example : (Int.ofNat (12 * 2) : ℚ) = n := by simp

One possible solution (repeated here from Zulip) is to make the lemma Nat.cast_ofNat in Mathlib.Data.Nat.Cast.Defs use unification instead of typeclass search. Nat.cast_ofNat is tried during simp, but fails since the instances aren't defeq. Placing the following adjusted version before the prior example fixes the issue.
@[simp, norm_cast] theorem Nat.cast_ofNat' {_ : NatCast R} [Nat.AtLeastTwo n] :
  (Nat.cast (OfNat.ofNat n) : R) = OfNat.ofNat n := rfl

Nat.cast has been made reducible as of leanprover/std4#101, and mathlib4 uses a sufficiently recent version of std4 to include it. The prior examples in this thread are all nonproblematic now—maybe this issue can be closed?


Sharing Cookie between Aspnet core and legacy .NET app using Cookie Middleware

I am trying to share cookie between Aspnet Core App (using 4.6.1 framework) and Aspnet WebForms (using 4.6.1 framework) using above documentation. I am using Redis implementation of  ITicketStore for Aspnet Core Cookie Middleware and have Redis implementation of IAuthenticationSessionStore for Webforms CookieMiddleware. Now my question, is it possible to share cookie between my two .NET apps using Redis as Session Store since both use different version of AuthenticationTicket serialized into same instance of Redis  for sharing session??
AuthenticationTicket used in Core App is from Microsoft.AspNetCore.Authentication
AuthenticationTicket used in Webforms App is from Microsoft.Owin.Security
I hope my problem statement is clear.
Please advise here.

You should be able to use the Microsoft.Owin.Security.Interop package in your Katana / ASP.NET 4.x (e.g. Web Forms) application, which will make its cookies be compatible with ASP.NET Core.
You can use the serializer in this package for both the ticket store and the session store.

Comments on closed issues are not tracked, please open a new issue with the details for your scenario.


Add refreshing conditional class

Added conditional refresh class to list items in mailboxList. Resolves #105
Readiness checklist

[✅ ] Cypress tests passing?
[❌ ] New cypress tests added?
[✅ ] Included before/after screenshots, if the change is visual

https://www.loom.com/share/4db0809a8c57452590f8f4a2a63fc299
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@heathergh Thanks for the feedback! They're fixed :)


GenerateAccessToken returns "unsupported_grant_type" on 6.7.0

Calling DocuSignClient.GenerateAccessToken on SDK v6.7.0 returns the following exception:
DocuSign.eSign.Client.ApiException: Error while requesting server, received a non successful HTTP code with response Body: {"error":"invalid_grant","error_description":"unsupported_grant_type"}
at DocuSign.eSign.Client.DocuSignClient.GenerateAccessToken(String clientId, String clientSecret, String code)
I eventually resolved the issue by downgrading to 6.6.0. After some investigation I suspect this has been caused by the changes to the request body here: https://github.com/docusign/docusign-esign-csharp-client/commit/bbc7e3df590ff5a961fb3efc239405367d3bc380#diff-ba42f5f1289226fd9b2414cf211518bd5cdd7a81e4d5764fe74fb90ee6b2ada7R91

Thanks for submitting the issue. I was able to reproduce the same issue and reported internally.

I had the same issue, and overrided the behaviour of DocuSignClient.GenerateAccessToken. It is indeed related to the changes you mentionned (here : https://github.com/docusign/docusign-esign-csharp-client/commit/bbc7e3df590ff5a961fb3efc239405367d3bc380#diff-ba42f5f1289226fd9b2414cf211518bd5cdd7a81e4d5764fe74fb90ee6b2ada7R91)
I only had to change the contentType of the docusignRequest to add "application/x-www-form-urlencoded" in the GenerateAccesToken implementation.
Looks like so :

May I open a pull request to bring this fix in the code base ?

Hi all - the GenerateAcessToken() method should be fixed in the latest 6.8.0 version released today.


regG(): X.test is not a function

the 2nd input should be a regular expression. maybe i should have had the function say that, but this is not a problem

https://chasyxx.github.io/EnBeat_NEW/#EnBeat2-q1ZKzk9JVbJSKoqwra7VKYrQK0ktLrHV0LS10yjRUjc0MjZRj9YoUSuxszM00lQtidXUKUpNd9coASrVVKoFAA i think i got it by defining 1 variable and 1 function


When inserting a document from java, allow a flow to run

When I insert a document into the staging database from Java I want to be able to run a flow.
With PUT /v1/documents you can specify a transform which would work similar to the MLCP transform.
http://docs.marklogic.com/REST/PUT/v1/documents
We should consider multiple ways that people may run this. 1) they may be running from a Java container that is accepting real-time inputs, or is consuming data from a queue. 2) someone may want to call MarkLogic directly. The PUT call requires a little extra knowledge about which transform to invoke that "makes it work." 3) a REST Extension or other entry method may be used and it should be easy to get that REST Extension to put data directly into the Prod database as a conformed doc (perhaps also storing to Staging, or perhaps not). 4) lastly, some raw ingest may want to automatically run a conform step, and may want to skip the RAW persist step in staging.

Hi @paxtonhare and @damonfeldman,
I'm quite new in document ingestion with transforms and I have several questions regarding this issue as follows:

How would I know which flow will be run when inserting a document?
I can see that we want to run the flow whenever we insert a document done from a Java container, direct call from MarkLogic, etc. Is running a flow automatic whenever we insert a document or explicitly called? I'm assuming the latter given my question on 1.

Tagging @gmarintes for visibility.

Mae,
See http://docs.marklogic.com/guide/rest-dev/documents#id_84475
when you call PUT /v1/documents you specify a custom transform (which you need to write). That transform would look similar to Glenn's MLCP transform https://github.com/marklogic/data-hub-in-a-box/blob/master/data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/mlcp-flow-transform.xqy
The docs I linked above describe how to pass parameters to the transform itself.  trans:paramname
That will allow you to specify which flow to run.

Also, your custom transform would live here: https://github.com/marklogic/data-hub-in-a-box/tree/master/data-hub/src/main/resources/ml-modules/transforms

Should we make this transform customizable like another plugin? That would be consistent with other customizable code, and would allow real-time ingest to behave differently from batch ingest. E.g. it could look for any related docs needed and kick off the transform immediately, so Final data is created right away. Also more logging or different security could be added.

I vote we leave any such customizations as an exercise for the user. They can write their own transform.
Also, I'm not clear what you mean. The nature of this transform is that the document content is sent to MarkLogic in a PUT. That content is fed through this transform which happens to send the content through a flow. The output of the flow is then written to disk.

Is the transform hard-coded and internal or visible/edit-able? I'm suggesting it be generated into the scaffolding like a plugin, with a default implementation that invokes the input flow on the content.
So I'm thinking of one default transform per flow with a default implementation that runs the flow that the transform (e.g. "realtime-ingest.xqy") is part of.
Are we saying the same thing?

We are saying similar things. I was proposing we place the "realtime-ingest.xqy" in the DHIB Jar thus making it unaccessible to the end user. We are in agreement on what that transform should do.
My fear with putting said transform into the scaffolding is that we are making it very easy for users to break the ingest by messing with the file. Also, we would need to supply an xqy and an sjs version of it depending on their prefs.
I would rather just document that you can write your own transform if you need to. Make it an "off the rails" kind of feature.
What type of customizations do you see the end user making to this transform? Perhaps that will help me better see your perspective.

Great point (I think). To confirm what you're saying - we will have custom REST extensions available for flows, including Ingest flows, so people can build an alternative ingest flow that does something different, and use that. The default real-time ingest endpoint will still be there.
We'll need to document how to call a flow so people can build a custom REST extension that calls the ingest flow, but I've always assumed a run-flow() function will be in scope so people can use flows in alternative ways.
is that the idea? If so I'm good with that.
About what people may do differently for real-time: I can imagine that real-time ingest would be immediately fed to the conformance flow (perhaps following Sam's pattern where it looks for related docs to see if the full package is ready for transform). Also, different logging and data provenance may be added. Errors may be handled somewhat differently to give realtime feedback rather than batch feedback.

Hi @paxtonhare  and @damonfeldman,
I am now able to understand what you are discussing in this page. As discussed, the new custom transform will be added under https://github.com/marklogic/data-hub-in-a-box/tree/master/data-hub/src/main/resources/ml-modules/transforms. I can see that the content of that directory is already being deployed in MarkLogic during install (DataHub.install()). Given such, I only need to create the transform xqy inside it (I'm thinking of "runFlow.xqy" as a filename instead as it is what is actually doing) and I can name the transform to be "runFlow". I'll pattern "runFlow.xqy" with https://github.com/marklogic/data-hub-in-a-box/blob/master/data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/mlcp-flow-transform.xqy as it is already running the flow (though it's running it using mlcp) then check what else needs to be done to capture all scenarios described in the ticket.
I'll keep you posted. Let me know if I missed anything and if you have comments.


A minor error in README.md, apparently

The example given is slightly off:
            Base64 decoder = new Base64(true);
            byte[] secret = decoder.decodeBase64(CLIENT_SECRET);

decodeBase64() is a static function, but it's being called in the context of a java instance variable - this might be legal (i've been copying and altering for scala myself) but it doesn't really make sense, so I would suggest
            //Base64 decoder = new Base64(true);
            byte[] secret = Base64.decodeBase64(CLIENT_SECRET);

or
            byte[] secret = decoder.decode(CLIENT_SECRET);

Readme updated.


Read image bug

hi,
When I tested all the features of croper. I encountered an exception when opening images. Exceptions appear only if these options are enabled:
rotatable: false,
scalable: false,
I have attached one of these images. You can repeat this error. Use your demo page https://fengyuanchen.github.io/jquery-cropper/

0x800a13e1 - JavaScript Runtime Error: DataView is trying to access data outside the specified buffer length

You may have to set the checkOrientation option to false as your image does not have valid Exif information.

I have fixed this by ignoring range error: https://github.com/fengyuanchen/cropperjs/commit/2ca48d44569eeac2d11887eef30c53a3110829e6


chore: Add collectorist to helm charts.

Ah, I actually can remove the POD_IP, because I'm advertising by the service name.


[improve] [broker] improve read entry error log for troubleshooting

Motivation
2023-09-12T05:35:43,141+0000 [pulsar-msg-expiry-monitor-25-1] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/default/persistent/xxx] Failed to get message with ledger 7213399:0 the ledgerId does not belong to this topic or has been deleted.
2023-09-12T05:35:43,141+0000 [pulsar-msg-expiry-monitor-25-1] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/xxx] Error while getting the oldest message
2023-09-12T05:35:43,292+0000 [pulsar-msg-expiry-monitor-25-1] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/xxx] Error while getting the oldest message
2023-09-12T05:35:43,292+0000 [pulsar-msg-expiry-monitor-25-1] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/default/persistent/xxx] Failed to get message with ledger 7210605:2 the ledgerId does not belong to this topic or has been deleted.
2023-09-12T05:35:43,292+0000 [pulsar-msg-expiry-monitor-25-1] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/default/persistent/xxx] Failed to get message with ledger 7210605:2 the ledgerId does not belong to this topic or has been deleted.
2023-09-12T05:35:43,292+0000 [pulsar-msg-expiry-monitor-25-1] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/xxx] Error while getting the oldest message
2023-09-12T05:35:43,529+0000 [pulsar-msg-expiry-monitor-25-1] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/PRICING/persistent/xxx] Failed to get message with ledger 7168220:3818 the ledgerId does not belong to this topic or has been deleted.
2023-09-12T05:35:43,529+0000 [pulsar-msg-expiry-monitor-25-1] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/PRICING/xxx] Error while getting the oldest message

There is a log of error logs indicating that the broker tries to read a deleted ledger. Since there are a lot of subscriptions under this topic(durable and non-durable) and the ledger id already removed from the topic's ledgers list, we do not know what happened.
Modifications
If the read entry fails, add the cursor name to the error log.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: x

Codecov Report

Merging #21169 (c6310a8) into master (550476f) will increase coverage by 36.34%.
Report is 4 commits behind head on master.
The diff coverage is 43.24%.

@@              Coverage Diff              @@
##             master   #21169       +/-   ##
=============================================
+ Coverage     36.84%   73.18%   +36.34%
- Complexity    12179    32466    +20287
=============================================
  Files          1698     1887      +189
  Lines        130330   140064     +9734
  Branches      14247    15427     +1180
=============================================
+ Hits          48016   102509    +54493
+ Misses        75966    29460    -46506
- Partials       6348     8095     +1747

Flag
Coverage Δ

inttests
24.04% <27.02%> (-0.11%)
:arrow_down:

systests
24.98% <21.62%> (-0.12%)
:arrow_down:

unittests
72.47% <43.24%> (+40.51%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...che/bookkeeper/mledger/impl/ManagedCursorImpl.java
78.96% <0.00%> (+33.33%)
:arrow_up:

...che/bookkeeper/mledger/impl/ManagedLedgerImpl.java
81.27% <0.00%> (+31.27%)
:arrow_up:

...keeper/mledger/impl/ReadOnlyManagedLedgerImpl.java
53.62% <0.00%> (+53.62%)
:arrow_up:

...pulsar/broker/admin/impl/PersistentTopicsBase.java
63.81% <0.00%> (+53.63%)
:arrow_up:

...va/org/apache/pulsar/broker/service/ServerCnx.java
71.28% <0.00%> (+29.84%)
:arrow_up:

...roker/service/persistent/PersistentReplicator.java
68.43% <0.00%> (+25.29%)
:arrow_up:

...ker/service/persistent/PersistentSubscription.java
75.93% <0.00%> (+25.07%)
:arrow_up:

...sar/broker/service/persistent/PersistentTopic.java
80.54% <0.00%> (+26.19%)
:arrow_up:

...r/impl/SnapshotSegmentAbortedTxnProcessorImpl.java
78.51% <0.00%> (+78.51%)
:arrow_up:

...rg/apache/pulsar/client/impl/PulsarClientImpl.java
74.38% <66.66%> (+14.26%)
:arrow_up:

... and 3 more

... and 1438 files with indirect coverage changes


Create NOTICE.txt

Before submitting, please confirm you've

[X] read and understood our Contributing Guidelines
[X] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Create NOTICE.txt
Issue link
Pre-requisite for inline spellchecker: https://github.com/mattermost/desktop/issues/225
Test Cases
N/A
Additional Notes
This is still a work-in-progress with a few additional steps

[x] @yuya-oc verify the source (github link) and description included for each dependency is correct

[x] @jasonblais update based on feedback

[x] @yuya-oc list any libraries that were modified. I wrote this document assuming none of them were

[x] @jasonblais properly attribute dependencies of src/package.json that were combined into a single JavaScript file by using webpack and hence modified (although the original dependencies weren't)

[x] @yuya-oc remove/replace the chai-as-promised dependency, since its license isn't acceptable: https://github.com/mattermost/desktop/pull/502
[x] @jasonblais confirm proper attribution of react libraries
[x] @jasonblais confirm proper attribution of babel libraries
[x] @jasonblais confirm proper attribution of electron-builder libraries
[x] @jasonblais add url-loaded package
[ ] @jasonblais ask for final review from it33

Thanks, I will check.
Not urgent, but we should automate this process to maintain NOTICE.txt in future. Would you explain how to write the file?

list any libraries that were modified. I wrote this document assuming none of them were

Now all dependencies are used as is. But dependencies of src/package.json are combined into a single JavaScript file by using webpack. This means original files are modified though, what about this?

Not urgent, but we should automate this process to maintain NOTICE.txt in future. Would you explain how to write the file?

I just wrote it manually --
I don't think we need to automate it as we only need to update NOTICE.txt when we add/remove a dependency.

Now all dependencies are used as is. But dependencies of src/package.json are combined into a single JavaScript file by using webpack. This means original files are modified though, what about this?

Awesome, that's useful to know. I added a follow-up task to make the necessary modifications.

I don't think we need to automate it as we only need to update NOTICE.txt when we add/remove a dependency, which happens quite rarely.

I understood by reading NOTICE.txt. It seems hard to automate.

Thanks! Updated with the following two commits:

https://github.com/mattermost/desktop/pull/488/commits/acedeb4f94de8c51d785c053180efc72fa93fe76
https://github.com/mattermost/desktop/pull/488/commits/7baf5c9542ce5874e5b18a6a120cce3f1570d012

In your comment here: https://github.com/mattermost/desktop/pull/488#issuecomment-289212099

Now all dependencies are used as is. But dependencies of src/package.json are combined into a single JavaScript file by using webpack. This means original files are modified though, what about this?

Was the only modification that they were combined into a single JavaScript file, but otherwise no change?

Was the only modification that they were combined into a single JavaScript file, but otherwise no change?

I believe yes.
Just for note. If #387 was applied, combined files are definitely modified. On the other hand, simple-spellchecker is never modified because it's not combined into a single JS. It's not adapted to webpack (see #277).

Fixed the typos and added a contains a modified portion of... for libraries in src/package.json.
I have a task for myself to create a separate attribution list on how they were modified (were combined into a single JavaScript file by using webpack and hence modified. Plus perhaps further changes later with #387), but this will be sufficient for now and is how it's handled in other mattermost repos.

Let me know if this looks okay @yuya-oc and I can share with Ian for final review.

Awesome! I've queued it for my next meeting with Ian on Thursday

Approved by Ian


Error: Unable to call file

Describe the bug
I try the code in the section Sending files and form data but it fail with Error: Unable to call `file`, which is undefined or falsey
To Reproduce

Copy the sample code in Sending files and form data to a file sendfiles.yml
Create a dummy file and update the respective path in sendfiles.yml:   echo 'test content' > test.txt
Execute Strest:  strest sendfiles.yml

Return
[ Strest ] Found 1 test file(s)
[ Strest ] Schema validation: 1 of 1 file(s) passed

✖ Testing postwithfile failed (0.007s)
[ Validation ] Failed to process postwithfile request line using nunjucks:
 Template render error: (unknown path) [Line 9, Column 26]
  Error: Unable to call `file`, which is undefined or falsey

Response:
null
[ Strest ] Failed before finishing all requests

Additional context

Strest installation:   npm i -g @strest/cli
node --version:  v8.10.0

Same here, turns out the commit #141 is not part of the latest release yet.
Building the master with the the commit #141 leads to following JS Error: UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object
at Function.from (buffer.js:305:9)
at FormData.getBuffer ...


Added working steps in Reuleaux Triangle within a Square which is inscribed within a Circle

Related Issue

Info about Issue or bug

fix #3546
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@sairish2001 Made a new PR :)


Added Task Reminder

Closes: #489

Title: Task Reminder
Name: Ananya Gupta
Identify yourself: GSSOC

Describe the add-ons or changes you've made 📃
I have added the Task Reminder Application
The changes include:

Task Management: Added the ability to add, edit, and delete tasks.
Due Date and Time: Integrated date and time pickers for setting task deadlines.
Priority Levels: Enabled the assignment of priority levels (Low, Medium, High) to tasks.
Persistent Storage: Used local storage to ensure tasks are saved and persist across browser sessions.
Responsive Design: Improved the user interface to be optimized for various screen sizes.

How Has This Been Tested? ⚙

The enhancements have been tested thoroughly through:

Manual testing by adding, editing, and deleting tasks to ensure functionality works as expected.
Verifying that tasks are saved in local storage and persist after closing and reopening the browser.
Checking the responsiveness of the design on different devices and screen sizes.
Ensuring that the priority levels are correctly assigned and displayed for each task.

Screenshots 📷

Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Note to reviewers 📄

Please review the added features and enhancements. Let me know if there are any areas that need further improvement or adjustments. Thank you!

@Avdhesh-Varshney sir i am really confused. can you please tell me what exactly i need to change please.

create your own branch not commit in main branch also read other guidelines too


Need a tool/linter to blacklist imports between specific packages

Right now we have multiple independent components in a single repo. In order to promote isolation between these, it would be useful to have a linter that will block imports that are blacklisted. For example, "pilot/ cannot import mixer/", or "operator/ cannot import pilot/".
https://github.com/OpenPeeDeeP/depguard does this but its at the repo scope, not package

https://github.com/kubernetes/code-generator/tree/master/cmd/import-boss

This will be especially useful to ban imports of mixer before we move/remove it

Right now we use depguard, I think it's good enough. If we have more use cases we can wire one up with goda


More texture file formats

Is your feature request related to a problem? Please describe.
We only support a few file formats. If we want people to use the plug-in, we should support more of the most common file formats such as JPG etc.
Describe the solution you'd like
I'd like to see support for more image formats.
Describe alternatives you've considered
I considered forcing people to use png files everywhere, but that doesn't seem like a good solution.
Additional context
Not applicable.

We support jpeg, tga and bmp now. If we need more types I'll reopen the issue.


Fix sphinx-tabs style

Hide tab contents border below active tab
Remove padding around tabs
Fixes #135

thanks for the improvement! Could you show a link (or paste an image) of what this looks like on your use-case?

in that case - thanks for fixing this! it is much appreciated!


merge pvnet and pvnet summation

I saw that pvnet_summation installs pvnet and pvnet install pvnet_summation. This seems a bit circular?
I wonder if bring in all the pvnet summation stuff into pvnet here might be a good thing to do?
could pvnet_summation be a sub model/folder in pvnet

what do you think @dfulu?

We could, but I think it may be cleaner to keep them separate. They have different sets of config files, different models, different datamodules, and different training scripts. So it would mean having pairs of subdirectories like config/pvnet_summation and config/pvnet and so on if they were combined into the same library.
Currently pvnet only imports the summation model for the app. If we wanted to keep the imports unidirectional, the app could be moved to PVNet summation?

hmmm, interesteding, the app could be moved to pvnet_summation. And then run it off there?
Could also do a pvnet-liv that both pvnet load shared componetns from.
Hmm, im not sure what the right thing here is to do

For posterity: We decided to create a new repo pvnet_app to run the production app. This allows us to keep separate the experimental and production code and keep the PVNet summation and PVNet separate as well.
Keeping the two model libraries separate seemed cleaner to avoid confusion in having two sets of configs, models, datamodules etc. Removing the app to its own separate repo means that now pvnet does not depend on pvnet_summation. This fixes the circular imports


Support for informational and message signs

Support for errorformat %I and %A.

Thanks! I'm sure a lot of people will appreciate this one.


Add Azure AD troubleshooting documentation and log gathering documentation

:white_check_mark: Validation status: passed
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.