[BUG] Upgrading to android tools gradle plugin 3.6.0+ breaks lombok

Describe the bug
it appears there are no property assessors generated.
To Reproduce
I've prepared minimal failing build:
https://github.com/darekxan/lomboktest/tree/broken_3.6.1
(sources, build output there)
Expected behavior
This one works, version 3.5.3
https://github.com/darekxan/lomboktest/tree/master
(sources, build output there)
Version info:

Lombok version v1.18.12
Android Studio 3.6.1 + javac 13.0.1 + kotlin 1.3.71 + kapt3

It's really annoying. We can't update android gradle plugin in any of our projects because of this. @rzwitserloot @rspilker can you look at this bug please ?

Can you at least point us to the source code of org.jetbrains.kotlin.kapt3.base.incremental.IncrementalProcessingEnvironment?

I don't know which is better, 3.5.3 or 3.6.1. I know that 3.5.3 doesn't fail the build. But there is a warning in the log that lombok is disabled. So probably the code doesn't do what you expect.
In your example, you've annotated TestModel with @Data, but you never call getTest().

I've located the code: https://github.com/JetBrains/kotlin/blob/master/plugins/kapt3/kapt3-base/src/org/jetbrains/kotlin/kapt3/base/incremental/incrementalProcessors.kt

My knowledge of Kotlin is limited, but is I look at the IncrementalProcessinEnvironment and the lombok source code at
https://github.com/rzwitserloot/lombok/blob/master/src/core/lombok/core/AnnotationProcessor.java#L86
a possible solution is to not only see if there is a field delegate but also look for processingEnv.

Can you see if the edge release fixes this problem?

Nope, it didn't help. I didn't manage to get plugin (net.ltgt.apt) to work, though I'm not sure it is strictly required. Without this plugin it still complaints about field access inside builder class e.g. like this:
@Builder
public class MyConfiguration {
    @Builder.Default
    public final Integer mWidth = 352;

    public static class MyConfigurationBuilder {
        private MyConfiguration buildWithOptions() {
            System.out.println("just as an example: " + this.mWidth);
        }
    }
}

causing compilation error during build:
error: cannot find symbol
System.out.println("just as an example: " + this.mWidth);

I've first encounter this error in version of lombok 1.18.12 + android gradle plugin 3.6.2 + gradle 6.1.1. I've tried edge release and got same failure.
Version of lombok that works is 1.16.20, even 1.16.22 already doesnt, so change that happened in between these two is causing trouble. Version of android gradle plugin doesn't seem to have any impact on the issue, I've tried with versions 3.5.2, 3.6.2 and 4.0.0 - all works with lombok 1.16.20 and none with 1.16.22+.

@rspilker I managed to remove the warning by adding processingEnv and filer as field in https://github.com/rzwitserloot/lombok/blob/326955cde1e788c0038ab77d2db340666b5f568b/src/core/lombok/javac/apt/LombokProcessor.java#L469-L471
Unfortunately it still fails to compile the example project. A possible reason might be the IncrementalFiler defined in IncrementalProcessor. It seems like it collects a list of classes and skipping this might be a problem.

You can compile your example if you add
project.afterEvaluate {
    def variants = project.android.applicationVariants + project.android.testVariants
    variants.each { var ->
        def task = tasks["compile${var.name.capitalize()}JavaWithJavac"]
        task.doFirst {
            task.options.compilerArgs=[]
        }
    }
}

to your build.gradle. There might be some side effects, I only tried your example project.

Does anyone have a solution for this ? The latest release 1.18.16 does not solve this issue.


Reload resource after action is executed

I'm using this package to have ability to create a multiple resources at one (I have only one field that user needs to fill in, so I'm giving user text area, and later exploding text, and just saving all content). Issue that I have currently is that after saving is done, resource page is not updated, so I'm still looking at old resource, and I need manually reload page to see new data.
It would be nice to have option, where I could set, that after action is done, reload resource data.

That's a common request on Nova I believe, I think that would be handled inside the Nova Action rather than in our package.
Could you use a Redirect Response like Action::push to redirect to the same page?

