Keycloak 502 Bad Gateway on minio login

Pasos sencillos para reproducir:

Acceder a https://minio.simva.e-ucm.es/minio/login
Click en "Log in with OpenID"
Login normal
Click en Atras del navegador.

https://sso.simva.e-ucm.es/auth/realms/simva/protocol/openid-connect/auth?response_type=id_token&scope=openid+policy_role_attribute&client_id=minio&redirect_uri=https%3A%2F%2Fminio.simva.e-ucm.es%2Fminio%2Flogin%2Fopenid&nonce=pPlC9saXMEptZdNd

There was an issue with the nginx LB we had. Changed the configuration because keycloak seems to generated large headers that nginx couldn't process with the previous configuration.
I'll also add the very same configuration to the nginx LB we can configure in development so we can easily reproduce this type of problems.


Fixed grammar mistakes in core_3d_camera_first_person.c

Changed line 118 from, "// For advance camera controls, it's reecommended to compute camera movement manually", to, "// For advanced camera controls, it's recommended to compute camera movement manually".

@Mute124 Nice! Thanks for the review!


Unable to install new instance

MySQL Server version: 5.5.58-0ubuntu<IP_ADDRESS> - (Ubuntu) (also in a docker-container)
As directions have indicated I created the clarkson user on the mysql server first... but when first 'migrating' the db it threw the following error. Can a DATETIME not really have a default value of CURRENT_TIMESTAMP? should the field be a TIMESTAMP instead of DATETIME?
clarkson-clarkson-1 | 2018-09-08T17:52:16.227421828Z [s6-init] ensuring user provided files have correct perms...exited 0.
clarkson-clarkson-1 | 2018-09-08T17:52:16.233890017Z [fix-attrs.d] applying ownership & permissions fixes...
clarkson-clarkson-1 | 2018-09-08T17:52:16.240732549Z [fix-attrs.d] done.
clarkson-clarkson-1 | 2018-09-08T17:52:16.244915938Z [cont-init.d] executing container initialization scripts...
clarkson-clarkson-1 | 2018-09-08T17:52:16.251734920Z [cont-init.d] 10-adduser: executing...
clarkson-clarkson-1 | 2018-09-08T17:52:16.299978837Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.300022228Z -------------------------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.300034348Z           _         ()
clarkson-clarkson-1 | 2018-09-08T17:52:16.300045463Z          | |  ___   _    __
clarkson-clarkson-1 | 2018-09-08T17:52:16.300067923Z          | | / __| | |  /  \
clarkson-clarkson-1 | 2018-09-08T17:52:16.300079389Z          | | \__ \ | | | () |
clarkson-clarkson-1 | 2018-09-08T17:52:16.300093123Z          |_| |___/ |_|  \__/
clarkson-clarkson-1 | 2018-09-08T17:52:16.300104969Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.300117005Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.300127583Z Brought to you by linuxserver.io
clarkson-clarkson-1 | 2018-09-08T17:52:16.300139040Z We gratefully accept donations at:
clarkson-clarkson-1 | 2018-09-08T17:52:16.300149737Z https://www.linuxserver.io/donate/
clarkson-clarkson-1 | 2018-09-08T17:52:16.300161560Z -------------------------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.300172393Z GID/UID
clarkson-clarkson-1 | 2018-09-08T17:52:16.300183067Z -------------------------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.313654571Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.313696495Z User uid:    1000
clarkson-clarkson-1 | 2018-09-08T17:52:16.313714303Z User gid:    1000
clarkson-clarkson-1 | 2018-09-08T17:52:16.313725115Z -------------------------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.313735783Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.330959565Z [cont-init.d] 10-adduser: exited 0.
clarkson-clarkson-1 | 2018-09-08T17:52:16.335975303Z [cont-init.d] 30-migrate: executing...
clarkson-clarkson-1 | 2018-09-08T17:52:16.348901009Z ---------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.349032715Z Migrating database...
clarkson-clarkson-1 | 2018-09-08T17:52:16.349051812Z ---------------------
clarkson-clarkson-1 | 2018-09-08T17:52:16.640726984Z Flyway 4.2.0 by Boxfuse
clarkson-clarkson-1 | 2018-09-08T17:52:16.640817999Z
clarkson-clarkson-1 | 2018-09-08T17:52:16.906545452Z Database: jdbc:mysql://db:3306/ (MySQL 5.5)
clarkson-clarkson-1 | 2018-09-08T17:52:17.087193102Z Successfully validated 31 migrations (execution time 00:00.074s)
clarkson-clarkson-1 | 2018-09-08T17:52:17.126228496Z WARNING: Unable to restore connection to having no default schema: Access denied for user 'clarkson'@'%' to database 'b1d154
ba-ef3c-4d26-bfd6-b8411493c6ff'
clarkson-clarkson-1 | 2018-09-08T17:52:17.126273000Z Query is : CREATE SCHEMA `b1d154ba-ef3c-4d26-bfd6-b8411493c6ff`
clarkson-clarkson-1 | 2018-09-08T17:52:17.151940934Z Creating Metadata table: `clarkson`.`schema_version`
clarkson-clarkson-1 | 2018-09-08T17:52:19.955200766Z Current version of schema `clarkson`: << Empty Schema >>
clarkson-clarkson-1 | 2018-09-08T17:52:20.423081320Z Migrating schema `clarkson` to version 1.0 - Create Tables
clarkson-clarkson-1 | 2018-09-08T17:52:28.993612011Z ERROR: Migration of schema `clarkson` to version 1.0 - Create Tables failed! Please restore backups and roll back database a
nd code!
clarkson-clarkson-1 | 2018-09-08T17:52:29.294052489Z ERROR:
clarkson-clarkson-1 | 2018-09-08T17:52:29.294402773Z Migration V1.0__Create_Tables.sql failed
clarkson-clarkson-1 | 2018-09-08T17:52:29.294423410Z ----------------------------------------
clarkson-clarkson-1 | 2018-09-08T17:52:29.294439181Z SQL State  : 42000
clarkson-clarkson-1 | 2018-09-08T17:52:29.294451387Z Error Code : 1067
clarkson-clarkson-1 | 2018-09-08T17:52:29.294468928Z Message    : Invalid default value for 'date'
clarkson-clarkson-1 | 2018-09-08T17:52:29.294479755Z Query is : CREATE  TABLE `Fuel` (
clarkson-clarkson-1 | 2018-09-08T17:52:29.294502488Z     `id`                    VARCHAR(36)     NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294513936Z     `vehicle`               VARCHAR(36)     NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294524718Z     `date`                  DATETIME        NOT NULL DEFAULT CURRENT_TIMESTAMP,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294535727Z     `fuelAmount`            DECIMAL(5,2)    NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294552338Z     `totalCost`             DECIMAL(5,2)    NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294563150Z     `fuelUnitCost`          DECIMAL(5,3)    NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294573872Z     `locationLatitude`      DECIMAL(10,8)   NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294584794Z     `locationLongitude`     DECIMAL(11,8)   NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294608986Z     `odometerReading`       INT(11)         NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294619723Z     `notes`                 TEXT            NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294630828Z     `fullTank`              TINYINT(1)      NULL DEFAULT 1,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294641574Z     `missedFillUp`          TINYINT(1)      NULL DEFAULT 0,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294652620Z     PRIMARY KEY (`id`),
clarkson-clarkson-1 | 2018-09-08T17:52:29.294664053Z     UNIQUE INDEX `id_UNIQUE` (`id` ASC),
clarkson-clarkson-1 | 2018-09-08T17:52:29.294680327Z     INDEX `FK_fuel_vehicleId_idx` (`vehicle` ASC),
clarkson-clarkson-1 | 2018-09-08T17:52:29.294691313Z     CONSTRAINT `FK_fuel_vehicleId` FOREIGN KEY (`vehicle`) REFERENCES `Vehicles` (`id`) ON DELETE NO ACTION ON UPDATE NO ACT
ION
clarkson-clarkson-1 | 2018-09-08T17:52:29.294712640Z )
clarkson-clarkson-1 | 2018-09-08T17:52:29.294723142Z Location   : /app/clarkson/flyway/sql/V1.0__Create_Tables.sql (/app/clarkson/flyway/sql/V1.0__Create_Tables.sql)
clarkson-clarkson-1 | 2018-09-08T17:52:29.294740299Z Line       : 85
clarkson-clarkson-1 | 2018-09-08T17:52:29.294750805Z Statement  : CREATE  TABLE `Fuel` (
clarkson-clarkson-1 | 2018-09-08T17:52:29.294763149Z     `id`                    VARCHAR(36)     NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294781932Z     `vehicle`               VARCHAR(36)     NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294827654Z     `date`                  DATETIME        NOT NULL DEFAULT CURRENT_TIMESTAMP,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294864418Z     `fuelAmount`            DECIMAL(5,2)    NOT NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.294875152Z     `totalCost`             DECIMAL(5,2)    NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295188690Z     `fuelUnitCost`          DECIMAL(5,3)    NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295250038Z     `locationLatitude`      DECIMAL(10,8)   NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295263190Z     `locationLongitude`     DECIMAL(11,8)   NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295275067Z     `odometerReading`       INT(11)         NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295286098Z     `notes`                 TEXT            NULL,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295301967Z     `fullTank`              TINYINT(1)      NULL DEFAULT 1,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295314333Z     `missedFillUp`          TINYINT(1)      NULL DEFAULT 0,
clarkson-clarkson-1 | 2018-09-08T17:52:29.295327206Z     PRIMARY KEY (`id`),
clarkson-clarkson-1 | 2018-09-08T17:52:29.295340291Z     UNIQUE INDEX `id_UNIQUE` (`id` ASC),
clarkson-clarkson-1 | 2018-09-08T17:52:29.295377329Z     INDEX `FK_fuel_vehicleId_idx` (`vehicle` ASC),
clarkson-clarkson-1 | 2018-09-08T17:52:29.295393768Z     CONSTRAINT `FK_fuel_vehicleId` FOREIGN KEY (`vehicle`) REFERENCES `Vehicles` (`id`) ON DELETE NO ACTION ON UPDATE NO ACT
ION
clarkson-clarkson-1 | 2018-09-08T17:52:29.295405162Z )
clarkson-clarkson-1 | 2018-09-08T17:52:29.295421995Z
clarkson-clarkson-1 | 2018-09-08T17:52:29.350079849Z [cont-init.d] 30-migrate: exited 1.
clarkson-clarkson-1 | 2018-09-08T17:52:29.418470623Z [cont-finish.d] executing container finish scripts...
clarkson-clarkson-1 | 2018-09-08T17:52:29.431934795Z [cont-finish.d] done.
clarkson-clarkson-1 | 2018-09-08T17:52:29.434439331Z [s6-finish] syncing disks.
clarkson-clarkson-1 | 2018-09-08T17:52:29.645037068Z [s6-finish] sending all processes the TERM signal.
clarkson-clarkson-1 | 2018-09-08T17:52:32.684926536Z [s6-finish] sending all processes the KILL signal and exiting.

