[BUG] 3.1.7 version spawn deadlocks on script end

fayno-market-grey-cardinal.app      | ===================================================================
fayno-market-grey-cardinal.app      |  [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
fayno-market-grey-cardinal.app      | ===================================================================
fayno-market-grey-cardinal.app      |
fayno-market-grey-cardinal.app      |  [Coroutine-3]
fayno-market-grey-cardinal.app      | --------------------------------------------------------------------
fayno-market-grey-cardinal.app      | #0 /opt/www/vendor/hyperf/engine/src/Channel.php(41): Swoole\Coroutine\Channel->pop()
fayno-market-grey-cardinal.app      | #1 /opt/www/vendor/hyperf/coordinator/src/Coordinator.php(34): Hyperf\Engine\Channel->pop()
fayno-market-grey-cardinal.app      | #2 /opt/www/vendor/friendsofhyperf/sentry/src/HttpClient/HttpClient.php(96): Hyperf\Coordinator\Coordinator->yield()
fayno-market-grey-cardinal.app      | #3 [internal function]: FriendsOfHyperf\Sentry\HttpClient\HttpClient->FriendsOfHyperf\Sentry\HttpClient{closure}()
fayno-market-grey-cardinal.app      |
fayno-market-grey-cardinal.app      |
fayno-market-grey-cardinal.app      |  [Coroutine-2]
fayno-market-grey-cardinal.app      | --------------------------------------------------------------------
fayno-market-grey-cardinal.app      | #0 /opt/www/vendor/hyperf/engine/src/Channel.php(41): Swoole\Coroutine\Channel->pop()
fayno-market-grey-cardinal.app      | #1 /opt/www/vendor/friendsofhyperf/sentry/src/HttpClient/HttpClient.php(74): Hyperf\Engine\Channel->pop()
fayno-market-grey-cardinal.app      | #2 [internal function]: FriendsOfHyperf\Sentry\HttpClient\HttpClient->FriendsOfHyperf\Sentry\HttpClient{closure}()

I need to reproduce issue on fresh project, need some time for it, version 3.16 works fine so issue i think in new HttpClient class and coroutine and channel inside. Currently i can only say I use hyperf/hyperf:8.2-alpine-v3.18-swoole-v5.1 docker image and following composer, deadlock happens each time i run command or other stuff and script try to be closed but coroutine inside HttpClient is sleep:
{
    "name": "hyperf/hyperf-skeleton",
    "type": "project",
    "keywords": [
        "php",
        "swoole",
        "framework",
        "hyperf",
        "microservice",
        "middleware"
    ],
    "description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
    "license": "Apache-2.0",
    "require": {
        "php": ">=8.2",
        "ext-gd": "*",
        "ext-openssl": "*",
        "96qbhy/hyperf-auth": "^3.1",
        "doctrine/lexer": "^2.0",
        "fakerphp/faker": "^1.23",
        "friendsofhyperf/sentry": "3.1.6",
        "hyperf/amqp": "^3.1",
        "hyperf/cache": "^3.1",
        "hyperf/command": "^3.1",
        "hyperf/config": "^3.1",
        "hyperf/crontab": "^3.1",
        "hyperf/database": "^3.1",
        "hyperf/database-pgsql": "^3.1",
        "hyperf/db-connection": "^3.1",
        "hyperf/engine": "^2.10",
        "hyperf/event": "^3.1",
        "hyperf/framework": "^3.1",
        "hyperf/guzzle": "^3.1",
        "hyperf/http-server": "^3.1",
        "hyperf/logger": "^3.1",
        "hyperf/memory": "^3.1",
        "hyperf/process": "^3.1",
        "hyperf/redis": "^3.1",
        "hyperf/resource": "^3.1",
        "hyperf/translation": "^3.1",
        "hyperf/validation": "^3.1",
        "hyperf/view": "^3.01",
        "hyperf/view-engine": "^3.1",
        "kreait/firebase-php": "^7.9",
        "yzen.dev/plain-to-class": "^3.0"
    },
    "require-dev": {
        "hyperf/devtool": "^3.1",
        "hyperf/testing": "^3.1",
        "hyperf/watcher": "^3.1",
        "mockery/mockery": "^1.6",
        "slevomat/coding-standard": "^8.14",
        "squizlabs/php_codesniffer": "^3.8",
        "swoole/ide-helper": "^5.1",
        "zircote/swagger-php": "^4.8"
    },
    "suggest": {
        "ext-json": "Required to use JSON.",
        "ext-pdo": "Required to use MySQL Client.",
        "ext-pdo_mysql": "Required to use MySQL Client.",
        "ext-redis": "Required to use Redis Client."

Just any code, even migrations, just tested simple command
php ./bin/hyperf.php test:command
<?php

declare(strict_types=1);

namespace App\Command;

use App\Service\Poll\TriggerPollsByDateService;
use App\Service\Poll\TriggerPollsByEventService;
use App\Service\PushNotification\SchedulePreRegistrationPushNotificationsService;
use App\Service\PushNotification\SendScheduledPushNotificationsService;
use Hyperf\Command\Annotation\Command;
use Hyperf\Command\Command as HyperfCommand;
use Psr\Container\ContainerInterface;

#[Command]
class TestCommand extends HyperfCommand
{
    public function __construct()
    {
        parent::__construct('test:command');
    }

    public function configure(): void
    {
        parent::configure();
        $this->setDescription('Test Command');
    }

    public function handle(): void
    {
        $this->info('Test Command');
    }
}

and got
grey-cardinal:/opt/www# php ./bin/hyperf.php test:command
[system_action][2024-01-11 22:38:36] app.DEBUG: [command] Commands registered by Hyperf\Command\Listener\RegisterCommandListener [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "Sentry\Integration\TransactionIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "Sentry\Integration\FrameContextifierIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "Sentry\Integration\EnvironmentIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "Sentry\Integration\ModulesIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "Sentry\Integration\RequestIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "FriendsOfHyperf\Sentry\Integration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "FriendsOfHyperf\Sentry\Integration\ExceptionContextIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "FriendsOfHyperf\Sentry\Integration\RequestIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: The "FriendsOfHyperf\Sentry\Integration\TraceIntegration" integration has been installed. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Sync Wp Task have been registered. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Trigger Polls By Date Task have been registered. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Send Scheduled Push Notifications Task have been registered. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Schedule No SMS Push Notifications Task have been registered. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Truncate Old Database Data Task have been registered. [] []
[system_action][2024-01-11 22:38:36] app.DEBUG: Crontab Parse Active Personal Offers Task have been registered. [] []
Test Command

===================================================================
 [FATAL ERROR]: all coroutines (count: 2) are asleep - deadlock!
===================================================================

 [Coroutine-3]
--------------------------------------------------------------------
#0 /opt/www/vendor/hyperf/engine/src/Channel.php(41): Swoole\Coroutine\Channel->pop()
#1 /opt/www/vendor/hyperf/coordinator/src/Coordinator.php(34): Hyperf\Engine\Channel->pop()
#2 /opt/www/vendor/friendsofhyperf/sentry/src/HttpClient/HttpClient.php(96): Hyperf\Coordinator\Coordinator->yield()
#3 [internal function]: FriendsOfHyperf\Sentry\HttpClient\HttpClient->FriendsOfHyperf\Sentry\HttpClient\{closure}()

 [Coroutine-2]
--------------------------------------------------------------------
#0 /opt/www/vendor/hyperf/engine/src/Channel.php(41): Swoole\Coroutine\Channel->pop()
#1 /opt/www/vendor/friendsofhyperf/sentry/src/HttpClient/HttpClient.php(74): Hyperf\Engine\Channel->pop()
#2 [internal function]: FriendsOfHyperf\Sentry\HttpClient\HttpClient->FriendsOfHyperf\Sentry\HttpClient\{closure}()

[2024-01-11 22:38:37 @572.0]    WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded
[2024-01-11 22:38:37 @572.0]    WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded

its important that sentry dsn config was in place, if its empty its not reproduce for me

Just tried to debug HttpClient
        Coroutine::create(function () {
            if (CoordinatorManager::until(Constants::WORKER_EXIT)->yield()) {
                var_dump('HERE!');
                $this->close();
            }
        });

and nothing output, seems  Constants::WORKER_EXIT not firing for me...

Here my sentry config if it can help, i'll continue to debug
<?php

declare(strict_types=1);

/**
 * This file is part of friendsofhyperf/components.
 *
 * @link     https://github.com/friendsofhyperf/components
 * @document https://github.com/friendsofhyperf/components/blob/main/README.md
 * @contact<EMAIL_ADDRESS> */
use FriendsOfHyperf\Sentry\Integration;
use function Hyperf\Support\env;

return [
    'dsn' => env('SENTRY_DSN', ''),

    // The release version of your application
    // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
    'release' => env('SENTRY_RELEASE'),

    // When left empty or `null` the Laravel environment will be used (usually discovered from `APP_ENV` in your `.env`)
    'environment' => env('APP_ENV', 'production'),

    // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#sample-rate
    'sample_rate' => env('SENTRY_SAMPLE_RATE') === null
        ? 1.0
        : (float)env('SENTRY_SAMPLE_RATE'),

    // Switch tracing on/off
    'enable_tracing' => env('SENTRY_ENABLE_TRACING', true),

    // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate
    'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null
        ? null
        : (float)env('SENTRY_TRACES_SAMPLE_RATE'),

    // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#profiles-sample-rate
    'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null
        ? null
        : (float)env('SENTRY_PROFILES_SAMPLE_RATE'),

    // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii
    'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),

    'logger' => Hyperf\Contract\StdoutLoggerInterface::class,

    'enable' => [
        'amqp' => env('SENTRY_ENABLE_AMQP', true),
        'async_queue' => env('SENTRY_ENABLE_ASYNC_QUEUE', true),
        'command' => env('SENTRY_ENABLE_COMMAND', true),
        'kafka' => env('SENTRY_ENABLE_KAFKA', true),
        'request' => env('SENTRY_ENABLE_REQUEST', true),
    ],

    'breadcrumbs' => [
        'sql_queries' => env('SENTRY_BREADCRUMBS_SQL_QUERIES', true),
        'sql_bindings' => env('SENTRY_BREADCRUMBS_SQL_BINDINGS', true),
        'sql_transaction' => env('SENTRY_BREADCRUMBS_SQL_TRANSACTION', true),
        'redis' => env('SENTRY_BREADCRUMBS_REDIS', true),
        'guzzle' => env('SENTRY_BREADCRUMBS_GUZZLE', true),
        'logs' => env('SENTRY_BREADCRUMBS_LOGS', true),
    ],

    'integrations' => [
        Integration\TraceIntegration::class,
    ],

    'ignore_exceptions' => [
        App\Exception\BusinessException::class,
        Hyperf\Database\Model\ModelNotFoundException::class,
        Hyperf\Database\Model\RelationNotFoundException::class,
        Hyperf\HttpMessage\Exception\NotFoundHttpException::class,
        Hyperf\HttpMessage\Exception\BadRequestHttpException::class,
        Hyperf\HttpMessage\Exception\ForbiddenHttpException::class,
        Hyperf\HttpMessage\Exception\HttpException::class,
        Hyperf\HttpMessage\Exception\MethodNotAllowedHttpException::class,
        Hyperf\HttpMessage\Exception\NotAcceptableHttpException::class,
        Hyperf\HttpMessage\Exception\NotFoundHttpException::class,
        Hyperf\HttpMessage\Exception\RangeNotSatisfiableHttpException::class,
        Hyperf\HttpMessage\Exception\ServerErrorHttpException::class,
        Hyperf\HttpMessage\Exception\UnauthorizedHttpException::class,
        Hyperf\HttpMessage\Exception\UnprocessableEntityHttpException::class,
        Hyperf\HttpMessage\Exception\UnsupportedMediaTypeHttpException::class,
        Hyperf\Validation\ValidationException::class,
        Qbhy\SimpleJwt\Exceptions\JWTException::class,
        Qbhy\HyperfAuth\Exception\UnauthorizedException::class,
    ],

    'ignore_transactions' => [
        'GET /health',
    ],

    // Performance monitoring specific configuration
    'tracing' => [
        'enable' => [
            'coroutine' => env('SENTRY_TRACING_ENABLE_COROUTINE', true),
            'db' => env('SENTRY_TRACING_ENABLE_DB', true),
            'elasticsearch' => env('SENTRY_TRACING_ENABLE_ELASTICSEARCH', true),
            'guzzle' => env('SENTRY_TRACING_ENABLE_GUZZLE', true),
            'rpc' => env('SENTRY_TRACING_ENABLE_RPC', true),
            'redis' => env('SENTRY_TRACING_ENABLE_REDIS', true),
            'sql_queries' => env('SENTRY_TRACING_ENABLE_SQL_QUERIES', true),
        ],
        'tags' => [
            'annotation' => [
                'coroutine.id' => 'coroutine.id',
                'arguments' => 'arguments',
                // 'result' => 'result',
            ],
            'coroutine' => [
                'id' => 'coroutine.id',
            ],
            'db' => [
                'coroutine.id' => 'coroutine.id',
                'query' => 'db.query',
                // 'result' => 'db.result',
            ],
            'elasticsearch' => [
                'coroutine.id' => 'coroutine.id',
                'arguments' => 'arguments',
                // 'result' => 'result',
            ],
            'guzzle' => [
                'coroutine.id' => 'coroutine.id',
                'http.method' => 'http.method',
                'http.uri' => 'http.uri',
                'guzzle.config' => 'guzzle.config',
                'request.options' => 'request.options',
                'response.status' => 'response.status',
                'response.reason' => 'response.reason',
                'response.headers' => 'response.headers',
            ],
            'redis' => [
                'coroutine.id' => 'coroutine.id',
                'pool' => 'pool',
                'arguments' => 'arguments',
                // 'result' => 'result',
            ],
            'rpc' => [
                'coroutine.id' => 'coroutine.id',
                'arguments' => 'arguments',
                // 'result' => 'result',
            ],
            'sql_queries' => [
                'coroutine.id' => 'coroutine.id',
                'db.connection_name' => 'db.connection_name',
                'db.bindings' => 'db.bindings',
            ],
        ],
    ],
];

I tried to create a new project and could not reproduce your problem.

<?php

declare(strict_types=1);
/**
 * This file is part of friendsofhyperf/components.
 *
 * @link     https://github.com/friendsofhyperf/components
 * @document https://github.com/friendsofhyperf/components/blob/main/README.md
 * @contact<EMAIL_ADDRESS> */

namespace FriendsOfHyperf\Sentry\HttpClient;

use Closure;
use Hyperf\Coordinator\Constants;
use Hyperf\Coordinator\CoordinatorManager;
use Hyperf\Coroutine\Concurrent;
use Hyperf\Engine\Channel;
use Hyperf\Engine\Coroutine;
use Sentry\HttpClient\Request;
use Sentry\HttpClient\Response;
use Sentry\Options;
use Throwable;

class HttpClient extends \Sentry\HttpClient\HttpClient
{
    protected ?Channel $chan = null;

    protected ?Concurrent $concurrent = null;

    public function __construct(
        string $sdkIdentifier,
        string $sdkVersion,
        protected int $channelSize = 65535,
        int $concurrentLimit = 100,
    ) {
        parent::__construct($sdkIdentifier, $sdkVersion);

        if ($concurrentLimit > 0) {
            $this->concurrent = new Concurrent($concurrentLimit);
        }
    }

    public function sendRequest(Request $request, Options $options): Response
    {
        $this->loop();

        $chan = $this->chan;
        $chan->push(fn () => parent::sendRequest($request, $options));

        return new Response(202, [], 'Waiting for sendRequest');
    }

    public function close(): void
    {
        $chan = $this->chan;
        $this->chan = null;

        $chan?->close();
    }

    protected function loop(): void
    {
        if ($this->chan != null) {
            return;
        }

        $this->chan = new Channel($this->channelSize);

        Coroutine::create(function () {
            while (true) {
                while (true) {
+                    if (! $this->chan?->isAvailable()) {
+                        break 2;
+                    }
                    /** @var Closure|null $closure */
                    $closure = $this->chan?->pop();
                    if (! $closure || ! $closure instanceof Closure) {
                        break 2;
                    }
                    try {
                        if ($this->concurrent) {
                            $this->concurrent->create($closure);
                        } else {
                            Coroutine::create($closure);
                        }
                    } catch (Throwable) {
                        break;
                    } finally {
                        $closure = null;
                    }
                }
            }

            $this->close();
        });

        Coroutine::create(function () {
            if (CoordinatorManager::until(Constants::WORKER_EXIT)->yield()) {
                $this->close();
            }
        });
    }
}

Try adding these lines of code to see if it solves your problem.

Yeah! Add the Hyperf\Coordinator\Listener\ResumeExitCoordinatorListener::class to config/autoload/listeners.php fix the issue, thank you a lot for your support with this! Think it would be helpful to add  this config to documentation


Not turning up in HACS either as integration or front end

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
Last working release (if known):
Browser and Operating System:

Description of problem:

Javascript errors shown in the web inspector (if applicable):

Additional information:
Didn't read manual, first time using custom repositories.

You need to follow the install instructions and add the custom repository.
https://github.com/Makin-Things/bom-radar-card#install


Fix lost-pixel issues

Currently, lost-pixel generates screenshots with several issues:

Responsive images (<ResponsiveImage />) aren't displayed according to the screen size. E.g., for large screens, 48px images are shown when 64px images are expected (or vice versa). Example -> need to check if this is still reproducible.
The <ProgressCircle /> component doesn't get rendered well. Example.

Fixed in #80


1.24.1: patch release introduced a breaking change

Bug description
As of 1.24.1, when using --no-auth, all of a sudden all admin abilities are gone.
Expected behavior
Not having breaking changes introduced in a patch release.
Patch release should be a worry-free upgrade. Furthermore, the result of using this flag with version v1.24.1 is not listed as a breaking case in the release notes.
Portainer Logs
Not relevant for this report.
Steps to reproduce the issue:

Run portainer with --no-auth
Try editing a container

Technical details:

Portainer version: v1.24.1
Docker version (managed by Portainer): any
Platform (windows/linux): any
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): any, with --no-auth
Browser: any

Additional context
Authentication handling in my use-case is not handled by Portainer, but the reverse proxy exposing it.
v1.24.1 break this, while there is no alternative offered.
Please advise.

Acknowledged. This should not have happened. We will immediately investigate, and if this is correct, we will release a fix as part of an upcoming 1.24.2 patch.

I have confirmed this as a bug, lots of features seem broken such as container deployment, stack creation and I think duplicate/edit is missing from the UI incorrectly.

Thank you for submitting this @frenck! Was going insane trying to figure out why all of a sudden I couldn't deploy containers in Portainer in HA. Can confirm getting object not found inside the database errors repeatedly.

@itsconquest Any updates on this?  It's been 3 weeks since it was reported.
I just installed this addon into Home Assistant because I need to create some containers and I'm kind of stuck.

I had the same issue - couldn't roll back because I was a new install so nothing to roll back to.
@Yass15 in the HA-Addon's Discord helped me with this gem:

Download Portainer 1.2.0 from the Github repository: https://github.com/hassio-addons/addon-portainer/archive/v1.2.0.zip
I used an ssh login and wget to pull it straight onto the HASS-Pi...
Extract the zip file (unzip v1.2.0.zip) and then copy the ./addon-portainer-1.2.0/portainer  folder to the /addons/local folder on your HomeAssistent device.

On the top right 3-dot menu click the reload button
You should now see a new card called “Local add-ons” that lists shows the Portainer add-on!
Install and go!

Once I got 1.20 of Portainer on the HASS-Pi, I was set!
You may need to use the ssh add-on to get to terminal mode to do this...

This will get you up and running whilst we wait for a bug-fix to the REAL Portainer add-on....

Hey,
im facing this issue too now, im using portainer behind a forward-auth server with --no-auth flag...
@itsconquest do you have any news on this?

@SeaLife We're currently investigating that one.

Closed via https://github.com/portainer/portainer/pull/4513

Closed via https://github.com/portainer/portainer/pull/4513


typo

Miniscule typo here:
<div class="instagram>

I can not find this typo.

But I found this spelling mistakes yesterday in my client project while writing CSS (class ".instagram" did not match). Strange.

Sorry I should have said it was missing the closing " in the code examples :)

ahh :laughing:  Because of the other mistake in the client project (copy - past ...) I didn't see this. I'll fix it (but I prefer to add a hotfix). Thanks a lot.


EVM min swap fee shoud match the details

Description
Details say tx cost is going to be $3.75 but min allowed is $10.92
TODO
Match mins with expected fees so a user who wants to swap $5 knows they can't.

Min is from TC and is 4 times outbound fee, so can't change it.


How can I listen to an event on step content (child) component?

Main component (stepper) listens to beforeNextStep event. Can I somehow pass this event / listen to it on child component? I would like to post data that has been entered on current step to api before I continue to next step.

@metalcamp how did you solve this?

Has anyone solved this? @Tiorzfk @metalcamp


Creating a new editor plugin doesn't work

Godot version:
calinou.8849d3b
OS/device including version:
Windows 10
Issue description:
If you create a plugin from the editor, going into "Project"... "Project Setting"... "Plugins"... "Create"..
will not create the plugin and output an error.

note: my project is in another drive (don't know if that can be the issue).

Just tried it with 3.1 Alpha 2, and it works. I'm using Win10, and my project is on the same drive as the Godot executable.

@xDGameStudios Can you still reproduce this in Godot 3.2.1 or 3.2.2beta4?
(I can't reproduce)

No answer, so closing. It's unlikely to be reproducible today, users have been developing hundreds of editor plugins since 2018.


chore:: update ubuntu-20.04 to ubuntu-latest

Description
update runs-on:  image to latest
Related issues

Close #991

Checklist

[x] I've read the guidelines for contributing to this repository.

@fengshunli  Add a description to the issue

done

done

maybe change to latest in all other entries as well

The latest version is unstable, it is easy to maintain with a stable version

The latest version is unstable, it is easy to maintain with a stable version

should be good , we use the same in trivy and we find it working fine

done


Fix Travis CI CVE Report (dom4j)

Travis CI is failing with
[ERROR] One or more dependencies were identified with vulnerabilities:
[ERROR]
[ERROR] dom4j-1.6.1.jar: CVE-2018-1000632

I'm away from a dev machine, so I can't check to see if there is an update for this transitive dependency, or if it is better to ignore it. Either way, it is bothersome to see PRs fail

Dom4j is a transitive dependency of Hibernate ORM:
[INFO] +- org.hibernate:hibernate-core:jar:5.3.6.Final:provided
[INFO] |  +- javax.persistence:javax.persistence-api:jar:2.2:provided
[INFO] |  +- org.javassist:javassist:jar:3.23.1-GA:compile
[INFO] |  +- antlr:antlr:jar:2.7.7:provided
[INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:provided
[INFO] |  +- org.jboss:jandex:jar:2.0.5.Final:provided
[INFO] |  +- com.fasterxml:classmate:jar:1.4.0:compile
[INFO] |  +- javax.activation:javax.activation-api:jar:1.2.0:runtime
[INFO] |  +- dom4j:dom4j:jar:1.6.1:provided
[INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.4.Final:provided


GenericReport input struct

Currently we have 2 structs for each protocol's input i.e., AttributionInputRow, CreditCappingInputRow, IPAInputRow containing replicated shares, and __TestInputRow structs that implement IntoShares. For inputs that contain the match key, we also have modulus-converted structs (from XorReplicated<B> to Vec<Replicated<F>>). The list will keep growing as we add new attribution/aggregation protocols.
This PR introduces generic structs that contain all fields for source and trigger events defined in the IPA spec. I have another working PR replacing all existing protocol-specific input structs with the new ones.

@thurstonsand this PR impacts your #408.


Install script does not include mode switch udev rules

This has been re-added to download-env-root.sh


Add opt-out mechanism

Summary
Users should be able to opt out of telemetry data collection. This tracks adding an environment variable which can be set to disable collection.
Name/value of envvar TBD. Will be defined in the tech design

This is done, but leaving the issue open since the tech design needs to be updated and a pre-canned blurb about what we collect and how to opt out needs to be generated and incorporated into the project's readme.

We added the pre-canned blurb!


Missing modules argument in ActivityComponent

ActivityComponent interface doesn't have modules argument. Why is it so?
Moreover it extends AppComponent, should there not be a scope problem?

@yigit help...


Is there a possibility of omnifunc autocompletion?

I don't know how to set up omnifunc.
So that if I write this. then press C-xC-o it just writes: E764: Option 'omnifunc' is not set

This isn't specific to the plugin, but the first entry of :help lsp-config describes how to set this up. The recommended place to do this would be in your on_attach callback.

thanks, it's simple as vim.bo.omnifunc = 'v:lua.vim.lsp.omnifunc'


update guides to use compose v2 syntax

Everybody is being told to use the compose v2 syntax. Performing a naive translation of v1 (as found in our guides) to v2 does not yield a working system using weave. Many users trip over that.
AFAICT, the magic stanza that makes everything work as before is adding network_mode: "bridge" to all service definitions, e.g.
version: '2'

services:
 nginx:
    image: nginx
    container_name: nginx
    network_mode: "bridge"

and then use the Weave Docker API Proxy as before.
I suggest we do this asap.
Beyond that, there is the option of using the Weave Docker Network plugin, via,
networks:
  default:
    driver: weavemesh

but getting containers to use weaveDNS that way seems a bit of a faff. We need to work out whether there is a sane way to do it.
Finally, one may want to configure multiple networks, and place containers on them. compose v2 allows that, so some examples of doing that with weave networking would be good.
Overall, we need to provide users with some guidance here on what route to choose based on what they are trying to do.
One final request: Can we please, please, publish a guide or blog post with the minimal weave+compose setup. AFAICT it requires just 6 steps:

download weave + chmod
download compose + chmod
create docker-compose.yml file like the one above
weave launch
eval $(weave env)
docker-compose up -d

Further confirmation required, but
services
  ubuntu:
    image: ubuntu
    hostname: ubuntu
    domainname: weave.local.
    dns_search: weave.local.
    network_mode: weave
    dns: <IP_ADDRESS>

Seems to work.

Another user has just tripped over this. No doubt there are many others that we never hear of.
cc @errordeveloper

@errordeveloper please check that my network_mode: "bridge" suggestion at the very top (still) works, and please work with @abuehrle to make that change today.

I can confirm that network_mode: "bridge" did not work for me.

eval $(weave env)
docker-compose up -d
weave status dns
nothing

sample docker-compose.yml

version: "2"
services:
app:
image: app:dev
hostname: app.weave.local
network_mode: "bridge"

works for me:
$ cat docker-compose.yml
version: "2"

services:
  app:
    image: nginx
    hostname: app.weave.local
    network_mode: "bridge"
$ weave launch
$ eval $(weave env)
$ docker-compose up -d
Creating compose_app_1
$ weave status dns
app          <IP_ADDRESS>       a1880e8e5d20 d2:e2:3d:cc:92:05

hmm. I've also started having problems with docker-compose not connecting to docker daemon... so might be another issue.
if I clear the DOCKER_HOST I can run docker $(weave config) run ...
but not docker-compose $(weave config) ...
rebooted, reset weave, and relaunched...still issue above.  Will check around for this new issue.

perhaps your app container died? That would remove it from DNS.
Try my example above, after a weave reset, exactly as written.

unable to fix docker-compose issue with not connecting to docker daemon when using eval $(weave env) or $(weave config).
However, this works with out having to use either if I run:

iptables -I INPUT -p udp -m udp --dport 53 -i docker_gwbridge -j ACCEPT

docker-compose.yml

services:
app1:
image: nginx
hostname: app.weave.local
dns_search: weave.local
app2:
image: alpine
hostname: app2.weave.local
dns_search: weave.local
command: ping app
networks:
default:
external:
name: weave

And works from second host. Whohoo!
docker-compose.yml

app3:
image: alpine
hostname: app3.weave.local
dns_search: weave.local
command: ping app
networks:
default:
external:
name: weave

Finally, after 3 days of working on it. I can use docker-compose version 2 with weave DNS across hosts without the weave env.  iptables logging dropped connections helped find the issue.  I can run with docker-machne from admin host without having to set the weave env.
Hope this helps someone else.

I can use docker-compose version 2 with weave DNS

That isn't using weave DNS but Docker's DNS, though I guess you won't care.

What version of docker and, compose and weave are you running?

Not as long as the containers are communicating along the secure weave launched with password.
Thank you the help.
running:
docker 1.11.2
compose 1.7.1
weave 1.6.0

Rats. Good call. It is using dockers routing (<IP_ADDRESS> instead of <IP_ADDRESS>).  Back to the drawing board.

It is interesting that this sets up the weave dns but is not able to use it.

If I create the second app with the weave env on the second host, it can see the first app's weave ip created without the weave env as above.  So close...

I really want to get to the bottom of why the proxy doesn't work for you. Just to be clear, the exact steps I posted, including my compose file, does not work for you?

The following is a variant of what I posted earlier, using $(weave config) instead of eval $(weave env):
$ weave launch
$ docker-compose $(weave config) up -d
$ weave status dns
app          <IP_ADDRESS>       90a43faf9dc3 d2:e2:3d:cc:92:05

This is with the same docker, compose and weave versions as you. If the above does not produce the same result for you, please post the output of docker logs weaveproxy after running the above.

rade,
as mentioned early on, I am unable to run with the proxy on host1 (ubuntu 14.04). It cannot find the docker connection when running eval $(weave env) or $(weave config).  So your method is very likely valid.  I was trying to find a way around the weave env because of that.
Also, when running eval $(docker-machine env host2 ,etc) from my admin host to run docker-compose files remotely, I have the issue of not being able to set the weave env for them to start on.
I'm relatively new to working with weave, so may be doing it wrong.
from admin host:

eval $(weave env)
eval $(docker-machine env host2)  #this seams to change the env
docker-compose up -d

if I docker-machine ssh host2:

eval $(weave env)
exit
eval $(docker-machine env host2)
docker-compose up -d  # it is not in the weave env

correct me if I'm wrong...trying to figure out the ends and outs of weave

weave env must be run in the same shell as the subsequent commands, so your 2nd example definitely won't work.
But in any case, the weave config route, i.e. docker-compose $(weave config) up -d should always work.

Just for reference only:
looks like the app created as above on host1 without the weave env but with a weave dns is found by app2 on host2 created with weave env, but the dns returned is also the <IP_ADDRESS> instead of the weave dns-lookup app of <IP_ADDRESS>.  It just routes it different so that the iptables adjustment is not needed.
Creating app2 with or without the weave env can ping <IP_ADDRESS> so they are both on the same network.  Just do not have dns info from weave

unable to use dc* $(weave config) up -d from host admin:

eval $(dm env galera-aws**)

[ubuntu:/home/ubuntu//galera/production] $ dc $(weave config) -f docker-compose_aws.yml up -d
Creating production_aws_1
ERROR: for aws  rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process: not a directory"
Traceback (most recent call last):
File "", line 3, in
File "compose/cli/main.py", line 63, in main
AttributeError: 'ProjectError' object has no attribute 'msg'
docker-compose returned -1

*dc and dm are aliases for docker-compose and docker-machine
**galera-aws is a fresh install and docker-machine on AWS

but if I scp the docker-compose.yml and ssh to the machine I can docker$(weave config) up -d.

I cleaned out host1, reinstalled docker, compose, and weave.  I can now

docker-compose $(weave env) up -d

on all my hosts but not from my admin host with eval $(docker-machine env hostn).
I am using as given above by rade:

network_mode:  bridge

and i'm able to connect amoung my hosts on the weave dns IPs.
I had to add:

iptables -I FORWARD -i weave -j ACCEPT

for them to be able to communicate with each other.

@stuartz-VernonCo you state above that you are doing this:

eval $(weave env)
eval $(docker-machine env host2)  #this seams to change the env
docker-compose up -d

Yes, it will change the env DOCKER_HOST value.
Are you executing eval $(docker-machine env host2) before the weave env or weave config commands? You must do that for weave to work.
If you execute docker-machine env ... after  weave env you will set the DOCKER_HOST env variable back to the original docker value - so the API proxy won't see container starts when you run docker-compose up.

rade,
Confirming that I have a galera custer using weave dns across local and Amazon hosts using docker-compose version 2 working  with

network_mode: bridge

Because I have iptables locked down, I had to do logging to find out where communications were being dropped and add some statements to my iptables.  I have a script that runs at boot to modify the iptables.  Example below if it helps others or with modifying weave installation.  I got the idea for the script from http://rudijs.github.io/2015-07/docker-restricting-container-access-with-iptables/

#!/usr/bin/env bash
acceptable_IPs="$safe,$lan"
iptables -N PRE_DOCKER
iptables -N LOGGING
; reset iptables
iptables -F
; Default actions
iptables -I INPUT -j LOGGING
iptables -I FORWARD -j LOGGING
iptables -I PRE_DOCKER -j LOGGING
iptables -I LOGGING -j DROP
iptables -I LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
; re-establish INPUT rules
;weave
; random tcp/udp source and destination ports + tcp 6783 on <IP_ADDRESS>-><IP_ADDRESS>
iptables -I INPUT -p tcp -s <IP_ADDRESS> -d <IP_ADDRESS> -j ACCEPT
iptables -I INPUT -p udp -s <IP_ADDRESS> -d <IP_ADDRESS> -j ACCEPT
;docker
iptables -I INPUT -p tcp --dport 6784 -i docker0 -j ACCEPT
iptables -I INPUT -p tcp --dport 6783 -i docker0 -s <IP_ADDRESS> -j DROP
iptables -I INPUT -p udp --dport 6783 -i docker0 -s <IP_ADDRESS> -j DROP
iptables -I INPUT -p udp --dport 6784 -i docker0 -s <IP_ADDRESS> -j DROP
; dns for docker
iptables -I INPUT -p udp --dport 53 -i docker0 -j ACCEPT
iptables -I INPUT -p tcp --dport 53 -i docker0 -j ACCEPT
; accept anything from safe IPs
iptables -I INPUT -s $acceptable_IPs -j ACCEPT
; all established connections
iptables -I INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
; re-establish FORWARD, DOCKER, & ODCKER_ISOLATON rules
; have docker insert its bridges etc in iptables
service docker restart
sleep 5
; weave
iptables -I FORWARD -i weave -j ACCEPT
iptables -I FORWARD -i docker0 -o weave -j LOGGING
; re-establish PRE_DOCKER rules that don't get messed with by docker
; allow from acceptable ips for db access
iptables -I PRE_DOCKER -i eth0  -s $acceptable_IPs -j ACCEPT
;allow weave
iptables -I PRE_DOCKER -i weave -s $acceptable_IPs  -j ACCEPT
; Docker internal use
iptables -I PRE_DOCKER -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
iptables -I PRE_DOCKER -i docker0 ! -o docker0 -j ACCEPT
iptables -I PRE_DOCKER -m state --state RELATED -j ACCEPT
iptables -I PRE_DOCKER -i docker0 -o docker0 -j ACCEPT
iptables -I FORWARD -o docker0 -j PRE_DOCKER


Release version 0.71

This is a follow-up of #3199. Users will be able to perform pip install xgboost on Linux and MacOS.
Do not merge this PR until #3217 is merged first.
EDIT: Also, need to include an update in R-package version.

Codecov Report

Merging #3200 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3200   +/-   ##
=========================================
  Coverage     45.55%   45.55%
  Complexity      228      228
=========================================
  Files           166      166
  Lines         12973    12973
  Branches        466      466
=========================================
  Hits           5910     5910
  Misses         6871     6871
  Partials        192      192

Continue to review full report at Codecov.

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

shouldn't the versions in the jvm pom files be updates as well?
they are currently 0.8-SNAPSHOT

@lev112 I think JVM package have its own versioning scheme.

I am not going to have special versioning for jvm package...if you would like to, we can make release of xgb more regulated...

if you would like to, we can make release of xgb more regulated...

Any suggestion on this?

basically, we can follow the common practice in other open source project, versioning with x.y.z, x (major), y(minor), z (maintenance)

all PR should go to master branch

have regular release cycle for minor release, and have major release when we have significant update...in usual, only release maintenance version for the last minor one

when have a minor/major release, cut the branch from master

have regular release cycle for minor release, and have major release when we have significant update

I like this idea. Certainly, we don't want the past situation where we were stuck with 0.6 for 1.5 years. Would quarterly release (every 3 months) be a reasonable interval? I will discuss this with my manager to ensure that I have sufficient bandwidth to do quarterly minor releases.

when have a minor/major release, cut the branch from master

Can you clarify this part? Currently, all PRs get merged into the master, and each release is simply a tag in the linear history of master.

versioning with x.y.z, x (major), y(minor), z (maintenance)

I had an extended discussion with R package maintainers about versioning scheme (see #3203). Here are some things we thought were reasonable:

Use two digits to indicate the version of the core lib: 0.71, 0.72, 0.80 etc. The first digit will indicate the major release and the second the minor.
For the R package, use a decimal to indicate package releases: 0.71.1, 0.71.2 etc, since it is common to have multiple package releases that share the same core lib.

In light of this, I am wondering where maintenance releases would fit in.

@CodingCat Also, what is the policy for setting version for the JVM packages? Currently, pom.xml has 0.8-SNAPSHOT.

I like this idea. Certainly, we don't want the past situation where we were stuck with 0.6 for 1.5 years. Would bi-monthly release (every 2 months) be a reasonable interval? I will discuss this with my manager to ensure that I have sufficient bandwidth to do bi-monthly minor releases.

yes, I think 2-months release cycle, even 3-months is reasonable

Can you clarify this part? Currently, all PRs get merged into the master, and each release is simply a tag in the linear history of master.

e.g. say next release target is 0.8, then we should merge all patches to master until we decide it's time for 0.8 code freeze. At the time of freeze, we cut a new branch from master, say branch-0.8 and only  the following urgent fix should be to this branch-0.8 and other patches should still go to 0.8
and later, if we decide something is a very important  to be backport, we merge that to branch-0.8, otherwise it should go to master

I had an extended discussion with R package maintainers about versioning scheme (see #3203). Here are some things we thought were reasonable: Use two digits to indicate the version of the core lib: 0.71, 0.72, 0.80 etc. The first digit will indicate the major release and the second the minor. For the R package, use a decimal to indicate package releases: 0.71.1, 0.71.2 etc, since it is common to have multiple package releases that share the same core lib.

I have 0 knowledge of R, which does package release mean here?
looks like your "minor" in the above comments equivalent to the maintenance release I referred, your major means minor in my mind. For major release, my idea actually means it jumps from 0.x to 1.x, 1.x to 2.x, etc.

Also, what is the policy for setting version for the JVM packages? Currently, pom.xml has 0.8-SNAPSHOT.

yes, I was following what I described above when upgrading version number in jvm,
say after we release 0.7, we should upgrade master branch version number to 0.8-SNAPSHOT, and 0.7 branch version number to 0.7.1-SNAPSHOT, and right before release, we should update by removing SNAPSHOT string there.... or we can skip the step of appending -SNAPSHOT

@CodingCat Thanks for your reply. I don't think we'd have any major release (in the sense of going up to 1.x, 2.x etc) for a while, until the existing features become mature. For now, I will make an announcement for a bi-monthly release cycle, with an estimated release dates for 0.72, 0.73, 0.80 etc. I will have to talk to other people about a written policy for "code freeze," since it's been a long while since this repo had a branch other than the master.

I have 0 knowledge of R, which does package release mean here?

For Python and R packages, it may be possible to have a few package releases that share the same core lib version. This is especially common for the R package, since the R wrapper needs to be often updated to fit CRAN convention (see history for a sample of R-specific maintenance commits).


Makes QLNet available for Algorithms

Expected Behavior
C# algorithms can use QLNet library.
Actual Behavior
QLNet library is used for Options pricing, but it is restricted to Common project.
Potential Solution
Adds QLNet reference to Algorithm Project
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

QLNet is already available in the cloud


Using deserialize inside the class constructor?

The example provided all show the usage of calling a static deserialize() function from jsonConvert to load the class. For my use case I'd like to wrap that inside the constructor of each individual class.
I wonder if anyone has tried using it this way, and whether there're any issues with that? I haven't tested this thoroughly to tell if this will be 100% fine, given some lack of understanding on how and when the properties are initialized at runtime by this library.
Would appreciate some input on this. Thanks

Looks like it needs to be a static construction method. Calling it directly from the constructor will start the serialization, but it's probably not a good idea since the constructor will be called again in serialization.

You shouldn't use jsonConvert in a constructor of a class that has json properties. You could do something like this though:
class Test {

    constructor() {}

    static createInstanceFromObj(jsonObject: any): Test {
        return new JsonConvert().deserialize(jsonObject, Test);
    }

}

Note that the constructor of Test is automatically called on the deserialize method. The constructor must not have mandatory params because the deserialize method calls it with 0 arguments.


Use latest tasty

Bump tasty version to allow building against latest nixpkgs.
Could you please release a new version on Hackage?

Thanks!


steam package is broken in unstable

Issue description
It seems, that the referenced packages are not available anymore. Package probably needs to be updated.
trying http://repo.steampowered.com/steam/pool/steam/s/steam/steam_<IP_ADDRESS>.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

trying http://repo.steampowered.com/steamrt/pool/main/libv/libvpx/libvpx1_1.0.0-1+srt4_amd64.deb

trying http://repo.steampowered.com/steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

trying http://repo.steampowered.com/steamrt/pool/main/libv/libva/libva1_1.3.1-3+steamrt4+srt1_i386.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2831k  100 2831k    0     0  3080k      0 --:--:-- --:--:-- --:--:-- 3077k
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
curl: (22) The requested URL returned error: 404 Not Found
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found

trying https://abbradar.net/steamrt/pool/main/libv/libvpx/libvpx1_1.0.0-1+srt4_amd64.deb

trying https://abbradar.net/steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64.deb

trying https://abbradar.net/steamrt/pool/main/libv/libva/libva1_1.3.1-3+steamrt4+srt1_i386.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
                                 Dload  Upload   Total   Spent    Left  Speed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
building '/nix/store/ibfk5z3s70fpnic2xm8bgadiwyfagmww-libvulkan1.deb.drv'...
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
error: cannot download libvulkan1.deb from any mirror
builder for '/nix/store/3z6bhrxplysiz2wqsr69kmw6rqpfdqkx-libvulkan1.deb.drv' failed with exit code 1
building '/nix/store/v08vm1vvs6awgkvrhpfgqixhihvcy3ww-libwind0-heimdal.deb.drv'...
building '/nix/store/r4x5k4lgf24phw3xbw3w5biwspbpiksc-libwrap0.deb.drv'...
cannot build derivation '/nix/store/ahp328fak98vr7d72rr9ripr67vv659y-steam-runtime.json.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k90b408fg23sk1f5a2a3fyfyjhq1nicn-steam-runtime-2016-08-13.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/13ahnc934xnx1gs7y55ql5f6j8zhcgws-steam-runtime-wrapped.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q6pmb2ryd3b6ngrhx0x13dxaggm91rwc-steam-usr-target.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bzlgy7clw0jvn8lq5xff7n9z0s22f99q-steam-fhs.drv': 1 dependencies couldn't be built
building '/nix/store/giyrzk2rv7xb9lby4sdixggnh6fjzhaz-steam-original-<IP_ADDRESS>.drv'...
cannot build derivation '/nix/store/9m1i6818hfwzv5k66ffrmspynibw0mhc-steam-init.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6smp2llycynssqzdjd1yybgsqlpdbw7l-steam.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wlssidzrk4ljm3crjs8jgmw99fvy9y5r-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n8f23ggqxmsa5032b48aaqqvpvbrp4nm-nixos-system-dagNix-19.03pre156996.c70ad805d21.drv': 1 dependencies couldn't be built
error: build of '/nix/store/n8f23ggqxmsa5032b48aaqqvpvbrp4nm-nixos-system-dagNix-19.03pre156996.c70ad805d21.drv' failed

Steps to reproduce

try to install steam in unstable

Technical details
NixOS details

system: "x86_64-linux"
host os: Linux 4.19.0, NixOS, 19.03pre156996.c70ad805d21 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-19.03pre156996.c70ad805d21"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
nix-channel: https://nixos.org/channels/nixos-unstable

Device details

device: 20DLCTO1WW ThinkPad S1 Yoga 12
cpu: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
gpu: Intel Corporation HD Graphics 5500 (rev 09)

Duplicate of https://github.com/NixOS/nixpkgs/issues/49048


Return address push on call showing up as assignment to local in decompilation with custom processor

This has stumped me for a while: using my processor for Epson S1C33 PE, for some reason before a function call, the decompiler shows an assignment of the return address to a stack variable on any function call. Sometimes there's a BADSPACEBASE *in_sp; variable shown in the variable declarations area. Why is it doing that?

A call should be a simple push next instruction address to stack and branch. The different mnemonics are call, scall, and xcall, with the difference between them being number of bytes allocated in the instruction for the relative address; each has a .d variant with a delay slot. The resulting P-Code for the normal variant looks exactly like e.g. on x86.
Ghidra 10.1.1 on Windows 10
Processor: https://github.com/GMMan/s1c33_sleigh
Decompilation trace attached

Trying for a minimum example, looks like one of the triggers is if there is a loop somewhere in the function.

Checking decomp_dbg, I notice there's an extra operation generated in heritage as compared to something like x86. Here's an example of that, S1C33 on right, x86 on left. The code is the same as in the first screenshot in the previous comment, with corresponding code for x86 (a CALL and JMP to start of function).

Figured it out. I needed to list the return address on stack and the stack pointer as unaffected in my prototype definition.


Do not fail on non-present folders

The function find_possible_homes tests a given list of locations.
On very minimal systems (e.g. docker images), some of the folders might not be present (e.g. the /usr/lib/jvm). This however leads to a FileNotFoundError when calling os.listdir.
This PR fixes this problem.

Thanks for your contribution. Adding a further test shouldn't be necessary in my opinion.


Fix Image Dimension Styles for Better Responsiveness

In this pull request, I've made adjustments to the image element's handling of dimension properties. Previously, min-width, min-height, max-width, and max-height were incorrectly placed as HTML attributes on the <img> tag, which is not supported for these CSS properties. This oversight could lead to issues with image responsiveness and layout stability.
Changes:

Moved min-width, min-height, max-width, and max-height properties into the style attribute of the <img> tag. This change ensures that these properties are correctly applied and recognized as CSS properties, enhancing the responsiveness and flexibility of our image displays.
Retained width and height as attributes on the <img> tag to maintain the intrinsic aspect ratio of images and help the browser allocate space before images are fully loaded, improving the page load experience.

These adjustments will ensure that our images are more responsive and better adhere to the specified dimensions, improving the overall user experience for the template.

Thanks for fixing this. The only thing missing is fixing prettier formatting. If you don't have prettier installed in your setup, you can check the errors in the artifact generated by the failed check.


Fixed missing imports in git

This fixes missing imports.  As a warning, in some cases you will get a broken pipe error.  This seems to be caused by commits being made locally and on the server, such that fast forward is not possible.  The solution is to clone the repo again, make changes, then push.  I'm working on merge capability for gitview, which will be portable to stash and hopefully will take cRe of the issue

@jsbain Thanks a lot for the fix. Being able to do recursive merge will be nice. Personally I am pretty satisfied already with fast-forward merge. I'll give it some more tests.


Failed to download fs-repo-migrations

Cant Start...
2020-07-11T03:26:35.249Z error: [ipfsd] start daemon Error: Initializing daemon...
go-ipfs version: 0.6.0
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.4
Found outdated fs-repo, migrations need to be run.
  => Looking for suitable fs-repo-migrations binary.
  => None found, downloading.
  => Failed to download fs-repo-migrations.
The migrations of fs-repo failed:
  failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
If you think this is a bug, please file an issue and include this whole log output.
  https://github.com/ipfs/fs-repo-migrations

 Error: failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp <IP_ADDRESS>:443: i/o timeout

 Command failed with exit code 1: /Applications/IPFS Desktop.app/Contents/Resources/app.asar.unpacked/node_modules/go-ipfs-dep/go-ipfs/ipfs daemon --migrate --enable-gc --routing dhtclient
Error: failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
Initializing daemon...
go-ipfs version: 0.6.0
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.4
Found outdated fs-repo, migrations need to be run.
  => Looking for suitable fs-repo-migrations binary.
  => None found, downloading.
  => Failed to download fs-repo-migrations.
The migrations of fs-repo failed:
  failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
If you think this is a bug, please file an issue and include this whole log output.
  https://github.com/ipfs/fs-repo-migrations

    at makeError (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/node_modules/execa/lib/error.js:58:11)
    at handlePromise (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/node_modules/execa/index.js:114:26)

@olizilla, can you kindly triage?

@zhyuzh3d are you able to open https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions in a browser? it should show a list of version numbers.
The error was go-ipfs tried to automatically update an existing ipfs repo, but failed to fetch the update tool. This is an error that could happen due to local network issues, or if the gateway is down, so we should follow up with an enhancement to improve the error handling here. There isn't much we can do to side step it, an old repo must be upgraded... the user could be offered the option of deleting the old repo and starting from scratch, or manually fetching the update tool, or diagnosing the network issue.

same here, seems like ipfs can not start after upgrading to the latest version at MAC OS

@dwebfan this new error looks exactly the same as #1773.
Are you running any firewall/antivirus software than could be responsible for intercepting web traffic?
Or behind something like The Great Firewall of China?

The same error here. I' behind the GFW of China. :-(

@exaos please try workaround described in https://github.com/ipfs-shipyard/ipfs-desktop/issues/1773#issuecomment-789294333
(I'm closing this issue as duplicate, lets continue in https://github.com/ipfs-shipyard/ipfs-desktop/issues/1773)

@dwebfan this new error looks exactly the same as #1773.
Are you running any firewall/antivirus software than could be responsible for intercepting web traffic?
Or behind something like The Great Firewall of China?

Neither any firewalls/antivirus software nor GFW

Same here. Behind GFW but has a VPN running.
Initializing daemon...
go-ipfs version: 0.10.0
Repo version: 11
System version: amd64/darwin
Golang version: go1.16.8
Found outdated fs-repo, migrations need to be run.
Run migrations now? [y/N] y
Looking for suitable migration binaries.
Need 5 migrations, downloading.
Downloading migration: fs-repo-6-to-7...
Downloading migration: fs-repo-7-to-8...
Downloading migration: fs-repo-8-to-9...
Downloading migration: fs-repo-9-to-10...
Downloading migration: fs-repo-10-to-11...
Fetching with HTTP: "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-10-to-11/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-8-to-9/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-9-to-10/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-7-to-8/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-6-to-7/versions"
Fetching with IPFS: "fs-repo-9-to-10/versions"
Fetching with IPFS: "fs-repo-8-to-9/versions"
Fetching with IPFS: "fs-repo-7-to-8/versions"
Fetching with IPFS: "fs-repo-6-to-7/versions"
Fetching with IPFS: "fs-repo-10-to-11/versions"
could not get latest version of migration fs-repo-6-to-7: 2 errors occurred:
* http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-6-to-7/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
* context deadline exceeded
could not get latest version of migration fs-repo-9-to-10: 2 errors occurred:
* http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-9-to-10/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
* context deadline exceeded
could not get latest version of migration fs-repo-7-to-8: 2 errors occurred:
* http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-7-to-8/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
* context deadline exceeded
could not get latest version of migration fs-repo-10-to-11: 2 errors occurred:
* http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-10-to-11/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
* context deadline exceeded
could not get latest version of migration fs-repo-8-to-9: 2 errors occurred:
* http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR/fs-repo-8-to-9/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
* context deadline exceeded
Failed to download migrations.
The migrations of fs-repo failed:
failed to download migrations: fs-repo-6-to-7 fs-repo-7-to-8 fs-repo-8-to-9 fs-repo-9-to-10 fs-repo-10-to-11
If you think this is a bug, please file an issue and include this whole log output.
https://github.com/ipfs/fs-repo-migrations
migration peer 12D3KooWB73YV5BCLhz7scT2mgL7W3WQ7cVo1yfRnRYQNUwL9PfZ shutdown
Error: failed to download migrations: fs-repo-6-to-7 fs-repo-7-to-8 fs-repo-8-to-9 fs-repo-9-to-10 fs-repo-10-to-11

Same here
> ipfs-update install latest
ERROR: error resolving 'latest':  http.DefaultClient.Do error: Get https://ipfs.io/ipns/dist.ipfs.io/go-ipfs/versions: x509: certificate has expired or is not yet valid

Maybe there's something wrong w/ SSL cert somewhere?

I got something similar downloading go-ipfs w/ ipfs-update
> ipfs-update install latest
ERROR: error resolving 'latest':  http.DefaultClient.Do error: Get https://ipfs.io/ipns/dist.ipfs.io/go-ipfs/versions: x509: certificate has expired or is not yet valid

Maybe there's something wrong w/ SSL cert somewhere?

@jbenet  this  x509: certificate has expired error  could be:

an old cert on ipfs.io deployed by mistake  (seems to be fixed now),
or your local clock being set to a date in past (happens sometimes when laptop is losing charge + there is no backup battery on mainboard).

@cybertriton this looks odd, go-ipfs 0.9 and later should try fetching migrations over IPFS when HTTPS fails: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#migration


CRAYSAT-1246: update prodmgr rpm

Summary and Scope
This updates the version of the prodmgr RPM to a newer version that includes a man page.
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Issues and Related PRs

Resolves CRAYSAT-1246

Testing
Tested on:

lemondrop
Local development environment

Test description:

I built the image locally using packer
I installed the RPM on lemondrop and ran the command.

Risks and Mitigations
N/A
Pull Request Checklist

[N/A] Version number(s) incremented, if applicable
[N/A] Copyrights updated
[N/A] License file intact
[Y] Target branch correct
[N/A] CHANGELOG.md updated
[Y] Testing is appropriate and complete, if applicable
[N/A] HPC Product Announcement prepared, if applicable

If there's a reason this can't get into CSM 1.2, I'd just ask that this get moved to a future release when that exists.

If there's a reason this can't get into CSM 1.2, I'd just ask that this get moved to a future release when that exists.

Should be fine, but the build is still running. If it's stuck try restarting it, i didn't merge because it was gated on the build.


[Bug]: Installation bug

What happened?
When installing it could not find the routes/web.php I had to comment out this line to complete installation
//Register Routes
//$this->loadRoutesFrom(DIR . '/../routes/web.php');
How to reproduce the bug
php artisan filament-form-builder:install on windows
Package Version
dev-master
PHP Version
8.2.0
Laravel Version
11.31
Which operating systems does with happen with?
Windows
Notes
No response

project still under development we don't release it yet


Feature Request: Allow search text in-place without extra search-box in single-option mode

Currently, only under multiple options mode will search-text be allowed to be entered in-place. While for the single option mode, search text is required to be entered in the pop-up search box instead.
I think user should have an option to choose.
Correct me if it is already provided, as I cannot find in the docs or examples at least.

This is not currently provided, but it's probably possible using a custom selection adapter (mixed with the select2/selection/search decorator).
I'll tag this as a possible future enhancement.


Test signup logging cleanup

Fixes #7563
@timabbott @gnprice

This looks like a fine implementation of this approach.   But I think we might just want to use set_loglevel in zproject/test_settings.py to suppress these emails altogether, and just have only one test do this mocking to actually check the output, since the logging output isn't so important we need every test verifying it...
@gnprice thoughts?

Yeah, I agree -- that'd be a good approach to keep this logging from complicating the tests.
As it is, these messages are going to the root logger, so set_loglevel wouldn't be very targeted. I think I'd stick a logger = logging.getLogger(__name__) at the top of that file and switch logging.info to logger.info, at least on that line; then set_loglevel('zerver.worker.queue_processors', 'WARNING') would do it.

@gnprice Updated

@gnprice Updated!

Merged -- thanks @hackerkid !


Added Tabbed Container

Description
Added a tabbed container for tasks in the frontend index.html file with improved styling and animation effects.
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

https://github.com/ChallengeForge/TheWeeklyChallenge/assets/114404790/cade4f11-1954-4aa4-9386-32c452a567a3
Changes

Frontend (Templates, CSS, JS)

@kanonkartik You missed the very important point in the issue. It is all about adding new page with tabbed container and not editing the home page.
The page you are going to create would appear when someone click the link to a weekly challenge.

Thank you for clarifying. Could you please specify where on the page users will click to access the weekly challenge? This will help me ensure that the new page with the tabbed container is integrated correctly and meets the project requirements

@kanonkartik It is defined here:
https://github.com/manwar/theweeklychallenge/issues/160
Search page would list of weekly challenges with link to each week. On clicking the link to a week, you would bring the details.


Error Updating winget source - No more endpoints available from mapper

Brief description of your issue
I was on an enterprise managed PC running Win10, and then upgraded to Win11. On Win10, winget was working without issue. After the upgrade to Win11, the winget source fails to update
I will say that this is likely not a WinGet specific issue, but I wasn't sure where to put it so thought I would start here.
Additionally, clearer messaging around the failure would be appreciated as opposed to just Cancelled
Steps to reproduce
Unknown;
Expected behavior
Sources to update correctly
Actual behavior
PS C:\Users\REDACTED> winget source update --verbose --logs
Updating all sources...
Updating source: msstore...
Done
Updating source: winget...
  █████████████████████▎          71%
Cancelled

Log:
WinGet-2024-08-05-09-40-24.988.log
2024-08-05 09:40:30.961 [CORE] Starting AddPackage operation #1: file:///C:/Users/REDACTED/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2024-08-05 09:40:30.963 [CORE] Begin waiting for operation #1
2024-08-05 09:40:30.963 [CORE] Begin blocking for operation #1
2024-08-05 09:40:31.837 [CORE] Deployment operation #1: error 0x800706D9: While processing the request, the system failed to register the windows.firewall extension due to the following error: There are no more endpoints available from the endpoint mapper.

.
2024-08-05 09:40:31.837 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFE371E81E9: (caller: 00007FFE371E4863) Exception(2) tid(576c) 800706D9 There are no more endpoints available from the endpoint mapper.

    Msg:[Operation failed: error 0x800706D9: While processing the request, the system failed to register the windows.firewall extension due to the following error: There are no more endpoints available from the endpoint mapper.

.]

Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

@denelon - I was correct in my assumption that this wasn't a winget-specific issue, as it was affecting any MSIX installs and any store installs. I'm not sure if you want to keep this open for anything, or if this should be closed as there is a fix and it isn't directly related to WinGet.  Unless you want me to add something to the troubleshooting doc?

After some troubleshooting, it was caused by Windows Defender failing to load; Resolution steps found on MS Answers - https://answers.microsoft.com/en-us/windows/forum/windows_11-performance/windows-firewall-0x800706d9/75c015d5-259d-42ed-bd93-1486ae039ee8?messageId=092332b2-9dbd-453a-9946-1431f88e432a

That's a great find!


feature: extras.go disable gofumpt

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
gopls already handles gofumpt, having gofumpt enabled in none-ls/conform.nvim does nothing except adding overhead and sometimes none-ls will get confused and leave extra temp files.
Describe the solution you'd like
Remove gofumpt from none-ls/conform's settings in extras.go.
Describe alternatives you've considered
Override none-ls's sources in my personal config to disable it.
Additional context
No response

I don't use go myself. If gopls does indeed already cover that, then feel free to submit a PR.


Fresh install on macosx el capitan. Fails to start.

Launch the app nothing happens. No server? Also omnidb does not show up as an app when using spotlight.

Hi Timuckun,
Python isn't backwards compatible in mac OSX builds. Version 2.0.4 was bundled with a python bundled in Sierra and that is probably why isn't running on El Capitan. A new build is being prepared in Yosemite, which will work on all newer versions (El Capitan and Sierra).
A server version for Mac is also being prepared.
Rafael.

When you open the app, it opens and closes in the Dock?

Timuckun,
a new build was done, this should work in Yosemite, El Capitan and Sierra. You can download it in:
https://omnidb.org/index.php/en/downloads-en

Hi @timuckun ,
For the last months, we have been building OmniDB app for MacOSX supporting Yosemite, El Capitan and Sierra. I'm closing this ticket now, but if you are still having trouble running OmniDB app, please open a new issue.


Add ability to roll logs every n minutes

Currently configuration of the log file rolling in dropwiz is done by setting a date format for the file.  This is fine for minute or hour rolled logs but is no good if you want n minutes.  It looks like we need to write some classes to allow n minute rolling to be configured.
See
https://stackoverflow.com/questions/50927845/how-to-enable-logback-to-rotate-the-log-files-every-x-minutes-5-minutes-30-minut/50928207
and
https://ronanquillevere.github.io/2015/08/04/rolling-log-15-min.html
for ideas

Would need to be done in stroom and proxy.


Limit print suppliers

Why?
The print supplier field in the support tool was previously a free text box, this is not a good idea.
What?
The support tool backend now has a config item in application.yml specifying print suppliers and a new endpoint to serve these up.
The support tool frontend now gives the choice of print supplier to use, retrieved from the aforementioned print supplier endpoint.
How to test?
Run the frontend and backend on this branch:
create a survey
create a collection exercise
create wave of contact - the print supplier should now display as a dropdown giving the options that are in the print supplier config in the backend.
Links?
https://trello.com/c/6tMnh7n3/2388-limit-print-suppliers-in-ui-based-on-print-file-service-config-8

 Limit print suppliers in UI based on print file service config (8)


open standard browser option

Is it possible to make the code open my standard browser?
So for example, is will be able to login to linkedin.

Elaborate please?

selenium opens a different browser, not the one we use on our day to day jobs..
So it can't use our user names and passwords to login to linkedin etc..
So, is there a way to give the exe of our day to day browser, so it will be able to use it?

maybe this?
executable_path in playwright
https://playwright.dev/python/docs/api/class-browsertype#browser-type-executable-path


Login is using wrong username

In my organization we generally have two accounts in Azure AD: our normal<EMAIL_ADDRESS>account for email/office/teams/etc, and an admin account<EMAIL_ADDRESS>if we do server admin stuff. It's the admin account that we use to login to the Azure MyApps portal and launch into our AWS accounts. In my $env:USERPROFILE.aws\config I have the default profile set with
<EMAIL_ADDRESS>azure_default_remember_me=false

When I run aws-azure-login it's staunchly refusing to use the configured username, and instead using<EMAIL_ADDRESS>Due to corp proxy and local security agents, I have to disable Puppeteer's bundled Chromium (checksum matches a DB of versions with known vulnerabilities) and set a custom path.
I've made sure that my Chrome profile is logged out of AzureAD (and I use MS Edge Chromium for logging into my normal Office AAD account), and deleted all browser data for all time in my Chrome profile.
I've deleted everything under _$env:USERPROFILE.aws_ other than the config and credentials files, and I have no other configuration or credentials specified in those two files save for what I'm configuring in order to use aws-azure-login.
4/24/2020 1:39:45 PM JGHAL ~
> $env:PUPPETEER_EXECUTABLE_PATH="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

4/24/2020 1:34:56 PM JGHAL ~
> npm list aws-azure-login
C:\Users\JGHAL
`--<EMAIL_ADDRESS>
4/24/2020 1:35:39 PM JGHAL ~
> npm list puppeteer
C:\Users\JGHAL
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>
4/24/2020 1:35:56 PM JGHAL ~
> npm config list
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.14.4 node/v14.0.0 win32 x64"

; userconfig C:\Users\JGHAL\.npmrc
puppeteer_skip_chromium_download = "1"

; builtin config undefined
prefix = "C:\\Users\\JGHAL\\AppData\\Roaming\\npm"

; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\JGHAL
; HOME = C:\Users\JGHAL
; "npm config ls -l" to show all defaults.

Additional data point, the<EMAIL_ADDRESS>login that aws-azure-login insists on using is what we use for our local Windows OS login.

try utilizing the debug node module included in aws-azure-login. run these commands:
set debug=aws-azure-login
aws-azure-login

are you setting the azure_default_username in your ".aws/config file"? or are you setting it as a system environment variable?

are you setting the azure_default_username in your ".aws/config file"?

I am.
Looking at the debug output I don't know what I need to sanitize or not. I see this at the start
  aws-azure-login Getting config for profile 'default' in section 'default' +0ms
  aws-azure-login Loading 'config' file at 'C:\Users\jghal\.aws\config' +9ms
  aws-azure-login Parsing data +7ms
  aws-azure-login Environment +0ms
  aws-azure-login { azure_default_password: 'xxxxxxxxxx' } +0ms
Logging in with profile 'default'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml

I don't have azure_default_password set in my ~\.aws\config.
After setting the debug variable the login window actually asked for a username today, then I realized I wasn't connected to company VPN/proxy. So I connected to VPN and tried again and it started automatically using  the wrong username again. However disconnecting from VPN again it hasn't stopped using the wrong username.
Just in case this is related, using a custom puppeteer executable path (which I have to do because our proxy and A/V blocks the default chromium that puppeteer wants) seems to be problematic. The npm config way to specify the executable path isn't honored, I have to set it via the env variable or modify the node_modules\aws-azure-login\lib\login.js and add executablePath to the puppeteer launch args in the _performLoginAsync function. I've also tried doing things like adding --profile-directory=aws-azure-login to try and isolate the chromium from other browser profile/sessions.

I was looking for an error related to state, such as "State not recognized", which happens around when your username/password gets entered into the login page.
You can set Puppeteers default executable path with the environment variable, "PUPPETEER_EXECUTABLE_PATH". This has the highest priority and will always be used.
I would guess that since you have SSO, aws-azure-login is navigating to the login URL, and then SSO is automatically logging you in, which would happen before you would ever be prompted to input a username/password.
Try running aws-azure-login --mode=gui
gui mode would take you to the login page. if SSO is enabled, it will try to log you in with that, otherwise it will prompt you to enter your username/pass

I have been using --mode=gui all along. Even with that it just automatically uses the<EMAIL_ADDRESS>instead of either asking or using the default I set in the ~/.aws/config, and the loaded page doesn't have a link/button to use another account like some MS login pages do
  aws-azure-login Loading login page in Chrome +1ms
  aws-azure-login Enabling request interception +7s
  aws-azure-login Waiting for login page to load +134ms
  aws-azure-login Request: https://login.microsoftonline.com/favicon.ico +20ms
  aws-azure-login Request: https://login.microsoftonline.com/<tenant>/saml2?SAMLRequest=<snip>&sso_reload=true +2ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.old.converged.login.pcore.min_9_8sd1spckud1tj2ezftqq2.js +215ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/microsoft_logo_ee5c8d9fb6248c938fd0dc19370e90bd.svg +378ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/ellipsis_white_5ac590ee72bfe06a7cecfd75b588ad73.svg +4ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/ellipsis_grey_2b5d393db04a5e6e1f739cb266e65b4c.svg +1ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_5vz1lgudtctdponkgjfmwg2.css +2ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.converged.login.strings-en.min_sc8nln4btuvfwupwlgp1aw2.js +2ms
  aws-azure-login Request: https://secure.aadcdn.microsoftonline-p.com/<snip>/logintenantbranding/0/illustration?ts=636825889253959015 +188ms
  aws-azure-login Request: https://secure.aadcdn.microsoftonline-p.com/<snip>/logintenantbranding/0/bannerlogo?ts=636977737748312922 +17ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_white_166de53471265253ab3a456defe6da23.gif +9ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_b540a8e518037192e32c4fe58bf2dbab.gif +13ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/favicon_a_eupayfgghqiai7k9sol6lg2.ico +4ms
  aws-azure-login Request: https://autologon.microsoftazuread-sso.com/<tenant>/winauth/ssoprobe?client-request-id=<snip>&_=<snip> +3ms
  aws-azure-login Request: https://autologon.microsoftazuread-sso.com/<tenant>/winauth/sso?client-request-id=<snip>&_=<snip> +390ms
  aws-azure-login Request: https://login.microsoftonline.com/common/instrumentation/dssostatus +354ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_white_166de53471265253ab3a456defe6da23.gif +4ms
  aws-azure-login Request: https://login.microsoftonline.com/<tenant>/login +2ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_b540a8e518037192e32c4fe58bf2dbab.gif +3ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.old.converged.sa.core.min_zdtacs8jffcu_u4nk27gsa2.js +290ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/microsoft_logo_ee5c8d9fb6248c938fd0dc19370e90bd.svg +223ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/ellipsis_white_5ac590ee72bfe06a7cecfd75b588ad73.svg +3ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/ellipsis_grey_2b5d393db04a5e6e1f739cb266e65b4c.svg +2ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_5vz1lgudtctdponkgjfmwg2.css +3ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.converged.tfa.strings-en.min_hrtbprx8-r6yikyohooj0g2.js +3ms
  aws-azure-login Request: https://login.microsoftonline.com/common/SAS/BeginAuth +59ms
  aws-azure-login Request: https://secure.aadcdn.microsoftonline-p.com/<snip>/logintenantbranding/0/illustration?ts=636825889253959015 +2ms
  aws-azure-login Request: https://secure.aadcdn.microsoftonline-p.com/<snip>/logintenantbranding/0/bannerlogo?ts=636977737748312922 +1ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_white_166de53471265253ab3a456defe6da23.gif +8ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/marching_ants_b540a8e518037192e32c4fe58bf2dbab.gif +10ms
  aws-azure-login Request: https://login.microsoftonline.com/common/instrumentation/reportpageload?mkt=en-US +20ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/images/picker_verify_authenticator_f07afb27ad510dc785a94e802e3d7f73.svg +658ms
Please complete the login in the opened window
  aws-azure-login Request: https://login.microsoftonline.com/common/SAS/EndAuth +964ms
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_5vz1lgudtctdponkgjfmwg2.css +3s
  aws-azure-login Request: https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.converged.tfa.strings-en.min_hrtbprx8-r6yikyohooj0g2.js +4ms

The loaded page when running mode=gui does technically have a link to use another account. The issue is that the page loads very fast. You can get around that by either clicking repeatedly on the cancel log in button on the gui that pops up, or just tap the enter key repeatedly and that should cancel the SSO.
I would guess that your cert that enables SSO is overriding any attempt to inject a username/password into that login flow. The SSO is triggered as soon as browser is launched, and then the code searches for a username/password field to populate with your set values.

Same issue here. Working around by hitting enter.
Does anyone know where the other username is coming from?

Solution: So everything inside a docker container works like a charm: https://github.com/sportradar/aws-azure-login#docker
Still not sure where Chrome is getting the username from, I'm on a corp VPN so there must be something pre-configureing it.

I think puppeteer has early support for Firefox, which does not have this issue. So there is another option.
Thanks for the tool!

We have been using Clumsy with a 200ms lag to make clicking on cancel easier
https://jagt.github.io/clumsy/

I was having the same issue, but I found a workaround that worked for me. I am not sure if it will work for everyone.
I have the same setup as you my company has two accounts. One we login to our laptop with and one we use for administrative access. Every time i did aws-azure-login --mode gui it would automatically use my laptop email even when I pass in the administrative email.
Here is what I did:

Start powershell as the elevated user you want to authenticate with by shift clicking the shortcut and clicking run as a different user:

Install the npm package npm install -g aws-azure-login

(optional) Verify the installed package is in your paths environment variable on windows.

(optional) Configure your profile you want to use. aws-azure-login --configure

Run aws-azure-login --profile profile --mode gui

This should prompt you for a login like normal, but this time SSO won't mess it up.
This is what worked for me. It looks like SSO was using the account/email for the user that is running the powershell prompt.
Let me know if this works for anyone else having this issue. Honestly, SSO does more harm than good...

Hello......I'm here for different proxy reasons but I thought I'd comment here if it helps. Are you on a corporate device that is registered with Azure AD? Also, does your company have Azure AD seamless SSO rolled out? Seamless SSO allows for automatic logins with corporate devices and sounds like the behavior you are experiencing. The SAML claims between seamless SSO and password based are different for sure. There are 3 things I can think of two of which have been mentioned here:

Run your terminal as another user with RunAs as suggested above.
Run in a container as suggested above.
Have the other corporate account you want to use be setup to use seamless sso

I had eventually settled on using Docker container and that was working, but then our org setup the proper AWS SAML/SSO login with AzureAD so we now just use the AWS CLI v2 built-in sso support.

Same!!!

Here's an implementation that works https://github.com/aws-azure-login/aws-azure-login/pull/270


🎉 New Example: 44AI1VRH/scale_input_video_to_fix_size__640x360_.md

New Example: ${fileName}
Please preview this example on the netlify deploy-preview bellow 🌻.

Merge test 👍


Rollup + buble + buba

Updates build system to use rollup and buble
Update tests to use buba/register
Update coverage to use istanbul 1.1.0 alpha for code coverage with buba
Add jsnext:main field for next-gen bundlers to take advantage of ES6 builds

LGTM

@briancavalier Does this look alright to you? :)

LGTM

@mostjs/maintainers I updated all the dependencies :)

still LGTM :)

lgtm

Hmmm, is lgtm broken?

LGTM

Might be

lgtm seems to be down.  Merging.


master should become main

in this line, I think main should be used instead of master as that's the actual branch name and, when I try to build this Dockerfile "out of the box", I get the error below:
#7 7.310 error: pathspec 'master' did not match any file(s) known to git

Good catch @abekerman! I opened a PR to fix it.
Until it's merged you may add --build-arg checkout=main  to your docker build command, or you can manually edit that line in Dockerfile.


x/tools/gopls: how do you use -skip-cleanup?

How does one use the -skip-cleanup flag?
When I do, go test -v ./... -run Foo/bar -skip-cleanup, I confusingly get a usage warning but the test also runs (apparently without the flag, because the temp dir is not deleted).
Am I using it incorrectly?

I was able to use it in the following way:
go test ./internal/lsp/ -run=TestLSP/Modules/testdata/upgradedep/Link/go.mod -skip-cleanup -v

Does that work for you?

I'm running gopls/ tests - maybe that makes a difference?
I tried,
$ cd gopls
$ go test ./internal/regtest -run=TestDeklerkRename/singleton -skip-cleanup -v
[...]
$ ls /var/folders/n3/n33wx2bs307ck7t4qpwb6csw00h16k/T/gopls-regtest-896525474/TestDeklerkRename/singleton/gopls-sandbox-605086105
ls: /var/folders/n3/n33wx2bs307ck7t4qpwb6csw00h16k/T/gopls-regtest-896525474/TestDeklerkRename/singleton/gopls-sandbox-605086105: No such file or directory

No flag error this time - which is great! - but still getting "directory not found". 🤔

FWIW I'm able to modify gopls/internal/regtest/runner.go:408 to force skip cleanup!

Ah, the skip cleanup flag name for the regression tests is slightly different: https://github.com/golang/tools/blob/17fc728d0d1efaff9bd884307e377e5b1469e08b/gopls/internal/regtest/reg_test.go#L25.

Ahhh! Thank you!


useTextContentForMissingTitles config option to use slide text instead of Slide # for missing titles

useTextContentForMissingTitles config option will attempt to use the first bit of text as the title in a slide that has no title already defined or selected by the title selector (eg h1 etc)

Thanks for the pull request Adam. Good idea, but there were a few issues. I've merged to the dev branch and modified it to make it a bit more robust. Taking the first string after splitting on linefeed was giving me empty titles (at least for Chrome on macOS) as even simple text was retrieved as multi-line with initial whitespace (ie .split('\n')[0] returns empty string).
I've changed it so multi-line text is joined before extracting the title. This also helps with intentional multi-line text. For instance, I might use two paragraphs to enforce line breaks in the presentation, eg...

This is

important

Let me know if this breaks your use case.


T10.02 Vector drawables cannot be decoded into bitmaps.

The BitmapFactory.decodeResource() function can only decode bitmap-like drawables.
Because the drawable R.drawable.ic_local_drink_black_24px is a vector xml drawable,
BitmapFactory.decodeResource(res, R.drawable.ic_local_drink_black_24px)
will always return null.
That is, the static method NotificationUtils.largeIcon(Context) will always return null.
You should use methods like the one in http://stackoverflow.com/questions/33696488/getting-bitmap-from-vector-drawable (using a canvas or so).
Alternatively, you can simply change the R.drawable.ic_local_drink_black_24px drawable to a PNG or JPEG (bitmap) file.

Fixed.


[Indexer]  [break change] Split Object states and perf Indexer

Summary
This pr will break the indexer db, need cleanup the roochdb data before restart the rooch server. relative of #2402
Mainly on solving the query and paginate performance issues after Sqlite single table has more than 100 million records, by
spliting the Objectstates table, optimize the index fields, optimize the paginate performance, etc.

Split object_states into object_states, utxos and inscriptions, and fix indexer rebuild and tx revert tools
Optimize object_states page query based on object_type, use index query
Rebuild index, optimize all order by queries, ensure that indexes can be used, avoid USE TEMP B-TREE FOR ORDER BY
For object_states query, use "select *" with caution, and specify the columns to be used
Only keep object_states, utxos, inscriptions index fields
Only keep events index field
Only keep transactions index field
Compatible with object_ids query #2454
Simplify inscription_id query method, [break rpc]
Query_events interface supports decode parsing
Query_events and query_transactions query ObjectID unified support query by ObjectID array
Dynamic fields are not indexed object
Further optimize cache and pool size
Enable Sqlite multithreading mode PRAGMA SQLITE_THREADSAFE = 2 track by #2486

Closes #2454

Before optmize：
Indexer write benchmark:
Benchmarking write_object_states/indexer_write/10000
Benchmarking write_object_states/indexer_write/10000
Benchmarking write_object_states/indexer_write/1000000: Collecting 100 samples in estimated 5.4298 s (90
Benchmarking write_object_states/indexer_write/10000
write_object_states/indexer_write/1000000
                        time:   [4.9820 ms 5.2295 ms 5.4758 ms]
                        change: [-4.2140% +1.8781% +9.0716%] (p = 0.59 > 0.05)
                        No change in performance detected.
Indexer read benchmark
Benchmarking read_object_states/indexer_read/1000000: Collecting 100 samples in estimated 49.284 s (100
Benchmarking read_object_states/indexer_read/1000000
read_object_states/indexer_read/1000000
                        time:   [485.53 ms 486.66 ms 487.86 ms]
                        change: [-50.861% -50.709% -50.567%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  5 (5.00%) high mild

Before optimize:
cargo bench --bench bench_indexer
    Finished `bench` profile [optimized] target(s) in 1.03s
     Running benches/bench_indexer.rs (/Users/Baichuan/coinspace/move-eco/rooch-network/rooch/target/release/deps/bench_indexer-b7088a53bb875e1e)
Gnuplot not found, using plotters backend
Benchmarking write_object_states/indexer_write/10000
Benchmarking write_object_states/indexer_write/10000
Benchmarking write_object_states/indexer_write/1000000: Collecting 100 samples in estimated 5.0022 s (80
Benchmarking write_object_states/indexer_write/10000
write_object_states/indexer_write/1000000
                        time:   [5.4034 ms 5.6397 ms 5.8834 ms]

Benchmarking read_object_states/indexer_read/1000000
Benchmarking read_object_states/indexer_read/1000000: Collecting 100 samples in estimated 5.7024 s (35k
Benchmarking read_object_states/indexer_read/1000000
read_object_states/indexer_read/1000000
                        time:   [162.41 µs 166.17 µs 171.66 µs]
Found 8 outliers among 100 measurements (8.00%)
  3 (3.00%) high mild
  5 (5.00%) high severe


[feat] Add rerun to the failure statistics

Closes https://github.com/eth-cscs/reframe/issues/1947

Hello @jgphpc, Thank you for submitting the Pull Request!

In the file reframe/frontend/statistics.py:

Line 292:80: E501 line too long (99 > 79 characters)
Line 292:100: W291 trailing whitespace

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #2016 (076c8c0) into master (bc59cb9) will decrease coverage by 0.74%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2016      +/-   ##
==========================================
- Coverage   87.48%   86.74%   -0.75%
==========================================
  Files          50       52       +2
  Lines        8848     9272     +424
==========================================
+ Hits         7741     8043     +302
- Misses       1107     1229     +122

Impacted Files
Coverage Δ

reframe/frontend/cli.py
76.09% <100.00%> (+0.35%)
:arrow_up:

reframe/core/hooks.py
90.90% <0.00%> (-1.88%)
:arrow_down:

reframe/core/buildsystems.py
96.33% <0.00%> (-0.26%)
:arrow_down:

reframe/core/pipeline.py
91.40% <0.00%> (-0.22%)
:arrow_down:

reframe/utility/cpuinfo.py
69.10% <0.00%> (ø)

reframe/frontend/autodetect.py
58.64% <0.00%> (ø)

reframe/utility/sanity.py
97.79% <0.00%> (+0.01%)
:arrow_up:

reframe/core/variables.py
96.09% <0.00%> (+0.05%)
:arrow_up:

reframe/core/config.py
91.03% <0.00%> (+0.07%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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

I updated this PR to print the report file always at the end of the session. I am against adding a Rerun with type of message, cos it introduces unnecessary complexity to the implementation. We report the file here, and somebody can use it with the --restore-session option.


fix(monitor): update alert panel scope by  alert dashboard

Does this PR need to be backport to the previous release branch?:

release/3.7

/cc @zexi
/area monitor

/hold


Allow AnimationTree property base paths to be retrieved with AnimationNode

Make the signal animation_started and animation_finished in AnimationTree return AnimationNode.
Add StringName get_property_base_path(const Ref<AnimationNode> &p_animation_node) const; to AnimationTree  so that the property base path can be retrieved by instance ID lookup. This is made possible by #72722.
This allows us to identify which of the NodeAnimations with the same animation fired the signal. In the future, it should also be possible to retrieve changes in the state of NodeTransition and NodeOneShot.
The reason for the label breaks compat is that the number of the signal argument increases.

Close because it is out of date. With refactoring this may not make much sense.


Add feature image to the top of blog posts

Want a pretty picture at the top of your post?

Add the following to the flags section of your post:

image: <name of image file>

Add the image to images/feature_images/

Don't want a pretty picture? Well... that's fine too.

How much has this been tested? Not far off completing a new blog and i'm tempted to make use of it :)

Tested in latest version of IE, Chrome, Firefox and Edge. Haven't tried out Safari.

Works in Safari.

Just tested in Chrome, doesn't break anything for the existing blogs. Do we have any guidelines for this repo around approving/merging @a-h ?

No guidelines yet. Talk it through in Slack?