If I use Action::push it does not do anything, because I'm already in a route that I'm passing (because I'd like to refresh same page). From docs you linked, only solution would be to use Action::redirect but this one will refresh whole page, rather than only resource place

Yeah, I think you're correct. Based on my research I don't see a way to handle that within Nova. It would make a great suggestion over on the nova-issues repo.
Check out standalone actions in today's Nova release. It looks like it might be a better option than our package. Always nice to use first party solutions.

Hi, I've figured this out and will release a new version with this feature soon.


Calibrating stereomicroscope & getting images from Amscope

Follow this instruction manual for capturing scale bar in image
https://wiki.nanofab.ucsb.edu/wiki/Measurements_and_Imaging_with_Amscope_Camera_-_Quickstart_Usage_Guide

Amscope help manual: not as helpful https://mmrc.caltech.edu/Microscope_Camera_AmScope/Software/AmScopeSetup_v3/AmScope_enhelp.pdf


[Microsoft][ODBC Driver 17 for SQL Server]Encryption not supported on the client

PHP Driver version or file name
5.8.0 (php_pdo_sqlsrv_74_nts_x86.dll)
SQL Server version
Azure SQL
Client operating system
Windows Server, using IIS/fastcgi
PHP version
7.4.9 (x86, NTS)
Microsoft ODBC Driver version
2<IP_ADDRESS>
Problem description
Our software is based on SabreDAV [1], running on Windows/IIS.
When using SQLExpress as backend, everything is working fine. As soon as we start using AzureSQL, we encounter the following error from time to time. This is from the PHP error log:
[24-Aug-2020 19:17:38 UTC] Failure while creating PDO context:SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Encryption not supported on the client.

[24-Aug-2020 19:17:38 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Encryption not supported on the client. in ..\web\server.php:93

We tried to narrow down the problem.
Our findings so far:

It only happens with AzureSQL, but not SQLExpress
It doesn't happen always, but once the php-cgi.exe process gets into this (broken) state, it will trigger the error on every request. This continues until IIS decides to recycle the php-cgi.exe process.
Sometimes, the server runs a couple of days without triggering the failure, sometimes the failure happens a couple of times per day.
Using MultipleActiveResultSets=false we can mitigate this failure.

We are quite puzzled at this point and would appreciate any help in further investigating this failure.
[1] https://sabre.io/

Hi @mbiebl the details in your report are much appreciated, and we have more questions:

You mentioned about turning off MARS could mitigate this issue. Is this consistent? Or the problem happens less frequently?
Where in your php script does this happen? Making connection to AzureSQL?
What's your typical connection string? Please use fake credentials.
Is it possible to provide ODBC trace up to the point of failure?
Have you tried other previous or latest ODBC drivers?

If you're going to provide an ODBC trace, you'll need to modify your pdo_sqlsrv script by adding TraceOn=1;, like this:
$conn = new PDO('sqlsrv:Server=xxx.xxx.xxx.xxx;TraceOn=1;Database=myDB', 'myID', 'myPwd');
To help us investigate or reproduce this issue, we welcome any additional repro scenario and/or steps.

Hi @yitam, thanks for your reply.

Hi @mbiebl the details in your report are much appreciated, and we have more questions:

You mentioned about turning off MARS could mitigate this issue. Is this consistent? Or the problem happens less frequently?

We had customers who reported this problem to us, so I tried to reproduce the issue inside a Windows VM on Azure.
The tests ran for several weeks. With MARS turned off, w didn't hit the problem anymore. With MARS enabled it usually took at most a day or two before such an error happened.
Now, this could be very much specific to my test scenario, but at least there the results were consistent.

Where in your php script does this happen? Making connection to AzureSQL?

The error/exception was triggered when instantiating the PDO object right at the beginning of the application, i.e. at the $pdo = new \PDO($db_dsn, $db_login, $db_pass); line:

$db_dsn = 'sqlsrv:Server='.$db_host.';Database='.$db_name;

try {
    $pdo = new \PDO($db_dsn, $db_login, $db_pass);
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch(PDOException $e) {
    error_log("Failure while creating PDO context:" . $e->getMessage());
    // Set HTTP response to 503: Service Unavailable
    http_response_code(503);
    // Generate a new exception which strips off the stack trace, as the stack
    // trace contains the login data and we don't want to log/show that information.
    throw new \PDOException($e->getMessage());
}

What's your typical connection string? Please use fake credentials.

See above

Is it possible to provide ODBC trace up to the point of failure?
Have you tried other previous or latest ODBC drivers?

If you're going to provide an ODBC trace, you'll need to modify your pdo_sqlsrv script by adding TraceOn=1;, like this:
$conn = new PDO('sqlsrv:Server=xxx.xxx.xxx.xxx;TraceOn=1;Database=myDB', 'myID', 'myPwd');
To help us investigate or reproduce this issue, we welcome any additional repro scenario and/or steps.

I tried ODBC tracing via TraceOn=1, but wasn't able to gather anything (meaningful). I suspect because the error already happens when the PDO object is created. At least I didn't find anything relevant in the PHP log.

Thanks @mbiebl for the prompt response.

when instantiating the PDO object
Yes that's when the driver attempts to make a connection.

We had customers who reported this problem to us, so I tried to reproduce the issue inside a Windows VM on Azure.
The tests ran for several weeks. With MARS turned off, we didn't hit the problem anymore. With MARS enabled it usually took at most a day or two before such an error happened (we put the server under load using a jmeter test).
Now, this could be very much specific to my test scenario, but at least there the results were consistent.

Do you connect to a SQL Server instance in that Windows VM on Azure or do you connect to an Azure SQL Server (also known as SQL Server on Azure)?
Thanks for the php script. Once you have connected, do you disconnect (exit the script, for example)?
Is it the same script you run again and again in a loop? Does the script do anything else?
At any rate, please provide additional details of your test scenario, if possible. Thanks!

Do you connect to a SQL Server instance in that Windows VM on Azure or do you connect to an Azure SQL Server (also known as SQL Server on Azure)?

The latter. The problem only happens with an  Azure SQL Server

Thanks for the php script. Once you have connected, do you disconnect (exit the script, for example)?
Is it the same script you run again and again in a loop? Does the script do anything else?

The application is based on SabreDAV (unfortunately I can't easily share it).
But https://github.com/sabre-io/dav/blob/master/examples/addressbookserver.php should give you an idea.
Instead of sqlite, we use sqlsrv

The VM is currently down, which means I'll have to wait until I can run further diagnostics.
Besides the ODBC tracing, is there something else which you would want me to try?

Thanks @mbiebl , yes odbc trace please. Also, if possible, test with a couple of different versions of ODBC driver. We want to know if this problem was introduced lately or already fixed.

The error/exception was triggered when instantiating the PDO object right at the beginning of the application

During your investigation, how often did you instantiate the PDO object in your application?

Do you expect this to be a problem in the ODBC driver or in php_pdo_sqlsrv_74_nts_x86.dll?

I turned on Trace=1 and now get file C:\Windows\Temp\SQL.LOG
The load test is only running for half an hour and this file is already 100M in size. I'm not sure if I can keep tracing enabled and hitting the error before filling up the hard disk.
I don't see a time stamp in the trace log, here is an excerpt:
php-cgi         202c-14f4       ENTER SQLAllocHandle
                SQLSMALLINT                  2 <SQL_HANDLE_DBC>
                SQLHANDLE           0x0F5B5B48
                SQLHANDLE *         0x071FB998

php-cgi         202c-14f4       EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
                SQLSMALLINT                  2 <SQL_HANDLE_DBC>
                SQLHANDLE           0x0F5B5B48
                SQLHANDLE *         0x071FB998 ( 0x0F5B5CC8)

php-cgi         202c-14f4       ENTER SQLSetConnectAttr
                SQLHDBC             0x0F5B5CC8
                SQLINTEGER                 104 <SQL_ATTR_TRACE>
                SQLPOINTER                 1 <SQL_OPT_TRACE_ON>
                SQLINTEGER                  -5

php-cgi         202c-14f4       EXIT  SQLSetConnectAttr  with return code 0 (SQL_SUCCESS)
                SQLHDBC             0x0F5B5CC8
                SQLINTEGER                 104 <SQL_ATTR_TRACE>
                SQLPOINTER                 1 <SQL_OPT_TRACE_ON>
                SQLINTEGER                  -5

php-cgi         202c-14f4       ENTER SQLDriverConnectW
                HDBC                0x0F5B5CC8
                HWND                0x00000000
                WCHAR *             0x72F82430 [      -3] "******\ 0"
                SWORD                       -3
                WCHAR *             0x72F82430
                SWORD                       -3
                SWORD *             0x00000000
                UWORD                        0 <SQL_DRIVER_NOPROMPT>

php-cgi         202c-14f4       EXIT  SQLDriverConnectW  with return code 0 (SQL_SUCCESS)
                HDBC                0x0F5B5CC8
                HWND                0x00000000
                WCHAR *             0x72F82430 [      -3] "******\ 0"
                SWORD                       -3
                WCHAR *             0x72F82430 <Invalid buffer length!> [-3]
                SWORD                       -3
                SWORD *             0x00000000
                UWORD                        0 <SQL_DRIVER_NOPROMPT>

Will it be possible to find the needle in the haystack without something like a timestamp?
Would it be possible to filter the trace relevant data only?

I also have the problem, that with tracing enabled, I now get:
[30-Nov-2020 17:24:15 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in C:\Program Files\XXX\vendor\sabre\dav\lib\CardDAV\Backend\PDO.php on line 224

Hi @mbiebl, your inputs are greatly appreciated.
How often do you connect in your application? If possible, periodically turn on/off the tracing (set TraceOn=1 or TraceOn=0) whenever a connection is made. When the problem does not occur, delete the logfile and then resume the tracing.
The keyword is TraceOn. Just to make sure. When the error Encryption not supported on the client resurfaces, you can stop the tracing and send us that log.

Do you expect this to be a problem in the ODBC driver or in php_pdo_sqlsrv_74_nts_x86.dll?

More likely ODBC driver as you said turning off MARS the problem seems to be mitigated. We also have reports from elsewhere that this problem did not seem to happen with an older version of ODBC driver (e.g. 17.1) but so far we can not reproduce this on our side at all.

The keyword is TraceOn. Just to make sure.

Yeah, sorry for the typo and the confusion. TraceOn=1 is what I used.

How often do you connect in your application?

I create the PDO object at the start of script and then use it througout the request.
The load test simulates 20 concurrent users who each trigger several HTTP requests (~45). Each user does that 5times. So it's about 9000 requests per test run.
The test itself is run every 15 mins, which makes this about 36000 requests / hour.

Thanks again @mbiebl for the additional info. Did you use ApacheBench for simulating 20 concurrent users making various requests every 15 mins or so?

we use jmeter: https://jmeter.apache.org/

@mbiebl you actually gave us a sliver of hope. ;) Your inputs have provided more details than we had before, so we might be able to reproduce the issue for further investigation.

SQL.LOG.txt
Attached is a trace log showing the problem (ODBC is at version 17.5.2).
I'm now testing 17.6.1

Here's a trace log with ODBC version 17.6.1 being installed:
SQL.LOG-17.6.1.txt

Thank you @mbiebl for your contributions! We will investigate and get back to you.

I've now also upgraded PHP to version 7.4.13 and also tested the x64 NTS build, but it didn't make a difference. The issue is still reproducible

Thanks @mbiebl we are trying to reproduce this using the latest 7.4.13 but so far nothing yet. Have you been able to reproduce without using SabreDAV? At any rate, what are the typical steps in your script after successfully connecting? Any insert or update or just simple fetching?

Basically only fetching:
)$ grep pdo PeopleSync/ -R
PeopleSync/CardDAV/Backend/PDO.php:     * @param \PDO $pdo DB context
PeopleSync/CardDAV/Backend/PDO.php:    public function __construct(\PDO $pdo,
PeopleSync/CardDAV/Backend/PDO.php:        parent::__construct($pdo);
PeopleSync/CardDAV/Backend/PDO.php:        $stmt = $this->pdo->prepare('SELECT principaluri FROM ' . $this->addressBooksTableName . ' WHERE id = ?');
PeopleSync/CardDAV/Backend/PDO.php:        $stmt2 = $this->pdo->prepare('SELECT subject, permissions FROM permissions WHERE addressbookid = ?');
PeopleSync/CardDAV/Backend/PDO.php:        if (strcasecmp($this->pdo->getAttribute(constant('PDO::ATTR_DRIVER_NAME')), 'sqlsrv') == 0) {
PeopleSync/CardDAV/Backend/PDO.php:            $stmt = $this->pdo->prepare('SELECT TOP 1 id, carddata, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ?');
PeopleSync/CardDAV/Backend/PDO.php:            $stmt = $this->pdo->prepare('SELECT id, carddata, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ? LIMIT 1');
PeopleSync/CardDAV/Backend/PDO.php:        $stmt = $this->pdo->prepare('SELECT id, uri, displayname, principaluri, description, synctoken FROM ' . $this->addressBooksTableName . ' WHERE principaluri = ?');
PeopleSync/CardDAV/Backend/PDO.php:        $shared = $this->pdo->prepare('SELECT id, uri, displayname, principaluri, description, synctoken FROM ' . $this->addressBooksTableName . ' WHERE shared = 1');
PeopleSync/AD.php:    private $pdo = null;
PeopleSync/AD.php:    function __construct(\PDO $pdo, $settingsTableName = 'systemsettings', $index = 1) {
PeopleSync/AD.php:        $this->pdo = $pdo;
PeopleSync/AD.php:        $stmt = $this->pdo->prepare('SELECT domainController, domainName, baseDN, directoryType, domainControllerUseSSL FROM ' . $settingsTableName . ' WHERE OID = ?');
)$ grep pdo PeopleSync/ -R
PeopleSync/CardDAV/Backend/PDO.php:     * @param \PDO $pdo DB context
PeopleSync/CardDAV/Backend/PDO.php:    public function __construct(\PDO $pdo,
PeopleSync/CardDAV/Backend/PDO.php:        parent::__construct($pdo);
PeopleSync/CardDAV/Backend/PDO.php:        $stmt = $this->pdo->prepare('SELECT principaluri FROM ' . $this->addressBooksTableName . ' WHERE id = ?');
PeopleSync/CardDAV/Backend/PDO.php:        $stmt2 = $this->pdo->prepare('SELECT subject, permissions FROM permissions WHERE addressbookid = ?');
PeopleSync/CardDAV/Backend/PDO.php:        if (strcasecmp($this->pdo->getAttribute(constant('PDO::ATTR_DRIVER_NAME')), 'sqlsrv') == 0) {
PeopleSync/CardDAV/Backend/PDO.php:            $stmt = $this->pdo->prepare('SELECT TOP 1 id, carddata, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ?');
PeopleSync/CardDAV/Backend/PDO.php:            $stmt = $this->pdo->prepare('SELECT id, carddata, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ? LIMIT 1');
PeopleSync/CardDAV/Backend/PDO.php:        $stmt = $this->pdo->prepare('SELECT id, uri, displayname, principaluri, description, synctoken FROM ' . $this->addressBooksTableName . ' WHERE principaluri = ?');
PeopleSync/CardDAV/Backend/PDO.php:        $shared = $this->pdo->prepare('SELECT id, uri, displayname, principaluri, description, synctoken FROM ' . $this->addressBooksTableName . ' WHERE shared = 1');
PeopleSync/AD.php:    private $pdo = null;
PeopleSync/AD.php:    function __construct(\PDO $pdo, $settingsTableName = 'systemsettings', $index = 1) {
PeopleSync/AD.php:        $this->pdo = $pdo;
PeopleSync/AD.php:        $stmt = $this->pdo->prepare('SELECT domainController, domainName, baseDN, directoryType, domainControllerUseSSL FROM ' . $settingsTableName . ' WHERE OID = ?');

Hi @mbiebl, so far we are unable to reproduce the issue, despite having tried in different VMs for days, including a Windows 10 VM on Azure, all connecting to an Azure SQL Database and running some queries.
Perhaps you can tell us the specs of your Windows VM on Azure, in particular OS, CPU, memory size, etc.
Also, is the VM in the same location as the Azure SQL Server? In our test case they are both in West US 2.

*** VM Details ***
VM-Type: Standard_B2s
OS: Windows 2019 Datacenter
Availability Zone: westeurope
VM-Template
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "extensions_Microsoft_Insights_VMDiagnosticsSettings_xmlCfg": {
            "type": "SecureString"
        },
        "extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountName": {
            "type": "SecureString"
        },
        "extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountKey": {
            "type": "SecureString"
        },
        "extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountEndPoint": {
            "type": "SecureString"
        },
        "virtualMachines_Server01_name": {
            "defaultValue": "Server01",
            "type": "String"
        },
        "disks_Server01_OS_externalid": {
            "defaultValue": "/subscriptions/<subscriptionID>/resourceGroups/Test-West/providers/Microsoft.Compute/disks/Server01_OS",
            "type": "String"
        },
        "networkInterfaces_Server01684_externalid": {
            "defaultValue": "/subscriptions/<subscriptionID>/resourceGroups/Test-West/providers/Microsoft.Network/networkInterfaces/Server01684",
            "type": "String"
        }
    },
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.Compute/virtualMachines",
            "apiVersion": "2019-07-01",
            "name": "[parameters('virtualMachines_Server01_name')]",
            "location": "westeurope",
            "identity": {
                "principalId": "<principalId>",
                "tenantId": "<tenantId>",
                "type": "SystemAssigned"
            },
            "properties": {
                "hardwareProfile": {
                    "vmSize": "Standard_B2s"
                },
                "storageProfile": {
                    "imageReference": {
                        "publisher": "MicrosoftWindowsServer",
                        "offer": "WindowsServer",
                        "sku": "2019-Datacenter",
                        "version": "latest"
                    },
                    "osDisk": {
                        "osType": "Windows",
                        "name": "[concat(parameters('virtualMachines_Server01_name'), '_OS')]",
                        "createOption": "FromImage",
                        "caching": "ReadWrite",
                        "writeAcceleratorEnabled": false,
                        "managedDisk": {
                            "storageAccountType": "StandardSSD_LRS",
                            "id": "[parameters('disks_Server01_OS_externalid')]"
                        },
                        "diskSizeGB": 45
                    },
                    "dataDisks": []
                },
                "osProfile": {
                    "computerName": "[parameters('virtualMachines_Server01_name')]",
                    "adminUsername": "<adminUsername>",
                    "windowsConfiguration": {
                        "provisionVMAgent": true,
                        "enableAutomaticUpdates": true
                    },
                    "secrets": [],
                    "allowExtensionOperations": true,
                    "requireGuestProvisionSignal": true
                },
                "networkProfile": {
                    "networkInterfaces": [
                        {
                            "id": "[parameters('networkInterfaces_Server01684_externalid')]"
                        }
                    ]
                },
                "diagnosticsProfile": {
                    "bootDiagnostics": {
                        "enabled": true
                    }
                }
            }
        },
        {
            "type": "Microsoft.Compute/virtualMachines/extensions",
            "apiVersion": "2019-07-01",
            "name": "[concat(parameters('virtualMachines_Server01_name'), '/AzureNetworkWatcherExtension')]",
            "location": "westeurope",
            "dependsOn": [
                "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_Server01_name'))]"
            ],
            "properties": {
                "autoUpgradeMinorVersion": true,
                "publisher": "Microsoft.Azure.NetworkWatcher",
                "type": "NetworkWatcherAgentWindows",
                "typeHandlerVersion": "1.4"
            }
        },
        {
            "type": "Microsoft.Compute/virtualMachines/extensions",
            "apiVersion": "2019-07-01",
            "name": "[concat(parameters('virtualMachines_Server01_name'), '/Microsoft.Insights.VMDiagnosticsSettings')]",
            "location": "westeurope",
            "dependsOn": [
                "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_Server01_name'))]"
            ],
            "properties": {
                "autoUpgradeMinorVersion": true,
                "publisher": "Microsoft.Azure.Diagnostics",
                "type": "IaaSDiagnostics",
                "typeHandlerVersion": "1.5",
                "settings": {
                    "StorageAccount": "testwestdiag760",
                    "xmlCfg": "[parameters('extensions_Microsoft_Insights_VMDiagnosticsSettings_xmlCfg')]"
                },
                "protectedSettings": {
                    "storageAccountName": "[parameters('extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountName')]",
                    "storageAccountKey": "[parameters('extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountKey')]",
                    "storageAccountEndPoint": "[parameters('extensions_Microsoft_Insights_VMDiagnosticsSettings_storageAccountEndPoint')]"
                }
            }
        }
    ]
}

**** SQL Server ****
Availability Zone: westeurope
Pricing Tier: Standard S0: 10 DTUs
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {},
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.Sql/servers",
            "apiVersion": "2019-06-01-preview",
            "name": "Server01-test",
            "location": "westeurope",
            "kind": "v12.0",
            "properties": {
                "administratorLogin": "<administratorLogin>",
                "version": "12.0",
                "publicNetworkAccess": "Enabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases",
            "apiVersion": "2020-08-01-preview",
            "name": "Server01-test/PS-Test",
            "location": "westeurope",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "sku": {
                "name": "Standard",
                "tier": "Standard",
                "capacity": 10
            },
            "kind": "v12.0,user",
            "properties": {
                "collation": "SQL_Latin1_General_CP1_CI_AS",
                "maxSizeBytes":<PHONE_NUMBER>,
                "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
                "zoneRedundant": false,
                "readScale": "Disabled",
                "storageAccountType": "GRS"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/geoBackupPolicies",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/master/Default",
            "location": "West Europe",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "state": "Enabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/master/current",
            "location": "West Europe",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "status": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/encryptionProtector",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/current",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "kind": "servicemanaged",
            "properties": {
                "serverKeyName": "ServiceManaged",
                "serverKeyType": "ServiceManaged"
            }
        },
        {
            "type": "Microsoft.Sql/servers/firewallRules",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/ClientIPAddress_2020-09-14_07:34:07",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "startIpAddress": "<IP_ADDRESS>",
                "endIpAddress": "<IP_ADDRESS>"
            }
        },
        {
            "type": "Microsoft.Sql/servers/firewallRules",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/ClientIPAddress_2020-09-21_12:25:20",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "startIpAddress": "<IP_ADDRESS>",
                "endIpAddress": "<IP_ADDRESS>"
            }
        },
        {
            "type": "Microsoft.Sql/servers/firewallRules",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/ClientIPAddress_2020-10-05_03:57:44",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "startIpAddress": "<IP_ADDRESS>",
                "endIpAddress": "<IP_ADDRESS>"
            }
        },
        {
            "type": "Microsoft.Sql/servers/firewallRules",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/ClientIPAddress_2020-8-26_13-10-39",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "startIpAddress": "<IP_ADDRESS>",
                "endIpAddress": "<IP_ADDRESS>"
            }
        },
        {
            "type": "Microsoft.Sql/servers/keys",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/ServiceManaged",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "kind": "servicemanaged",
            "properties": {
                "serverKeyType": "ServiceManaged"
            }
        },
        {
            "type": "Microsoft.Sql/servers/securityAlertPolicies",
            "apiVersion": "2020-02-02-preview",
            "name": "Server01-test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "state": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/virtualNetworkRules",
            "apiVersion": "2015-05-01-preview",
            "name": "Server01-test/Allow-Test-West-Vnet",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "virtualNetworkSubnetId": "/subscriptions/<subscriptionID>/resourceGroups/Test-West/providers/Microsoft.Network/virtualNetworks/Test-West-vnet/subnets/default",
                "ignoreMissingVnetServiceEndpoint": false
            }
        },
        {
            "type": "Microsoft.Sql/servers/vulnerabilityAssessments",
            "apiVersion": "2018-06-01-preview",
            "name": "Server01-test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "recurringScans": {
                    "isEnabled": false,
                    "emailSubscriptionAdmins": true
                },
                "storageContainerPath": null
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/advisors",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/CreateIndex",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "autoExecuteValue": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/advisors",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/DbParameterization",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "autoExecuteValue": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/advisors",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/DefragmentIndex",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "autoExecuteValue": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/advisors",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/DropIndex",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "autoExecuteValue": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/advisors",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/ForceLastGoodPlan",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "autoExecuteValue": "Enabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/auditingPolicies",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/Default",
            "location": "West Europe",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "auditingState": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/auditingSettings",
            "apiVersion": "2017-03-01-preview",
            "name": "Server01-test/PS-Test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "retentionDays": 0,
                "auditActionsAndGroups": [
                    "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP",
                    "FAILED_DATABASE_AUTHENTICATION_GROUP",
                    "BATCH_COMPLETED_GROUP"
                ],
                "isStorageSecondaryKeyInUse": false,
                "isAzureMonitorTargetEnabled": true,
                "state": "Disabled",
                "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies",
            "apiVersion": "2017-03-01-preview",
            "name": "Server01-test/PS-Test/default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "weeklyRetention": "PT0S",
                "monthlyRetention": "PT0S",
                "yearlyRetention": "PT0S",
                "weekOfYear": 0
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies",
            "apiVersion": "2017-10-01-preview",
            "name": "Server01-test/PS-Test/default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "retentionDays": 7
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings",
            "apiVersion": "2017-03-01-preview",
            "name": "Server01-test/PS-Test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "retentionDays": 0,
                "auditActionsAndGroups": [
                    "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP",
                    "FAILED_DATABASE_AUTHENTICATION_GROUP",
                    "BATCH_COMPLETED_GROUP"
                ],
                "isStorageSecondaryKeyInUse": false,
                "isAzureMonitorTargetEnabled": true,
                "state": "Disabled",
                "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/geoBackupPolicies",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/Default",
            "location": "West Europe",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "state": "Enabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
            "apiVersion": "2020-02-02-preview",
            "name": "Server01-test/PS-Test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "state": "Disabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
            "apiVersion": "2014-04-01",
            "name": "Server01-test/PS-Test/current",
            "location": "West Europe",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "status": "Enabled"
            }
        },
        {
            "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments",
            "apiVersion": "2017-03-01-preview",
            "name": "Server01-test/PS-Test/Default",
            "dependsOn": [
                "[resourceId('Microsoft.Sql/servers/databases', 'Server01-test', 'PS-Test')]",
                "[resourceId('Microsoft.Sql/servers', 'Server01-test')]"
            ],
            "properties": {
                "recurringScans": {
                    "isEnabled": false,
                    "emailSubscriptionAdmins": true
                }
            }
        }
    ]
}