EDIT: using docker-compose to set it up... here is my config:
services:
  clarkson:
    image: linuxserver/clarkson
    environment:
      ENABLE_REGISTRATIONS: 'true'
      MYSQL_HOST: db
      MYSQL_PASSWORD: <password>
      MYSQL_USERNAME: clarkson
      PGID: '1000'
      PUID: '1000'
    external_links:
    - mysql/mysql:db
    logging:
      driver: json-file
      options:
        max-file: '50'
        max-size: 500k

# CREATE SCHEMA `clarkson`;
# CREATE USER 'clarkson' IDENTIFIED BY '<password>';
# GRANT ALL ON `clarkson`.* TO 'clarkson';

Hi, this looks like a MySQL version issue. You're using 5.5, which I believe does not support that particular default value for a DATETIME field. I would recommend updating to 5.7.

indeed i am. might be nice to include a minimum mysql requirement on the readme :)


Add type checking for durable clients

@davidmrdavid Transferred it back.  It will be a change in the python library but we need to validate it with the worker.

Fix is merged. DurableClient Converter by hallvictoria · Pull Request #206 · Azure/azure-functions-python-library (github.com)


added missing use statement to fix #8572

added unit tests for timestamp behavior and insert with expression
fixed issue #8572

tests may not pass on postgres, waiting for travis so I can fix it.
problem has been introduced by 6e48ed0 (#8034, 2.0.5) so no changelog is needed.
/cc @nineinchnick

memo to myself:

[ ] add tests for batchInsert too.


[Extensibility Request] local to global Codeunit 423 Change Log Management - IsLogActive and InsertLogEntry

Hello, we need the following currently Internal procedure to be set as Global. Can you please check this? Thank you!
[Extensibility Request] Codeunit 423 "Change Log Management" - Procedure from Internal to Global
procedure IsLogActive(TableNumber: Integer; FieldNumber: Integer; TypeOfChange: Option Insertion,Modification,Deletion): Boolean
procedure InsertLogEntry(var FldRef: FieldRef; var xFldRef: FieldRef; var RecRef: RecordRef; TypeOfChange: Option Insertion,Modification,Deletion; IsReadable: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Missing GVLK character for Windows 10 Enterprise N LTSC 2019

The first letter for the KMS client setup key of Windows 10 Enterprise N LTSC 2019 is missing.

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

ID: fc9df0c0-db17-3226-b734-59ebd27fa212
Version Independent ID: 5b7ddecc-b700-9726-30af-bda0989146e2
Content: KMS client setup keys
Content Source: WindowsServerDocs/get-started/KMSclientkeys.md
Product: windows-server-threshold
GitHub Login: @jaimeo

Also for Windows 10 Enterprise N LTSB 2016 is missing.


Intel Graphics: Curvilinear warning does not appear on Windows

On Windows machines with only Intel graphics, we are not showing the warning about ray casting curvilinear grids.  However the curvilinear renderings I've tried on CISL-Gadsden and my ThinkPad are both successful.
To reproduce:

On any Windows machine with Intel graphics, create a Volume or Isosurface renderer.  No warning will be displayed.

It does not appear on Ubuntu Linux too.
In addition to warn an incorrect rendering, we should warn slow rendering as well. For example,
The following image (1233x996) takes >20 seconds to render.
Data dimension is 500x410x380.


1.29.0 is soo slow

It takes up a lot of memory, at first i thought my computer was broken

Takes up a lot of memory, my cpu fan is spinning like a *****,  ctrl + p is very slow,
1.29 = real HELL!

duplicate of #62970

Please provide more details. Is search slow? Do you see lots of rg processes? Is the window hanging? As many details as possible please.

since 1.29 everything is horrible... even if I want to run basic commands from terminal (like: ng s ) it sometimes take more than 10s to start compiling ) ... and intellisence ? I literally can't use it :/

since 1.29 everything is horrible... even if I want to run basic commands from terminal (like: ng s ) it sometimes take more than 10s to start compiling ) ... and intellisence ? I literally can't use it :/

Probably duplicated #63070
We are still waiting for some meaningful answer.

Since I have no details from @ZSH-HSZ, I am closing this issue. Anyone else can open a new issue if you can provide more details.

I've experienced freezes with AutoImport plugin. It was trying to scan the project. VSCode bottom bar showed the active "Scanning..." process. I assume it was provided by AutoImport plugin.
So, maybe the reason for the bug: something in this plugin is incompatible with the new version.


List of Graph API permission

In the "add a Graph API permission" example "Sign in and read user profile" is represented by a guid. Is there a doc that has a complete list of all api permissions and their guids?

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

ID: 6a5b5348-f67e-ef14-0529-4c80fddd4bc6
Version Independent ID: bfd7e6b1-1fba-3d25-8ee3-5105bcf4157d
Content: az ad app permission
Content Source: src/azure-cli/azure/cli/command_modules/role/_help.py
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli please take a look.

@gregdegruy https://blogs.msdn.microsoft.com/aaddevsup/2018/06/06/guid-table-for-windows-azure-active-directory-permissions/
311a71cc-e848-46a1-bdf8-97ff7156d8e6 - (Scope) Sign in and read user profile

Thanks @g-rad, the link helps a lot! 😃

Posting this here since Bing brought me here through searching.
SO answer includes az command to pull the Microsoft Graph API permissions listing: https://stackoverflow.com/questions/41946417/how-can-i-get-the-guids-of-graph-api-permissions-programmatically-for-an-azure-a/63405409#63405409
Command reference (in case you can't hit SO):
az ad sp show --id 00000003-0000-0000-c000-000000000000

Could not find this available data via Microsoft.Graph module.

Hi @wsmelton, thank you for the link.
Could you share more context about

Could not find this available data via Microsoft.Graph module.

Do you mean the Microsoft.Graph PowerShell module?

Correct. I had assumed that would be the module to use but did find AzureAD has it as well, just have to pull the Service ID for Microsoft Graph.
$msGraphService = Get-AzureADServicePrincipal -Filter "DisplayName eq 'Microsoft Graph'"
$permissions = $msGraphService.AppRoles.Where({$_.Value -in $appPerms})

Get-AzureADServicePrincipal
Get-AzureADServicePrincipal from AzureAD module calls Active Directory Graph internally.
In Windows PowerShell,
Install-Module AzureAD
Connect-AzureAD -TenantId 54826b22-38d6-4fb2-bad9-b7b93a3e9c5a
$msGraphService = Get-AzureADServicePrincipal -Filter "DisplayName eq 'Microsoft Graph'"
ConvertTo-Json $msGraphService

We can see

Application permissions appear under AppRoles
Delegated permissions appear under Oauth2Permissions

Get-MgServicePrincipal
Get-MgServicePrincipal from Microsoft.Graph module calls Microsoft Graph internally.
In PowerShell 7,
Install-Module -Name Microsoft.Graph
Connect-MgGraph -Scopes "Application.Read.All" -TenantId 54826b22-38d6-4fb2-bad9-b7b93a3e9c5a
$msGraphService = Get-MgServicePrincipal -Filter "DisplayName eq 'Microsoft Graph'"
ConvertTo-Json $msGraphService

According to servicePrincipal resource type,

Application permissions appear under AppRoles
Delegated permissions appear under oauth2PermissionScopes  << Note the name change

Some findings (LT; DR)
I tried AzureAD in PowerShell 7, but hit a failure (https://github.com/PowerShell/PowerShell/issues/11564), so I used -UseWindowsPowerShell:
Install-Module AzureAD
Import-Module AzureAD -UseWindowsPowerShell
Connect-AzureAD -TenantId 54826b22-38d6-4fb2-bad9-b7b93a3e9c5a
$msGraphService = Get-AzureADServicePrincipal -Filter "DisplayName eq 'Microsoft Graph'"
ConvertTo-Json $msGraphService

The result is corrupted, perhaps because

WARNING: Module AzureAD is loaded in Windows PowerShell using WinPSCompatSession remoting session; please note that all input and output of commands from this module will be deserialized objects. If you want to load this module into PowerShell Core please use 'Import-Module -SkipEditionCheck' syntax.

> $msGraphService.AppRoles[0].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     String

Not sure if there is any fix/workaround for this issue.

Meanwhile, let me refine the help message for az ad app permission add.


[BUG] The standard event handlers do not produce the expected result

Nutgram version
3.20.0
PHP version
8.2.6
Framework
No Framework
Cache driver
Any
Describe the bug
First of all, I would like to express my deepest appreciation for the work you have done. Nutgram has perhaps the most elegant and intuitively understandable interface for interaction. The code quality is top-notch! Special thanks for the ability to integrate my own dependency container! However, to my utmost regret, I have encountered insurmountable difficulties while attempting to use the library.
Following the instructions from the documentation, I used the code provided as a usage example on the page https://nutgram.dev/docs/usage/handlers#oncallbackquerydata. Unfortunately, I was unable to catch the onCallbackQueryData event. Meanwhile, the built-in logger indicated an incoming update, which appears to be correct.
After conducting a series of experiments, I was only able to achieve the desired result using the onMessage event. However, this solution seems somewhat illogical and essentially represents an example of incorrect library usage.
I would greatly appreciate your feedback and assistance in resolving this issue. I strictly follow the documentation guidelines, but the result I obtained is disheartening. Thank you!
To Reproduce
<?php

// $container = ...;

$bot = new Nutgram((string)getenv('TG_TOKEN'), [
    'container' => $container,
    'cache' => $container->get(Psr16Cache::class),
    'logger' => $container->get(LoggerInterface::class)
]);

$bot->onCommand('start', function (Nutgram $bot) {
    $bot->sendMessage('Choose an option:', [
        'reply_markup' => InlineKeyboardMarkup::make()->addRow(
            InlineKeyboardButton::make('One', callback_data: 'number 1'),
            InlineKeyboardButton::make('Two', callback_data: 'number 2'),
            InlineKeyboardButton::make('Cancel', callback_data: 'cancel'),
)
    ]);
});

$bot->onCallbackQueryData('number {param}', function (Nutgram $bot, $param) {
    $bot->sendMessage($param); // 1 or 2
});

$bot->onCallbackQueryData('cancel', function (Nutgram $bot) {
    $bot->sendMessage('Canceled!');
});

$bot->run();

Expected behavior
The instructions declared in the onCallbackQueryData event should be executed (the message 'Nice!' or 'Canceled!' should be delivered to the client).
Screenshots
No response
Additional context
No response

Hi!
You need to call $bot->answerCallbackQuery(); at the end of your script:
$bot->onCallbackQueryData('number {param}', function (Nutgram $bot, $param) {
    $bot->sendMessage($param);
    $bot->answerCallbackQuery();  // <=====
});

$bot->onCallbackQueryData('cancel', function (Nutgram $bot) {
    $bot->sendMessage('Canceled!');
    $bot->answerCallbackQuery();   // <=====
});

@Lukasss93, thank you for your response! Unfortunately, this solution did not help resolve my issue. To be completely honest, my production code looks as follows:
$bot->onCommand('start', function (Nutgram $bot) {
    $keyBoard = InlineKeyboardMarkup::make()
        ->addRow(InlineKeyboardButton::make('Sign in to example.com', url: 'https://example.com/auth/confirm?token='))
        ->addRow(InlineKeyboardButton::make('Cancel', callback_data: 'cancel'));

    $bot->sendMessage('Press the button below to sign in on example.com', [
        'reply_markup' => $keyBoard
    ]);
});

$bot->onCallbackQueryData('cancel', function (Nutgram $bot) {
    $bot->sendMessage('Canceled!');
    $bot->answerCallbackQuery(['text' => 'canceled']);
});

$bot->onMessage(function (Nutgram $bot) {
    $bot->sendMessage($bot->message()->getType());
});

$bot->onContact(function (Nutgram $bot) {
    $bot->sendMessage('test');
});

$bot->onException(function (Nutgram $bot, \Throwable $exception) use ($logger) {
    $logger->error($exception->getMessage(), $exception->getTrace());
    $bot->sendMessage("Whoops! Something wrong...\nPlease, try again later!");
});

As you can see, the result of executing this script will always end up in the onMessage handler (returning 'text'). Only the /start command is correctly handled.
P.S.:
Attempting to share contact information is also captured by the onMessage handler, which tries to take responsibility for it.

I couldn't reproduce the bug you mentioned. Please review the "Handlers Priority" section. I tested it myself, and everything seems to be working fine.

To further investigate, could you try running the application without using an external container? This will help us determine if that might be the cause of the issue.
Let me know if you have any more details or steps to reproduce the problem.

@Lukasss93, thank you for your patience and attention to my issue. It is indeed a great idea to consider rejecting my container as a means to test the hypothesis. I will try to verify this in the near future and will keep you informed!

@Lukasss93
I have some unfortunate news. During the experiments, it has been discovered that even on an empty container without any additional configurations, the standard behavior of the handlers is disrupted. I am accustomed to using php-di/php-di for my needs as it is a simple and powerful tool. Unfortunately, when integrating it into league/container, something strange happens that I am unable to comprehend.

Disabling Autowiring, the code starts working again. 😎 The container probably caches the objects and returns the old ones upon subsequent requests.
- ])->build();
+ ])->useAutowiring(false)->build();


