[General] Ethernet AWS MQTT DNS Network Error

Briefly summarize the issue being raised
MQTT is unable to connection to AWS endpoint with error occurring at DNS lookup. Similar to issue #936. Error does not occur with the same endpoint link for connection over WiFi.
Describe the desired outcome
Successful MQTT Ethernet connection to AWS endpoint without DNS error. Below shows the intended result using a WiFi module instead of connection over Ethernet:
[AWS WIFI] WINC1500 WIFI: DNS lookup:
Host:       a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com
IP Address: <IP_ADDRESS>
[AWS] [INFO ][MQTT][lu] Establishing new MQTT connection.
[AWS] [INFO ][MQTT][lu] (MQTT connection 0x200068e8, CONNECT operation 0x20009bf0) Waiting for operation completion.
[AWS] [INFO ][MQTT][lu] (MQTT connection 0x200068e8, CONNECT operation 0x20009bf0) Wait complete with result SUCCESS.
[AWS] [INFO ][MQTT][lu] New MQTT connection 0x24001ec0 established.

System information

Hardware board: STM32H743
IDE used: STM32CubeIDE
Operating System: Windows
Code version: FreeRTOS Kernel V10.2.0
Project/Demo: iot_network_afr.c (Amazon FreeRTOS Platform V1.0.0)

References
The below DNS error debug log repeats indefinitely:
[AWS] [ERROR][NET][lu] Failed to resolve a1c29udxup0qn9-ats.iot.eu-west-1.amazon
aws.com.
[AWS] [ERROR][MQTT][lu] Failed to establish new MQTT connection, error NETWORK E
RROR.
[AWS] [ERROR][DEMO][lu] MQTT CONNECT returned error NETWORK ERROR.
[AWS] [INFO ][Shadow][lu] Shadow library cleanup done.
[AWS] [INFO ][MQTT][lu] MQTT library cleanup done.
[AWS] [ERROR][DEMO][lu] Error running demo.
[IDLE]<PHONE_NUMBER>12
[ADMIN] Starting AWS Task
[AWS] [INFO ][DEMO][lu] Successfully initialised the demo. Network type for the
demo: 4
[AWS] [INFO ][MQTT][lu] MQTT library successfully initialized.
[AWS] [INFO ][Shadow][lu] Shadow library successfully initialized.

Despite attempts at modifying the link to produce a different result the same DNS server address is always given:

Code to reproduce bug
The following is where the code throws the DNS error within the iot_network_afr.c file:
/* Clear the connection information. */
    ( void ) memset( pNewNetworkConnection, 0x00, sizeof( _networkConnection_t ) );

    /* Create a new TCP socket. */
    tcpSocket = SOCKETS_Socket( SOCKETS_AF_INET,
                                SOCKETS_SOCK_STREAM,
                                SOCKETS_IPPROTO_TCP );

    if( tcpSocket == SOCKETS_INVALID_SOCKET )
    {
        IotLogError( "Failed to create new socket." );
        IOT_SET_AND_GOTO_CLEANUP( IOT_NETWORK_SYSTEM_ERROR );
    }

    /* Set up connection encryption if credentials are provided. */
    if( pAfrCredentials != NULL )
    {
        status = _tlsSetup( pAfrCredentials, tcpSocket, pServerInfo->pHostName, hostnameLength );

        if( status != IOT_NETWORK_SUCCESS )
        {
            IOT_GOTO_CLEANUP();
        }
    }

    /* Establish connection. */
    serverAddress.ucSocketDomain = SOCKETS_AF_INET;
    serverAddress.usPort = SOCKETS_htons( pServerInfo->port );
    serverAddress.ulAddress = SOCKETS_GetHostByName( pServerInfo->pHostName );

    /* Check for errors from DNS lookup. */
    if( serverAddress.ulAddress == 0 )
    {
        IotLogError( "Failed to resolve %s.", pServerInfo->pHostName );
        IOT_SET_AND_GOTO_CLEANUP( IOT_NETWORK_SYSTEM_ERROR );
    }

Steps already taken to overcome issue

As noted in issue 936, modifying values in the FreeRTOSIPConfig.h can resolve the issue but this has not happened. The values I have set below:

#define ipconfigSOCK_DEFAULT_RECEIVE_BLOCK_TIME    pdMS_TO_TICKS( 5000 )
#define ipconfigSOCK_DEFAULT_SEND_BLOCK_TIME       pdMS_TO_TICKS( 5000 )

#define ipconfigUSE_DNS_CACHE                      ( 1 )
#define ipconfigDNS_REQUEST_ATTEMPTS               ( 3 ) // Changed from 2

I have used Powershell nslookup for the ethernet connection and it returns:

PS C:\Users\User> nslookup a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com
Server:  UnKnown
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com
Addresses:  2a01:578:3::364b:e990
          2a01:578:3::364d:5172
          2a01:578:3::34d0:aa56
          2a01:578:3::3f8:197d
          2a01:578:3::22f1:60c6
          2a01:578:3::22f2:52cd
          2a01:578:3::341f:fa23
          2a01:578:3::3648:bd94
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>

Tried modifying the link, removing -ats etc. but no change to DNS server address or response
Directly connected to 2 separate routers bypassing switch
Ensured WiFi build and Ethernet build used the same link variable
Checked MQTT broker port was set to 8883

Is there potentially a config setting I am not configuring correctly? I feel as though if there was a router issue the WiFi MQTT would also fail.
Any help is much appreciated,
Greg

Hello @gsbwallace1996 can you capture a Wireshark log?
I am curious to know what is the value of ipconfigDNS_CACHE_NAME_LENGTH.
I am assuming that you are using FreeRTOS+TCP. Also, can you try doing a DNS lookup using SOCKETS_gethostbyname( "www.github.com" ) and see whether that succeeds?
Thanks

@AniruddhaKanhere wrote:

Hello @gsbwallace1996 can you capture a Wireshark log?

I would have asked for a PACP as well. Can you attach it in a ZIP file?

I am curious to know what is the value of ipconfigDNS_CACHE_NAME_LENGTH.

That is the size of the largest URL that the DNS software can handle. By default, it is 254 bytes, but your copy of FreeeRTOSIPConfig.h might define it smaller.
Note that a copy of the URL will be declared on-stack:
    char pcName[ ipconfigDNS_CACHE_NAME_LENGTH ];

... which may cost 256/4 words of stack.
Also, while debugging, it would be interesting to see the logging from FreeeRTOS+TCP: see ipconfigHAS_PRINTF and ipconfigHAS_DEBUG_PRINTF on FreeRTOS.org.
Of course it is possible the run a test without DNS, by filling in an IP-address:
-    serverAddress.ulAddress = SOCKETS_GetHostByName( pServerInfo->pHostName );
+    serverAddress.ulAddress = FreeRTOS_inet_addr_quick( 52, 213, 52, 29 );

FreeRTOS_inet_addr_quick() returns a network-endian IP-address, no worries about the endianness.