Thank you @mbiebl !
I was going to inform you that we could finally reproduce the problem now. We will continue investigating.

This is great news!

Hi @yitam.  Any update on this issue?
I'm experiencing the same issue.  I'm connect from an Azure Windows Windows 2019 server  VM, using PHP 7.4 and OBDC Driver 17 for SQL Server 2<IP_ADDRESS> to an Azure SQL Database.
As mbiebl I'm getting the same random connectivity failures.  I then perform an IIS Reset to recover.
I would like to make my application live but I'm nervous that when I add users the frequency of the issue will increase.
Many thanks

Hi @yitam.  Any update on this issue?
I'm experiencing the same issue.  I'm connect from an Azure Windows Windows 2019 server  VM, using PHP 7.4 and OBDC Driver 17 for SQL Server 2<IP_ADDRESS> to an Azure SQL Database.
As mbiebl I'm getting the same random connectivity failures.  I then perform an IIS Reset to recover.
I would like to make my application live but I'm nervous that when I add users the frequency of the issue will increase.
Many thanks

Yes @ajdjackson we could reproduce this in the test lab, as I have told @mbiebl earlier. However, not only it takes time to reproduce, but it's also intermittent and unpredictable. Investigation will not be straightforward but we are working to get to the bottom of this.
Yet, as @mbiebl mentioned, it seems turning off MARS may be a workaround. If you experience otherwise or have anything else to share to help us reproduce this issue, please let us know at your earliest convenience.