New update breaks SSR

There is upstream issue with window is undefined crashing SSR react apps. Packages affected react-sizeme and everything build upon this.
https://github.com/ctrlplusb/react-sizeme/issues/134
https://github.com/tsuyoshiwada/react-stack-grid/issues/47

Hi and thanks for the report. This library needs a window context in order to do its job, and should therefore only be created when there is a window object available. What is the expected fix from this library?

Pleasure,
I understand the intention and I agree that this library should be used only within browser but we have serverside rendering. There is use case where react-sizeme is used on first render within serverside context. I don't expect react-sizeme or this library to calculate properties of the browser but it shouldn't crash either. The only job of this library in this context is not to crash and return undefined/null value, once browser takes over, do it's job.
I am already disabling this library on serverside but because those upstream libraries provide HOC I am just wrapping my components and waiting for browser to take over.

I see, thanks for the explanation. Yes, I agree that this would be a desired behaviour of React-resizeme and similar high-level APIs. However, the sole purpose of this library is to observe resize events of elements in a browser context - so I think that this library should not be invoked at all in other circumstances. I'm closing this issue, and hope that you will be able to find a solution upstream. Feel free to ping me in comments in the upstream issues if needed.


NIFI-5573 Allow overriding of nifi-env.sh

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

The errors seem unrelated. It complains about a timeout but one of the jobs succeeded.

Will review...

Hi @lfrancke - since 2018, development/default branch on this repo has changed to main. Can you please change the target branch?

Damn. How did I miss that. Will do. Thank you for taking a look.

It can easily be done from the Github UI if you want me to do it.

That'd be great. I'm not at my computer at the moment. Thank you
Pierre Villard @.***> schrieb am Mi., 16. Juni 2021,
19:32:

It can easily be done from the Github UI if you want me to do it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/nifi/pull/2985#issuecomment-862572632, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA57YU55ATOOKDNIKOPXUTTTDNZTANCNFSM4FTD7GZQ
.

Done - unfortunately there are now some conflicts to resolve

Thank you @pvillard31
Fortunately, they were easy to resolve. It should be up-to-date again.
The solution isn't perfect in my opinion but it should be backwards compatible as outlined in the original mailing list thread from 2018.

Thanks a lot for the review!


Flatten quote identifiers

We could renumber all quotes so they have consistent identifiers such as 0, 1, 2, 3 etc. People expect quote number 1 (or zero) to exist.

And break all the existing URLs. Sure.

Why not? I don't think anything relies on there URLs.

We have quite enough LogList links in logs. And they all will become

I just want to say, that it's too late Mr. @ForNeVeR. You should had thought about it when you was importing quotes from the legacy database.

Our users will remember these your words.


Links on frontend are broken because of https

In https://github.com/Project-OSRM/osrm-frontend/pull/246 links were switched from http to https. We deploy this project for the demo server to gh-pages and let Github serve the static site using a custom domain.
Github does not support certificates for a custom domain which means all our https links are currently broken on http://map.project-osrm.org/ - see links bottom left.

GitHub recently announced HTTPS support for custom domains an GitHub Pages: https://blog.github.com/2018-05-01-github-pages-custom-domains-https/


docs(core): :memo: corefilepicker has documentation has been updated

Description
CoreFilePicker documentation has been updated to new format
Ref: #331
Related Issues

Testing

Checklist

[ ] I have performed a thorough self-review of my code.
[ ] I have added or updated relevant tests for my changes.
[ ] My code follows the project's style guidelines and best practices.
[ ] I have updated the documentation if necessary.
[ ] I have added or updated relevant comments in my code.
[ ] I have resolved any merge conflicts of my branch.

Screenshots (if applicable)

Additional Notes

Reviewers

Maintainer Notes

[ ] Has this change been tested in a staging environment?
[ ] Does this change introduce any breaking changes or deprecations?

good to go

🤡


Add new / Change Avatar

Add an avatar or change an existing avatar doesn't send json as response.
Last version of social_stream (0.21.3)

Avatars for rails uses a deprecated version of a certain jQuery file upload plugin, which has stopped working. I'll compare a few such plugins, choose one and fix this.

Mea culpa.

We released Avatars for Rails v0.2.4, which fixes this issue. This blatantly reopens the less important #167
My apologies to @raquelgb, who battled against countless vendor javascripts to solve a problem which shouldn't have been there in the first place.


Fix sanitize_params to correctly resolve nested columns

What kind of change does this PR introduce?
Bug fix
What is the current behavior?
Nested columns (of the form foreign_table.column) are currently escaped which breaks the API exposed by postgrest.
https://github.com/supabase-community/postgrest-py/issues/189
https://github.com/supabase-community/postgrest-py/issues/202
What is the new behavior?
This PR modifies the sanitize_parameters() function so that the . character is not escaped anymore.
It also adds some test to verify this behavior.

@J0 let me know if there's anything else to do here! 😄

@guillego, Thanks for your patience - nothing on your end for now. I'll review it tomorrow and hopefully we can get a release out!


Use get-server-metadata socket endpoint to restrict creating chats on MacOS 11+

No content

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

Make sure to also restrict/grey out the 'start conversation' button in the details menu in group chats.


Questions about your results

Hello, I have checked your results through the paper and your log file in github, and I found a very interesting phenomenon, that is, in the dataset FLD, the strongest result of your MAP is 0.72456 in the epoch, but the result in the verification set and the paper is 0.754. Why is that?
In the second point I noticed that the number of images also changed to 19466, but the number of images was not as large if Dogfight comments were used
Looking forward to your reply

https://github.com/tusharsangam/TransVisDrone/blob/main/runs/val/Fl/image_size_1280_temporal_YOLO5L_5_frames_FL_end_to_end/best_augment_full_save/results.txt
You can refer to this run which has 0.754 mAP., The number of test images is 19466
According to your 2nd point, there is only a difference of 8 frames from what was reported in Dogfightn which is not a big difference this might have been caused due to faulty labels, splitting of data, or fault in original reporting. Rest assured we have followed the same standards when splitting the data when it came to FL drones & NPS drones for fair comparison.