Hi @htibosch @AniruddhaKanhere,
Apologies in advance for the long post, TLDR: I actually believe this issue to now be a potential DHCP issue or general connection issue. I've put below the steps I've taken to reach that conclusion.
I can confirm that the ipconfigDNS_CACHE_NAME_LENGTH is set to 254 and I am using FreeRTOS+TCP.
Like you suggested @htibosch I done print line debugging of the lower level functions to ensure everything was passed and triggering correctly. Starting with the cache:
“03/11/2022 12:47:34”,[AWS] [ERROR][NET][lu] Failed to resolve [a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com](http://a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com/).
“03/11/2022 12:47:34”,[AWS] [ERROR][MQTT][lu] Failed to establish new MQTT connection, error NETWORK ERROR.
“03/11/2022 12:47:34”,[AWS] [ERROR][DEMO][lu] MQTT CONNECT returned error NETWORK ERROR.
“03/11/2022 12:47:34”,[AWS] [INFO ][Shadow][lu] Shadow library cleanup done.
“03/11/2022 12:47:34”,[AWS] [INFO ][MQTT][lu] MQTT library cleanup done.
“03/11/2022 12:47:34”,[AWS] [ERROR][DEMO][lu] Error running demo.
“03/11/2022 12:47:36”,[ADMIN] Starting AWS Task
“03/11/2022 12:47:36”,[AWS] [INFO ][DEMO][lu] Successfully initialised the demo. Network type for the demo: 4
“03/11/2022 12:47:36”,[AWS] [INFO ][MQTT][lu] MQTT library successfully initialized.
“03/11/2022 12:47:36”,[AWS] [INFO ][Shadow][lu] Shadow library successfully initialized.
“03/11/2022 12:47:36”,[AWS] SOCKETS_GetHostByName
“03/11/2022 12:47:36”,[AWS] FreeRTOS_gethostbyname
“03/11/2022 12:47:36”,[AWS] FreeRTOS_gethostbyname_a start
“03/11/2022 12:47:36”,[AWS] FreeRTOS_gethostbyname_a ipconfigUSE_DNS_CACHE
“03/11/2022 12:47:36”,[AWS] FreeRTOS_dnslookup pcHostName: [a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com](http://a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com/) (string not truncated when passed)
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:36”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:36”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[IDLE]<PHONE_NUMBER>16
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
“03/11/2022 12:47:37”,[AWS] xDNSCache[x].pcName: 0
“03/11/2022 12:47:37”,[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0 (cycles for 20 per ipconfigDNS_CACHE_ENTRIES)
“03/11/2022 12:47:37”,[AWS] xFound == pdFALSE
“03/11/2022 12:47:37”,[AWS] xLookUp != pdFALSE
“03/11/2022 12:47:37”,[AWS] FreeRTOS_dnslookup ulIPAddress: 0 (zero returned addresses from cache)

No hits for the DNS so nothing unexpected. Turned off cache in config file:
"03/11/2022 14:19:16",[AWS] prvGetHostByName (function name)
"03/11/2022 14:19:16",[AWS] xReadTimeOut_ms: 15000 (ipconfigSOCK_DEFAULT_RECEIVE_BLOCK_TIME)
"03/11/2022 14:19:16",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 14:19:16",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS> (obtained from sub function)
"03/11/2022 14:19:16",[AWS] ulIPAddress: <IP_ADDRESS> (passed correctly from sub function)
"03/11/2022 14:19:16",[AWS] dnsDNS_PORT: 4
"03/11/2022 14:19:19",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:21",[Tmr Svc] MIC_0 assigned
"03/11/2022 14:19:24",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:26",[Tmr Svc] MIC_1 assigned
"03/11/2022 14:19:29",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:31",[Tmr Svc] MIC_2 assigned
"03/11/2022 14:19:31",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 14:19:31",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 14:19:31",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 14:19:31",[AWS] dnsDNS_PORT: 4
"03/11/2022 14:19:34",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:36",[Tmr Svc] MIC_3 assigned
"03/11/2022 14:19:39",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:41",[Tmr Svc] MIC_4 assigned
"03/11/2022 14:19:44",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:45",[Tmr Svc] MIC_5 assigned
"03/11/2022 14:19:46",[AWS] iptraceSENDING_DNS_REQUEST (does this 3 times due to ipconfigDNS_REQUEST_ATTEMPTS)
"03/11/2022 14:19:46",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 14:19:46",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 14:19:46",[AWS] dnsDNS_PORT: 4
"03/11/2022 14:19:49",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:50",[Tmr Svc] MIC_6 assigned
"03/11/2022 14:19:54",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:19:55",[Tmr Svc] MIC_7 assigned
"03/11/2022 14:19:59",[IDLE]<PHONE_NUMBER>16
"03/11/2022 14:20:00",[Tmr Svc] MIC_8 assigned
"03/11/2022 14:20:01",[AWS] ulIPAddress: 0
"03/11/2022 14:20:01",[AWS] [ERROR][NET][lu] Failed to resolve [a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com](http://a1c29udxup0qn9-ats.iot.eu-west-1.amazonaws.com/).
"03/11/2022 14:20:01",[AWS] [ERROR][MQTT][lu] Failed to establish new MQTT connection, error NETWORK ERROR.
"03/11/2022 14:20:01",[AWS] [ERROR][DEMO][lu] MQTT CONNECT returned error NETWORK ERROR.
"03/11/2022 14:20:01",[AWS] [INFO ][Shadow][lu] Shadow library cleanup done.
"03/11/2022 14:20:01",[AWS] [INFO ][MQTT][lu] MQTT library cleanup done.
"03/11/2022 14:20:01",[AWS] [ERROR][DEMO][lu] Error running demo.
"03/11/2022 14:20:02",[ADMIN] Starting AWS Task
"03/11/2022 14:20:02",[AWS] [INFO ][DEMO][lu] Successfully initialised the demo. Network type for the demo: 4
"03/11/2022 14:20:02",[AWS] [INFO ][MQTT][lu] MQTT library successfully initialized.
"03/11/2022 14:20:02",[AWS] [INFO ][Shadow][lu] Shadow library successfully initialized. (cycle repeats)

I redone the windows ping/ping path for the dns link and got:

I then manually altered the address and port as seen in this link just before the FreeRTOS_sendto. Tried the ping IP and a few nslookup IP addresses but no luck. Message sent but no bytes received, socket then closed. This was a bad idea as I'm sure AWS uses virtual servers which IPs change constantly:
"03/11/2022 15:40:13",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 15:40:13",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 15:40:13",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:13",[AWS] Manual ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:13",[AWS] dnsDNS_PORT: 4
"03/11/2022 15:40:13",[AWS] FreeRTOS_sendto
"03/11/2022 15:40:17",[Tmr Svc] MIC_6 assigned
"03/11/2022 15:40:17",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:22",[Tmr Svc] MIC_7 assigned
"03/11/2022 15:40:22",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:27",[Tmr Svc] MIC_8 assigned
"03/11/2022 15:40:27",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:28",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 15:40:28",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 15:40:28",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:28",[AWS] Manual ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:28",[AWS] dnsDNS_PORT: 4
"03/11/2022 15:40:28",[AWS] FreeRTOS_sendto
"03/11/2022 15:40:32",[Tmr Svc] MIC_9 assigned
"03/11/2022 15:40:32",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:37",[Tmr Svc] MIC_10 assigned
"03/11/2022 15:40:37",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:42",[Tmr Svc] MIC_11 assigned
"03/11/2022 15:40:42",[IDLE]<PHONE_NUMBER>16
"03/11/2022 15:40:43",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 15:40:43",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 15:40:43",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:43",[AWS] Manual ulIPAddress: <IP_ADDRESS>
"03/11/2022 15:40:43",[AWS] dnsDNS_PORT: 4
"03/11/2022 15:40:43",[AWS] FreeRTOS_sendto
"03/11/2022 15:40:47",[Tmr Svc] MIC_0 assigned
"03/11/2022 15:40:58",[AWS] FreeRTOS_closesocket
"03/11/2022 15:40:58",[AWS] ulIPAddress: 0

Next thought was to use what @AniruddhaKanhere suggested but I instead used the freeRTOS example that I implemented in the high level .c file. Unfortunately, as it uses the same low level function it still produced the error:
"03/11/2022 16:37:54",[AWS] FreeRTOS_dnslookup pcHostName: [www.freertos.org](http://www.freertos.org/)
"03/11/2022 16:37:54",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:54",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:54",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:54",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:54",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:54",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:54",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:54",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:55",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:55",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xDNSCache[x].pcName: 0
"03/11/2022 16:37:56",[AWS] IF xDNSCache[ x ].pcName[ 0 ] == 0
"03/11/2022 16:37:56",[AWS] xFound == pdFALSE
"03/11/2022 16:37:56",[AWS] xLookUp != pdFALSE
"03/11/2022 16:37:56",[AWS] FreeRTOS_dnslookup ulIPAddress: 0
"03/11/2022 16:37:56",[AWS] prvGetHostByName
"03/11/2022 16:37:56",[AWS] xReadTimeOut_ms: 15000
"03/11/2022 16:37:56",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 16:37:56",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 16:37:56",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 16:37:56",[AWS] dnsDNS_PORT: 4
"03/11/2022 16:37:56",[AWS] FreeRTOS_sendto
"03/11/2022 16:37:58",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:37:58",[Tmr Svc] MIC_7 assigned
"03/11/2022 16:38:03",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:38:03",[Tmr Svc] MIC_8 assigned
"03/11/2022 16:38:08",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:38:08",[Tmr Svc] MIC_9 assigned
"03/11/2022 16:38:11",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 16:38:11",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 16:38:11",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 16:38:11",[AWS] dnsDNS_PORT: 4
"03/11/2022 16:38:11",[AWS] FreeRTOS_sendto
"03/11/2022 16:38:26",[AWS] iptraceSENDING_DNS_REQUEST
"03/11/2022 16:38:26",[AWS] xNetworkAddressing.ulDNSServerAddress: <IP_ADDRESS>
"03/11/2022 16:38:26",[AWS] ulIPAddress: <IP_ADDRESS>
"03/11/2022 16:38:26",[AWS] dnsDNS_PORT: 4
"03/11/2022 16:38:26",[AWS] FreeRTOS_sendto
"03/11/2022 16:38:28",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:38:28",[Tmr Svc] MIC_1 assigned
"03/11/2022 16:38:33",[Tmr Svc] MIC_2 assigned
"03/11/2022 16:38:33",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:38:38",[Tmr Svc] MIC_3 assigned
"03/11/2022 16:38:38",[IDLE]<PHONE_NUMBER>92
"03/11/2022 16:38:41",[AWS] FreeRTOS_closesocket
"03/11/2022 16:38:41",[AWS] [ERROR][NET][lu] DNS lookup failed.

What lead me on to the DHCP thought was the IP-task echoing the same IP address:
/* The default IP and MAC address used by the demo.  The address configuration
 * defined here will be used if ipconfigUSE_DHCP is 0, or if ipconfigUSE_DHCP is
 * 1 but a DHCP server could not be contacted.  See the online documentation for
 * more information.  In both cases the node can be discovered using
 * "ping RTOSDemo". */
static const uint8_t ucIPAddress[ 4 ] =
{
    configIP_ADDR0, //192
    configIP_ADDR1, //168
    configIP_ADDR2, //0
    configIP_ADDR3 //105
};
static const uint8_t ucNetMask[ 4 ] =
{
    configNET_MASK0, //255
    configNET_MASK1, //255
    configNET_MASK2, //255
    configNET_MASK3 //0
};
static const uint8_t ucGatewayAddress[ 4 ] =
{
    configGATEWAY_ADDR0, //192
    configGATEWAY_ADDR1, //168
    configGATEWAY_ADDR2, //0
    configGATEWAY_ADDR3 //1
};
static const uint8_t ucDNSServerAddress[ 4 ] =
{
    configDNS_SERVER_ADDR0, //208
    configDNS_SERVER_ADDR1, //67
    configDNS_SERVER_ADDR2, //222
    configDNS_SERVER_ADDR3 //222
};

Turning the DHCP off in the config hasn't yielded any result changes from using the static IP. Tried to see if the DHCP was retrieving any bytes from within the prvProcessDHCPReplies function:
	lBytes = FreeRTOS_recvfrom( xDHCPData.xDHCPSocket, ( void * ) &pucUDPPayload, 0ul, FREERTOS_ZERO_COPY, &xClient, &xClientLength );
	configPRINTF( ( "lBytes: %d\r\n", lBytes ) );
	if( lBytes > 0 )
	{
		/* Map a DHCP structure onto the received data. */
		pxDHCPMessage = ( DHCPMessage_t * ) ( pucUDPPayload );
		vTaskDelay(100);
		configPRINTF( ( "if( lBytes > 0 )\r\n" ) );
...

But no luck as return corresponds to If no bytes are received before the configured block time expires then -pdFREERTOS_ERRNO_EWOULDBLOCK (-11) is returned.
Using Wireshark in combination with a switch or directly into my laptop I attempted to see anything coming from the device. I have yet been unable to see anything for the devices static IP. I came across this link which suggests that the address <IP_ADDRESS> is indeed from the embedded trying to get an address in the direct connection but I not sure.
I have attached some of the wireshark files that I took and the config file.
dev_ETH_DIRECT.zip
Next steps are probably to alter the code to fire down UDP to establish data packets coming out.
Many thanks,
Greg

After you turned of your DHCP, I would expect to see packets from <IP_ADDRESS>, but I don't see any in any of the PCAP files?
What I don't understand is the logging dnsDNS_PORT: 4, shouldn't that be either 0x3500 or 0x0035 (depending on the endianness) ?

Hardware board: STM32H743

Note that this is one of the latest ports, and you might have some start-up problems.
The most difficult things is to find the proper memory that is not cached, and that can be passed to DMA.
Please have a look at the readme.md
Have you tried the more basic things like:

Define a static address and try ping
Use DHCP and see if the works

My feeling is that not a packet reaches the wire.

WINC1500 WIFI

Just curious, are you using this in combination with a STM32H7x?


KAP-50: Add Queries for getting Subscription's result dates

The user should be able to query which are the dates that Kladama has generated results for.
There are basically 3 endpoints to do that:
1- To return all dates:
   https://kladama.com/subsc/user/<user>/<subsc_code>/dates

Example:

    https://kladama.com/subsc/user/dev/5ALRN404B4XWCQ04EP19L3TU1OJKX7/dates

2- To return dates in a period:
    https://kladama.com/subsc/user/<user>/<subsc_code>/dates/<initDate>TO<finalDate>

Example:

    https://kladama.com/subsc/user/dev/5ALRN404B4XWCQ04EP19L3TU1OJKX7/dates/20200101TO20200901

3- To return all dates since some date:
    https://kladama.com/subsc/user/<user>/<subsc_code>/dates/<initDate>TONOW

Example:

    https://kladama.com/subsc/user/dev/5ALRN404B4XWCQ04EP19L3TU1OJKX7/dates/20200101TONOW

These GETs return this format:
"_embedded": {
        "dates": [
            {
                "year": 1979,
                "month": 5,
                "day": 19,
                "iso_str": "1979-05-19",
                "_links": {
                    "data": {
                        "href": "https://kladama.com/subsc/user/cargill_1/HOH80T797TDFTURD643VBK009JO01Q/results/dates/19790519"
                    }
                }
            },
            {
                "year": 1979,
                "month": 5,
                "day": 20,
                "iso_str": "1979-05-20",
                "_links": {
                    "data": {
                        "href": "https://kladama.com/subsc/user/cargill_1/HOH80T797TDFTURD643VBK009JO01Q/results/dates/19790520"
                    }
                }
            }
        ]
    }

Already implemented


Parallel computing tasks

Hey, is it possible for you to include the clusters tab within datalab? Along with easy collaboration, parallel processing using ipyparallel, would truly unlock the benefits of running data experiments within the notebook on the compute engine. Right now I have three of the four cores doing nothing while running random forests regression.
For now, I am building my own container, should I modify the dependencies listed in the Docker.in file
like so:
pip install -U ipyparallel && \
Will there be a problem?
Also, what is the best way to deal with HDF5?
Thanks,
Daniel

If you want to use that in a notebook, you can just have a cell in your notebook with:
%%bash
pip install --upgrade ipyparallel

I know that is possible, but its a workaround and not permanent. As for HDF5? Its not possible to simply pip install that module as it relies on other installations.

Yes, it isn't permanent, but unless we have many users clamoring for a library it is unlikely to be added to the default container. As you note, you can build your own custom container.

I hadn't use this before. Doing the pip install is not enough. We have a customized UX that will not show a clusters tab.

+1

👍


Issue in Dev Container

It's not working in vscode dev container.

@AmitRDesai can you give more details about what is not working and what you were trying to do to get the error?

Hi,
I was using the Microsoft Remote containers extension to work with docker container, when I was trying to paste JSON as TypeScript Interface that time I was getting this error and also I got this error couple of times before.
It's working fine in a normal VSCode window.
Thanks


Assert on structure not specific instance type?

Hi, not sure if this is expected behaviour.
Given the following:
const Person = t.struct({
  name: t.String,
  surname: t.String
}, `Person`);

function hello(x : Person) {
  return 'Hello ' + x.name;
}

Executing the following errors:
hello({ name: `jon`, surname: `doe`});

Whereas the following does not:
hello(Person({ name: `jon`, surname: `doe`}));

This seems a bit overly strict in my opinion.  I know it transpiles to:
t.Assert(Person.is(x));

Do you think it's worth it and possible to relax the rules so that we assert the structure only?
Sometimes I just want to wrap a complex argument object into a local struct and not necessarily expose the type.

Nice one!
Can look at transpiling to:
Person(x)

Which throws right? :)

Do you think it's worth it and possible to relax the rules so that we assert the structure only?

It would be confusing if you use a method in the function body:
const Person = t.struct({
  name: t.String,
  surname: t.String
}, `Person`);

Person.prototype.getFullName = function () {
  return `${this.name} ${this.surname}`;
};

function hello(x : Person) {
  // here you do rely on x being a Person...
  return 'Hello ' + x.getFullName();
}

// ...instead you get a TypeError
hello({ name: `jon`, surname: `doe`}); // throws "TypeError: x.getFullName is not a function"

Very good point! I'll look into a typed destructure instead.

Hmm, desctructured type checking throws Babel into a hissy fit.  Closing.


Allow external istiod and config cluster system namespaces to be different

Describe the feature request
When using an external control plane configuration, the external istiod and config cluster system namespaces must be the same. In the documented example they are both using the ns external-istiod. One can extend the example to deploy a second external istiod on the same external cluster (for a different mesh) in another ns, for example external-istiod-2. In that case, the second mesh's config cluster will also need to use system namespace external-istiod-2.
It would be much nicer if the two namespaces could be different, allowing the mesh cluster to be configured in a standard way, independent of the number of external istiods that may be running on the external cluster. In fact, ideally, the system namespace on the config cluster could be istio-system, by default, no different than for a local istiod mesh.
Describe alternatives you've considered
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

Is this a docs issue or is there a technical constraint?

@howardjohn There seem to be some places in the code where istiod uses its root namespace, assuming it's the same as the root namespace on the config cluster. So, we probably need some enhancement to allow configuring both namespaces for the external istiod and make sure the correct one is always used.

When do we ever use the root namespace of the config cluster? I thought we get root namespace from mesh config only

Seems the first problem we observed is here it is using istiod's ns to create the rootCA: https://github.com/istio/istio/blob/2a69579d6db5c6fc8f6983b4977393ead751aeef/pilot/pkg/bootstrap/istio_ca.go#L377. Shouldn't it be using the meshconfig root namespace, instead of opts.Namespace here? Don't know if there are other similar issues or not.

Root namespace and the system namespace are not the same ( they are
actually recommended to be different, although we don't follow that...).
Root namespace refers to the namespace that configs with inheritance apply
globally.
On Wed, Apr 14, 2021 at 10:49 AM Frank Budinsky @.***>
wrote:

Seems the first problem we observed is here it is using istiod's ns to
create the rootCA:
https://github.com/istio/istio/blob/2a69579d6db5c6fc8f6983b4977393ead751aeef/pilot/pkg/bootstrap/istio_ca.go#L377.
Shouldn't it be using the meshconfig root namespace, instead of
opts.Namespace here? Don't know if there are other similar issues or not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/32147#issuecomment-819711351, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXO2ZPVDDZC46UZENXTTIXITXANCNFSM423YF5QQ
.

I updated the title and description after off-line discussion with @howardjohn, where I realized that I was using "root namespace" in the description, instead of "system namespace", which was confusing the issue.
To clarify further, the root namespace is where inherited config (e.g., DestinationRules) go. It shouldn't necessarily be he same as the system namespace (usually istio-system) where istiod, default gateways, configmaps, webhooks, etc. go. The problem is that we don't want the system namespace to be the same on the data plane cluster as on the external cluster where istiod is deployed. For example, on a multi-tenanted external cluster istiod is deployed in a namespace like: abc123defxxx-external-istiod, but we want the configmaps, webhooks, etc., on the data plane (config) cluster to be in a simple namespace like istio-system.
In summary, we need to configure istiod to be running in namespace1 on the control plane cluster, but have it access and work with system resources (configmaps, etc.) in namespace2 on the config cluster.

This looks like more work to implement than it's worth. Closing.


Added a resultLimit to getHistory and getLibraryHistory

Added a resultLimit to getHistory and getLibraryHistory that defaults to the query size if not defined.
Just an FYI with the current size and page query on the Activity Page you could say display 10 items but see less if the case I describe below. I only see 9 results because one of my entries has the plus active.
Problem:
If a user started and stopped a movie 10 times and a user requests a size of 10 the return value would only be one entry since those items get grouped.
Solution:
Add requestLimit (not sure if you want camel case in the query but was trying to make it more verbose) to the query. Now you can set the size to 50 and limit the grouped results to 10. Default requestLimit to size if not defined so that you would at least get all the results from the size attribute.
If you think this is making this too complicated I understand and feel free to close this merge request. I could do basically the same thing in my application using the existing api.

Hey @brikim , i just checked this out, i can kind of see what you mean in regards to this use case, grouping messes up alot when it comes to the row count. This is obviously due to the fact that im doing grouping in the code and not in sql. I do think that this can be fixed in the future by playing around with the queries and that this fix your pushing is more of a bandage solution adding unneeded complexity. I appreciate your enthusiasm in contributing to the project however.


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In c9577c6, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2581 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in d97f0fa.


ERROR: Unable to download JSON metadata: HTTP Error 500

[x ] I've verified and I assure that I'm running youtube-dl 2017.02.22

Before submitting an issue make sure you have:

[x ] At least skimmed through README and most notably FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-o', 'D:\\lynda\\Design\\Graphic Design Tips & Tricks\\%(playlist_index)s - %(title)s.%(ext)s', '--all-subs', '--external-downloader', 'aria2c.exe', '--verbose', 'https://www.lynda.com/Color-tutorials/Graphic-Design-Tips-Tricks/365959-2.html']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2017.02.22
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {}
[lynda:course] Downloading signin page
[lynda:course] Submitting email
[lynda:course] Submitting password
[lynda:course] 365959: Downloading course JSON
ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkf42q19b\build\youtube_dl\extractor\common.py", line 496, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkf42q19b\build\youtube_dl\YoutubeDL.py", line 2036, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 502, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 685, in http_error_302
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
...
<end of log>

Description of your issue, suggested solution and other information
I downloaded a lot from lynda.com till date 02/22/2017 with no error. On 02/22/2017 this error ocurs on most links on lynda.com, and I start searching the web for a solution, I discovered youtube-dl have an update on this date, I made the update but nothing was changed ...so on 02/22/2017 all my downloads from lynda.com was broken. I have premium account on lynda with rights for download.

Me too, lol, still don't know how to resolve this

http://mediathek.daserste.de/Reportage-Dokumentation/Die-Story-im-Ersten-Autoland-abgebrannt/Video?bcastId=799280&documentId=38510062
http://www.ardmediathek.de/tv/Reportage-Dokumentation/Die-Story-im-Ersten-Autoland-abgebrannt/Das-Erste/Video?bcastId=799280&documentId=38510062

Thank you, is working now.

Not for me.
[ARD:mediathek] Video: Downloading media JSON ERROR: Video: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@Bachsau learn how to use command line.


Fix broken links

Fixes most of the broken links in this repo. There are still broken links in ./README.md (the documentation in the linked section is outdated, not just the link) and in samples/chemistry/IntegralData/README.md (the FermionHamiltonian.LoadFromYAML link, because I couldn't find a correct link).

@vxfield In discussing the section with @cgranade, they recommended removing the section because Github Codespace is in private preview


 Flaky! But irrelevant. Will maybe fix on main.

If you rebase onto main, there's some goodies waiting:

2ce5a1920ffe82b58ebb6b1caeb0dd8b145ab979 lets you run ./scripts/update-readme.py and it'll update the srgn --help section automatically (not tested extensively yet)

bdd183cc27036f7840db2c0d85a89a7d04c0dd0e will let you add as many tag() as you want. Your new arguments are the longest of all existing ones, so put them first:
https://github.com/alexpovel/srgn/blob/bdd183cc27036f7840db2c0d85a89a7d04c0dd0e/tests/readme.rs#L495-L503
Put them in their own arg group like the others and it should fit and work.

3af3f52c428a526e15239b1759f8500080fbba0a removed the bug required the hack with a trailing space

0e100dd0fc4798672ffe880d5654ca23387aefbb silences the lint which is failing CI

If you rebase onto main, there's some goodies waiting:
* [2ce5a19](https://github.com/alexpovel/srgn/commit/2ce5a1920ffe82b58ebb6b1caeb0dd8b145ab979) lets you run `./scripts/update-readme.py` and it'll update the `srgn --help` section automatically (not tested extensively yet)

Ah good quality of life improvement!

* [bdd183c](https://github.com/alexpovel/srgn/commit/bdd183cc27036f7840db2c0d85a89a7d04c0dd0e) will let you add as many `tag()` as you want. Your new arguments are the longest of all existing ones, so put them first:
  https://github.com/alexpovel/srgn/blob/bdd183cc27036f7840db2c0d85a89a7d04c0dd0e/tests/readme.rs#L495-L503

  Put them in their own `arg` group like the others and it should fit and work.

Done! a77b149274f70f288f21f490464478f751e6af5b.

* [3af3f52](https://github.com/alexpovel/srgn/commit/3af3f52c428a526e15239b1759f8500080fbba0a) removed the bug required the hack with a trailing space

Good to get that confusing issue fixed.

* [0e100dd](https://github.com/alexpovel/srgn/commit/0e100dd0fc4798672ffe880d5654ca23387aefbb) silences the lint which is failing CI

:partying_face:

Codecov Report
Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.48%. Comparing base (4a513ec) to head (a77b149).

Files with missing lines
Patch %
Lines

src/main.rs
94.44%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   88.34%   88.48%   +0.14%
==========================================
  Files          33       33
  Lines        1930     1920      -10
==========================================
- Hits         1705     1699       -6
+ Misses        225      221       -4

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

Great, merged! Thanks for your work, I'll release soon and then you can finally use it.

Great, merged! Thanks for your work, I'll release soon and then you can finally use it.

Nice! I'll be trying it out as part of the CI process of a 200K LOC Rust project to perform custom linting.
I'll be back with feedback and more PR's!


Renaming tasks to steps

Good point! I renamed it to _step. Another option could be to name the function run_psi4 and import the underlying function as something else, like from qepsi4 import run_psi4 as _run_psi4. But I think this might get confusing.

Yes would be good to be consistent. Let's chat tomorrow!


Skip option

Adds the --skip option.
It's an integer containing the number of rows you wish to skip ahead from the input transport.
Reasoning: when importing a large index, things can go wrong, be it connectivity, crashes, someone forgetting to screen, etc.  This allows you to start the dump again from the last known line written (as logged by the offset in the output).

This seems dangerous to me

We aren't specifying a sort when we dump, so I don't think you can guarantee that the 100'th row of dump 1 will be the same as dump 2.
This assumes that your dataset is not changing at all between the dumps.  If you delete 1 record, the row orders will all change

Because of the above, I wouldn't want to "Advertise" this feature because it's really likely that it would produce un-safe results.   The normal exports (using scan/scroll) gurante that the data is 'snapshotted' and consistent.  This is the opposite pattern.
Thoughts?

(good, thorough PR)

@evantahler agree with you that there's no way to guarantee this would maintain the fullness of a dump.  This is more of an option that I use in dev mode when I want to get "most" rows in there (sort of like the timeout option).
Feel free to close if you don't think it belongs in master, happy to keep in branch or as a hidden feature.  Just seems useful to other devs in the same position of wanting to get most data into their dev env to have near production data if that makes sense.

Hmm... perhaps just console.log a warning message if you use this?

Good idea.  I'll update the PR as soon as near laptop.
—
Sent from Mailbox
On Mon, Jan 26, 2015 at 9:59 AM, Evan Tahler<EMAIL_ADDRESS>wrote:

Hmm... perhaps just console.log a warning message if you use this?
Reply to this email directly or view it on GitHub:
https://github.com/taskrabbit/elasticsearch-dump/pull/63#issuecomment-71505728

Tight.

@evantahler rebased and updated.  Let me know if the copy needs work.

great!

added to help.txt too https://github.com/taskrabbit/elasticsearch-dump/commit/10d92cdf525c2792f425f4b1b5517e5352367fbd

v0.10.0 up on NPM


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
When I install the ImageMagick.ImageMagick package it adds the installation folder to the system path of my machine. I think this should not be the default behaviour. Instead adding to the user path seems more appropriate.
Note that I was not running install with administrator privileges.
Steps to reproduce
Run winget install ImageMagick.ImageMagick
Actual behavior
Package gets installed and installation path is added to system path.
Expected behavior
Package gets installed and installation path is added to user path.
Environment
Windows Package Manager v1.6.3133
Windows: Windows.Desktop v10.0.22631.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

ImageMagick 7.1.1-21 Q16-HDRI (64-bit) (2023-10-21)

Screenshots and Logs
No response

Looking at the manifest, ImageMagick uses an inno installer. This means that winget does not control any of the data which is written to the registry or the path variable, and winget cannot do anything to fix it. This is an issue with the ImageMagick installer itself and only the publisher of ImageMagick will be able to fix it. I would suggest reaching out to their support team.
[Policy] Installer-Issue

It always available in github.com.
You can try https://github.com/ImageMagick/repositories.

I think that inno have /CURRENTUSER switches. But the switches was not activate on the manifest.


[MM-39503] - Remove DownloadApps Feature Flag

Summary
This PR removes DownloadAppsCTA from FeatureFlags model
Ticket Link
MM-39503
Release Note
Removed the DownloadAppsCTA feature flag

LGTM besides the i18n-check failure. Thanks, @AGMETEOR

Hello @nickmisasi gentle ping here


provide sample implementation for store

just to give a new user an idea of what load/3 would actually look like, i've copied the test code to the README

Coverage remained the same at 72.487% when pulling a5c83524915de8f06b88f9aa03041308f49d5cd9 on steffkes:steffkes-patch-2 into ce904e5dea959a5caefe2cde15669bba43ac3fa6 on infinitered:master.

@danielberkompas anything else you need before this will get merged?

@steffkes This isn't actually the example I would use. I would show an Ecto-based store, which is what most people will need.
defmodule MyApp.ElasticsearchStore do
  @behaviour Elasticsearch.Store

  import Ecto.Query

  alias MyApp.Repo

  def load(schema, offset, limit) do
     schema
     |> offset(^offset)
     |> limit(^limit)
     |> Repo.all()
  end
end

i'm not using ecto, so the example we had in the tests before were perfect, either way .. more concrete examples are always helpful


//fill doesn't except numerical ids

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS: [e.g. iOS]
php version [e.g. 7.4.11, 8.0]
BuilderTools Version [e.g. dev#142, Release 1.2.0-beta3]

Additional context
Add any other context about the problem here.

Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS: [e.g. iOS]
php version [e.g. 7.4.11, 8.0]
BuilderTools Version [e.g. dev#142, Release 1.2.0-beta3]

Additional context Add any other context about the problem here.
You have not added any information to the issue, surely the creator is unaware of this.

For what it's worth, the latest version (dev218) works correctly the /fill command and its IDs.
Check the video if u want: https://streamable.com/y1rptx

Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS: [e.g. iOS]
php version [e.g. 7.4.11, 8.0]
BuilderTools Version [e.g. dev#142, Release 1.2.0-beta3]

Additional context Add any other context about the problem here.

You have not added any information to the issue, surely the creator is unaware of this.
For what it's worth, the latest version (dev218) works correctly the /fill command and its IDs.
Check the video if u want: https://streamable.com/y1rptx

Doesn't the title says everything and Laos I will check tg Dev I was using the latest release

I'm sure this thread will be closed soon if you don't fill out the form above

Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS: [e.g. iOS]
php version [e.g. 7.4.11, 8.0]
BuilderTools Version [e.g. dev#142, Release 1.2.0-beta3]

Additional context Add any other context about the problem here.

Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS: [e.g. iOS]
php version [e.g. 7.4.11, 8.0]
BuilderTools Version [e.g. dev#142, Release 1.2.0-beta3]

Additional context Add any other context about the problem here.

You have not added any information to the issue, surely the creator is unaware of this.
For what it's worth, the latest version (dev218) works correctly the /fill command and its IDs.
Check the video if u want: https://streamable.com/y1rptx

Doesn't the title says everything and Laos I will check tg Dev I was using the latest release

I'm sure this thread will be closed soon if you don't fill out the form above


refactor(password): remove password generation booleans throughout

Codecov Report

Merging #369 (adaa27f) into master (e2d9466) will increase coverage by 0.00%.
The diff coverage is 18.18%.

@@           Coverage Diff           @@
##           master     #369   +/-   ##
=======================================
  Coverage   45.85%   45.85%
=======================================
  Files          56       56
  Lines        3304     3308    +4
  Branches      578      578
=======================================
+ Hits         1515     1517    +2
- Misses       1620     1622    +2
  Partials      169      169

Impacted Files
Coverage Δ

src/RCS.Config.ts
100.00% <ø> (ø)

src/repositories/ciraConfigs.ts
14.54% <0.00%> (ø)

src/repositories/mapToCiraConfig.ts
33.33% <ø> (ø)

src/ProfileManager.ts
50.00% <16.66%> (-0.51%)
:arrow_down:

src/utils/constants.ts
74.28% <100.00%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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

This looks pretty good, just a couple things I see


[Flutter 2 Migration] Read receipts not being shown seem worse in these builds

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #support.

@zlshames can this be closed?


Page reformat

Overall I feel like the structure of this is very close but not tied down to anything. Looking for any feedback here
Specific things that I would like feedback on:

Naming of "By Type" and "By Action" - I think the idea of the breakdown between these works but not sold on the naming. It would be logical for me or others to think type = contribution type.
Location of the by_type and by_action files. This is a solution I stumbled upon and liked but could see reasons for different solutions
If Contributor Pull Request Review Assignment and Issue should also be in the contributor by action page (whatever it ends up getting named)
descriptions for contributor page on welcome page
how to do the flex wrap on the welcome page. Might be best to have you do that on a separate PR

Here's my two cents looking this over:

What if we rename 'Contributions' to 'Activity'? I'm imagining myself as the user, and to me, "Activity" makes the most sense for the general term for "things that are happening in the community," especially given that the visualizations are considering long-term trends.
I think that 'Affiliations' should be another tab under 'Contributors' since Affiliations can only ever be about contributors.
I'm having a hard time slicing 'By Type' vs. 'By Action' into meaningful subdivisions. One that sort of makes sense is "Behavior" vs. "Productivity", generally, separating the community statistics about the contributors (time when people are contributing, number of new contribs per window, engagement, repeat vs. fly-by) from productivity trends (Contributors by Action Type, prolificacy, first-time contribs, drive-by contribs).
I'm also realizing that it'd be nice to have the page's context above the figures so that when we're clicking between drop-down items we know which page we're on w/o looking at the URL.

@JamesKunstle

Personally I feel like Activity is too general. The two points you make about "things that are happening in the community," especially given that the visualizations are considering long-term trends" apply to every visualization we have. Personally I feel like the "Contribution" title makes sense as its looking at counts and trends of contributions and seeing it next to contributors helps make the difference between the two obvious.

I like having affiliations outside of it as many times we are asked about this topic separate from any other analysis and have a feeling we will get asked "where is it" if its under a drop down. If you have a strong feeling about this though im fine with putting it under affiliations

The breakdown I see between the two are

By type: has to do with labels given to a contributor based on their behavior, so maybe behavior is the way to go
-by action: had to do with contributors based on the types of contribution types. Productivity doesnt really fit that for me. Since we have a replacement for the other "Contribution Type" makes sense for a title here

Overall though I think we should choose something and get it up on main and we will be able to get feedback which will probably get us to a better place than just us two going back and forth

Lets open a separate issue / PR to handle this

@cdolfi

Ultimately I don't feel super strongly about this point- I do think that 'Contributions' and 'Contributors' as sections next to each other are slightly hard to distinguish in the UI on a 14" laptop, which is the impetus behind this revision suggestion. 'Activity' isn't a perfect title either. I'm fine w/ keeping 'Contributions' in the short run but I want to note my acknowledgement of the visual discernment challenge.
That's fine, I do think that categorically 'Affiliations' SHOULD be under contributors but you're right, that could easily become a rough user experience if people aren't looking thoroughly.
The challenge I have w/ the subtabs as they are now is that the visualizations themselves don't split into nice categories down a single line. As a user, I'm flipping between the two pages w/o really understanding why two pages exist in the first place- unless well explained, the two groupings seem to be arbitrary. 'Behavior' and 'Contribution Type' are sufficient in the short term IMO, but as you say, I's like to have some feedback on how people would actually slice those perspectives.

@JamesKunstle Updates are in based on our discussion, let me know what you think. We are on the same page with what you said in your last comment. I opened issues #473 #472 to document each. Could you add a screenshot of what you are seeing on your laptop on #473?


Feature request: Simple way to add prometheus exporter

Hello,
From what I have seen, there is no easy way to add a metrics exporter (typically for Prometheus). We have to add it from scratch.
Adding a route /metrics by default or if we add a parameter would be interesting.
Example: operator-sdk is a framework to build kubernetes operator, it has a simple way to export metrics(https://docs.openshift.com/container-platform/4.9/operators/operator_sdk/osdk-monitoring-prometheus.html)
Have a good day,

Hi @MathieuCesbron. Thank you for your request.
I see the aim of the brokerapi package as translating between OSBAPI over HTTP and Go. I think this single purpose embodies the single-responsibility principle as well as the UNIX philosophy to

Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features".

So I am initially hesitant to extend brokerapi to also provide a Prometheus metrics endpoint because:

it complicates the purpose of brokerapi
it could lead to requests to support other metrics platforms, and configuration around the metrics

But I realise that brokerapi needs to evolve to stay relevant, so I'm curious to understand a bit more about what you're aiming to achieve. What would the metrics data look like? Should it be configurable? Should it be persisted? Where there is more than one instance running, should the metrics be just for the instance queried, or should it be for all instances? Should brokerapi just delegate to another library that implements a Prometheus endpoint?
I'm wondering whether it might make sense to add a general purpose extension point that would make it easy to add a metrics endpoint, but without adding the complexity or opinions of metrics to brokerapi. For example, there could be a Go channel that receives some data every time that brokerapi handles a request.
I'd be interested to hear your thoughts.
I should also add that my team does not have the bandwidth to explore and implement this feature at the moment, but potentially we could merge a solution that was provided as a pull request.
Best wishes,
@blgm

Hello @blgm and thanks for the answer.
I have not think much about what the metrics should look like at the moment. I am building something that uses a lot of operator and they natively expose metrics so I thought why not also let Prometheus scrape my broker data.
You made me realise that the best solution is probably to delegate it to a custom library. I will may be start it as a side project .
Have a good day,


[106] view my All Eco Friends list feature

Pull request related to issue #106

Notes: This PR related to issue #106 and another PR in GreenCityMVP21_team1_May repository

Changes:

Created FriendDto dto to return all needed information about user's friends on My Habits page in the section My Eco Friends

Example of data:
{
  "id": 0,
  "profilePicture": "string",
  "name": "string",
  "rating": 0,
  "userCredo": "string",
  "city": "string",
  "mutualFriends": 0,
  "online": true
}

Created FriendDtoMapper to convert User entity that represents user's friend to FriendDto

Updated SecurityConfig to allow access for authenticad users with role USER, ADMIN, UBS_EMPLOYEE, MODERATOR, EMPLOYEE to retrieve information about user's friends.

Secured endpoints:

/user/{userId}/findAllFriends
/user/{userId}/totalAmountOfFriends
/user/{userId}/findAllFriendsByCity
/user/{userId}/findAllFriendsByRating
/user/{userId}/findAllFriendsByHabit

Implemented additional methods in UserController to handle requests related to user's friends.

Added additional methods with SQL Queries in UserRepo to request specific information about user's friends from database

Added additional methods to UserService related to user's friends lists

Implemented UserServiceImpl methods to process requested information about user's friends

Usage:

Login as USER or any other role.
To see no more than 6 friends on My Habits page in the section My Eco Friends you can use /user/{userId}/findAllFriends endpoint with next parameters, e.g. page=0&size=6&sort=asc
To see friends who are tracking the same habits as user you can use /user/{userId}/findAllFriendsByHabit endpoint
To see friends who are living in the same city as user you can use /user/{userId}/findAllFriendsByCity endpoint
To see friends list sorted by highest rating you can use /user/{userId}/findAllFriendsByRating endpoint
To display displays user’s friends total number near My Eco Friends title you can use /user/{userId}/totalAmountOfFriends endpoint
To display user his/her friend status you can use /user/{userId}/findAllFriends endpoint, FriendDto includes actual information about online status
To display various types and amount of friends per page you can use /user/{userId}/findAllFriends endpoint with next parameters, e.g. page=0&size=6&sort=asc

Out of scope:

Search friend within my All friends list
Filter my All friends list
Search for and add a new friend

Files moved to feature/105-106_Eco_Friends_API branch.


ARROW-2168: [C++] Build toolchain on CI with jemalloc

I maybe am mis-remembering, but I thought our idea was exclusively using the vendored jemalloc instead of using a toolchain version to avoid symbol conflicts or bugs from a version we may not trust?

Yes, we should actually do this. I will do a follow-up patch for that.


Dev test: Graphing Quadratics 1.0.0-dev.38

@KatieWoe, @amanda-phet, Graphing Quadratics 1.0.0-dev.38 is ready for dev testing.  This is a test of the PhET brand only; PhET-iO is not included.
Deadline for completion of this dev test in 10/29/18. This version will not be shared with a client.
Document issues in https://github.com/phetsims/graphing-quadratics/issues and link to this issue.
Prior to testing, please read model.md and the Terminology section of implementation-notes.md.  Please try to use this terminology in any issues that are created, so that we're all speaking the same language.
Assigning @ariel-phet for prioritization.

General Dev Test

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.

General Dev Test Platforms

[x] Latest macOS, Chrome and Safari
[x] Latest iOS, Safari
[x] Windows 10, all browsers
[x] Latest Chrome OS, Chrome

Link(s)

Graphing Quadratics 1.0.0-dev.38

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

QA is done.

Thanks @KatieWoe.

All issues address with the exception of #82. Closing.


Allow the breached pw exception to still commit the transaction

I didn't add the flag to the admin. Figured it would be easy to add in a follow up PR.


Terminal Remame is not working

In the previous versions of VS Code I was able to rename the terminal. But in the newer versions , the changes are not working.
Steps to produce the issue:

Open terminal
[CMD+SHIFT+P] Move terminal into editor area
The terminal is a bash. Right Click on the terminal name[bash], rename it. Provide the new name
The changes will not get reflected.

I believe this is already fixed, can you see if you can reproduce in the Insiders build?
/label info-needed

yes its working in the insider version


Accessibility issue : Elements that have scrollable content should be accessible by keyboard

Running a fast pass on WebChat bot, getting this error
Path | .react-scroll-to-bottom--css-qgskw-1n7m0yu
Fix ONE of the following:
Element should have focusable content
Element should be focusable
Screenshots

Same replicable on Web Chat's minimizable sample: https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/

Version
"botframework-webchat":
"version": "4.10.1",
Steps to reproduce

Go to chatbot icon
Click on chatbot
when there are numerous activities between the bot and user

[Bug]

Hi @tejamora the team will review and follow up on this. Thanks for the report.

This needs a team discussion, as right now the transcript intentionally only allows focus on interact-able elements.

A previous issue on "should not focus on non-interactive element" (#1340) and WCAG 2.4.3.
Since this accessibility issue is conflicting to one we previously fixed, we should raise this issue to internal accessibility team and ask them to clarify, and possibly a correct/reference implementation.
For instance, WhatsApp Web does not allow focus on the transcript. But pressing PGUP/PGDN keys will page the transcript up/down.

For consolidation, I am closing this issue in favor of #3567. Sorry for the inconvenience.

Please fix this problem asap. The government in Europe is asking that the chatbot is fully compatible with WCAG

Please note that this is available as of the 4.12.0 release.


NodePort includes master instance and doesn't properly create SRV records

The current implementation of NodePort creates a DNS record that points to all available nodes. However, it also includes the master in the servers the DNS record points to. Given that many production k8s deployments don't run pods on the master and often have different ACL/firewall settings for the master node, this does not seem like ideal default behavior.
Additionally, it looks like SRV record creation for NodePorts was broken by this commit, causing the desired SRV records to never get created. Since SRV records aren't supported for other k8s Service types, I think this should involve 2 changes: (1) making SRV record creation for NodePort optional and defaulting to off, and (2) fixing the Planner to support SRV record creation.

I created a PR that addresses both issues.


⚠ Bofrost.de has degraded performance

In 76cea3d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1128 ms

Resolved: Bofrost.de performance has improved in 0134e17 after 6 minutes.


Example: Calculator

A calculator would be a  great example for using the Button in #37 , and perhaps some simple custom components.

Just threw together a basic demo for this. I'll clean it up and open a PR in a little bit.


V0.2 ChuaPingChan: Modify Model Component FilteredList Feature

FilteredList should now do AND-search and also match keywords with words in tags.
A lot of changes shown in the Files changed tab are just due to Eclipse's auto-formatting. Most of the real changes I made are in lines 190-206.
Fix #39
Fix #58

Closing PR: Creating a new PR from another branch that has the changes of this one.


Conda-forge and Viper

Have you considered submitting these recipes to Conda-forge rather than having your own channel?   It could handle all the build infrastructure and the recipes would be maintained by the tool owners and/or anyone else interested in helping maintain them.  They also have a well documented process for creating new recipes which could make it easier to support new tools.
I've proposed this approach as part of the Viper circuit design environment and viper-forge.

Sounds like you just invented the same thing I did --> bit.ly/edda-conda-eda-spec

See also  https://j.mp/edda-status

Also some stuff at https://docs.google.com/document/d/11XFnJ0ExBgE1pMQksw0rQerAZo3F83AVIu2YK1pbg1k/edit

haha, cool, want to work together?

I work on more analog / RF IC design but there should be a lot of overlap.

BTW Have you seen Google's SkyWater open source PDK (https://github.com/google/skywater-pdk) and the associated no-cost shuttle program for open source designs @ efabless.com?

It seems like our work is pretty complimentary too! Our focus has been heavily on the CPU / digital (starting with FPGAs + cross compilers) while your focus has been more on the analog side.

Yeah, I've heard about the Sky water shuttles.  I've been considering putting together and submitting a design.
What's the best way to collaborate?  Do you want to have an online meeting or discuss on one of our GitHub discussion boards perhaps?

@curtisma I just happen to have started a PR to add a subset of those package to conda-forge as part of #193, see https://github.com/conda-forge/staged-recipes/pull/18295

@proppy Ok, awesome, do you need help with it?

@curtisma rebased the PR and it nows pass the CI for linux: https://github.com/conda-forge/staged-recipes/pull/18295, do you want to take a look before I ping the conda-forge folks about it?

Sure, I can take a look tonight.  That's what I had guessed when I saw it previously

Awesome, thanks @proppy !  I'll try it out this evening.

@proppy Now we need to package some type of schematic editor such as xcircuit.

Yeah, it's on my to-do list.
I've put together a list of packages we'd like available initially for an open source IC design conda environment:
https://github.com/cascode-labs/viper-forge/issues/1

@mithro https://anaconda.org/conda-forge/ngspice :)

for klayout also see: https://github.com/flaport/condalayout/issues/1#issuecomment-1075152682


Sign In With Google

Ask your question
Hello,
My website allows user login either via email / password or via "Sign in with Google" (https://developers.google.com/identity/gsi/web/guides/overview)
I have successfully configured the CredentialsProvider for authentication with email/password.
For the "Sign in with Google" button, the first part of the flow works well with the front-end retrieving the idToken returned by Google. On the other hand, I still have to validate the idToken on the server side and populate the Nuxt Auth Session.
// MyLogin Component

onMounted(() => {
  google.accounts.id.initialize({
    client_id: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    callback: handleCredentialResponse,
  })
  google.accounts.id.renderButton(
    document.getElementById('buttonDiv'),
    { theme: 'outline', size: 'large' }, // customization attributes
  )
  google.accounts.id.prompt() // also display the One Tap dialog
},
)

const handleCredentialResponse = (response) => {
  console.log(`Encoded JWT ID token: ${response.credential}`)

  // TODO : CALL THE  CredentialsProvider or ???
   const { error } = await signIn('credentials', { idTokenGoogle:  response.credential, redirect: false })
}

For this, I wonder if I should reuse the CredentialsProvider with an additional parameter (ex: idTokenGoogle) and implement the logic that goes well in the CredentialsProvider?
// [...].ts File
export default NuxtAuthHandler({
  secret: config.authSecret,
  providers: [
   CredentialsProvider.default({
      name: 'Credentials',
      async authorize(credentials: any) {
        try {
            // TODO LIKE THAT ?
            if (credentials.idTokenGoogle....) {
             const response = await $fetch(
            `${config.public.API_BASE_URL}auth/check-idtoken-google/`,
            {
              method: 'POST',
              body: JSON.stringify({
                idTokenGoogle: credentials.idTokenGoogle,
              }),
            },

             }
            else {
          const response = await $fetch(
            `${config.public.API_BASE_URL}auth/login/`,
            {
              method: 'POST',
              body: JSON.stringify({
                email: credentials.username,
                password: credentials.password,
              }),
            },
          )

Or should I do otherwise?
Additional information
No response

On the other hand, I still have to validate the idToken on the server side and populate the Nuxt Auth Session.

I don't quite get the question: When you use "sign in with google" the resulting OAuth flow should lead you to google, then back + sign you in automatically. No need to verify any token inside the credential flow (which is a different one to the google one)?

closing this now due to inactivity. Just add another point here if you need further assistance or hop onto discord and text into the questions channel: https://discord.gg/NDDgQkcv3s

Hi @BracketJohn,
Due to security reasons, it's necessary to check the id token server-side :
https://developers.google.com/identity/gsi/web/guides/verify-google-id-token


The link for Image Hover Effects don't work

It leads to http://miketricking.github.io/dist/ but this web is not anymore online

Hi @alebarbaja, thanks for reporting it. I just removed the link because the page now no longer exists.


PFS FoV does not reflect PA for user-defined PPC list (pfs-obs-help 90)

Describe the bug
In the plot of 'Distribution of targets and pointing centers', the shaded region that is supposed to show the pointing does not reflect the pointing PA. I believe this affects only the plotting routine because the targets appear to be correctly selected at the requested PA.
Screenshots

I checked the issue, but can not reproduce it. I tried with example target&ppc lists. It seems the distribution plots can correctly reflect the PA for both targets and pointings. Not sure what happened in user's case...

Maybe user misunderstood the scatter plot..? They might think the plotted dots are assigned targets, but actually these dots show ALL targets in the list. The problem might be they set

We could ask KG to provide us the target list and PPC list to cross-check.


django 3 support

is it possible to make river-admin compatible withe django 3, specially with auth groups ...
thanks

It should be supported here already as long as you use a django-river version that supports Django 3.0. Have you observed something broken with river-admin with Django 3.0

Can we close this issue @lucilecoutouly if my previous comment answers your question?


Settings Menu Doesn't Open (Win10)

Environment
Windows 10, running Version 15.2
Windows build number: [run "ver" at a command prompt]
PowerToys version: 15.2
PowerToy module for which you are reporting the bug (if applicable):

Settings
Steps to reproduce

Right Click the PowerToys Taskbar Icon, Click Settings
Expected behavior

Settings Menu Should Open
Actual behavior

Nothing, Settings Screen Doesn't Open
Screenshots

What happens if you double click on the icon in systray?

Might look something like this (replicated by double clicking on icon in systray)

@packthepuzzlechild, that is a different issue, our settingv2 branch is aiming to fix this

Oh, I beg your pardon. You're absolutely right, sorry I didn't check that closely.

No worries :) we are proactively working on that right now

What happens if you double click on the icon in systray?

@crutkas Don't know about OP, but I have the same issue and upon double-clicking the powertoys settings window appears, but crashes immediately. Also in may case, the right click menu does run PowerToysSettings.exe as shown by task manager.

Still issue #243 we are working on a fix


XCFA-refactor 2023 [draft]

This PR merges the xcfa-refactor branch.
Main features of the PR:

[x] Adds back support for the llvm backend for XCFAs
[x] Refactors the analysis methods for programs over weakly ordered architectures
[x] Adds the refactored runtime monitor (by @AdamZsofi )
[x] Adds support for the ARG web debugger
[x] Adds serialization and deserialization to all Exprs and Stmts, as well as ARGs and related data structures
[x] Adds a new type of solver (graph-solver) to Theta
[x] Adds a new frontend, litmus-cli for litmus test inputs
[x] Adds lots of new tests and resources for better quality assurance throughout Theta
[x] Rewrites the XCFA type family to use Kotlin and data classes for easier use and maintainability
[x] Rewrites the XCFA pass system to be more resilient to reconfiguration
[x] Expand the documentation of various subprojects of Theta

@csanadtelbisz: Sonar fails, because some tests ultimately fail.
Relevant log:
Caused by:
2023-09-10T13:13:40.7201330Z         java.lang.UnsupportedOperationException: Solver Z3 not supported
2023-09-10T13:13:40.7201918Z             at hu.bme.mit.theta.solver.SolverManager.resolveSolverFactory(SolverManager.java:40)
2023-09-10T13:13:40.7202556Z             at hu.bme.mit.theta.xcfa.passes.LoopUnrollPass.<clinit>(LoopUnrollPass.kt:46)
2023-09-10T13:13:40.7202939Z             ... 5 more

Can you take a look if this has something to do with the moved registerSolverFactories method in XcfaCli? I think I saw some modifications there in your pr (#202). Let me know if I'm mistaken.

@leventeBajczi The solver issue arose due to the fact that LoopUnrollPass invokes a solver (unprecedented in xcfa passes before). Tests did not register solvers. I added a dependency on Z3 and hardcoded the usage of Z3 in LoopUnrollPass.
Also fixed bugs reported by sonarcloud.

A projection should be given in XcfaAnalysis.getXcfaAbstractor in order to avoid performance degradation compared to the original xcfa analysis, as the lack of non-trivial projection leads to a lot of unnecessary covering checks

The WebDebuggerLogger is always enabled and it is responsible for a considerable portion of runtime. See the following lines: https://github.com/ftsrg/theta/blob/0c8bc7c48fc89bce04ac1bdd331ad8af7dfc55ff/subprojects/common/analysis/src/main/java/hu/bme/mit/theta/analysis/algorithm/cegar/CegarChecker.java#L98-L101
As it serves only debugging purposes, it should be disabled by default.
@AdamZsofi git blame shows that you are the author of this change.
The following profiler output confirms the problem. The WebDebuggerLogger takes ~1/3 (more than 10 seconds in this case) of all CPU time.

Wrong result is given for the unreach-call property on the following tasks in the eca-rers2012 category of sv-benchmarks:
Config 1: --strategy DIRECT --maxenum 1 --loglevel RESULT --refinement SEQ_ITP --lbe LBE_SEQ --search ERR --prunestrategy FULL --predsplit ATOMS --cex-monitor DISABLE --domain EXPL
Problem17_label11.yml
Config 2: --strategy DIRECT --maxenum 1 --loglevel RESULT --refinement SEQ_ITP --lbe LBE_SEQ --search ERR --prunestrategy FULL --predsplit ATOMS --cex-monitor DISABLE --domain PRED_CART
Problem10_label30.yml, Problem11_label40.yml, Problem15_label49.yml

Thanks for the review! I'll get around to incorporating its findings hopefully this weekend.

@AdamZsofi WebDebuggerLogger still has an overhead, see the following lines:
https://github.com/ftsrg/theta/blob/fdc40cf95ba46bb8a94a791a785f031db2010a2a/subprojects/common/analysis/src/main/java/hu/bme/mit/theta/analysis/algorithm/cegar/CegarChecker.java#L94-L95
Time taken by these lines:

Thanks for telling me. Fixed, there should be no overhead now.


Release v0.1.0

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (d74a28e) compared to base (954519e).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           23        23
=========================================
  Hits            23        23

Impacted Files
Coverage Δ

django_epflmisc/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Preview 0.5 asset fails to install (hangs on 'Installing required frameworks 16%')

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.295]
Windows Terminal version (if applicable): 0.5.2661.0
Any other software? N/A

Steps to reproduce
In https://github.com/microsoft/terminal/issues/2647 I reported that the Github preview asset 0.4 hung when installing behind a company proxy server.  This was fixed by manually installing dependency package: VCLibs.140.
Now, on installing Terminal Preview 0.5, using the GitHub release asset, the same problem happens. There is no indication of the missing dependency. This is on the same machine so I assume VCLibs.140 is still present.

I'm not sure why this thread isn't a dupe of #2647. The original thread is still open, and we haven't resolved the problem, so whatever caused it to be broken is probably still broken for 0.5. I don't think we need another one of these threads for each release...
/dupe #2647

This issue is different to #2647.  #2647 was fixed by manually installing 'C++ Runtime v14 framework package'.  That package is already installed on my machine (same machine as was used for #2647) but the 0.5 asset does not install. Therefore it must be failing because of another dependency, which we need to identify.
Therefore I contend that this is not a duplicate. Please reopen.

Sure, assigning @bitcrazed to loop in the appropriate teams.

This problem is still present in 0.6.2951.0. Any chance of a fix please?

Thanks for reporting @DavidA2014. We're investigating, but as you can see from the appmanifest, Terminal only depends on the VC 140 RTL redist:
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18362.0" MaxVersionTested="10.0.18362.0" />
    <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.27323.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.27323.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>

It is possible that:
1. Your machine's installation engine is in an incomplete/pending/waiting state and hasn't yet seen the manually installed VC 140 RTL redist
1. Your admin's may have removed/uninstalled the VC redist behind the scenes

Can you please
1. Install the redist
1. Rebooted your machine
1. (Re) install the Terminal

⚠ If you still see problems, as per the redist's "Details" section, ensure that your VC 140 Desktop redist is installed. :

After installation succeeds: If you look under the folder “C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs” on your machine, you will see the Microsoft.VCLibs.Desktop folder that contain the framework packages for C++ Runtime 14.0.

@bitcrazed Thanks for your help.  The redist was already installed. I uninstalled Terminal, rebooted and then ran the 0.6 installer again. It succeeded this time.
I'll close this issue now.  Could you support an installation log to make it easier to diagnose why the installation fails when the redist is not found?

Good to know, thanks @DavidA2014.
It's quite possible that if your corporate Proxy/Firewall may simply block certain calls/responses/traffic causing your machine's installer's state engine to stall, waiting for a response that never comes. If you do see this again, please let us know and we'll broker a conversation with the installer engine team.


Feature/internationalization

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:

wrong repo, sorry


Create FUNDING.ml

Hohoho

Description of PR
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[x] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
shadedclient
33m 59s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shadedclient
17m 40s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
asflicense
0m 47s
/results-asflicense.txt
The patch generated 1 ASF License warnings.

56m 39s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5769/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5769

Optional Tests
dupname asflicense codespell detsecrets

uname
Linux 0a973330898f 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5c5b5d92017ba848679c980fe657e1ed7fa44ca2

Max. process+thread count
556 (vs. ulimit of 5500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5769/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.