Yes @ajdjackson we could reproduce this in the test lab, as I have told @mbiebl earlier. However, not only it takes time to reproduce, but it's also intermittent and unpredictable. Investigation will not be straightforward but we are working to get to the bottom of this.
Yet, as @mbiebl mentioned, it seems turning off MARS may be a workaround. If you experience otherwise or have anything else to share to help us reproduce this issue, please let us know at your earliest convenience.

Thanks for the php script. Once you have connected, do you disconnect (exit the script, for example)?
Is it the same script you run again and again in a loop? Does the script do anything else?

The application is based on SabreDAV (unfortunately I can't easily share it).
But https://github.com/sabre-io/dav/blob/master/examples/addressbookserver.php should give you an idea.
Instead of sqlite, we use sqlsrv

Btw, since I couldn't share the original PHP application where we hit this issue, I tried to reproduce it with a barebones sabre-dav server and was successful. So I could share a zip file containing the PHP files and the SQL database now and then you just need to hammer the server with requests (I can probably share the jmeter test we used as well).
But since @yitam mentioned that they were able to reproduce the issue, I figured this was no longer relevant.
And yes, the issue is sporadic and not happening often. But it does happen eventually.

Thanks for the php script. Once you have connected, do you disconnect (exit the script, for example)?
Is it the same script you run again and again in a loop? Does the script do anything else?

The application is based on SabreDAV (unfortunately I can't easily share it).
But https://github.com/sabre-io/dav/blob/master/examples/addressbookserver.php should give you an idea.
Instead of sqlite, we use sqlsrv

Btw, since I couldn't share the original PHP application where we hit this issue, I tried to reproduce it with a barebones sabre-dav server and was successful. So I could share a zip file containing the PHP files and the SQL database now and then you just need to hammer the server with requests (I can probably share the jmeter test we used as well).
But since @yitam mentioned that they were able to reproduce the issue, I figured this was no longer relevant.
And yes, the issue is sporadic and not happening often. But it does happen eventually.

Thank you @mbiebl for the additional info. Yes, continuously hammering the server with requests for at least two days (sometimes longer) is what we do to reproduce this issue.

Thank you @mbiebl for the additional info. Yes, continuously hammering the server with requests for at least two days (sometimes longer) is what we do to reproduce this issue.

Yes, continuously hammering the server with requests for at least two days (sometimes longer) is what we do to reproduce this issue.

Yep, this matches my experience

Yes, continuously hammering the server with requests for at least two days (sometimes longer) is what we do to reproduce this issue.

Yep, this matches my experience

Hi @mbiebl and @ajdjackson, here is an update: we figured out a way to consistently reproduce the issue and found the underlying causes at long last. We are running different tests, including stress testing the server, to make sure the fix in ODBC driver does not introduce regressions.

Hi @yitam
Thanks for the update.
I've had no further connection issues since turning MARS off.
Thanks
Jake

@yitam Could you confirm that the issue has something in common with the MARS turned on and that's why we should turn it off on production servers to mitigate? I'm asking because we need to decide if wait for ODBC final fix or apply the workaround. Thanks.

To answer your question @woduda , with MARS turned on it takes longer to connect or disconnect, thus opening a larger window for some race conditions that are causing this particular issue. It's not necessarily a workaround, but if you're not planning to use MARS we would suggest you turn it off entirely.
FYI, ODBC team is working on a hotfix for the time being but there's no fixed date yet.

I am happy to hear this has been identified and being fixed.  We have had this problem ever since late 2019 if I remember correct.
We have tried running on Windows server 2012, 2016, 2019 (Azure VPS and Azure Sql server), older version PHP with older PHP driver, even ODBC driver 13 but no luck, every few hours the "encryption not supported..." error would occur. Status PHP.exe possibly crashing but the .NET code still would run.
Restart IIS and it would be fine for a few hours or sometimes just minutes, very random. We run same PHP application on Linux with Apache server as well, never any problems. Now running MARS = false and the problem is gone.

Hi all, ODBC Driver 17.7.2 is available for download now. Please give it a try and let us know how it goes.

@yitam I've been running our load test for a day now (with MARS enabled). Looking good so far!
Will keep it running for another week.
Thanks a lot @yitam !

For everyone who is as confused as I was: Make sure you hit the english version of the ODBC Driver download page
https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15
(in my case the german version still only offers 17.7.1)

@lwohlhart
There is a delay between when the English docs are updated for a release and when the localized pages get updated by the localization process. I don’t know what the typical lag is, but that’s the reason for this note on the download pages:

Regards,
David

@yitam load test has been running for a week now without a hitch.
I guess we can consider this issue fixed.

Awesome! Thanks @mbiebl 👍 Please let us know if it reappears.


Primary Crashes Without Any Message

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] 3.1
[ ] 3.2
[x] 3.3
[ ] self-compiled devel branch

Mode:

[ ] Cluster
[x] Single-Server

Storage-Engine:

[ ] mmfiles
[x] rocksdb

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[x] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[x] other: CentOS .rpm

[ ] Windows, version:
[ ] MacOS, version:

When I import through JAVA api. After insert massive documents, system has only 100M RAM, sometimes the RAM can be released to 1GB, but sometimes the primary db crashes without error message. And I check the system message, there is no OOM killer message.
If I insert documents in multi processes, the primary db crashes more quickly. If I insert data in single process, it works much better. But in the end, it crashes too.

Hi,
what kind of setup are you using? You ticked the single server mode but the line: WARNING {heartbeat} DBServerAgencySync::execute took 135.850439 s to execute handlePlanChange (END) suggests you are using something else. It would be nice if you could provide the exact version of arangod as well.

@ObiWahn The version is 3.3.4. I run agent, coordinator and primary db separately. echo of them has only one instance.

I find that, when primary db crashes, the index size is nearly equals to my RAM size. Should my RAM size must be bigger than my index size?

Does that mean that you have only one agent in total? For the cluster to work you need at least 3 agents! If possible the index should fit into RAM because that will be much better performance wise. But it is not necessary with the RocksDB engine (mandatory with MMFiles)


Prepare for Gradle Plugin release 2.0.0-rc03

Current dependencies on/for this PR:

main

PR #32

PR #33   👈

This comment was auto-generated by Graphite.


Feature/shared model block query

Description of the Change
Old model was replaced by shared model in block_query.

Benefits
One small step to replace old model entirely in iroha.

Plz move out monadic bind one lambda above in getBlocks as well

Pull changes from develop / or rebase onto develop.
Internal compiler error will disappear.


exit on init failure

📥 Pull Request
📘 Description
Currently, if the project init fails on any of these conditions, it continues to attempt to create the project and fails later. We should just exit on the failure.
🧪 Testing
locally

throw an exception instead


Unable to deploy OHDSI Atlas Workspace Service

Describe the bug
We successfully deployed the MSL workspace (copy of the base workspace) without any error.
When the MSL workspace is deployed we can see that subnet WebAppsSubnet is created under the workspace VNET.
After, that we initiated the deployment of OHDSI Atlas Workspace Service.
We tried many times in different newly created workspaces but we are getting the following terraform error:
"An operation on the Virtual Network has failed. Details: {\r\n  \"error\": {\r\n    \"code\": \"ReferencedResourceNotProvisioned\",\r\n    \"message\": \"Cannot proceed with operation because resource /subscriptions//resourceGroups/rg-cprdtest-ws-/providers/Microsoft.Network/virtualNetworks/vnet-cprdtest-ws-*/subnets/WebAppsSubnet used by resource WebAppsSubnet is not in Succeeded state. Resource is in Updating state and the last operation that updated/is updating the resource is PutSubnetOperation.
Steps to reproduce

Deploy MSL workspace - successful
Deploy OHDSI Atlas Workspace Service - not successful

Azure TRE release version (e.g. v0.14.0 or main):
v.0.9.0
Yesterday, this worked without any issues, but today we are not able to deploy the OHDSI Atlas Workspace Service.
We didn't have any related changes.
Could you please help us with this?
BR,
Dusan

Looks to me like a dependency issue. I would make any operations that impact that subnet - such as private endpoint creation occur in a serial fashion.
@tamirkamara thoughts?

Hi @marrobi, @tamirkamara,
We raised an Azure support request yesterday and we got this:

After that, we tried last evening and this morning and Atlas WS Service has been deployed without issues.
So, this was probably some Azure backbone-related issues.
I think you can close an issue.


python310Packages.identify: 2.5.8 -> 2.5.9

Description of changes
Update to latest upstream release 2.5.9

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 201823 run on x86_64-linux 1

4 packages built:

check-jsonschema
pre-commit
python310Packages.identify
python39Packages.identify


AuthenticationManager.AuthenticateAsync(AuthenticateContext context) and post-RC2

In RC2 it is possible to get the AuthenticationContext through: AuthenticationManager.AuthenticateAsync(AuthenticateContext context)
Thus eg. being able to show context.Error?.Message in a view (as to the reason why authentication failed) when an AuthenticationHandler returned with AuthenticateResult.Fail(string)
I noticed (in dev) through https://github.com/aspnet/HttpAbstractions/commit/3a7f6a7228fe10b14996b97eed83bcb72684088a
the AuthenticateAsync(AuthenticateContext context)-method is bound to be removed in future release(s):

// Will remove once callees have been updated
public abstract Task AuthenticateAsync(AuthenticateContext context);

And Task<AuthenticateInfo> GetAuthenticateInfoAsync(string authenticationScheme) is introduced in return.
However, while AuthenticateInfo contains the Principal, Properties and Description, it does seem to be missing the/an Error-property.

@Tratcher's example shows how you can achieve this currently. We don't plan to add the sugar.


ToString() and ToHtmlEscapedString() result in a single line

First, thanks for the library! Shaved a good amount of time on this project I'm on!
This is only an annoyance and I may be missing something on my end, but when I dump out the JobPosting object in a Razor view:
        <script type="application/ld+json">
            @Html.Raw(jobJSON.ToString().Replace("\\r\\n", ""))
        </script>

I end up everything in a single line:
{"@context":"https://schema.org","@type":"JobPosting","title":"Citrix Virtual Desktop Engineer","description":"A global life insurance firm is hiring a desktop engineer.  This is a wonderful opportunity to wo
Just makes it difficult to debug. Please let me know if there's a flag somewhere or something I can do to get formed json with line breaks. Thanks

I want to be clear too, that .Replace("\r\n", "") is for actual \r\n characters in the description text fields. Removing that does nothing to format the json.

We should probably allow you to pass custom JsonSerializerSettings to the ToString() method as an overload or alternatively pass in a boolean to enable/disable formatting.
@Turnerj has a PR up to switch from Newtonsoft.Json to System.Text.Json. We should probably wait for that to go in first if we decide to go with the former.
For now, you can serialize the type yourself. Take a look at SchemaSerializer for how.

We actually do have an overload of ToString for passing JsonSerializerSettings already:
https://github.com/RehanSaeed/Schema.NET/blob/b9db142d3f32a832337e370549e46dd64a77c1b2/Source/Schema.NET/Thing.Partial.cs#L42-L43
When we do finish the transition to S.T.J, this overload will till exist but use the JsonSerializerOptions type from S.T.J instead.

Apologies, I scanned that file and didn't spot the overload. I thout I'd remembered seeing it.
I think we can close this then.

Thank you all for such a quick response. I'm in Tokyo and been working long hours on something, so it seems like in 2 days you  all responded and answered my questions with notes about future changes.
Just a note
There is one thing to note, it's quite probably the newtonsoft implementation/version I have installed but if I set the Formatting, the NullValueHandling stops working.
JobPosting posting = GetJobPostingSchema(language, model);
return posting.ToString(new JsonSerializerSettings() { Formatting = Formatting.Indented, NullValueHandling = NullValueHandling.Ignore });

The json indentation is right, but every null value in a Schema.org JobPosting object is also output. Which is more annoying for debugging than the entire thing being in one line. So I will put it back to the way it was for now. I do not have time atm to sort out the libraries.
Thanks again for you help!

Hmmm, you may need to include DefaultValueHandling = DefaultValueHandling.Ignore.
Here is our default serialization settings where we also have that property set:
https://github.com/RehanSaeed/Schema.NET/blob/b9db142d3f32a832337e370549e46dd64a77c1b2/Source/Schema.NET/SchemaSerializer.cs#L24-L50
Hope that helps!

And that was exactly what I needed!
I was about to go fishing around in the source but didn't have time. Thanks for pointing right to it!


Unsupervised topic classification

Hey!
For topic classification, I want to compare StarSpace to LDA, which is unsupervised so in order to have a fair comparison I want to make my own embeddings for StarSpace first. My question is, once I make the embeddings, can I somehow divide them up to as many topics as I set as parameters in the LDA? How could I extract clusters from the embeddings?
Thank you so much!

@helgasvala Hi, you could try standard clustering methods on embeddings trained from StarSpace. I'd suggest to try a different set of number of clusters to form, in order to compare with topics from LDA.


Removed extra space in default package symbol

Looks like the default symbol for the NPM package section got an extra space at the end. Removed it.

Thanks!


About  args.rep == "smr"

In the function get_model_args()，
if args.rep == "smr", then njoints += 6。
I know that the motion data dim of HumanML3D is 263,
but what is the "smr", and why  njoints += 6.

Smr is a little different representation that replaces the [67 to 67+21x6] dimensions of HumanML3D representation by SMPL rotation information (22 x 6). Therefore, the total dimensions are 269.

Does smr come from any paper? I haven't heard that.
Could you tell me some details about it?

The original slice  [67: 67 + 216] means the 6D rotation of 21 non-root joints with respect to its parent node.
I'm wondering the meaning of 226 rotation?
Can you explain that?

Thank you!

I do not know if other paper utilizes similar representation. For more details, you can refer the paper of this repo.

I do not know if there is any other paper that uses a similar representation. For more details, you can refer to https://arxiv.org/abs/2310.20323
Both of them are 6D rotation information. The process of exporting HumanML3D representation is: SMPL rotation -> 3D joints -> HumanML3D, so 21 x 6 is derived from the position of 3D joints. 22 x 6 includes the root joint which may not be necessary. The process of exporting SMR representation is: SMPL rotation -> 3D joints + SMPL rotation -> SMR.

Thanks for your reply !


test(table-of-contents): restore scrollspy tests

Related Ticket(s)
#7770
Description
Currently, PR only restores tests so they run in the pipeline. I'm unable to get them to fail locally so we'll need to let the CI infrastructure highlight the test failures.
Changelog

@andy-blum looks like an error came out of that test:

@jeffchew The 'details' link to the e2e test is inaccessible to me. Is there a way to gain access to that?

@jeffchew The 'details' link to the e2e test is inaccessible to me. Is there a way to gain access to that?

I gave you access, let me know if you still don't see it.

@jeffchew I'm getting a connection timeout error

@jeffchew I'm getting a connection timeout error

You will have to be connected to IBM VPN to access.

@jeffchew I think we're still waiting for more info on why this is failing. You said you were able to do ad hoc browserstack runs?

@jeffchew I think we're still waiting for more info on why this is failing. You said you were able to do ad hoc browserstack runs?

Yes, though we would need to create on an upstream branch. We can then trigger it from Jenkins to point to that branch to run.

@jeffchew I think we're still waiting for more info on why this is failing. You said you were able to do ad hoc browserstack runs?

Created a branch, will trigger a browserstack build to see what happens:
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/test/table-of-contents

@andy-blum we can probably keep this branch open to test against the non-browserstack test runs in Github Actions, might be good to see the results after you fix the merge conflicts.

Doesn't seem like we're getting original issues in the TOC e2e tests anymore. Closing this PR.


more comprehensive unit tests for gradient and jacobian

The need for this arose out of #1760 as a stepping stone to that PR.
This also includes a small fix of a trivial issue in reverse mode gradient and jacobian which was causing a bunch of errors.
@wsmoses see the WARN comments.  These were recently broken.  Could you perhaps fix them?  If you can I will fix and expand them here.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.28%. Comparing base (67c529c) to head (88bd616).
Report is 6 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1773      +/-   ##
==========================================
+ Coverage   65.59%   66.28%   +0.68%
==========================================
  Files          32       32
  Lines       12969    12991      +22
==========================================
+ Hits         8507     8611     +104
+ Misses       4462     4380      -82

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

@ExpandingMan I expanded and rewrote the tests which all look good to me.
Can you investigate/fix why 1.6 fails. And for 1.10, hvcat (aka array constructor syntax) was broken by SparseArrays, can the tests be rewritten to allocate an array then set the results instead)?

Both of these things are baffling to me.
There is no apparent reason for 1.6 to fail that I can see, (albeit with a bunch of spurious output, which is maybe indicative of an improperly handled exception?), at the end of the log it merely says Package Enzyme errored during testing (exit code:<PHONE_NUMBER>).
The 1.10 error also makes no sense to me, and is a lot more concerning, since the way it is written seems like a very real use case and ideally not something to be fudged over in tests.  I don't understand how it's hitting that stack overflow, why is it hitting SparseArrays methods?  I'm reasonably sure calls like this were working a few commits ago, or possibly I was looking at some subtle variation of them which I now cannot distinguish.

1.6 looks like:
Gradient and Jacobian Outputs: Error During Test at /home/runner/work/Enzyme.jl/Enzyme.jl/test/runtests.jl:2984
  Test threw exception
  Expression: Enzyme.jacobian(Enzyme.Forward, (x->begin
                [x[1] * x[2] cos(x[1]) + x[2]; exp(x[2]) x[1]]
            end), vector) ≈ [vector[2] -(sin(vector[1])); 0.0 1.0; vector[1] 1.0; exp(vector[2]) 0.0]
  DimensionMismatch("dimensions must match: a has dims (Base.OneTo(2), Base.OneTo(2), Base.OneTo(2)), b has dims (Base.OneTo(4), Base.OneTo(2)), mismatch at 1")
  Stacktrace:
   [1] promote_shape(a::Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}, Base.OneTo{Int64}}, b::Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}})
     @ Base ./indices.jl:178
   [2] promote_shape
     @ ./indices.jl:169 [inlined]
   [3] -(A::Array{Float64, 3}, B::Matrix{Float64})
     @ Base ./arraymath.jl:38
   [4] isapprox(x::Array{Float64, 3}, y::Matrix{Float64}; atol::Int64, rtol::Float64, nans::Bool, norm::typeof(norm))
     @ LinearAlgebra /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/generic.jl:1657
   [5] isapprox(x::Array{Float64, 3}, y::Matrix{Float64})
     @ LinearAlgebra /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/generic.jl:1657
   [6] eval_test(evaluated::Expr, quoted::Expr, source::LineNumberNode, negate::Bool)
     @ Test /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:277
   [7] macro expansion
     @ ~/work/Enzyme.jl/Enzyme.jl/test/runtests.jl:2984 [inlined]
   [8] macro expansion
     @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [9] top-level scope
     @ ~/work/Enzyme.jl/Enzyme.jl/test/runtests.jl:2911