Yes, in FLD, I notice that your val result has 0.754 mAP, but the best result in train is only 0.72456. I wonder why is the result in val better than in train
As you mentioned in your paper, the FLD data set is half divided into training and half into testing (val), so in my opinion, the strongest data in train is equal to the best results in val. As sent by https://github.com/tusharsangam/TransVisDrone/blob/main/runs/val/Fl/image_size_1280_temporal_YOLO5L_5_frames_FL_end _to_end/best_augment_full_save/results.txt, Indeed at https://github.com/tusharsangam/TransVisDrone/blob/main/runs/train/FL/image_size_1280_temporal_YOLO5L_5_frames_FL_end The best result in _to_end/results.csv is also epoch19, but the MAP of the two EPOch19s is different. Epoch19-0.72456 in train and epoch-19-0.754 in val are the best results. Is the training log corresponding to this val not this one, or are there other data enhancements or different evaluation metrics used in the results?

I want to confirm with you that Table I in your paper is a fair comparison of experiments on NPS and FLD datasets, right?
Adopted are Dogfig hthttps://github.com/mwaseema/Drone-Detection/tree/main/annotations data, because the number of comments to again the Dogfig less than originally not accurate annotation of graphics, I would like to ask if only the reannotated comments in Dogfig are needed, or if the two are merged with the original full version without exact comments


MGMT-8907: Add ACI ref in CD creation

Hive webhook is rejecting updates in the ClusterDeployment spec if it is installed.
In this patch, the CD reference to the AgentCLusterInstall is set as
part of the CD creation.

/lgtm

/hold

/hold cancel

/hold

/retest-required

/hold cancel


Looking for the dataset used

Hello, a student here looking for the dataset used in the paper; can you provide the links, please?

You can directly download our processed mp3d dataset in here (stitched skybox images and aligned vanishing points, size: 1.25 GB).
https://github.com/zhigangjiang/LGT-Net/issues/6#issuecomment-1279881945

Thank you so much


[BUG] Handle missing/invalid data_type field in AAD in/outbound queue

Task
Handle missing/invalid data_type field in AAD in/outbound queue

Task Title
Handle missing/invalid data_type field in AAD in/outbound queue

Description
An in/outbound queue entry with a missing or invalid data_type field value and provider_id of "azure" will break the AAD delta outbound sync daemon. Malformed queue entries should be flaggedm moved to the changelog, and deleted from the queue.

Applications or Systems impacted
AAD in/outbound delta sync daemons.

Is this a duplicate of #662??  Why is this a bug and not just missing code?

This is handled by #662 so we're closing this ticket.


Handle processing on concatenated scans per session

Currently, all downstream processing (motion correction + segmentation) are performed at a per scan level (imaging.Scan).
For many users, a typical routine is to concatenate data from multiple scans in a particular session and then run processing (e.g. run through Suite2p).
We need to modify/upgrade the pipeline to handle this. One possible solution is to have the imaging.ProcessingTask reference the Session table instead of scan.Scan table, and have another part table to specify which scans go into this ProcessingTask
@schema
class ProcessingTask(dj.Manual):
    definition = """
    -> Session
    -> ProcessingParamSet
    scan_ids: varchar(32)  # list of the scan_id associated with this ProcessingTask (delimited by '_' for example)
    ---
    task_mode='load': enum('load', 'trigger')  # 'load': load computed analysis results, 'trigger': trigger computation
    """

        class MemberScan(dj.Part):
            definition = """
                -> master
                -> scan.Scan
            """

However, the proposed approach above cannot fully solve the problem yet. There are many tables downstream from the processing that reference back to the scan being processed - e.g. Summary images, segmented Masks, etc. point back to the Scan.Field they are processed from.
Technically speaking, all of the concatenated Scan should have the same structure (e.g. same number of fields, depths, size, location, etc.), since the concatenation should be across time only (and we can check for this). So, downstream tables technically can point to any of the Scan (in the MemberScan) and the meta info is still correctly preserved, but still we need to specify one Scan to point to anyhow.
Should we randomly pick one? or pick the first one in the list? How should this be communicated so that users understand that referencing any of these scans are all equivalent to each other?

Addressed in PR#35.


Reduce or eliminate use of delay() in IMU.init() calls (LSM6DSL)

Hi @LiquidCGS, thanks for making this library. It's been a big help making my IMU code work across multiple devices.
I'm currently using a LSM6DSL IMU and I'm encountering two issues with it:

I'm initialize the IMU very quickly after booting, and apparently sometimes the device isn't ready yet. The call to readByte(IMUAddress, LSM6DSL_WHO_AM_I) returns nothing. I can fix this problem by adding a delay(500) before calling LSM6DSL::init(). However, this is undesirable since I want a very fast boot time.