(Best to use Linux not Windows for logs)

I just did the following

Replaced the half-assed tplapprox with ≃ (\simeq) which should behave better.  This was breaking a whole bunch of examples in mysterious ways.  (I have a new appreciation for isapprox which actually needs to do a little bit of math and therefore know something about the algebra of its arguments, hence why it does not "just work" on tuples and all sorts of other things.)
Replaced explicit array constructors within anonymous functions by mkarray hack (essentially force it to use vcat instead of hvcat).  This feels awful, and I'm not yet sure it'll fix 1.6 as of writing, we'll see.  @wsmoses are you sure this is the fault of Base and stdlibs?  It seems very likely people are going to hit this.  On any earlier version I'd say who cares, but 1.10 is LTS and not sure whether it'll get fixed there in the foreseeable future.

It looks like this fixes ("fixes") 1.10 but all 1.6 are now failing because a lot of these jobs for some reason hit an error where they can't find libEnzyme (which wasn't the case last time).

1.6-1.9 are now presently broken by an issue in Yggdrassil: https://buildkite.com/julialang/yggdrasil/builds/13010#0191c04d-60fc-438f-a5fb-67945bfa910b
@vchuravy my attempted workaround was to permit the old and new jlls [required for recent 1.10+], but 1.6 still picked up the new jll and hit the above error. What is the right way to workaround the Yggy failure atm?

cc @giordano

@ExpandingMan so you can debug while yggy remains broken I pinned you to the old jll for now, which should let tests actually run on old versions

The test failures on 1.10 are from it seemingly ignoring the rules in the tests in rules.jl, which seems unlikely to be related to this PR.

Ok I think all that's left is whatever is going on with the rules now.

Not sure what the deal is with the segfaults but the failures here probably are unrelated?

yeah this is part of the "weird things per release infra changes", what is expected to pass currently passes.


README Syntax fix

Thanks for this!
There appears to be two links – the kernel.org link which appears just to be the man page for git submodule, and the git-scm which is a little more informative.
I think the git scm link is a little more useful as an introduction to submodules, so could we update the link to point there instead? I think that's what was intended in e95e2b1a0d5c6bf373d29ad3ad7b5e1d096e481e when this invalid syntax was introduced.

@36degrees yeah, I think you’re right, the git-scm one is better. I've pushed another commit. Let me know if you want to me squash them. (Not sure what your policy is on that).

Brill, thanks! 👍


Add a size function to return the size of a collection or map

I just added a function to return the size of a collection or map

I just saw that there's another pull request to add a length filter which does basically the same thing. Feel free to reject it if you wish :)

I was thinking also to call it size. However the original twig implementation uses the word 'length' hence I used the 'length' key word.


feat(logger): make loglevel types stricter

Description of your changes
The Logger constructor accepts an optional logLevel  parameter with default to INFO. While the library already has types for all the log levels, and performs a validation of the value passed to logLevel, the constructor currently accepts any type of value.
As detailed in #1309, this can lead to issues that go undetected at edit/build time since TypeScript is not being leveraged to validate these inputs. For instance, currently it's possible to pass the following value and Logger will accept the value and silently default to INFO:
const logger = new Logger({ logLevel: 'DEBG' }); // instead of DEBUG

This PR, that once merged will close #1309, narrows the types for logLevel so that only certain values both upper and lower case variations are accepted. If an invalid value is passed, users will see errors both in their IDE and at compile time.
For the time being I have decided to not include a warning log in case of invalid value, given that we are already narrowing the types. However I'm open to reconsider this decision in a future PR if there's demand.
How to verify this change
See checks under this PR, as well as the results of the integration tests run.
Related issues, RFCs

Issue number: #1309
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[ ] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding changes to the examples
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[ ] I have added tests that prove my change is effective and works
[x] New and existing unit tests pass locally and in Github Actions
[ ] Any dependent changes have been merged and published
[x] The PR title follows the conventional commit semantics

Breaking change checklist

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I noticed a regression caused by this improvement where code which used to use the standard environmental variable we use across all of our applications to configure the Logger (e.g. export const logger = new Logger({logLevel: process.env.APPNAME_LOG_LEVEL})) now fails to build because there isn't a way to guarantee that the string from the environmental variable is one of the values in the LogLevel union, and none of the exported interfaces make it easy to check that without copy-pasting the values from Log.ts.
I think it would be useful to have a public method similar to the isValidLogLevel method which would allow you to essentially say “get me the LogLevel for this string or throw an exception” so you could have a robust way to let linters know that execution will halt if that's not a valid value.

Hi @acdha, you should be able to import the LogLevel type using import type { LogLevel } from "@aws-lambda-powertools/logger/types"; (available since v2.0.0).
With this, if you know for sure that the value of your env variable is valid, you should be able to cast the type.
If instead you don't trust/control the value and want to check at runtime, I do agree that at the moment we don't have anything exported to allow you to check easily.
I wouldn't necessarily consider this as a regression, and if anything making the type more strict (which is the content of this PR) goes in the same direction of wanting to make the input safer.
I think exporting the values and possibly adding a method/helper for customers to check this is a valid ask though. Could you please open a feature request so we can consider putting this on the backlog?

If instead you don't trust/control the value and want to check at runtime, I do agree that at the moment we don't have anything exported to allow you to check easily.

I actually do control the inputs completely in our Terraform configuration but the type checker can’t know that. I classed it as a regression since a point release broke our build but am happy to open a feature request tomorrow.


cannot parse contingencies

@elainethale, @tarekelgindy, @wmakGIT: We discussed this a week or two ago. Opening an issue so we do not lose track of it.
A contingency is defined by a unique ID and a list of unique IDs of devices being outaged. In Challenge 3, this list will have exactly one element, and it will be a branch (DC line, AC line, or transformer). And there is a list of contingencies. This is described in the format document. We need to get a list of contingencies as an attribute of the data model and a contingency class definition.
Would the handoff between documentation and the Pydantic data model be easier if contingencies were formatted differently? E.g. each device could have a "contingencies" attribute that would list the UIDs of contingencies under which it is being outaged. This would only be needed on branch devices, since other devices are not outaged in contingencies. And the list would be either empty or a single element. This would eliminate the need for a contingencies section/table.

Thanks, Tarek. If you have a sample JSON file that it should work with, could you share that with me? I’ll use it to write some more validators.
Jesse
From: tarekelgindy @.>
Date: Thursday, June 30, 2022 at 1:39 PM
To: Smart-DS/Bid-DS-data-model @.>
Cc: Holzer, Jesse T @.>, Author @.>
Subject: Re: [Smart-DS/Bid-DS-data-model] cannot parse contingencies (Issue #14)
Check twice before you click! This email originated from outside PNNL.
I've updated the code in the branch te/latex_files to deal with contingencies. It now seems to run correctly. I'm still testing it with the sample json files at this point, but the pydantic models get created (seemingly) correctly.
—
Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSmart-DS%2FBid-DS-data-model%2Fissues%2F14%23issuecomment-1171654686&data=05|01|jesse.holzer%40pnnl.gov|ec38ff96f6034ea0f70708da5ad8a01a|d6faa5f90ae240338c0130048a38deeb|0|0|637922183690355569|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=56oUVT0h1C%2BSLWA1tmHqo2FxuNMz%2BHWrJhycAr%2FIUbA%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE53JEX572UOSZF2OGD2ZJTVRYAX5ANCNFSM5ZYZ5EIA&data=05|01|jesse.holzer%40pnnl.gov|ec38ff96f6034ea0f70708da5ad8a01a|d6faa5f90ae240338c0130048a38deeb|0|0|637922183690355569|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gefOjoBztJP%2FUoiSOLZFMP8m0gtsv47TubjsarnxoDE%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


Link to the fourth video in README is wrong

I think link to the fourth video is wrong as it is leading to third video. Its not a big problem though as YouTube just offers you the fourth one right next to it but it might be a hassle if it doesn't happen.

Good catch. Fixing it now :)