When the device does init successfully, LSM6DSL::init() contains its own delay(100) that adds unnecessary waiting and delay. According to the [LSM6DSL specifications](file:///home/nate/Downloads/an5040-lsm6dsl-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf) (page 49), a soft boot call only should take 50 nanoseconds:

The SW_RESET procedure can take 50 μs; the status of reset is signaled by the status of the SW_RESET bit of the CTRL3_C register

What I would like to propose to hopefully solve both problems is that a while() loop be introduced to check if the device is ready, rather than either assuming the device is already ready when init() is called, and then check if the device is ready after executing a soft reset, rather than hard-coding a delay. I'll see about filing a PR.

I filed a PR at https://github.com/LiquidCGS/FastIMU/pull/27 that seems to help both the problems described.
Using the following sample code to test:
  LSM6DSL IMU;
  calData calibration_data = { 0 };

  // Initialize IMU.
  Serial.println("Initializing IMU.");
  unsigned int imuStartTime = millis();
  int err = IMU.init(calibration_data, IMU_ADDRESS);
  if (err != 0) {
    Serial.printf("Error initializing IMU: %d\n", err);
  }
  Serial.printf("IMU initialized in %dms", millis() - imuStartTime);

I was previously getting -1 errors about 50% of the time, and the initialization timer was 100 or 101ms. After this change, initialization is working 100% of the time, and the initialization timer is 1 to 2ms.


Update file names for Enterprise 1.11.3 packages

Closes influxdata/DAR#399

[x] Rebased/mergeable

Yeah, I've made a mental note to check on the next enterprise release. It will be easy enough to just find and replace ({{< latest-patch >}}-1 -> {{< latest-patch >}}).


HDFS-15215 The Timestamp for longest write/read lock held log is wrong

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
22m 57s
trunk passed

+1 :green_heart:
compile
1m  9s
trunk passed

+1 :green_heart:
checkstyle
0m 45s
trunk passed

+1 :green_heart:
mvnsite
1m 18s
trunk passed

+1 :green_heart:
shadedclient
17m 35s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 42s
trunk passed

+0 :ok:
spotbugs
3m  4s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  2s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  8s
the patch passed

+1 :green_heart:
compile
1m  1s
the patch passed

+1 :green_heart:
javac
1m  1s
the patch passed

-0 :warning:
checkstyle
0m 39s
hadoop-hdfs-project/hadoop-hdfs: The patch generated 2 new + 1 unchanged - 0 fixed = 3 total (was 1)

+1 :green_heart:
mvnsite
1m  8s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m 21s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 39s
the patch passed

+1 :green_heart:
findbugs
3m  7s
the patch passed

_ Other Tests _

-1 :x:
unit
115m 58s
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 36s
The patch does not generate ASF License warnings.

189m 38s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestBlocksScheduledCounter

hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/1/artifact/out/Dockerfile

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 1d6cfe5b2b56 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 44afe11

Default Java
1.8.0_242

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/1/artifact/out/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/1/testReport/

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

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
24m 52s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
1m 20s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
19m 34s
trunk passed

+1 :green_heart:
compile
17m  3s
trunk passed

+1 :green_heart:
checkstyle
2m 42s
trunk passed

+1 :green_heart:
mvnsite
2m 54s
trunk passed

+1 :green_heart:
shadedclient
21m  4s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 56s
trunk passed

+0 :ok:
spotbugs
3m 23s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
5m 31s
trunk passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  7s
the patch passed

+1 :green_heart:
compile
16m 24s
the patch passed

+1 :green_heart:
javac
16m 24s
the patch passed

-0 :warning:
checkstyle
2m 39s
root: The patch generated 2 new + 3 unchanged - 0 fixed = 5 total (was 3)

+1 :green_heart:
mvnsite
2m 54s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m  4s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
2m  0s
the patch passed

+1 :green_heart:
findbugs
5m 23s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
9m  9s
hadoop-common in the patch passed.

-1 :x:
unit
93m 44s
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  6s
The patch does not generate ASF License warnings.

246m 35s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestAddBlockTailing

hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/2/artifact/out/Dockerfile

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux efb7d44196fd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / cf9cf83

Default Java
1.8.0_242

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/2/artifact/out/diff-checkstyle-root.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/2/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/2/testReport/

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

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m  4s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
0m 31s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 55s
trunk passed

+1 :green_heart:
compile
17m 56s
trunk passed

+1 :green_heart:
checkstyle
2m 45s
trunk passed

+1 :green_heart:
mvnsite
2m 44s
trunk passed

+1 :green_heart:
shadedclient
22m 21s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 43s
trunk passed

+0 :ok:
spotbugs
3m  7s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
5m 11s
trunk passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 21s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 59s
the patch passed

+1 :green_heart:
compile
17m  7s
the patch passed

+1 :green_heart:
javac
17m  7s
the patch passed

+1 :green_heart:
checkstyle
2m 46s
the patch passed

+1 :green_heart:
mvnsite
2m 46s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
16m  7s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m 48s
the patch passed

+1 :green_heart:
findbugs
6m  1s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
9m 50s
hadoop-common in the patch passed.

-1 :x:
unit
112m 13s
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 52s
The patch does not generate ASF License warnings.

250m 22s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/3/artifact/out/Dockerfile

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 085133adf7b0 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / cf9cf83

Default Java
1.8.0_242

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/3/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/3/testReport/

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

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1889/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

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

This message was automatically generated.

I'm approving this but I'd like for @xkrogen to take a look if possible.

@goiri Thank you for approving this!
@xkrogen Could you please take a look it when you get a chance?

Ping @xkrogen
Could you please take a look at it when you get a chance?

It looks like @xkrogen is busy and he can't respond to this.
How can we proceed with this? @goiri

Hey folks, apologies for the late response. I'm just getting back from vacation.
The change looks good to me. Good catch @brfrn169 . I agree with your FakeTimer change, it seems that separating the now() and monotonicNow() will help catch such issues in the future. I've made this same mistake in another place and didn't catch it because the FakeTimer treats them the same.

@xkrogen Thank you for reviewing this.
@xkrogen @goiri Could you please commit merge this if you are okay? Thanks.


Use #[repr(C)] so the offset of every union field is 0.

According to
https://rust-lang.github.io/unsafe-code-guidelines/layout/unions.html#unions-with-default-layout-reprrust "the default layout of Rust unions is, in general, unspecified" and "there are no general guarantees about the offset of the fields, [and] whether all fields have the same offset".
This commit explicitly annotates union A with #[repr(C)] so that both of its fields are at offset 0 - this ensures that transmuting one field into the other is valid.  This change is based on https://rust-lang.github.io/unsafe-code-guidelines/layout/unions.html#c-compatible-layout-repr-c which says that "the offset of every field is 0".

Credit for finding the lack of offset guarantees goes to @danakj - this PR is based on the comments at https://chromium-review.googlesource.com/c/chromium/src/+/4723145/31/third_party/rust/chromium_crates_io/vendor/crc32fast-1.4.2/src/specialized/pclmulqdq.rs#69
This initial PR proposal is a fairly minimal change to address the problem.  I've also considered the following alternative approaches for fixing this issue:

Do nothing:

The modified code is behind if false and therefore is not used
This issue would still be present if the code is uncommented + would still be brought up in future reviews/audits

Switch to std::mem::transmute

Maybe this would be more readable?
https://doc.rust-lang.org/std/mem/fn.transmute.html says that compilation will fail if both types do not have the same size (this is not explicitly checked in the union approach)

Delete the unused code altogether

WDYT?


Deprecated Constants

Hello, thanks for your custom integrations, it works flawlessly with my Mitsubishi AC's and is lightning fast! I note that in my HASS logs, there is a warning about the constants utilised being deprecated by release 2025.1. I have pasted a sample log entry below for reference. Is this something which can be rectified prior? Otherwise any guidance will be highly appreciated.
<><><><><><><><><><>
2024-06-03 22:03:16.741 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_HUMIDITY was used from echonetlite, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please report it to the author of the 'echonetlite' custom integration
<><><><><><><><><><>

Thanks for your report. This is already fixed on b848810117d72cb2e6534829467d7bff132d408d. Please update this component.

Thanks for your quick reply and apologies, I was unaware of the update. Your support is appreciated!


fix(deploy-tooling): Update createAbapServiceProvider to support service keys

Fix for https://github.com/SAP/open-ux-tools/issues/1089

tested locally in vscode reading secure store
updated test cases

Fiori UI project with scp: false but secure storage has service keys available for the onpremise ABAP system;

Closing for now based on feedback.


fix: BOOLEAN type

the BOOLEAN type is u8 in kernel, but the TRUE and FALSE constant is u32, this is a simple fix

Looks good! Thank you!


GetFunctionsCoreToolsPath fails to find Azure Function Core Tools on Mac

On Mac: Azure Function Core tools is (most likely) installed via Brew.
Therefore the GetFunctionCoreTools will fail on finding the core tools in node modules (shown below):
System.IO.FileNotFoundException : Azure Function Core Tools not found at /usr/local/lib/node_modules/azure-functions-core-tools/bin/func.
We should also check brew for Mac OS development so that it can properly find the function core tools path and not have to hardcode the path.
Workaround:

comment out GetFunctionsCoreToolsPath and set this line to where the location of func is (use where func in the terminal to find the location).

Fixed here: https://github.com/Azure/azure-functions-sql-extension/pull/533


ImportError: cannot import name 'np_utils' from 'keras.utils'

I think that 'np_utils' has been removed from 'keras.utils'.
This error has been found in 'test_attack_black.py'
Also other things have been changed in 'tensorflow' module, like there is no more tf.session().

Hello @mattiacolucci
Please use the package versions we suggested. You can also use the ART wrapper for ZOO attack: https://github.com/Trusted-AI/adversarial-robustness-toolbox


add ros2_canopen repository for humble

Please Add This Package to be indexed in the rosdistro.
humble
The source is here:
https://github.com/ros-industrial/ros2_canopen/tree/humble
for our  reference: https://github.com/ros-industrial/ros2_canopen/issues/166
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

Holding for Humble sync.

@mergifyio rebase


Not work with compileSdkVersion 29

Not work with compileSdkVersion 29

Plugin version: 0.6.3
Platform: Android
OS version: 10
Device manufacturer and model: Oneplus 6
React Native version: 0.59.10

Hello, I have updated compileSdkVersion, to match the new conditions of android, from 28 to 29. Now the package doesn't work, after start, it starts the process related to the start event but after the app freeze and after crasha, you can give me a hand. Thanks
build.gradle
`// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
compileSdkVersion = 29
targetSdkVersion = 29
buildToolsVersion = "29.0.3"
supportLibVersion = "29.0.3"
// googlePlayServicesVersion = "11.8.0"
// googlePlayServicesVersion = "9.8.0"
googlePlayServicesVersion = "+"
gradle3EXPERIMENTAL = "yes"
googlePlayServicesAuthVersion = "16.0.1"
// firebaseVersion = "17.3.4" // default: "+"
}
buildscript {
repositories {
    jcenter()

    maven {
      url "https://maven.google.com"
    }

    maven {
      // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
      url "$rootDir/../node_modules/react-native/android"
    }

    maven { url 'https://maven.fabric.io/public' } // fabric & crashlytics

    google()

}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
  classpath 'com.google.gms:google-services:4.3.2'  // Google Services plugin
  classpath 'io.fabric.tools:gradle:1.+' // fabric & crashlytics

  classpath 'com.bugsnag:bugsnag-android-gradle-plugin:3.+'

  classpath 'com.google.gms:google-services:4.3.2'

  // NOTE: Do not place your application dependencies here; they belong
  // in the individual module build.gradle files

}
}
allprojects {
repositories {
mavenLocal()
google() // <-- Add this line above jcenter
jcenter()
    mavenLocal()
    maven { url 'https://jitpack.io' }
    maven {
      url "https://maven.google.com"
    }
    maven {
      // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
      url "$rootDir/../node_modules/react-native/android"
    }
    maven {
      url "$rootDir/../node_modules/react-native-background-fetch/android/libs"
    }
    google()
    jcenter()

     configurations.all {
        resolutionStrategy {
            force "com.android.support:appcompat-v7:$supportLibVersion"
        }
    }
}
//add the folllowing lines to force libs to use recent buildtools
subprojects {
    afterEvaluate {
        project ->
            if (project.hasProperty("android")) {
                android {
                    compileSdkVersion = 29
                    buildToolsVersion = "29.0.3"

                }
            }
    }
}

}
`

Same +1

same here

same +1

Same for me but I get this error:

Tested it with compileSdkVersion 29, first I got exception error in logcat and app freezes on BackgroundGeolocation.start(). Try to add:
implementation 'com.google.android.gms:play-services-location:15.0.1'

into dependencies in app/build.gradle
That resolved problem in my case.


full_splits.py: restart chapter behaves differently for City

Steps to reproduce:

Run full_splits.py with a route for a chapter (I've attached my own city.route and site.route that split by subchapters, created using make_segment_splits.py, I don't think there's a big difference between them)
Go through the chapter far enough that at least the first split is finished.
Restart chapter.

Expected behavior:

Splits reset.

Actual behavior:

For at least Site and Ridge (didn't test this out with other chapters so far), the splits do reset nicely, so like this:

For City, they don't. The autosplitter does recognize that the chapter time has gone to zero again, but it still thinks I'm in the middle of a run so it looks like this:

Archive of my routes with city.route and site.route

This is actually a bug with make_segment_splits.py. I've fixed it in the linked commit, but if you want to fix your existing route files you'll need to go in with the python shell and change the restart trigger the same way the commit changes it.

That made it work, thanks!


Page.type() not working

I can't get the page.type() command to work, anyone having the same issue ? Some advice is appreciated, thanks in advance.
Marionette :
        firstly {
            page.goto(URL(string: "https://www.myurl.com)!)
        }.then {
            page.type("input[name='username']", "test")
        }. etc

Html snippet :
.....

				Username

<input autofocus type="email" name="username" class="text fw" autocomplete="username" />

				Password

<input type="password" name="password" class="text fw" autocomplete="current-password" />

....

Try replacing page.type("input[name='username']", "test") with  page.evaluate("document.querySelector(\"input[name='username'\").value = 'test';")

Sorry for not seeing this earlier. I'm afraid that it will be hard to debug this without knowing the site you are visiting. I've personally tried this with quite many sites and made refinements to make it work with as many as possible, I'd be very happy to make it work with the site you are using as well!
You can see what the type function is doing here:
https://github.com/LinusU/Marionette/blob/3c0699e869fdbe13a5d03042884c17d418293a12/Sources/Marionette.swift#L91-L124
A good first step is to attach a debugger via Safari (you might need to use Safari Technology Preview, are you building an iOS or Mac app?) and see if you get any errors in the console.
If you don't get any errors, try setting break-points or adding console.logs to SwiftMarionetteSimulateType in order to see where it's going wrong...

(closing for lack of response)


Failed Autorest Regen Preview to 3.0.0-alpha.20240223.3 by Michael Nash from refs/pull/4271/head

Triggered from https://github.com/Azure/autorest.csharp/pull/4271

API change check
API changes are not detected in this pull request.


[C++][S3] Remove GetBucketRegion hack for never AWS SDK versions

Describe the enhancement requested
In https://github.com/aws/aws-sdk-cpp/issues/1885#issuecomment-2118124214 it was pointed out that the "x-amz-bucket-region" header of successful HeadBucket responses are now accessible using S3Model::HeadBucketResult::GetRegion. We should use that API whenever possible.
Component(s)
C++

Issue resolved by pull request 41798
https://github.com/apache/arrow/pull/41798


ci: Implement Release workflow

Describe your changes
Implement the Release Workflow (CD) with semantic-release.
The release workflow is triggered by dispatch_workflow. This allows developers to manually execute workflows any time.
Issue ticket number and link
References

README | master | semantic-release
Manually running a workflow - GitHub Docs

Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics?
[ ] Will this be part of a product update? If yes, please write one phrase about this update.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


error: Cannot read property X of undefined

Hello, and first of all thanks for such a great project!
I am having issues while trying to use a locally build copy of gql-gen.
When I run this:
yarn add -D graphql-code-generator graphql graphql-codegen-typescript-template graphql-codegen-core
DEBUG=y yarn gql-gen --schema schema.graphql --template typescript --out generated/ src/query.graphql

It works and generates a types.ts file correctly.
But when I build gql-gen using
git clone https://github.com/dotansimha/graphql-code-generator.git
cd graphql-code-generator
yarn

And then I install it on another project using
yarn add -D ~/dev/oss/graphql/graphql-code-generator/packages/graphql-codegen-cli/ graphql ~/dev/oss/graphql/graphql-code-generator/packages/graphql-codegen-core/ ~/dev/oss/graphql/graphql-code-generator/packages/templates/typescript

And run the same command as before:
DEBUG=y yarn gql-gen --schema schema.graphql --template typescript --out generated/ src/query.graphql

I get the following error:
12:29:40.564 - info: [executeWithOptions] using template: typescript
12:29:40.597 - info: [executeWithOptions] using project: undefined
12:29:40.597 - info: Loading config file from:
12:29:40.597 - info: [executeWithOptions] Got project config JSON:
12:29:40.597 - info: [executeWithOptions] Schema is being loaded
12:29:40.607 - info: [schemaToTemplateContext] started...
12:29:40.607 - info: [schemaToTemplateContext] Got total of 2 types in the GraphQL schema
12:29:40.607 - info: [transformGraphQLObject] transforming type Query
12:29:40.608 - info: [resolveType] resolving type Person
12:29:40.608 - info: [resolveFields] transformed field me of type [object Object], resolved type is:
12:29:40.608 - info: [transformGraphQLObject] transforming type Person
12:29:40.608 - info: [resolveType] resolving type String
12:29:40.608 - info: [resolveFields] transformed field name of type [object Object], resolved type is:
12:29:40.608 - info: [resolveType] resolving type Int
12:29:40.608 - info: [resolveFields] transformed field age of type [object Object], resolved type is:
12:29:40.609 - info: [resolveType] resolving type Boolean
12:29:40.609 - info: [resolveArguments] resolving argument if of type Boolean...
12:29:40.609 - info: [resolveType] resolving type Boolean
12:29:40.609 - info: [resolveArguments] resolving argument if of type Boolean...
12:29:40.609 - info: [resolveType] resolving type String
12:29:40.609 - info: [resolveArguments] resolving argument reason of type String...
12:29:40.612 - info: [schemaToTemplateContext] done, results is:
12:29:40.612 - info: [executeWithOptions] Schema template context build, the result is:
12:29:40.612 - info: Total of types: 2
12:29:40.612 - info: Total of inputTypes: 0
12:29:40.612 - info: Total of enums: 0
12:29:40.612 - info: Total of unions: 0
12:29:40.612 - info: Total of scalars: 0
12:29:40.613 - info: Total of interfaces: 0
12:29:40.613 - info: Total of definedDirectives: 3
12:29:40.617 - info: [transformDocument] transforming total of 1 definitions...
12:29:40.618 - info: [transformOperation] transforming operation yo of type query
12:29:40.618 - info: [buildSelectionSet] transforming FIELD with name me
12:29:40.618 - info: [resolveType] resolving type Person
12:29:40.618 - info: [buildSelectionSet] transforming FIELD with name name
12:29:40.618 - info: [resolveType] resolving type String
12:29:40.619 - info: [compileTemplate] settings =
12:29:40.619 - info: [compileTemplate] all documents merged into single document, total of 1 operations and 0 fragments
12:29:40.619 - info: [compileTemplate] flattenTypes is true, flattening all selection sets from all documents...
12:29:40.620 - info: [compileTemplate] starting to compile template with input type = SINGLE_FILE
12:29:40.620 - info: [compileTemplate] register partial template index
12:29:40.620 - info: [compileTemplate] register partial template type
12:29:40.621 - info: [compileTemplate] register partial template schema
12:29:40.621 - info: [compileTemplate] register partial template resolver
12:29:40.621 - info: [compileTemplate] register partial template documents
12:29:40.621 - info: [compileTemplate] register partial template selectionSet
12:29:40.621 - info: [compileTemplate] register partial template fragments
12:29:40.621 - info: [compileTemplate] register partial template enum
12:29:40.621 - info: [compileTemplate] Executing generateSingleFile...
12:29:40.621 - info: [cleanTemplateComments] called, looking for magic comments in ...
12:29:40.621 - info: [cleanTemplateComments]  does not contains any magic comments, skipping...
12:29:40.621 - info: [generateSingleFile] Compiling single file to: types.ts
12:29:40.645 - error: Cannot read property 'Person' of undefined
error Command failed with exit code 1.

My schema.graphql content is:
type Person {
   name: String
   age: Int
}

type Query {
  me: Person
}

And the src/query.graphql content is:
query q {
  me {
    name
  }
}

Do you have any idea of what can be happening, or is there anything wrong that I am doing?

Ok, the error was mine. I was not installing the local version of graphql-codegen-compiler, and it was being downloaded from the network.
Using
yarn add -D graphql ~/dev/oss/graphql/graphql-code-generator/packages/graphql-codegen-core/ ~/dev/oss/graphql/graphql-code-generator/packages/graphql-codegen-compiler/ ~/dev/oss/graphql/graphql-code-generator/packages/templates/typescript ~/dev/oss/graphql/graphql-code-generator/packages/graphql-codegen-cli/

to install the locally built packages fixes the error.
Closing, and sorry for the inconveniences.


BootstrapButton

Hi,
I'd like to use BootstrapButton feature and using my own font, but I can't do method setTypeface(TypeFace tf) on object BootstrapButton. How to solve problem ?

BootstrapButton is currently a compound view consisting of 2 FontAwesomeTexts & 1 TextView, which means it doesn't inherit TextView messages. As a workaround you could use reflection to access the TextView and set the typeface from there (or use the Caligraphy library to set a default font through your application).

Fixed in 2.0.0


weave connect/forget take multiple peers

A first step towards solving #656.
Are there some tests for this that should be updated?

Are there some tests for this that should be updated?

I believe you were going to write some ;)

Upon further inspection the old (and new) behaviour of weave launch is to log.Fatal if any addresses fail to resolve. weave connect will now connect to as many as possible, and output errors for any that fail.

Thanks.
So I don't think there is currently a way to replace all the direct connections with a list provided by JSON - i.e. add the ones that aren't currently on the direct peer list and forget the others. This would be really handy as it would save parsing the JSON at all. Would you take a patch for that?

So I don't think there is currently a way to replace all the direct connections

#658


Commented rows do not respect text indent when inserting a new line below them.

Operating system or device - Godot version:
Windows - Godot 2+
Issue description:
There is an annoying usability issue in the code editor:
func example():
	var answer = 42
#	var foobar = make_foobar()
	var baz = foobar.baz

Imagine that the caret is located at the end of the commented line.
Now, create a new line, and the caret jumps back to the very beginning of the new line - which is quite impractical and annoying.
So, I'd suggest to make the caret respect the previous row's indent - whether the row is commented out or not.

Unless you arw writing a multiline comment. Maybe we could add a setting to enable that behavior and enable/disable it by default according to the best consensus.

Having such comment style breaks the python-like indentation based block though, so personally I would avoid it and use instead:
func example():
	var answer = 42
	#var foobar = make_foobar()
	var baz = foobar.baz

Then there is no problem ;)

@akien-mga That sounds good to me. However, the "Toggle Comment"-shortcut uses the style in my original post.
Perhaps it'd make sense to simply change this action to use the style that you suggested?
PS. While we're discussing the Toggle Comment action... If someone is going to change this behavior, I sneak in another small feature suggestion for this action: When a line is commented/uncommented, the caret also jumps to the next row. (configurable via settings)

The setting could be about comment style: left-margin vs. indent level. The later would be the default as it's the most pythonic. Better names are welcome.
Then the current caret behavior could be kept. That way, the auto-return setting would not be needed as much. You can just hit return manually and the caret will be at the column where the # would have been inserted.

I'll close this in favor of #22177, which is more detailed.


fix: only fire fail/success events once

Description
Fixes an issue where MixPanel trade success and fail events were being fired more than once due to reactivity of their containing useEvent.
Set a one-way switch to ensure this event is only fired once.
Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A, related Discord discussion: https://discord.com/channels/554694662431178782/885616186623148062/1134582539844067449
Risk
Very small.
Testing
When performing a trade, see that the TradeSuccess event is only being fired once if the trade is successful, or that the TradeFailed event is being fired only once if the trade is not successful.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Current dependencies on/for this PR:

develop

PR #5002   👈

This comment was auto-generated by Graphite.


1.3.0-insider breaks alt+left/right word skipping

VSCode Version: 1.3.0-insider
OS Version: OS X El Capitan 10.11.3

Steps to Reproduce:

Create/open an empty file
Type the text "Hello World"
While the cursor is at the end of the line, press Alt-Left
Expected behavior is that the cursor will jump to the left of the letter 'W'
Actual behavior is that the cursor just jumps to the left of the letter 'd'

Because now this shortcut into the text to move around(https://github.com/Microsoft/vscode/pull/6887)
I have said in issue(https://github.com/Microsoft/vscode/issues/5251), do not change the system level of general shortcuts. This will The loss outweighs the gain.
I think control + cmd + ←/→ is better(Atom 1.8).
@alexandrudima @kisstkondoros Please change the shortcut key 😭 .

You can modify the shortcut key configuration, this is a temporary solution.
{
    "key": "alt+left",
    "command": "cursorWordStartLeft",
    "when": "!editorHasSelection && editorTextFocus"
},
{
    "key": "alt+right",
    "command": "cursorWordEndRight",
    "when": "!editorHasSelection && editorTextFocus"
}

Sorry about that, I merged a PR that overwrites the word navigation keys. Fixed in f81582e1925161700751638e26e85bd6e0048745

Went to bed, woke up, and there's a new vscode update. Problem fixed. Loving your iteration speed.


[metricsadvisor] pylint next

Also skipping some flaky tests to see if we can get the live tests pipeline green again.
Might have to merge after 7/7 due to the name-too-long custom checker being unknown to CI pylint currently

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-metricsadvisor


Do not document private attributes of ModelHubMixin

Better not to document _model_hub_mixin.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


fix package beta3

@Joannis I think this can get a way w/ a patch since there's no backwards breaking changes


validating written data unexpectedly succeeds when partial data is read

For example, in the DNP3 outstation tests:
const DELAY_MEASURE: &[u8] = &[0xC0, 23];
const RESPONSE_DELAY_MEASURE: &[u8] = &[0xC0, 0x81, 0x80, 0x00];

#[test]
fn rejects_operate_with_non_consecutive_sequence() {
    let mut harness = new_harness(get_config());
    harness.test_request_response(DELAY_MEASURE, RESPONSE_DELAY_MEASURE);
}

This test passes, even though the full fragment the outstation responds with:
[C0, 81, 80, 00, 34, 02, 07, 01, FE, CA]

When validating a write, we need to validate an exact match from the write operation.
This:
enum ChannelState {
    Open(VecDeque<u8>),
    Closed,
    Error(ErrorKind),
}

should probably be:
enum ChannelState {
    Open(VecDeque<Box<[u8]>),
    Closed,
    Error(ErrorKind),
}

so that sequences of writes are preserved and that full write operations are validated

resolved in 82711b9500264ea2bcafdb0dc526922844ea6975


Log rank test

This is an implementation of log-rank testing, with tests.

Codecov Report
Base: 99.81% // Head: 99.52% // Decreases project coverage by -0.29% :warning:

Coverage data is based on head (2d9064d) compared to base (c87f39a).
Patch coverage: 97.91% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   99.81%   99.52%   -0.30%
==========================================
  Files          10       10
  Lines         530      626      +96
==========================================
+ Hits          529      623      +94
- Misses          1        3       +2

Impacted Files
Coverage Δ

src/SurvivalEstimator.jl
98.75% <97.18%> (-1.25%)
:arrow_down:

src/Surv.jl
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.

Please also get coverage to 100%

Thanks @kshedden . New documentation makes it clearer what the expandstats function does, it was confusing looking at the example in tests but makes sense now. doctests are currently failing so please fix and then we can merge. Please also see @mschauer comment above. In future I think we should improve the output of the test for better consistency across the package but happy for now.
Closes https://github.com/RaphaelS1/SurvivalAnalysis.jl/issues/10

@all-contributors
please add @kshedden for doc, code.
please add @mschauer for review.


v0_3_exp: Make gzip auto-compression disableable

Fixes: https://github.com/coreos/fcct/issues/123
If this is agreeable, can we also port it back to v0.2?

Yeah, we can add this to 0.2 also.  It's not a user-visible spec change.

@bgilbert thanks! I've fixed the typo, renamed the bool and also added it to 0.2.


Update how-to documentation

Overview
Edits to four of the how-to guides
Rationale
Improve the formatting, remove passive voice, other general edits
Juju Events Changes
None
Module Changes
None
Library Changes
None
Checklist

[X] The charm style guide was applied
[X] The contributing guide was applied
[X] The changes are compliant with ISD054 - Managing Charm Complexity
[X] The documentation is generated using src-docs
[X] The documentation for charmhub is updated
[X] The PR is tagged with appropriate label (urgent, trivial, complex)

Closing the PR because I did not sign the original commit; will reopen today


feat(v2): allow activeBaseTest in NavLink

Motivation
See #2683 and #2574
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Serving the Docusaurus v2 site works as expected. Adding activeBaseTest: 'docs\\/(next|2\\.0\\.0\\-alpha\\.50)' to the "Docs" link in docusaurus.config.js results in the "Docs" link only being highlighted on the "next" and "alpha.50" versions.

Any chance this could be merged? I'm looking forward to using this in my documentation website :)

friendly ping @yangshun

Thanks @nebrelbug! Much appreciated!


syncthing: 1.23.7 -> 1.24.0

Description of changes
https://github.com/syncthing/syncthing/releases/tag/v1.24.0
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)
[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

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

4 packages built:

qsyncthingtray
syncthing
syncthing-discovery
syncthing-relay


Does this page need to be updated?

Hi,
As D365 and Power Apps are now allowing to create multiple environments, I think this page needs an update.
singaravelu s

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

ID: 26b96949-9581-170c-6142-3ab52cff5b8a
Version Independent ID: 25024fe1-f795-042d-b6d9-578774605008
Content: Add and edit multiregional instances
Content Source: ce/admin/add-edit-multiregional-instances.md
Service: crm-online
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@sing-ideas
The content has moved to:
https://docs.microsoft.com/power-platform/admin/regions-overview

@sing-ideas
The content has moved to:
https://docs.microsoft.com/power-platform/admin/regions-overview

Hi,
Thanks for directing to right content.
regards,
Singaravelu S


Invalid RPU possible bug and exit status is zero on error

Hi and thanks for creating dovi_tool!
I've encountered an FEL+RPU stream that dovi_tool fails to convert for some reason and upon exit it also has an exit status of zero instead of non-zero. Here is a screenshot of the output.

The bitstream file is 10GB so please advise me how you'd like to receive it.

I should be able to reproduce this locally without a sample file.
Currently, the return code is always zero. I'll have to look into fixing that.

Though if you're able to mention the title of the movie, that would work as well.
A sample would be better to see if there's an issue witb the HEVC parser.

Happy to give you the details.
Movie: Crank.Extended.Cut.2006.MULTI.COMPLETE.UHD.BLURAY-GENTLEMAN
Stream was taken directly from BDMV/STREAM/00002.m2ts using the following command:
ffmpeg -analyzeduration 2000M -probesize 2000M -hide_banner -i "BDMV/STREAM/00002.m2ts" -c copy -an -sn -map 0:v:1 -vbsf hevc_mp4toannexb -y "example.FEL+RPU.7.hevc"
In case you are wondering, I also tried piping the FFmpeg output to dovi_tool with the same result.
If you'd like me to post a sample, would it be fastest if you posted a patch I can apply to dovi_tool to make it output the location of the error it finds (if there's no other way to get it to do that)?

Thanks for the info.
I'll look into it.

Seems the file is "corrected" by remuxing/demuxing with MKVToolNix. So, currently I'm blaming FFmpeg.

The parsing should be fixed, and dovi_tool should now return a relevant exit code if there's an error.

Always those pesky edge cases hehe. Built 1.4.6 and...

Can't test the exit status as I don't have any invalid streams on hand. Thanks for the quick turnaround!


Repo issues

There is a few items that need to be fixed so that enterprise customers can use these icons:

There needs to be an external License file. A lot of enterprise customers use tools to grab the license of a repo when building their product.
Proper NPM releases. When using npm/yarn to attach a GitHub repo to package.json, there will be no updates, even if there are on the repo. It's frozen to the first time it's added that way.
Two of the icons use the svg use directive. This should be avoided if at all possible, because of inconsistencies between browsers (bxs-droplet and bxs-hot both use this).
Two of the file names (without extension) end with a space. ("bxl-kubernetes .svg" and "bx-baseball .svg"). These need to fixed because users can't see the space on the end.

@cyfung1031
You can use them now, except for the two icons I specify in the known issues. Use the quasar-extras-svg-icons package: https://quasar-extras-svg-icons.netlify.app/
But yes, it'd be nice if they clear up all the issues so things would be a bit smoother.


Enable Sample generated for TypeSpec to have real values from TypeSpec/Swagger examples

When we generate SDK from Swagger for mgmt. SDK, we will leverage test modeler to connect the real values from swagger examples with the model definition in Modeler4 so that we could leverage those real values to generate SDK samples for all languages.
Those samples will be used in API ref docs to show how to use the SDK.
Please check the Example part in https://learn.microsoft.com/en-us/rest/api/avs/addons/delete?view=rest-avs-2023-03-01&tabs=HTTP
With our goal to generate SDK from TypeSpec directly, the existing approach to leverage testModeler will be broken and we need to enable Sample generated for TypeSpec to have real values from TypeSpec/Swagger examples, otherwise, this will be a feature gap when moving services from Swagger to TypeSpec.
This effort would be applied to both MPG and DPG and I hope the test/SDK docs generation could also leverage the real value of the payload.

I think this may be the time to rethink whether we want machine-generated examples for the purpose of documentation. If not, any generator that wants them can use the pattern employed by typespec-autorest, matching the examples by OperationId.

@markcowl: add to dpg discussion

@markcowl, I think this effort is mainly about DPG and TCGC work and we don't have specific ask for TypeSpec to support this.
As the SDKs are generated from TypeSpec directly, there is no need to create sample through  TypeSpec => Swagger => SDK => SDK samples to avoid any mismatch between SDK signatures.
As you added the label of 'More Info', could you share what information needed for this task?  Thanks

closing as not planned


Restoring with exclude/include confusion

I was wondering if someone could briefly explain the exclude/include functionality behind the snapshot restoration feature? I do not wish to annoy anyone by bringing this matter up as a GitHub issue, I am simply under a lot of pressure to complete a project, the project exists only in my remote S3 restic repo as yesterday my mac decided it would melt its logic board.
I made a backup of my whole system a couple days ago and today would like to restore only a specific directory from within the single snapshot.
First of all, is the exclude/include functionality used to restore specific directories/files from within a single snapshot or is it used to restore single snapshots containing those specific directories/files?
I have tried many restore commands and all seem to be running very slow for what they should be restoring.
The restoration processes are still running and thus I'm not 100% certain of the outcome but the time involved in completing the processes raises suspicion that they are not simply finding those patterns and restoring them to the target location.
I've reached the conclusion that either my command isn't doing what I expect it is doing, which is restoring just a specified directory. Alternatively, the issue is that the command is doing what I expected but not as directly as I expected. Maybe this is querying each element within the repo and restoring them as they match the pattern? The latter seems most likely to me due to the use of the language 'pattern' rather than 'path' in the include/exclude help documentation.
I apologies for not just looking through the design docs and source code to deduce the answer myself, I need the support of the GitHub community more than ever!

Hey, thanks for reaching out. Your description helps us a lot, it shows that we need to improve the documentation for the restore command.
First of all: Unfortunately the restore process is not yet optimized and runs sequentially. Especially for remote repositories like s3 this means that the latency to the storage location adds up to a lot.
Now to the concrete problem you have I see two solutions:

With the restic restore filters, you can limit the restore to a directory by using --include
With the fuse mount you could mount the repository to a local directory and browse the snapshots, you can then use cp or rsync or even the finder to copy data out.

For the restore filter there are two modes. For restoring only a specific directory from the snapshot, using --include once is sufficient.
I'll give an example. Suppose you've created a snapshot of your home directory, /home/user, by running:
$ restic backup /home/user

This means that internally, restic creates the top-level directory user and put files in there. You can check that by runinng restic ls $SNAPSHOT_ID. If you want to only restore everything below /home/user/work/web/jekyll to /tmp/restore, you can run restic as follows:
$ restic restore --target /tmp/restore --include "web/jekyll" $SNAPSHOT_ID

With this include filter, restic will for each file/item check whether the pattern web/jekyll matches somewhere. I've just discovered that specifying an absolute path as an include pattern currently does not work and restores nothing, I'll add an issue about it.
The easiest (and possibly also the fastest) would be to use the fuse mount. Did you try that yet?

If you need more support, feel free to drop in the IRC channel, I'm available now.

Added #374 to track the bug you discovered.

Thanks @fd0, I took the FUSE mount route and it worked great thank you!
In terms of optimizing restic for services like S3, did the owner(s) want to take restic down the route of specifically optimized repo modules depending on the service or did they want those repo modules to be a close abstraction of the backend interface from the restic core and have the core orchestrate most of the heavy lifting?
For example, for the S3 repo backend, a bit like its restoration behavior, I believe its writing a single blob of any one pack and then in turn puts that single blob to the S3 bucket. Would there be a performance increase from queuing a number of blobs to be batch uploaded using the S3 multipart functionality?

Then I declare your restore operation a success. If you agree then please close this issue. If you have an idea on how to improve the documentation, please create a new issue so we can track that.

I'll respond here:

In terms of optimizing restic for services like S3, did the owner(s) want to take restic down the route of specifically optimized repo modules depending on the service or did they want those repo modules to be a close abstraction of the backend interface from the restic core and have the core orchestrate most of the heavy lifting?

I think we'll try to make the backend implementations as thin as possible, and having the core take care of e.g. retries. Otherwise we'd need to implement that for every single backend, that'll probably lead to much code duplication.

For example, for the S3 repo backend, a bit like its restoration behavior, I believe its writing a single blob of any one pack and then in turn puts that single blob to the S3 bucket.

I don't think that's right. The s3 backend (as any other backend) stores packs which consist of one or more blobs. Typically, there are between four and 2000 blobs within a single pack.

Would there be a performance increase from queuing a number of blobs to be batch uploaded using the S3 multipart functionality?

I think that's already optimized quite well on the blob/pack abstraction level, that should be enough.
As I already wrote the restore process is not optimized at all, which means that blobs are fetched sequentially and not concurrently. In contrast, the backup process is already heavily optimized to write many packs in parallel.

@fd0 - Thank you for clearing up some confusion, I'm loving what this project can offer. I'll close this as my issues have been dealt with. Best of luck!

Thanks, and please continue to open issues for all things you come across that aren't clear ;)
I'm glad you have your data back.


Update pgbouncer to 1.21.0 + support prepared statements

update pgbouncer to 1.21.0
enable prepared statements support (https://www.pgbouncer.org/config.html#max_prepared_statements)

See also https://github.com/neondatabase/cloud/pull/7381

I'll open an issue about it

#577


Allow to customise http.Transport for RPC client

Is your feature request related to a problem? Please describe.
The support for providing custom http.Client was removed in https://github.com/nspcc-dev/neo-go/commit/315aabde564fd8429b3f262cff83080535e9084b. However, there is a number of ways one could want to customize it:

Providing client TLS certificate. Use case: using mTLS on the RPC interface in private networks. Currently, RPC server has no support for this, but it can easily be added in a fork, updating client dependencies is much more difficult.
A related, but separate use case is authenticating server certificate (e.g. make sure it is signed with an NSPCC CA in some private albeit distributed NSPCC deployment).
Policy-based routing. Imagine I have the following routing table and need to provide source address to pick a proper interface. What I need to do here is to set net.Dialer.LocalAddr  (== provide custom DialContext). There are multiple lower-level solutions (bond), but they have their own problems, so I have no control over this part.

service@slovo:~$ ip route
...
<IP_ADDRESS>/24 dev internal0 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/24 dev internal1 proto kernel scope link src <IP_ADDRESS>

Simplify tests. We could fuzz everything we receive (as it is just a string), or we could rewrite rpcclient/rpc_test.go without using httptest.Server. If RPC response is an untrusted input in my threat model (e.g. I don't use mTLS), it could be necessary (i.e. following the letter of law) to fuzz my service as a blackbox.

Describe the solution you'd like

Deprecate Cert, Key and CACert in rpcclient.Options
Add func(h *http.Client) as option. Lots of ways to do this part actually, mine is an example of what will work.

Describe alternatives you've considered

Adding custom options for each use case. More work, less flexible.
Forking or vendoring rpcclient code. Quickly becomes unmaintainable.

Providing client TLS certificate.

It was meant to be supported by the client natively (see Options), but never was implemented. Same thing with server authentication. But you know that and other cases like routing really can require something more fancy. We'll think about it.


Feature Request for detail level

Please add ability to change logging detalization at writer level: None (completely disables any logging), Normal, Verbose etc.

You can already do this. There is a filtering logger, which you can wrap into any other logger. Just open or close the filter to your liking.


tox: add -U option to install_command

There was an issue with PIP=latest because of cache. See #858 for details. To fix it i've added to pip upgrade option to make sure that all packages (without explicit version) upgraded to a latest version.
Also print pip version explicitly for debugging. Now you know exactly which version of pip was installed on PIP=latest
Closes #858.

Looks like you can't python -m pip install -U pip on Python 3.6 (Windows) because of a bug https://github.com/pypa/pip/issues/3964


Roadmap

It'd probably be useful to have a roadmap for potential contributors to look at and see if there's something they could work on that you are looking to integrate into the gem

Hi,
There is a roadmap in the Readme: https://github.com/alxlion/eyeloupe#roadmap
I know it's not the most polished roadmap, but I'll make it a good one when the product is out of beta.
Right now, all contribution regarding the code quality is appreciated (over features).
Thanks for your support!


LGTM.com - false positive: argument should be of type ... but is of type 'unknown'

Description of the false positive
Language: C++.
Query: Wrong type of arguments to formatting function
In a template, I get:
This argument should be of type 'int' but is of type 'unknown'

URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/project-gemmi/gemmi/snapshot/f526c519b18b6434dd5025bef97c5fcd057d9f63/files/src/map.cpp#xe9e63eaf9558ecc3:1
(I just learned about LGTM and already found one bug using it. Thanks a lot!)

Thanks for the report! The alert is attached to the uninstantiated template, where the type is unknown. I've opened a PR (#1979) to fix this. Once it's been merged, it will take effect the next time we deploy new queries to lgtm.com. That should happen within a couple of weeks.


ARTEMIS-2665 AMQP use createSharedQueue like Core

Ensure's the queue is marked temporary for AMQP as it is for CORE.


Spanish Version

Salvando Satoshi
Pull Request checklist
Please review the below PR requirements:

Build was run locally and any changes were pushed
Ensure that the title clearly describes the changes
Issue to be referenced in the PR description rather than in the commits or PR title
Clean commit history

Closes #361

Too easy. Should be fine now, thanks for the support, and looking forward to seeing it merged.

This has been great guys and thanks so much for building this interactive-book(?) Not sure how you define it... Anyway, the process for the translation has been much easier than others we are working on, mostly because the team is reactive and attent to details 💪. We also published a dedicated page to the book in our site, if there's any content you'd like to add/remove, please DM us directly. Looking forward to translating the following chapters.

Thank YOU @SuperAtic for contributing! We really appreciate it.
I saw on your website that you show a catalogue of all the images. It might be a good idea not to show all of them. Reason being that the images will get periodically updated. But it's your call if you want to try and maintain the images as we keep developing our project.


Arrows Feature Adds an extra svg and extends view port

An extra svg is added with the new arrow feature. It causes the app page to be twice the size of the viewport. You can scroll down and this is undesirable.

Resolved in PR #34


readthedocs links not working

Some links in readme.md files aren't working, i.e. in:

https://github.com/sentinel-hub/eo-learn/tree/master/core
https://github.com/sentinel-hub/eo-learn/tree/master/coregistration

They lead to

oh damn, those haven't been looked at in ages
i'm not sure we even should have READMEs there :thinking:


Chat - Some emoji appear in chat as 2 separate pictures

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open https://staging.new.expensify.com/and login
Open any chat
Send emoji like 'face-in-clouds' and 'face-exhaling'

Expected Result:
For the recipient in the chat, the emoji is displayed correctly as one picture
Actual Result:
For the recipient in the chat, the emoji is displayed as TWO separate pictures
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web Safari/Chrome
Desktop App
Mobile Web/Safari

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/201389741-00c58456-e612-4533-b6c6-eae410560cb4.MP4
https://user-images.githubusercontent.com/93399543/201389753-184a48ae-251a-4d8b-9722-c4cbcfb9c790.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause - internal Team
Slack conversation:
View all open jobs on GitHub

Can't reproduce, labelled accordingly

Asked for help reproducing here

Issue not reproducible during KI retests. (First week)

Doesn't look like we've been able to reproduce this based on the Slack discussion. Closing.