add announcer plugin

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/Lightning-SDK/384/rdkcentral/Lightning-SDK

Commit: 85be3c9884820c46270d7575ecef20d30ae4a630

Report detail: gist

Hi Chris: This is failing because it needs credit.  Where did you get the code in utils.js?
(Credit is somewhat complicated.  I think the following is a good source and would go under the Metrological Apache header.
Code from: https://github.com/jashkenas/underscore is
Copyright (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
Licensed under the MIT License
based off:
http://unscriptable.com/2009/03/20/debouncing-javascript-methods/ which is:
Copyright (c) 2007-2009 unscriptable.com and John M. Hann
Licensed under the MIT License
NOTICE should have the same text appended.
LICENSE needs a copy of the MIT license (with Copyright YEAR COPYRIGHT HOLDER  i.e. the generic fields)
Thank you,
Martin

Hopefully followed your instructions correctly... LMK

Copyright scan failure
Commit:<PHONE_NUMBER>f973d7ce7ab2e5d09dce6eecc1565e
Report detail: https://gist.github.com/rdkcmf-jenkins/2cf88c1f84afc3146b6079bd09d8695b

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/Lightning-SDK/384/rdkcentral/Lightning-SDK

Commit:<PHONE_NUMBER>f973d7ce7ab2e5d09dce6eecc1565e

Report detail: gist

Copyright scan failure
Commit: 64b169f863752e2e75ba40ec224fcee8edea3722
Report detail: https://gist.github.com/rdkcmf-jenkins/e4161ad9dd1e4008d90c9a6a9578c50e

Copyright scan failure
Commit: 80785d78a65a77ab30db183a802205a34ba3226b
Report detail: https://gist.github.com/rdkcmf-jenkins/5b8062fa4315bdba1e72e0508bdecc0e

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/Lightning-SDK/384/rdkcentral/Lightning-SDK

Commit: 80785d78a65a77ab30db183a802205a34ba3226b

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Great - Many thanks Chris

Commit: 80785d78a65a77ab30db183a802205a34ba3226b

Hey Chris,
I checked out the changed code and its looking a lot better! There are a few tiny things that need some adjusting:

Move everything Announcer related to a separate folder within the Accessibility folder. (Don't forget to adjust the index.js to the src path)
Move _textToSpeech out of the Announcer const, it seems like it's meant to be private.

@sandeep-vedam as discussed: can you please do some testing with this PR to validate if everything works as expected and evaluate if the documentation is clear enough. Thanks :)

Copyright scan failure
Commit: 09e839983da0095e7bccb19333b717a7e99c264b
Report detail: https://gist.github.com/rdkcmf-jenkins/397f280c0dc15b078b7e18a73cd8d0aa

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/Lightning-SDK/384/rdkcentral/Lightning-SDK

Commit: 09e839983da0095e7bccb19333b717a7e99c264b

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Path was changed - re-id

Commit: 09e839983da0095e7bccb19333b717a7e99c264b

Hey @chiefcll
I have tested this Announcer plugin with sample application(Router) and it seems to be fine.
Thanks,
Sandeep.


Upgrade channel list m.tv.sms.cz

Hi, please upgrade channel list m.tv.sms.cz
Disney Junior
MTV80s
MTV90s
MTV00s
Thanks

Added via https://github.com/iptv-org/epg/commit/54caf3abcd0429bb2fa22321ae4d81ec84cd713e


Add new showcase

Please add new showcase --> http://generator-random.com/
Web built in Next.js and fastify.

@PetrNikolas https://github.com/zeit/next-site might be a better place to ask such question, or even make a Pull Request 😉.


dnf: fix broken authorization for our gcp repositories

repo.baseurl is not an actual string but a libdnf.module.VectorString and current implementation introduced with eef11a705a3318c7730c19b5dde6866a0296589c actually considers it as string. This patch makes sure to cast it to string before comparison.

/approve

/lgtm


[FOV-45] Fixed unstaking list issue

https://fortisoeconomia.atlassian.net/browse/FOV-45

@zvolkan  thank you Zeki
@SweetDreamEng I'll keep that in mind. thank you.


No "Search in Folder" feature

Check for existing issues

[X] Completed

Describe the feature
There are "Find" and "Find in project" options
But in huge projects "Find in project" takes a while/gives too many irrelevant results
Mostly you would know the approximate folder to search in
It wold be really useful if you could add an ability to specify the folder
If applicable, add mockups / screenshots to help present your vision of the feature
No response

Comes in Zed 0.97


With DataGrid option $showHeader=false, "selectedRows" not work.

In this doc http://www.yiiframework.com/doc-2.0/yii-grid-checkboxcolumn.html we have:
"Users may click on the checkboxes to select rows of the grid. The selected rows may be obtained by calling the following JavaScript code:
var keys = $('#grid').yiiGridView('getSelectedRows');"
With option "$showHeader=false", this JavaScript always result in null.
Someone cound check please.
Thanks.

Also I would like to add that such method must work from among the columns not the entire grid in case there are two Checkbox Columns.
Sadly that won't be backwards compatible.

Resolved by https://github.com/yiisoft/yii2/commit/3ee89ac42ca103544f9ef65a9532c6e667c768ca


EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000

I running my app on iPhone 6 Plus. But i have an issue with AFNetworking as image below.

Any suggestions how I can determine the cause?
Thanks.

AFNetworking does not appear in this call stack. These sorts of reports are not particularly useful. Please  only create issues if you find a reproducible crash.


how to host node application in iis

how to host node application in iis

All the info you'll need is here.
https://github.com/tjanczuk/iisnode

that was pretty fast., stay online.

how about at the time of hosting.

You should install iisnode the same way or the hosting provider may already have it available (eg azure web apps). Anyways, these questions aren't VS-related, so I'm closing this issue as external.
If you use node tools for VS and deploy to azure, we have templates available for you to make things easier, and you should chat with your hosting provider or file an issue on iisnode if you run into any other issues not related to NTVS.

you should not have closed that fast mouse trap. Please wait.

i installed iisnode . nothing happened.

Sorry, this repo is not for general node tech support. You'll need ask these questions somewhere else.

HTTP Error 403.14 - Forbidden

i am getting this when i am hosting node application using express 3 and node created using visual studio. Hope you will respect visual studio. yes, of course : you have the right not to answer.

The Web server is configured to not list the contents of this directory.

the iis that i am using is iis7.5

my operating system is 32 bit, i have installed the 32 bit version.

of iisnode

i have installed both node and iisnode.

issue that iis is showing: A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

i can see the site using visual studio. but for me to work, i normally host the application in iis. i cannot do run from visual studio all the time.

okay for it. I love Microsoft

Thx for the additional info. From what you're saying... it's working fine in Visual Studio, but not iisnode. I appreciate that you're using VS, but you should really just file an issue in the iisnode repo I linked to above. They will be able to help you out better there.

doing that.


error connecting

Hello,
I'm brand new to elixir, so pretty sure I'm doing something wrong.
I added config :usestripe, secret_key: "sk_test_XXX"
to config/config.exs
usestripe_test.exs look like:
defmodule UsestripeTest do
  use ExUnit.Case
  doctest Usestripe

  test "Customers are listed" do
    {:ok, customers} = Stripe.Customers.list
    assert length(customers) > 0
  end
end

test_helper.exs looks like:
ExUnit.start()
Stripe.start

mix test results in:
 $ mix test

  1) test Customers are listed (UsestripeTest)
     test/usestripe_test.exs:5
     ** (MatchError) no match of right hand side value:
{:error, "You did not provide an API key, though you did set your Authorization header to \"Bearer\".
Using Bearer auth, your Authorization header should look something like 'Authorization: Bearer
YOUR_SECRET_KEY'. See https://stripe.com/docs/api#authentication for details, or we can help at
https://support.stripe.com/."}
     stacktrace:
       test/usestripe_test.exs:6

Finished in 0.7 seconds (0.05s on load, 0.7s on tests)
1 test, 1 failure

Randomized with seed 333290

What am I missing?  On elixir v1.1.0

You're close! Try config :stripe, secret_key: "sk_test_XXX"

when I change it to config :stripe, secret_key: "sk_test_XXX"
I get a different error:
 mix test
Compiled lib/usestripe.ex
Generated usestripe app
You have configured application :stripe in your config/config.exs
but the application is not available.

This usually means one of:

1. You have not added the application as a dependency in a mix.exs file.

2. You are configuring an application that does not really exist.

Please ensure :stripe exists or remove the configuration.

.

Finished in 0.8 seconds (0.07s on load, 0.8s on tests)
1 test, 0 failures

Randomized with seed 537026

Ahh - crud. My fault, you also need to add it to your applications:
defp application do
  [applications: [:stripe]]
end

I'll update the README :)


Implement bit field with enumeration for Roles

Connect with fron end beforehand

Need to know for my issue (https://github.com/ita-social-projects/WhatBackend/issues/557) if UserRoles would be implemented like this (CharlieBackend.Core.Entities.UserRole):
using System;

namespace CharlieBackend.Core.Entities
{
    [Flags]
    public enum UserRole
    {
        NotAssigned = 0,
        Student = 1,
        Mentor = 2,
        Secretary = 4,
        Admin = 8
    }
}


Change in stock name

There has been a proposal from WGDEEP to change the stock name and code for lin.27.3a4a6-91214. This has been approved by the ADG. For this stock, landings in divisions 4.b and 4.c are presently considered in the assessment and advice (these landings in 4bc are actually larger than landings in 8, 9,12, 14 altogether). Further, ling may occur at low level in 3.b as well. So the proposal is to include all of subareas 3 and 4 in the stock definition/name/code.
OLD values
Stock Code: lin.27.3a4a6-91214
Description: Ling (Molva molva) in Subareas 6-9, 12, and 14, and Divisions 3.a and 4.a (Northeast Atlantic and Arctic Ocean)
NEW values:
Stock Code: lin.27.346-91214
Description: Ling (Molva molva) in subareas 3,4, 6–9, 12, and 14 (Northeast Atlantic and Arctic Ocean)
The associated ecoregions do not have to change.
Could somebody please create the new stock name/code in vocab at least a few days before the advice is released on 10 June?

Hi,
probably a bit late, but is there a convention for including the baltic in stock codes?  Many stocks the cover the whole baltic are coded as 22-32 , ie.  spr.27.22-32, Sprat (Sprattus sprattus) in Subdivisions 22-32 (Baltic Sea).
There are only examples of stocks using 3a.  But none so far have used just 3.

Sorry, ignore that, the subdivisions (22-32) are only used for exclusively baltic stocks, so the proposed name is consistent with other codes.

Thanks for checking that.

@Milldaz for us to review new issues, they need to be added to the project board, otherwise we don't see them. :-)

@cekv to add the new code, and the old code needs to be deprecated in Intercatch. FYI @HenrikK-N

Hi,
Thanks very much for sorting out the new vocab. Not being in the data department, I don't know how you system works and who exactly is charge of certain tasks (though apparently there is no one contact point). This is why I didn't know where I had to put this initial request for review. Now that the vocabs are changed, the new code and stock name needs to be updated in various places. Again, this is a data task, so I don't know all the places where changes need to be made. I do know SID and SAG have to be updated at least. By speaking directly to Carlos SAG has been updated, but SID is not yet. So I guess I have to speak with Mike too.
What I was hoping for, was one contact person or one board where I could highlight that a stock needed a name change, and then somebody (or some project board) in the data department would make sure all the parts were done. Because this it is a data task making sure that all our databases etc. are using the same vocabs. So I still think that it would be best if there was a single place/person that people from outside the data department could go to when they need a data task done. Both for quality assurance reasons and ease of work across the Secretariat.
Cheers,
David

The code is already in SID, this is done automatically with the synch job from Vocab. Use the manage module, select the new stock option and then you can add the details ->

To remove the old stock,  uncheck the publish checkbox

OK, thanks. The reason I didn't think it was in SAG is that the old stock name is still there.
This is not a new stock as such, we have just changed the name of an existing one. So it should still be linked to previous years with the old stock name/code. Does that still require me to create a new stock in SID? How do I link it with its past?

@Milldaz no further action is required from your end. I made the changes.


Medigun Particles don't update real time

You have to change to another weapon and back to medigun to see the new effect.

I don't know if this is fixable, maybe cl_fullupdate when changing effects could work

I don't know if this is fixable, maybe cl_fullupdate when changing effects could work

I do this in FSN:
static std::string OldMedigunBeam = {};
static std::string OldMedigunCharged = {};
if ( OldMedigunBeam != Vars::Visuals::Medigun::MedigunBeam.Value || OldMedigunCharged != Vars::Visuals::Medigun::MedigunCharged.Value ) {
	auto pLocal = H::Entities.GetLocal( );
	auto pWeapon = H::Entities.GetWeapon( );
	if ( pLocal && pWeapon && pWeapon->m_iWeaponID( ) == TF_WEAPON_MEDIGUN ) {
		static auto manage = S::ManageChargeEffectFunc.As< void( __thiscall* )( void*, bool )>( );
		static auto update = S::UpdateEffectFunc.As< void( __thiscall* )( void* )>( );
		static auto stop = S::StopChargeEffectFunc.As< void( __thiscall* )( void* )>( );

		update( pWeapon );
		stop( pWeapon );
		manage( pWeapon, false );
	}
	OldMedigunBeam = Vars::Visuals::Medigun::MedigunBeam.Value;
	OldMedigunCharged = Vars::Visuals::Medigun::MedigunCharged.Value;
}

I don't know if this is fixable, maybe cl_fullupdate when changing effects could work
It works for the Charge particle, but Beam just doesn't draw it until you change weapons
I do this in FSN:
Nice

I don't know if this is fixable, maybe cl_fullupdate when changing effects could work

It works for the Charge particle, but Beam just causes it to not draw

I don't know if this is fixable, maybe cl_fullupdate when changing effects could work

i'd recommend against cl_fullupdate, mainly due to the fact that this resets weapon crit data and there currently are not any safeguards in place to restore them as they were

mad? here
this is simple enough to fix
after original FSN call, you can update the effects
`if ( OldMedigunEffect != Config->Visuals->MedigunBeamEffect || OldMedigunChargeEffect != Config->Visuals->MedigunChargeEffect )
{
if ( LocalPlayer && LocalWeapon && LocalWeapon->WeaponID() == TF_WEAPON_MEDIGUN )
{
// update all effects
( ( void( __thiscall* )( void* ) ) Globals->Addresses->WeaponMedigun__UpdateEffects )( LocalWeapon );
	( ( void( __thiscall* )( void* ) ) Globals->Addresses->WeaponMedigun__StopChargeEffect )( LocalWeapon );
	( ( void( __thiscall* )( void*, bool ) ) Globals->Addresses->WeaponMedigun__ManageChargeEffect )( LocalWeapon, false );

}

OldMedigunEffect = Config->Visuals->MedigunBeamEffect;
OldMedigunChargeEffect = Config->Visuals->MedigunChargeEffect;

}`

edit: idk why the beam would disappear but it works just fine for me

lagging out or using cl_fullupdate when healing causes the beam to disappear is a tf2 bug


Sinytra connector + Origins Forge incompatibility

I will completely understand if you do not support this issue, I just wanted to make you aware of it and to create a log for if anyone else comes searching for an answer with the same corner case.
When using Sinytra with Forge Origins there are some odd interactions.
Here is the log https://paste.atlauncher.com/view/c2804861-ad25-4a4a-8105-630cef303179
And here is the particular line I think that might be my specific issue.

It seems like apoli, the library handling all origin powers, is built differently for forge. I have no idea why, although I don't know how forge or neoforge operates, so it's possible it makes sense in some way. If this issue would be fixed, it would be apoli that would have to fix it. (I believe this is the forge port repo: https://github.com/EdwinMindcraft/apoli/tree/1.20.x/forge).
Another way to fix the issue would obviously be to use the fabric version of origins. I don't know if this would break other compatibility though, but there's a possibility it does not, since origins allow custom origins through datapacks (which I haven't looked at, but it would make sense if they were universal, meaning working for both forge and fabric). I'll keep the issue open for maybe a week, before closing it as not planned, in case you manage to actually resolve the issue

On a second look I've found that it doesn't work because the files have moved location.
As I highly doubt this would be changed to the "correct" file path on the forge version of apoli, since that would most certainly break quite a few forge mods, the easiest solution is to just use a grave mod built for forge.

That's along the lines of what I was expecting, I just consider YIGD to be the best of all gravestone mods and flagged this on your git for whenever someone else comes looking.

Thanks! Might be of note also, that it's possible to straight up disable the origins compat in the config of YiGD (almost forgot I had that implemented lol)

I did not know that was an option. I will test it out. Thanks again!

Disabling Origins compat fixed it! Thank you so much!


Cannot get jackett working

First, thank you for PMS, just discovered when Juan Carlos2 addon stopped working.
I have a docker container on my home server with jackett, transmission, medusa, and plex, so it downloads everything I want just perfect, but I would like to see "on demand" those torrents through stremio.
On my PC, I've installed PMS, and configured jackett addon like this:

On the output I see the addon is loaded on PMS
$ ./PimpMyStremio
PimpMyStremio - Checking for updates
PimpMyStremio - Already have latest version
PimpMyStremio - User defined add-ons list URL is valid, updating add-ons list
PimpMyStremio - Successfully updated add-ons list from remote source
Remote access choice: No (local)
Add-on running: BoredLama/stremio-jackett-local
PimpMyStremio server running at: http://<IP_ADDRESS>:7777
systrayhelper 0.0.5 (d5794e2a72a9cb160d78b6fd9ee640ad1df02af7 built 2018-12-05T09:24:55Z)

Then, copied the Addon URL (http://<IP_ADDRESS>:7777/stremio-jackett-local/manifest.json) and pasted on "Play URL/Magnet link"

I click on "Install"

And I can see it on my installed addons

So, let's do some test. First I did a search on Jackett, to see there are results

And search for the same tv show on stremio, and select any episode, then the message ADD-ON JACKETT IS STILL LOADING appears

I wait then until the message disappears, but no jackett source appears to select from...
I'm doing anything wrong? How can I see what's happening? Do I need to run jackett on the same host as PMS and Stremio?
Thank you!

Just noticed that after waiting for loading Jackett add-on, then it stops on PMS

Uhm, sounds like something broke in the addon, you should create an issue about it on the repository for the jackett addon: https://github.com/BoredLama/stremio-jackett-local/issues

Thank you @sungshon for pointing there, I didn't notice that repo.
I'm opening an issue there and closing this one.


Update cache docs link crashed

Redirection to the correct link: ./basics/caching.html, because ./basics/cache.html not exists.

Could you sing up the CLA?

I'm Sorry, I was signed just now the CLA.

Thank you soooo much!

@brodriguezs Do you want to fix few more issues in the documentation?
#417 #415


Cleanup docker dangling images

Cleanup docker images
for docker-for-mac use (not those still using docker-machine) it might be nice to add this

Thanks! 🚀