New-

New-NavContainer fails with an error on Download file since version <IP_ADDRESS>.
IT works in version <IP_ADDRESS>
##[command]. 'F:\DevOps\Agent1_work\2\s\Nav\BuildScripts\Create-Nav-Container' -ContainerName "MSBUILD101" -ImageName "mcr.microsoft.com/businesscentral/onprem:1904-cu5-nl-ltsc2016" -credential ([PSCredential]::new("Build", (ConvertTo-SecureString -String "WyS0lnt!0u" -AsPlainText -Force))) -ContainerStoragePath "C:\ProgramData\NavContainerHelper\Extensions\MSBUILD101"
MemoryLimit set to 6G
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Datacenter - ltsc2016
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Pulling image mcr.microsoft.com/businesscentral/onprem:1904-cu5-nl-ltsc2016
1904-cu5-nl-ltsc2016: Pulling from businesscentral/onprem
Using image mcr.microsoft.com/businesscentral/onprem:1904-cu5-nl-ltsc2016
Creating Container MSBUILD101
Version: 14.6.36463.0-nl
Style: onprem
Platform: 14.0.36457.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.14393.3204 (ltsc2016)
Host OS Version: 10.0.14393.3542 (ltsc2016)
A better Generic Container OS exists for your host (mcr.microsoft.com/dynamicsnav:10.0.14393.3506-generic)
Patching navinstall.ps1 for 13.x and 14.x (issue #907)
Using generic image mcr.microsoft.com/dynamicsnav:10.0.14393.3506-generic
Pulling image mcr.microsoft.com/dynamicsnav:10.0.14393.3506-generic
10.0.14393.3506-generic: Pulling from dynamicsnav
Generic Container OS Version: 10.0.14393.3506 (ltsc2016)
Generic Tag of better generic: <IP_ADDRESS>
WARNING: The container operating system matches the host operating system, but the revision is different.
If you encounter issues, you might want to specify -isolation hyperv
Using locale nl-NL
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\NavContainerHelper\Extensions\MSBUILD101\my\navinstall.ps1
##[error]Download-File : Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: An
unexpected error occurred on a send."
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\New-NavContainer.ps1:826
char:17

...             Download-File -sourceUrl $_ -destinationFile $destination ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Download-File], MethodInvocationException
FullyQualifiedErrorId : WebException,Download-File

##[error]Process completed with exit code 1 and had 1 error(s) written to the error stream.
##[section]Finishing: PS - Create Nav Container

that is likely because your container cannot connect to the outside - often due to dns resolution not working. try to add -dns "<IP_ADDRESS>" (or set dns in Docker Deamon config)

It stopped working after the download of NavContainerhelper <IP_ADDRESS>. Before it worked.

I still think it is because the dns isn't found - earlier you just might not need it (until some day...)
Could you set requiredversion to <IP_ADDRESS> and then submit the output of building that?
My assumption is that it doesn't re-platform. You can avoid this by removing -usebestcontaineros.

ok, i'll try that out. But the last succesfull build was 45 minutes earlier. 16:13 today, then 17:02 we started a new build that pulled ContainerHelper <IP_ADDRESS> in, so that's why I find it a bit suspicious :)
After 17:02 all builds are failing...

line 826 is trying to download a patch for navinstall, which fails for a number of 13.x and 14.x containers - it needs to be able to resolve dns for that.
14.6 (as you are using here) might have worked in <IP_ADDRESS> - but 14.10 and 14.11 didn't.

Ok, i think it might be blocked by the firewall.

Then you would have to use containerhelper <IP_ADDRESS> until new generic images have been deployed (in a few weeks)

Ok, thanks for your super fast responses Freddy. Case can be closed.


Request replace operator

Hello,
Is there any reason why replace operator is missing? It would be useful.
Right now I use the getWritableDatabase() on BriteDatabase object to use the replace method, but I lose the notification feature on table change. Is there a way to force table to reload queries?
Thanks,
Andrei

That is a convenience method for insertWithOnConflict with a conflict strategy of CONFLICT_REPLACE which you can use in this library via the three-argument insert method.


Update Footer Year to 2024

I would like to address an issue in the footer of the project. Currently, the text reads "All rights reserved 2023." I propose changing it to "All rights reserved 2024" to reflect the current year and I want to change some styling of it too.
Could you please assign me this issue? I will modify it accordingly and submit a PR as soon as it's done.
Thank you!

I would like to address an issue in the footer of the project. Currently, the text reads "All rights reserved 2023." I propose changing it to "All rights reserved 2024" to reflect the current year and I want to change some styling of it too.
Could you please assign me this issue? I will modify it accordingly and submit a PR as soon as it's done.
Thank you!

Go for it

I would like to address an issue in the footer of the project. Currently, the text reads "All rights reserved 2023." I propose changing it to "All rights reserved 2024" to reflect the current year and I want to change some styling of it too.
Could you please assign me this issue? I will modify it accordingly and submit a PR as soon as it's done.
Thank you!

Go for it

Hi.... Has someone done any changes to the files??? I'm not able to get code and there is written like developed by sh... something like this name in the file.. If you have link to the code, kindly share with mee.

I would like to address an issue in the footer of the project. Currently, the text reads "All rights reserved 2023." I propose changing it to "All rights reserved 2024" to reflect the current year and I want to change some styling of it too.
Could you please assign me this issue? I will modify it accordingly and submit a PR as soon as it's done.
Thank you!

Go for it

Hi.... Has someone done any changes to the files??? I'm not able to get code and there is written like developed by sh... something like this name in the file.. If you have link to the code, kindly share with mee.

Put ss or something cause I have browse the link it normal


using flush after update()->multiple(true) does NOT show newly updated values

Summary
When using multiple() in conjunction with update() followed by an immediate flush(), the documents affected by the update are not properly updated and still reflect the old values.
Details
I've written a script to help debug this problem and to show the proof of this issue at play. You'll notice that I'm using doctrine/mongodb-odm through composer and bootstrapping from within ZF2.
The script basically does these things:

Creates a couple dummy documents with fields status and category.
Shows that those documents were successfully added to db.
Tries to update a subset of those documents using multiple(true).
Shows that after a flush, those updates are not reflected. Furthermore, shows that going directly to MongoDB shows that those values were in fact updated.

If you go to the section with Should see all the category=1 objects as category=3, however you won't due to this issue: you'll notice that this occurs immediately after the multiple update followed by a flush. You'd expect that the categories have all been updated to 3 since that's the query that was just previously run. However, Doctrine doesn't pick up on the new data even though going directly to the DB shows that those values were updated.
This doesn't seem like expected behavior, especially after a call to flush.
<?php

/** @var Composer\Autoload\ClassLoader $autoloader */
$autoloader = include 'bootstrap.php';

use Zend\ServiceManager\ServiceManager;
use Zend\Mvc\Service;
use My\Document\Test;

//bootstrap configs for zend
$config = include APPLICATION_DIR . '/config/application.config.php';
$sm = new ServiceManager(new Service\ServiceManagerConfig($config));
$sm->setService('ApplicationConfig', $config);
$sm->get('ModuleManager')->loadModules();
$zendConfig = $sm->get('config');

/** @var Doctrine\ODM\MongoDB\DocumentManager $mgr */
$mgr = $sm->get('doctrine.documentmanager.odm_default');
$mgr->getConfiguration()->setDefaultDB($zendConfig['doctrine']['connection']['odm_default']['dbname']);

//this is the document name we shall use
$docName = 'My\Document\Test';

//will create 3 new documents
$docs = [];
$docs[] = new Test('hello', 1);
$docs[] = new Test('world', 1);
$docs[] = new Test('yes', 1);
$docs[] = new Test('other', 2);

//save it
foreach ($docs as $doc) {
    $mgr->persist($doc);
}

//make sure it's in the db
$mgr->flush();

//make sure that worked
$query = $mgr->createQueryBuilder($docName);
$cursor = $query->find()->getQuery()->execute();
echo "Should see 3 objects below ('hello', 'world', 'yes', and 'other'):\n";
foreach ($cursor as $obj) {
    echo "{$obj->getId()}: status={$obj->status}, category={$obj->category}\n";
}

//now let's try to update all the objects with multiple based on category == 1
$query = $mgr->createQueryBuilder($docName);
$query->update()
    ->multiple(true)
    ->field('category')->equals(1)
    ->field('category')->set(3)
    ->getQuery()
    ->execute();

//just to show that flush has no impact here
$mgr->flush();

//lets see what's in the DB now
$query = $mgr->createQueryBuilder($docName);
$cursor = $query->find()->getQuery()->execute();
echo "Should see all the category=1 objects as category=3, however you won't due to this issue:\n";
foreach ($cursor as $obj) {
    echo "{$obj->getId()}: status={$obj->status}, category={$obj->category}\n";
}

//am I insane? let's go straight to MongoDB to verify
$dbname = $zendConfig['doctrine']['connection']['odm_default']['dbname'];
$mongo = new MongoClient('mongodb://localhost');
$mongo->connect();
$collection = $mongo->selectDB($dbname)->selectCollection('test');
$cursor = $collection->find();
echo "What's actually in the DB:\n";
foreach ($cursor as $obj) {
    $id = (string)$obj['_id'];
    $cat = $obj['category'];
    $status = $obj['status'];
    echo "$id: status={$status}, category={$cat}\n";
}

//cleanup
$query = $mgr->createQueryBuilder($docName);
$query->remove()
    ->getQuery()
    ->execute();

//report back some version info
echo "PHP: " . phpversion() . PHP_EOL;
echo "PHP Mongo: " . phpversion('mongo') . PHP_EOL;

//get the version from composer
$dir = dirname(dirname(__DIR__));
exec("cd $dir && composer show -i", $output);
echo implode("\n", $output) . "\n";

So what is the output of this gem?
$php doctrineProofOfConcept.php
Should see 3 objects below ('hello', 'world', 'yes', and 'other'):
5377618e5a86025f130041a7: status=hello, category=1
5377618e5a86025f130041a8: status=world, category=1
5377618e5a86025f130041a9: status=yes, category=1
5377618e5a86025f130041aa: status=other, category=2
Should see all the category=1 objects as category=3, however you won't due to this issue:
5377618e5a86025f130041a7: status=hello, category=1
5377618e5a86025f130041a8: status=world, category=1
5377618e5a86025f130041a9: status=yes, category=1
5377618e5a86025f130041aa: status=other, category=2
What's actually in the DB:
5377618e5a86025f130041a7: status=hello, category=3
5377618e5a86025f130041a8: status=world, category=3
5377618e5a86025f130041a9: status=yes, category=3
5377618e5a86025f130041aa: status=other, category=2
PHP: 5.5.10
PHP Mongo: 1.4.5
doctrine/annotations               v1.1.2             Docblock Annotations Parser
doctrine/cache                     v1.3.0             Caching library offering an object-oriented API for many cache backends
doctrine/collections               v1.2               Collections Abstraction library
doctrine/common                    v2.4.1             Common Library for Doctrine projects
doctrine/data-fixtures             v1.0.0             Data Fixtures for all Doctrine Object Managers
doctrine/doctrine-module           0.8.0              Zend Framework 2 Module that provides Doctrine basic functionality required for ORM and ODM ...
doctrine/doctrine-mongo-odm-module 0.1.0              Zend Framework 2 Module that provides Doctrine MongoDB ODM functionality
doctrine/inflector                 v1.0               Common String Manipulations with regard to casing and singular/plural rules.
doctrine/lexer                     v1.0               Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/mongodb                   1.1.5              Doctrine MongoDB Abstraction Layer
doctrine/mongodb-odm               dev-master e9ad2be Doctrine MongoDB Object Document Mapper
guzzle/guzzle                      v3.8.1             Guzzle is a PHP HTTP client library and framework for building RESTful web service clients
mockery/mockery                    dev-master 2739e30 Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPU...
monolog/monolog                    1.6.0              Sends your logs to files, sockets, inboxes, databases and various web services
phlask/phlask                      dev-master 1e050ef PHP parallel task management.
phpunit/php-code-coverage          1.2.17             Library that provides collection, processing, and rendering functionality for PHP code cover...
phpunit/php-file-iterator          1.3.4              FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template          1.2.0              Simple template engine.
phpunit/php-timer                  1.0.5              Utility class for timing
phpunit/php-token-stream           1.2.2              Wrapper around PHP's tokenizer extension.
phpunit/phpunit                    3.7.34             The PHP Unit Testing framework.
phpunit/phpunit-mock-objects       1.2.3              Mock Object library for PHPUnit
psr/log                            1.0.0              Common interface for logging libraries
symfony/console                    v2.4.0             Symfony Console Component
symfony/event-dispatcher           v2.4.2             Symfony EventDispatcher Component
symfony/yaml                       v2.4.2             Symfony Yaml Component
zendframework/zendframework        2.2.5              Zend Framework 2

And finally, for reference, here's my model:
<?php
namespace My\Document;

use \Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

/**
 * @ODM\Document(collection="test")
 */
class Test
{
    /** @ODM\Id */
    protected $id;

    /**
     * @ODM\String
     */
    public $status;

    /**
     * @ODM\Int
     */
    public $category;

    public function __construct($status, $category)
    {
        $this->status = $status;
        $this->category = $category;
    }
}

I just spent a couple of hours coming to the same conclusion as this post, so this is definitely not expected behaviour.
If this is seen as correct, even if non-intuitive, should a note be added to the documentation where ->multi(true) is discussed to describe why this happens?

@malarzm Setting the refresh hint by default is not a good idea, at least I don't think it is. Only findAndUpdate() supports the returnNew() functionality, which is used to return the new object instead of the old object (which is the default behavior IIRC). So setting the refresh hint by default would result in an extra trip to the database along with (possibly unnecessary) document hydration. I think it's better to let the developer decide when to refresh objects. I do think however that this should be properly documented in the database: Updating documents using the query builder does not refresh objects managed by the document manager.

@alcaeus thanks for giving a con for this, won't consider it anymore :)

How would you set the refresh hint?

@nicktacular By calling refresh() in the query builder:
$query->refresh(true)->findAndUpdate()->field('something')->set('somethingElse');```

Note that it only works when the query is a) returning data and b) hydration is enabled (i.e. no ```hydrate(false)```). An ```update()``` query does not return data, only ```findAndUpdate``` does (and only one).

Here's test case I've pulled together back then:
<?php

namespace Doctrine\ODM\MongoDB\Tests\Functional\Ticket;

use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

class GH880Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
    public function test880()
    {
        $docs = array();
        $docs[] = new GH880Document('hello', 1);
        $docs[] = new GH880Document('world', 1);
        foreach ($docs as $doc) {
            $this->dm->persist($doc);
        }
        $this->dm->flush();
        $query = $this->dm->createQueryBuilder(__NAMESPACE__ . '\GH880Document');
        $cursor = $query->find()->getQuery()->execute();
        foreach ($cursor as $c) {
            $this->assertEquals(1, $c->category);
        }
        $query = $this->dm->createQueryBuilder(__NAMESPACE__ . '\GH880Document');
        $query->update()
            ->multiple(true)
            ->field('category')->equals(1)
            ->field('category')->set(3)
            ->getQuery()
            ->execute();
        $query = $this->dm->createQueryBuilder(__NAMESPACE__ . '\GH880Document');
        // here ->refresh() was needed for the test to pass
        $cursor = $query->find()->refresh()->getQuery()->execute();
        foreach ($cursor as $c) {
            $this->assertEquals(3, $c->category);
        }
    }
}

/** @ODM\Document */
class GH880Document
{
    /** @ODM\Id */
    public $id;

    /** @ODM\String */
    public $status;

    /** @ODM\Int */
    public $category;

    public function __construct($status = "", $category = 0)
    {
        $this->status = $status;
        $this->category = $category;
    }
}

Retriaging this for documentation as I couldn't find any mention of refresh() in Query Builder API and using that was fixing reported issue.

Ok, so the key is the refresh() call in $query->find()->refresh()->getQuery()->execute() to ensure that the data in that cursor is rehydrated from DB?
Thanks for your help.

@nicktacular yes, calling refresh() ensures objects will be data fetched from database will be hydrated into objects

Note to self: let's add @malarzm's test case as a documentation example.

This has been document in #1203. Additionally, I added @malarzm's test case.


Handle implicit member references inside extensions of nested types

Within an extension, references to other members of the extended type are permitted without qualification. This is intended to work even when the extended type was a nested type, although members of the enclosing type are not visible in this case. In order to implement this, the type checker pre-checks to see if there are any members with this name and then rewrites the unqualified reference to a qualified one, based on an unresolved TypeExpr with the name of the enclosing type. Unfortunately, if the enclosing type is a nested type, that isn't going to work very well—we find the correct declaration, but fail to map it into context by virtue of not realizing where it came from. Fix this by explicitly checking for this case.
SR-3847

@swift-ci Please test

Oh I see, thanks.

Does that mean the fix makes sense? I admit I'm not very familiar with this part of name resolution.

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - ac5cb46c2c2e14201fc8fcb93bf74842c04da34b
Test requested by - @jrose-apple

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - ac5cb46c2c2e14201fc8fcb93bf74842c04da34b
Test requested by - @jrose-apple

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - ac5cb46c2c2e14201fc8fcb93bf74842c04da34b
Test requested by - @jrose-apple

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - ac5cb46c2c2e14201fc8fcb93bf74842c04da34b
Test requested by - @jrose-apple

mapTypeIntoContext() translates interface types to archetypes. Here, I think the code path is resolving an unbound generic reference, which implicitly gets generic parameters from context.

LGTM, by the way. Longer term, we should try to remove findDeclContextForType() altogether. It duplicates the DeclContext walk that's already done in AST/NameLookup.cpp, because we just throw out that information in UnqualifiedLookup.

Test case added.
@swift-ci Please smoke test

Unrelated crash in serialization. @aciidb0mb3r, have you seen this before? Did you file it already?
3.	While type-checking expression at [/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swiftpm/Sources/PackageGraph/PackageGraphLoader.swift:111:35 - line:111:118] RangeText="externalModuleDependencies.lazy.map({$0.name}).duplicates(modules.lazy.map{$0.name})"
4.	While loading members for 'LazyMapRandomAccessCollection' in module 'Swift'
5.	While deserializing 'init' (ConstructorDecl #11643)in 'Swift'
6.	While deserializing 'transform' (ParamDecl #22123)in 'Swift'

@swift-ci Please smoke test Linux

@jrose-apple Haven't seen that one, seems new

Another failure.

swift: /home/buildnode/disk2/workspace/swift-PR-Linux-smoke-test/branch-master/swift/lib/AST/ArchetypeBuilder.cpp:2484: auto swift::ArchetypeBuilder::getGenericEnvironment(swift::GenericSignature *)::(anonymous class)::operator()(swift::ArchetypeBuilder::PotentialArchetype *) const: Assertion `(inContext->isEqual(repInContext) || inContext->hasError() || repInContext->hasError()) && "Potential archetype mapping differs from representative!"' failed.

@swift-ci Please smoke test Linux


Cannot install dashboards ([Errno 2] No such file or directory)

What happened?
Specified dashboards could not be installed
Did you expect to see some different?
The dashboards to have been installed
How to reproduce it (as minimally and precisely as possible):
Just define the following variable:
grafana_dashboards:
  - dashboard_id: 3662
    revision_id: 2
    datasource: prometheus

Link to the dashboard: https://grafana.com/grafana/dashboards/3662
Environment

Role version:
0.17.0

Ansible version information:
2.10.5

Variables:

grafana_dashboards:
  - dashboard_id: 3662
    revision_id: 2
    datasource: prometheus

Ansible playbook execution Logs:

TASK [cloudalchemy.grafana : download grafana dashboard from grafana.net to local directory] *************************
FAILED - RETRYING: download grafana dashboard from grafana.net to local directory (5 retries left).
FAILED - RETRYING: download grafana dashboard from grafana.net to local directory (4 retries left).
FAILED - RETRYING: download grafana dashboard from grafana.net to local directory (3 retries left).
FAILED - RETRYING: download grafana dashboard from grafana.net to local directory (2 retries left).
FAILED - RETRYING: download grafana dashboard from grafana.net to local directory (1 retries left).
failed: [monitoring.plte.ch] (item={'dashboard_id': 3662, 'revision_id': 2, 'datasource': 'prometheus'}) => {"ansible_loop_var": "item", "attempts": 5, "changed": false, "cmd": "curl --fail --compressed https://grafana.com/api/dashboards/3662/revisions/2/download -o /tmp/ansible.ly5d9mvh/3662.json", "item": {"dashboard_id": 3662, "datasource": "prometheus", "revision_id": 2}, "msg": "[Errno 2] No such file or directory: b'curl'", "rc": 2}

Anything else we need to know?:
The dashboard URL works, I can fetch it:
curl --fail --compressed https://grafana.com/api/dashboards/3662/revisions/2/download

When I replace curl with get_url, it works. However, I see that in #77 it was changed from get_url to curl because:

[some] dashboards are so big that they don't fit into some cache used by get_url module

get_url:
  url: "https://grafana.com/api/dashboards/{{ item.dashboard_id }}/revisions/{{ item.revision_id }}/download"
  dest: "{{ _tmp_dashboards.path }}/{{ item.dashboard_id }}.json"

I tested all dashboards that were said to have an issue when using get_url (6239, 704 and 5566) and I am happy to report that it worked for all of them:
TASK [cloudalchemy.grafana : download grafana dashboard from grafana.net to local directory] *************************
ok: [monitoring.plte.ch] => (item={'dashboard_id': 3662, 'revision_id': 2, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 12019, 'revision_id': 2, 'datasource': 'PL Loki'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 6239, 'revision_id': 1, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 704, 'revision_id': 1, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 5566, 'revision_id': 5, 'datasource': 'PL Prometheus'})

TASK [cloudalchemy.grafana : Set the correct data source name in the dashboard] **************************************
ok: [monitoring.plte.ch] => (item={'dashboard_id': 3662, 'revision_id': 2, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 12019, 'revision_id': 2, 'datasource': 'PL Loki'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 6239, 'revision_id': 1, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 704, 'revision_id': 1, 'datasource': 'PL Prometheus'})
ok: [monitoring.plte.ch] => (item={'dashboard_id': 5566, 'revision_id': 5, 'datasource': 'PL Prometheus'})

TASK [cloudalchemy.grafana : Import grafana dashboards through API] **************************************************
[WARNING]: Unable to find 'dashboards' in expected paths (use -vvvvv to see paths)
skipping: [monitoring.plte.ch] => (item=None)
skipping: [monitoring.plte.ch] => (item=None)
skipping: [monitoring.plte.ch] => (item=None)
skipping: [monitoring.plte.ch] => (item=None)
skipping: [monitoring.plte.ch] => (item=None)
skipping: [monitoring.plte.ch]

TASK [cloudalchemy.grafana : Create/Update dashboards file (provisioning)] *******************************************
ok: [monitoring.plte.ch]

TASK [cloudalchemy.grafana : Register previously copied dashboards] **************************************************
skipping: [monitoring.plte.ch]

TASK [cloudalchemy.grafana : Import grafana dashboards] **************************************************************
[WARNING]: Unable to find 'dashboards' in expected paths (use -vvvvv to see paths)
ok: [monitoring.plte.ch] => (item=/tmp/ansible.uq60auor/3662.json)
changed: [monitoring.plte.ch] => (item=/tmp/ansible.uq60auor/704.json)
changed: [monitoring.plte.ch] => (item=/tmp/ansible.uq60auor/5566.json)
ok: [monitoring.plte.ch] => (item=/tmp/ansible.uq60auor/12019.json)
ok: [monitoring.plte.ch] => (item=/tmp/ansible.uq60auor/6239.json)

So, I will consider switching back to get_url is a valid solution and switch back to it. I'll create a PR.

I just tried but I cannot reproduce your issue

I've had this problem on my own debian 10 hosts for months now, thanks for linking to the PR that fixes it.

This role has been deprecated in favor of a the grafana-ansible-collection collection.


Closing the launcher also closes sandbox as that is a child process

Solution: don't make it a child process.......

Fixed in 0.0.1r


Added upgrade and performance improvements

Upgraded performance pieces

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to documentation are included in the PR

Can you approve the changes so now it installs with the 1 worker and some minor tweaks in files (like hiding the original name)


header names aren't taken from the first row emitted when using csv().fromStream

import * as request from "request";

const parseReport = (reportFileUrl, response) => {
    csv({flatKeys: true})
        .fromStream(request.get(reportFileUrl))
        .pipe(response);
};

When I switched this code to using fromStream(it was using fromString), it resulted in generated field names being used in the resulting json, instead of the first item emitted from the request.get readable stream.
Is this a known problem? would a fleshed out repro project/example help? I may also be using something wrong as well.
Thank you for this library @Keyang !

Hi,
Thanks for the good feedback.
If you could create a public repo project/example reproducing this issue,
it would be great helpful.
I have tests around using fromStream which passing ok.
I assume it is the remote csv resource may contain whitespaces at the
beginning. if so, there may be a bug in parser.
Regards,
Keyang
On 18 January 2017 at 17:18, Patrick Mahoney<EMAIL_ADDRESS>wrote:

`import * as request from "request";
const parseReport = (reportFileUrl, response) => {
csv({flatKeys: true})
.fromStream(request.get(reportFileUrl))
.pipe(response);
};`
When I switched this code to using fromStream(it was using fromString), it
resulted in generated field names being used in the resulting json, instead
of the first item emitted from the request.get readable stream.
Is this a known problem? would a fleshed out repro project/example help? I
may also be using something wrong as well.
Thank you for this library @Keyang https://github.com/Keyang !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Keyang/node-csvtojson/issues/134, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCs98IqK5LGMKxmLP9IeuHCpLWEUIMUks5rTklfgaJpZM4LnJ2f
.

@Keyang thanks for responding - I'm going to attempt a repro as soon as possible and will link here.

Hi @Keyang ,
I still intend to do a more complete repro project, on the way to the whole thing, here is an example file:
https://raw.githubusercontent.com/paddymahoney/node-csvtojson/master/scrubbed.csv
To test this, I added a new route (in order to stream to an express response stream):
app.get("/reports/test2", (request, response) => {
    parseReport("https://raw.githubusercontent.com/paddymahoney/node-csvtojson/master/scrubbed.csv", response);
});

Then, parseReport is defined like:
const parseReport = (reportFileUrl, response) => {
    csv({flatKeys: true})
        .fromStream(request.get(reportFileUrl))
        .pipe(response);
};

So I should be able to reproduce this with just csvtojson, express and request. The file should be a valid example though.

Thanks for the feedback.
I can see the issue.
This is caused by the long header which exceeded the highWaterMark of
readStream.
Will fix this in 1.1.3 soon.
~Keyang
On 23 January 2017 at 20:18, Patrick Mahoney<EMAIL_ADDRESS>wrote:

Hi @Keyang https://github.com/Keyang ,
I still intend to do a more complete repro project, on the way to the
whole thing, here is an example file:
https://raw.githubusercontent.com/paddymahoney/node-
csvtojson/master/scrubbed.csv
To test this, I added a new route (in order to stream to an express
response stream):
app.get("/reports/test2", (request, response) => {
parseReport("https://raw.githubusercontent.com/paddymahoney/node-csvtojson/master/scrubbed.csv", response);
});
Then, parseReport is defined like:
const parseReport = (reportFileUrl, response) => {
csv({flatKeys: true})
.fromStream(request.get(reportFileUrl))
.pipe(response);
};
So I should be able to reproduce this with just csvtojson, express and
request. The file should be a valid example though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Keyang/node-csvtojson/issues/134#issuecomment-274604562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCs96w-HnltrRxuVSCX63QVWjVxyEczks5rVQsYgaJpZM4LnJ2f
.

Hi,
The issue has been fixed in 1.1.3
Thanks,
Keyang

Truly awesome @Keyang - that is a tricky solve.


Error: Failed to collect page data for /[pageId]

After yarn build , the error appears:
Error: Failed to collect page data for /[pageId]
And every time the [pageId] appears is different.
[pageId] is different every time the error occurs。

> Build error occurred
Error: Failed to collect page data for /[pageId]
    at /Users/yun/Downloads/nextjs/node_modules/next/dist/build/utils.js:949:15
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  type: 'Error'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please check if you have configured your notion page id correctly or not.

请检查您是否正确配置了根概念页面 ID。
还要在同一个文件中查找这些配置
  name: "Next.js Notion Starter Kit",
  domain: "nextjs-notion-starter-kit.transitivebullsh.it",
  author: "Travis Fischer"

Make sure it is configured correctly, because my previous version can be deployed normally.
And I completely use his configuration, but also the same type of error.
In addition, it is possible to debug directly, but there is a problem when using the build local cache


Use slog for logging

Hi, cool project! I was just perusing the source and noticed that it uses log for its log output, but it seems to me a perfect use case for slog :). Might even allow some customization but by default a simple JSON output makes sense to me. What do you think?

I've considered using slog, but decided against it because I don't expect anyone to actually store/process the output of this server. Rather, since it's mostly useful for local testing I expect users to mostly eyeball its output in the terminal; for this use case, it wasn't clear to me that slog is better.

Makes sense!


kube-dns - Liveness probe failed

Hi guys, running into some issues with kube-dns pod.
After my previous issue, I was advised to recreate the contivh1 infra network, which I have since recreated. Now I'm noticing in the kube-dns container of my pod is showing the following "liveness probe" error:
Liveness probe failed: Get http://<IP_ADDRESS>:8080/healthz-dnsmasq: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I've also noticed that there are no endpoints listed for kube-dns. Normally using calico, we see endpoints for kube-dns that reflect the IP of the kube-dns pod.

Any ideas appreciated!

@truncj you need to specify a gateway for default-net  <IP_ADDRESS>/24 (netctl net create )

@rchirakk I recreated the cluster and created the default-net with a gateway (<IP_ADDRESS>)... The error is still the same.
kubelet k8worker01}	spec.containers{kube-dns}	Warning	Unhealthy	Readiness probe failed: Get http://<IP_ADDRESS>:8081/readiness: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Can you try to access http://<IP_ADDRESS>:8081/readiness from host ? can we have a look at your setup ? webex ?

As suggested, I commented out the readiness/health probes using "kubectl edit deployment kube-dns".. this removes the error allowing all of the containers to come up. Still working with @rchirakk to get kube-dns working fully.

fixed in https://github.com/contiv/netplugin/pull/887


Remove @lenaorobei/app-builder-template1 as npm/github links are not valid anymore

"Name of NPM package"
@lenaorobei/app-builder-template1

https://github.com/slitviachenko/aio-template-submission/issues/144 issue created to remove @lenaorobei/app-builder-template1

https://github.com/lenaorobei/app-builder-template1 is not available anymore

See details in https://github.com/slitviachenko/aio-template-submission/issues/132


Segmentation Fault when training

Hi,
I ran your code from Install up to Training, step by step.
When I try to run ./tools/dist_train.sh configs/zsi/65_15/train/zero-shot-mask-rcnn-BARPN-bbox_mask_sync_bg_65_15_decoder_notanh.py 1
2021-09-09 16:40:01,014 - INFO - Distributed training: True
~/Zero-shot-Instance-Segmentation/mmdet/models/anchor_heads/ba_anchor_head.py:108: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  self.vec_bg_weight = torch.tensor(self.vec_bg_weight).cuda().view([1, self.semantic_dims])
2021-09-09 16:40:05,295 - INFO - load model from: torchvision://resnet101
2021-09-09 16:40:05,712 - WARNING - The model and loaded state dict do not match exactly

unexpected key in source state_dict: fc.weight, fc.bias

loading annotations into memory...
Done (t=9.95s)
creating index...
index created!
2021-09-09 16:40:17,039 - INFO - Start running, host: chan@GPU-TC1-08, work_dir: ~/Zero-shot-Instance-Segmentation/work_dirs/zsi/baseline/65_15
2021-09-09 16:40:17,039 - INFO - workflow: [('train', 1)], max: 12 epochs
Traceback (most recent call last):
  File "~/.conda/envs/zsi/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "~/.conda/envs/zsi/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "~/.conda/envs/zsi/lib/python3.7/site-packages/torch/distributed/launch.py", line 235, in <module>
    main()
  File "~/.conda/envs/zsi/lib/python3.7/site-packages/torch/distributed/launch.py", line 231, in main
    cmd=process.args)
subprocess.CalledProcessError: Command '['~/.conda/envs/zsi/bin/python', '-u', './tools/train.py', '--local_rank=0', 'configs/zsi/65_15/train/zero-shot-mask-rcnn-BARPN-bbox_mask_sync_bg_65_15_decoder_notanh.py', '--launcher', 'pytorch']' died with <Signals.SIGSEGV: 11>.
~/.conda/envs/zsi/lib/python3.7/multiprocessing/semaphore_tracker.py:144: UserWarning: semaphore_tracker: There appear to be 14 leaked semaphores to clean up at shutdown
  len(cache))

Then I try to run python tools/train.py configs/zsi/65_15/train/zero-shot-mask-rcnn-BARPN-bbox_mask_sync_bg_65_15_decoder_notanh.py.
unexpected key in source state_dict: fc.weight, fc.bias

loading annotations into memory...
Done (t=4.57s)
creating index...
index created!
2021-09-03 15:33:55,199 - INFO - workflow: [('train', 1)], max: 12 epochs
Segmentation fault (core dumped)

Any idea why? Thanks!!

Ok it turns out you need a GCC>4.8


add neo-tree

I was surprised that this 'init.nvim' is not shipped with neo-tree in it :eyes:

I don't think we need it -- personally I don't think file trees are a required experience. You can add one yourself very easily once I'm done with #178

This is how easy it would be: https://github.com/nvim-lua/kickstart.nvim/pull/178/commits/ba5786cde43eaff6151295c8d6db2721c0e99f3d


#14: Add associateLead method and appendParam util method

Handle the REST API method to associate a Lead to an anonymous Lead with leadId and cookie value (#14)

Hello,
Any update on this pull request ?


remove pointless useCallback

WHY are these changes introduced?
useCallback is there so that you have a non-changing value that can be passed down without needless updates caused by that.
useEffect just runs the given function. The only reason useCallback was used here is so that the dependency list of useEffect does not change. By just passing the function directly, putting it into the deps list is not even required.
WHAT is this pull request doing?
Simplifying the code while maintaining functionality.

CLA

The template on main is no longer used for scaffolding an app by the CLI and will be soon changed to the content of branch cli_three, which contains the latest template.


feature: Add power menu for all apps

We should provide power menu for all apps to let user can use it to reboot system. The standby option maybe not needed, because some devices have sleep problem.

SystemUI has a plugin called GlobalActions for shutdown ui. We can a common shutdown ui dialog, and show/hide it from all apps and system global actions.


How it knows route which is written in component which hasn't been rendered yet?

Here: https://reacttraining.com/react-router/web/example/basic
If we look at the initial example
const BasicExample = () => (
  <Router>

<Link to="/">Home</Link>

<Link to="/about">About</Link>

<Link to="/topics">Topics</Link>

      <Route exact path="/" component={Home}/>
      <Route path="/about" component={About}/>
      <Route path="/topics" component={Topics}/>

  </Router>
)

This says nothing about path like /topics/components (this route is being created
inside the Topics component). However, if I directly type that route (/topics/components) in URL i.e., if that is first thing I do, it still correctly renders the component that is registered here(inside Topics component):    <Route path={${match.url}/:topicId} component={Topic}/>
How does router do this? (e.g. Topics hasn't been rendered yet so probably this   <Route path={${match.url}/:topicId} component={Topic}/> was also not called yet? but it still managed to show the right thing.)

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

@timdorr ok, will try to inquire elsewhere. I've asked similar questions on other projects e.g. react when smth wasn't clear from the docs, so I thought maybe it is ok to ask here too.


I can't find the code for scaling up resource for sql database https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/sql-database/scripts/sql-database-monitor-and-scale-database-powershell.md

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/sql-database/scripts/sql-database-monitor-and-scale-database-powershell.md

@khalednsair the .md file translates to the this page on Azure documentation.
Script for scaling is shown on the page
# Scale the database performance to Standard S1
$database = Set-AzSqlDatabase -ResourceGroupName $resourceGroupName `
    -ServerName $servername `
    -DatabaseName $databasename `
    -Edition "Standard" `
    -RequestedServiceObjectiveName "S1"

Please let us know if you have further questions.

@khalednsair We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Java SDK Setup not up-to-date

Hello, I am referring to this wiki-page: https://wiki.eclipse.org/BaSyx_/Download/_Java_Setup
In the beginning it was necessary to clone three Github repositories (basyx-java-sdk, basyx-components, basyx-examples) to get the same selection as on the screenshot "Import Maven Projects". This doesn't get very clear from the instructions. :)
Second I had some issues during installing the basyx-java-sdk:
On the following page about the components setup (https://wiki.eclipse.org/BaSyx_/Download/_Components_Setup) it says Save the following commands to an arbitrary text file. Next, import the database through psql -U postgres -f "your-file".
Is meant by "your-file" the setup_postgres.sql in the bin folder of Postgres?
Third installing the Maven project basyx-components works properly (step 4 under Project Installation), but installing basyx-examples leads to the following error:

Do you have an idea how to fix this?

This ticket is missing any description - did you delete it by accident?

Hi @FrankSchnicke you are right, I deleted it by accident and updated the description now. Cheers

In the beginning it was necessary to clone three Github repositories (basyx-java-sdk, basyx-components, basyx-examples) to get the same selection as on the screenshot "Import Maven Projects". This doesn't get very clear from the instructions. :)

Thanks for pointing this out, I adapted the description.

On the following page about the components setup (https://wiki.eclipse.org/BaSyx_/Download/_Components_Setup) it says Save the following commands to an arbitrary text file. Next, import the database through psql -U postgres -f "your-file".
Is meant by "your-file" the setup_postgres.sql in the bin folder of Postgres?

"your-file" means the arbitrary text file in one step beforehand. I adapted the description to make this more clear.
By the way, there's no need to build components if you just want to utilize the released components. They are available on DockerHub.

Third installing the Maven project basyx-components works properly (step 4 under Project Installation), but installing basyx-examples leads to the following error:

I guess examples installation is failing because you're missing a dependency, most likely related to authorization. The installation of the examples project is not necessary, it can be used without installation. Thus, this should be no issue.
Does this answer your questions? If yes, feel free to close this ticket.

Hi @FrankSchnicke, thanks for your answer! I am a little confused what to do. In the basyx wiki it often says that the Java SDK and the components must be installed. But when I follow the link then there is the setup page, where it says at once that building is only necessary in case of ... so what is the difference between building and installing? It doesn't get that clear which steps must be executed in any case.

I somehow missed your response - apologies for the delay.
Building/Installing is only necessary if you would like to modify code in the SDK/Components. If you would like to work with the SDK/Components, you can utilize the artifacts on Maven Central or on DockerHub.
Thus, depending on your use case, building/installing is not needed.

Okay thanks, I will try it!


add test code

Test code is insufficient, increase the test of failure

Ok thank you, I've checked the test case, but there may be one tiny bug
assertEquals(stellarSystem.getObjNum(), 3); may not pass in line 51, because if you deleted the earth3, the number of object should be 1

ok i have finish it

I see, thank you again for your contribution for this project


Added program.c and readme.md file. Merge the pull request.

Issue no #347 . You didn't merge this before.

#347 #539 resolved

move this folder inside Miscellaneous Algorithms folder

Okay

Added the Added Rock-Paper-Scissors Game folder into the Miscellaneous Algorithms folder.


Conditionally disable C extensions when building for PyPy

Also, cleaning up the formatting of the setup.py file.
Progress on #49

That's a good point, but if they run the setup script with PyPy, the extensions won't build as-is (https://travis-ci.org/nicksay/spitfire/jobs/113529696).  I haven't check to be sure, but I think we can use virtualenv to handle this case


"dokku events -t" stops updating after a while

I'm not sure what the deal is here but I'm watching the event logs over ssh and they stop working after a while. When I restart things work again. I've only paid attention to this over the course of days so I can't really define a "while". I can say it's not SSH because I'm also tailing nginx logs and such and they do not stop updating. It's just events.
Ubuntu 14.04.3 LTS, dokku v0.4.2.

Can you check on the server side and see if the log is still being written to?

Sure, I'll investigate more when I reproduce it again.


Disabling the "Homebrew" category also causes homebrew apps to disappear from Collections.

If you set the "Homebrew" category to "off" in the options menu, all homebrew that are also in collections disappear. I imagine this would not be the desired behavior.

I can see where you're coming from on this one.
I've tried some quick fixes but they had some nasty complications.
I'll need to sit on this issue for a while to see if I can figure something out which doesn't involve a major change.

@dariofflima
I think the issue has been fixed, you can try it out on the nightly build:
https://github.com/jimbob4000/RetroFlow-Launcher/releases/tag/Nightly
If a homebrew app is in a collection it now shows in collections, favorites, recent and the all category, regardless of whether the show homebrew setting is off.
P.S. if you had a chance to send over the Portuguese Brazilian language file, I'll add that to the app too, thanks.


Compiler error on ZRouter under xCode 10.1 swift 4

"_ZIKRouteActionPerformRoute", referenced from:
closure #1 (A) -> () in ZRouter.ViewRouterType.perform(path: ZRouter.ViewRoutePath, completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> ZRouter.ViewRouter<A, B>? in ViewRouter.o
closure #1 (A) -> () in ZRouter.ViewRouter.performRoute(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> () in ViewRouter.o
closure #1 (A) -> () in ZRouter.ServiceRouterType.perform(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> ZRouter.ServiceRouter<A, B>? in ServiceRouter.o
closure #1 (A) -> () in ZRouter.ServiceRouter.performRoute(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> () in ServiceRouter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Do you import the framework with cocoapods ?
I didn't meet your problem, or you can provide a demo.
ZRouter depends on ZIKRouter. You should import both of two frameworks.

Yes, with cocoapods.
It was resolved by upgraded the cocoapod version first then run pod install again afterwards.


Questions

I have various questions about the coding and logic:

How do I specify multiple departures for different SID's.
You see, in the update I have in mind for GCRR, my plans are to send the regional traffic i.e. ATR's east because in real life they join the canary islands and in the case of Lanzarote they depart eastwards, the problem is that as I have the code right now regional traffic departs northwards... I thought on modifying the departures section and making it similar to the arrivals:

  "departures": [
	{
    "airlines": [
	  ["ryr", 7],
	  ["cnf", 4],
	  ["vlg", 3],
	  ["gmi", 3],
	  ["exs", 3],
	  ["tcx", 3],
	  ["tom", 3],
	  ["cfg", 3],
	  ["tui", 3],
	  ["mon", 3],
	  ["ezy", 3],
	  ["sxd", 3],
	  ["tra", 2],
	  ["aea", 2],
	  ["ber", 2],
	  ["ein", 2],
	  ["ibs", 2],
	  ["nax", 2],
	  ["ent", 2],
	  ["sas", 2],
	  ["tvs", 1],
	  ["baw", 1],
	  ["lightga", 1]
    ],
    "destinations": [
      "SAMAR", "VASTO", "SOTAD", "LORPO", "LARYS"
    ],
    "type": "random",
    "frequency": 26
	},
	{
    "airlines": [
	  ["ibb", 6],
    ],
    "destinations": [
      "KORAL"
    ],
    "type": "random",
    "frequency": 26
	}
  ],

But it didn't work, so if someone could help me with that please.

Why don´t stars appear drawn on the map?
In GCRR 4 STAR´s are defined with their respective "draw" function, one example could be:

"RASE2P": {
      "icao": "RASE2P",
      "name": "Rasep Two Papa",
      "body": ["RASEP", ["GDV71", "S220"], ["MAPED", "A100|S200"], ["LTE15", "A70|S200"], ["254LT", "A60|S180"], ["242LT", "A45|S180"], ["230LT", "A35|S180"], ["233LT", "A31|S180"], ["221LT", "A23|S180"], "GOLFY", "LTE01"],
      "draw": [["RASEP", "GDV71", "MAPED", "LTE15", "254LT", "242LT", "230LT", "233LT", "221LT", "GOLFY", "LTE01"]]
    }

I was wondering if its an error I've made or if they shouldn't be drawn...

Taxi times
I have realised many of the airports available here have an extremely short taxi time, I was asking myself if it would be worth for my update and future projects to have a rather more realistic taxi time.

Arrivald for different runways
Is it planed in a near future to have arrivals by different runways?

Thanks very much and please tell me if I didn't made myself explanatory.

I'll answer a few, or in fact 2 of them:

You can't at the moment, but @n8rzz has written this lovely article
about what is going to happen in v3.3.0:
https://github.com/n8rzz/atc/blob/feature/ATC-243/src/assets/scripts/client/trafficGenerator/spawnPatternReadme.md

STARs don't appear because I believe it hasn't been programmed into the
game yet.

Thanks @indianbhaji ! :D

Correct and Correct!  Adding STARs visually is on my wish list, though I have not created an issue for it.  Someday that will be a thing, but not in the immediate future.

Cool, @n8rzz , it would be very useful visually, maybe even adding the lines of the STAR's with another colour, red?, anyways, thanks for considering it :-)

BTW, maybe until it gets implemented we shoud consider removing it from the wiki...

@willfrd Its in the wiki?  Where?

@n8rzz On the Airport format description page of the wiki:

I would not get rid of it yet because it is something that will probably be dealt with in the future - it is nice to future-proof!
On 18 Jan 2017, 07:46 +0000, willfrd<EMAIL_ADDRESS>wrote:

@n8rzz (https://github.com/n8rzz) On the Airport format description page of the wiki:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/zlsa/atc/issues/781#issuecomment-273405919), or mute the thread (https://github.com/notifications/unsubscribe-auth/ASgmWErwsSTFLbdZpmeYucyd-AEfcj3Fks5rTcM9gaJpZM4LmEoH).

I agree that they should stay in place in the airport files even though they aren't added into the game yet. With the ever growing list of airports, it can be very time consuming to go through each one and make changes needed for a particular upgrade like this. But if the draw sections are already in there, it's a pretty quick process. :smiley:
Also, about your other questions :
3. Yes and no. It's unrealistic that we are working a radar position and ground control at the same time. And since we don't display (or have) taxiways and such, the taxi delay would be just about as weird as there being no taxi delay. The real solution here is to add taxiways and a proper ground control mode. That's coming, but it's pretty far off.

I'm not sure I understand this question... You can take them to any runway you choose, even if it's one with a tailwind. Could you clarify what you meant here?

Ok so I will keep addind the draw attribute for the stars.

Therefore for the taxi times I suppose I will keep adding times which are not zero and too much, and then will update whed the big update happens. :)

Forget about this one its OK.

Thanks guys! hope I have my project up as fast as possible (presumably after the 3.3.0 update)
BTW, would it be worth to add a request about the visually drawing the STAR´s?

@willfrd I believe that the issue should be in openscope/openscope instead of here, so I've opened it as openscope/openscope#111.

Ok, Thanks again for all your answers, closing.


Chat macros for Spells

All spells
Spells that are prepared.
Spells that are prepared and have enough slots to be cast.

The sheet can handle 1 & 2. It can't handle #3 because there is no communication between between sheetworkers and the script.
Format:
Cantrips: Acid Splash, Fire Bolt,
1st level (2/4): Shield, Mage Armor
2nd level (1/3): Scorching Ray, Alter Self

Closed via 3.5.0: https://app.roll20.net/forum/permalink/3437751/


Single char converted to ASCII code instead of string

Hello,
I'm getting two types of data in a api callback function:
typedef char type1;
typedef char type2[16];

and here is my function:
void spi::OnCallback(Message *message) {
  json data = json({});

  data["type1"] = message->type1;  // message.type1 === 'A'
  data["type2"] = message->type2; // message.type2 === 'a string'

  DEBUG(data.dump());
// data.type1 === 60
// data.type2 === 'a string'
};

Type2 is recognized as a string by the json lib, but it seems type1 being a single char is converted to the equivalent ASCII number. I'm a correct? So right now I handle this by explicitly converting the single char to a string like this:
data["type1"] = std::string(1, message->type1);

But this is not really convenient. Any idea on how to better handle this single char case, so that it's implicitly converted to a string by the library?
Many thanks for your help!

I understand the issue, but I fear that implicitly converting a single character to a string could be surprising, because std::string has no such implicit conversion. I tried to make basic_json behave like a std::string when storing JSON strings.
For your convenience, you may implement a function like
json from_char(char c)
{
    return std::string(1, c);
}

char is weird and the STL treats the three types [char/signed char/unsigned char] inconsistently, in my opinion. For example, "std::cout << ((uint8_t)65)" will print "A", but "std::cout << ((uint16_t)65)" prints a number.
In my ideal world, 'char' would represent a character (not a number!) and 'signed char'/'unsigned char' (aka int8_t, uint8_t) would represent numeric values. There are three distinct types, but the STL gives them no semantic difference.
For purity, adding "basic_json(char) = delete" removes confusion because every implicit conversion doesn't make sense (either as a character or a number); note that uint8_t and int8_t still convert as a number.
But, in practice, I do not think it's worth the breaking change.

I see, so I will continue with manual conversion to a string.
Many thanks both of you for your answers, very helpful :)

I also agree that deleting the basic_json(char) constructor is not worth it.
Thanks for the discussion! I shall add a not to the documentation.


Added blog Top 10 AI-ML tools/libraries + fixed one small typo in Javascript Blog.

Added blog Top 10 AI-ML tools/libraries.
Entirely written by me.
Closes: #53
#gssoc 23
Description of Changes-
Added blog Top 10 AI-ML tools/libraries. Entirely written by me.
#And fixed a typo in the JavaScript blog(spelling mistake).
Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

@somyakabra Please provide screenshot


"Native support" of content compression (gzip and/or br)

🚀 Feature request
It'll be nice if we can serve compressed content directly from angular build.
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
SPA apps like Angular are often served from static website/file servers without a real web server. It'll be great if we can directly serve the compressed files without needing a web server. (Furthermore, some cloud app platforms do not seem to provide an easy way compress files on the fly. For example, aws application load balancer (level 7) does not seem to have such a functionality. At least, I couldn't figure out how to do it.)
I've been using Angular on and off for some time now. One of the recurring problems for me has been the large bundle size of angular apps. In certain situations, 700~900kb framework size (uncompressed, including angular material) is just too big, and it makes angular unusable. I've been often struggling (without much success) to fit my whole application logic into a few hundred kilobytes. (I'm only talking about the main bundle size here, excluding lazy loaded modules.)
Describe the solution you'd like
 If you have a solution in mind, please describe it.
I haven't seen any client side framework doing this and I haven't really tried it, but I don't see why it cannot be easily done (at least, in theory).
First, during the build process, create compressed doppelgangers for all content files (primarily, js files). For example, for main-abc.js, we create main-abc.js.gz (or something like that).
When an angular app requests js files from a browser, add a content encoding header (gzip or br).  Then, the compressed doppelganger is served instead of the original js file. Not sure exactly how, at this point, though.
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?
Another solution might be instead of using js, simply use js.gzip or other compressed/binary files in the framework. The app simply downloads compressed js files and uncompress them before using them. This will require some kind of bootstrap.js to be loaded first so that it can download and uncompress, say, main.js.gz, etc. Again, I'm not entirely sure what the implications of doing this is. But, I cannot think of a reason why it cannot be done at this point.

Hi @realharry,
Thanks for this feature request. However, after discussing this with our DevRel team. We feel that this is outside of the scope of the Angular CLI.
Thanks for your understanding.

Oh well. I thought it was a brilliant idea. :) Thanks for following up, alan.


Loosen the validate_subject_confirmation check?

Currently your validate_subject_confirmation check in response.rb requires:

At least one Subject > SubjectConfirmation element to have a Method of 'urn:oasis:names:tc:SAML:2.0:cm:bearer'
At least one SubjectConfirmationData element to exist
At least one of these three attributes (InResponseTo, NotOnOrAfter, NotBefore) to be present.
All of these three attributes (InResponseTo, NotOnOrAfter, NotBefore) to be valid if present.

I was wondering what people thought of loosening this test a little bit.
The first option is to actually lower the bar the for this test.  It seems like the meat of the test involves checking the InResponseTo, NotOnOrAfter, NotBefore attributes (#3 and #4 in my list above) and that #1 and #2 exist to prevent us from checking those attributes on elements where they don't exist.   I would propose only failing the test if one of these three InResponseTo, NotOnOrAfter, NotBefore fails their check.... or we expected them to be there based on the structure, but they weren't actually included.  But if we don't expect those attributes to be there (such as a different SubjectConfirmation Method or no SubjectConfirmationData element), then the test is simply skipped instead of failed.
I prefer this option.  Aside from some important checks like the x509 certificate, I like the idea of a saml parser validating that what has been provided is valid instead of dictating every element and attribute that must be provided (because brittle structures make it harder to on board new saml partners).
The second option for loosening the test would be to add a flag to skip this test.  Much like the skip_conditions option skips the validate_conditions test, a skip_subject_confirmation option would skip this test.
You can see an example of my first option in this commit:
https://github.com/sthanson/ruby-saml/commit/5bd9230b356a1941e337efb16aa28805c39af998
If you like this approach I'm happy to add tests and turn it into a PR.

In the php-saml and the python-saml we have a "strict" parameter that relaxes the SAML validation (useful for testing environments).
I'm ok with the idea of adding a "skip_subject_confirmation" that will skip the whole process of search a valid subjectconfirmation element.

I created a new pull request with the skip_subject_confirmation flag.
https://github.com/onelogin/ruby-saml/pull/260

Can you add documentation at the SAMLResponse constructor?
https://github.com/sthanson/ruby-saml/blob/skip_validate_subject_confirmation/lib/onelogin/ruby-saml/response.rb#L36
It mentions :skip_conditions and should mention :skip_subject_confirmation
Also maybe is a good moment to add those parameters to the documentation, editing README.md and adding at L143 at the "The Initialization Phase" section, explaining that some validations could be skipped during the SAMLResponse validation, and provide an example.

Hi @pitbulk
I added documentation to the two files you suggested.
I added the new README.md documentation at L169 instead of L143 because it seemed like that "def saml_settings" code block related to the previous paragraphs and it seemed out of place after my new paragraph.  Hope that is ok. If not, I'm happy to move it to L143 like you originally suggested.
I also noticed I had put the wrong units in a previous comment I committed to the app.  "allowed_clock_drift" is in seconds, not minutes.  So I updated the comments to reflect that.  I can re-make my pull request without this change if you prefer.
Thanks!

I made the text change and I'm rebuilding the PR to get rid of the merge commit.

Rebuilt PR to get rid of my merge commit:
https://github.com/onelogin/ruby-saml/pull/261


Updated Integrated Terminal in VS Code Cheatsheet

Added Some Shortcuts in Integrated Terminal
What does this PR do?

I Added Some Integrated Terminal command in VS Code Cheatsheet.

Description

Here I added Commands for copy , Paste and Scroll Terminal

Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Hey @crescentpartha  I have Done Changes as you said please review it.

Hey @crescentpartha I done Changes as you mention in it Please Review it.


sv + small analysis implemented

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/variantbenchmarking branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Looking good


Feature: Add encrypted fields

Just wondering if there's a way to add encrypted fields here:

I really love this project.

Without details what and how they should work there are no plans for this for now.
See also https://github.com/pocketbase/pocketbase/issues/2798.


Implement I2C Peripheral (slave) support

Currently RP2040 only support controller (master) mode.
Enabling this would allow to have two rp2040 talking to each other.

This is done in https://github.com/rp-rs/rp-hal/pull/162


Parent Info

Expanded the amount of parent info provided and added a function to get the average RSSI for the parent link.

Codecov Report

Merging #1370 into master will increase coverage by 0.43%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1370      +/-   ##
==========================================
+ Coverage   69.09%   69.52%   +0.43%
==========================================
  Files         171      172       +1
  Lines       26883    26912      +29
  Branches     3386     3359      -27
==========================================
+ Hits        18574    18711     +137
+ Misses       6888     6780     -108
  Partials     1421     1421

Impacted Files
Coverage Δ

src/core/openthread.cpp
44.84% <ø> (-0.99%)
:x:

examples/platforms/posix/random.c
85% <ø> (-15%)
:x:

third_party/mbedtls/repo/library/ecp_curves.c
90.16% <ø> (-3.06%)
:x:

...d_party/mbedtls/repo/library/memory_buffer_alloc.c
60.25% <ø> (-0.39%)
:x:

src/core/thread/mesh_forwarder.cpp
75.76% <ø> (-0.24%)
:x:

src/core/thread/mle_router.cpp
79.96% <ø> (-0.22%)
:x:

src/core/thread/mle.cpp
80.47% <ø> (-0.08%)
:x:

src/ncp/ncp_base.cpp
38.2% <ø> (-0.07%)
:x:

third_party/mbedtls/repo/library/ssl_tls.c
54.34% <ø> (-0.04%)
:x:

examples/apps/ncp/main.c
100% <ø> (ø)

... and 12 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 8d01979...18d55c0. Read the comment docs.


Empty comments should not crash Perspective annotator

Can you provide some details on how you got in this situation? It seems wrong that a SUT should return zero text for a prompt.

It looks like HELM handles this by dropping the empty completions before sending to PerspectiveAPI.
I think we should make sure the completions list in the Annotation stays aligned with completions in the SUTResponse. I think the best option would be to populate scores with zeros for the requested attributes.

Fixed in #184.


for a given date, retrieving 00z analysis from MARS using the ECMWF WebAPI ('--date & --time option')

From the README seems that it is possible to use a specific date (option '--date YYYYMMDD') and analysis time (option '--time HHMM') to retrieve data from MARS (ECMWF WebAPI).
For instance, for a given date YYYYMMDD, I use the following line to generate forecasts starting form the analysis time HHMM:
   ai-models --date YYYYMMDD --time HHMM --lead-time NN fourcastnet

When 'HHMM=1200' the MARS retrieval (surface and pressure variables) is consistent with the DATE/TIME that I request, but if I change to 'HHMM=0000', the dataset retrieved from MARS is always for the 12z analysis.
Below I copied the printed lines I got when I request the 00z analysis ('HHMM=0000'). TIME is equal to 1200 and not to 0000 as it should be.
RETRIEVE,
CLASS      = OD,
TYPE       = AN,
STREAM     = OPER,
EXPVER     = 0001,
REPRES     = GG,
LEVTYPE    = SFC,
PARAM      = 165/166/167/134/151/137/246.228/247.228,
TIME       = 1200,
STEP       = 00,
DOMAIN     = G,
RESOL      = AUTO,
AREA       = 90.0/0.0/-90.0/359.75,
GRID       = 0.25/0.25,
PADDING    = 0,
DATE       = 20230914

Thanks for reporting that problem. It should be fixed in CliMetLab 0.17.8. Please run pip3 install --upgrade climetlab.


Vim regex capture groups require $ instead of \

Steps:

be in vim mode
use regex for replace, e.g., :%s/(a)(lot)/\1 \2/g

Expected: "alot" is replaced with "a lot" consistent with Vim's behaviour
Actual: replaced with literal "\1 \2"; requires use of .../$1 $2/g to get equivalent behaviour
It looks like the replacment of capture groups is done here: https://github.com/codemirror/CodeMirror/blob/master/keymap/vim.js#L4899
Matching either '$' or '' could be a good option to preserve existing behaviour for anyone used to it.
Thanks!

The vim code is now being maintained at https://github.com/replit/codemirror-vim/ . If this is still important, check whether there is an issue open for it there.


API should provide message signing and signature verification

In order to allow secondary use cases on top of cardano-sl, I'd need message signing/verification functionality for my addresses, similar to web3.eth.sign in ethereum

Same issue in Daedalus repository...


[Bug]: Headless mode hangs indefinetly on Browser#newPage()

Bug description
Steps to reproduce the problem:

Create a browser variable - const browser = await puppeteer.launch({ headless: true });
Create a new page with that browser variable - const page = await browser.newPage();

Puppeteer version
13.0.1
Node.js version
16.13.0
npm version
8.1.0
What operating system are you seeing the problem on?
Windows
Relevant log output
No response

I am unable to reproduce. await browser.newPage() resolves successfully. Do you call browser.close() from your script to shutdown the headless browser? If you don't close the browser the node script will continue waiting for the browser to close even if the entire script has been executed.

I am unable to reproduce. await browser.newPage() resolves successfully. Do you call browser.close() from your script to shutdown the headless browser? If you don't close the browser the node script will continue waiting for the browser to close even if the entire script has been executed.

I made sure to close the browser at the end of the script, perhaps I will just have to deal with non-headless mode.

I've encountered this issue when running Puppeteer with Lambda, inside a container.
The first invocation of the Lambda fails; it hangs indefinitely when either browser.newPage() or browser.pages() is called. However, every subsequent invocation runs without issue if the Lambda is still "hot".
Maybe it's related?


Adding feature: IRIS Detection

issue:
https://github.com/CoinShift-Imaging/CoinShift-Imaging-Box/issues/60

@sayan9112, please update the ReadMe file.

@Rishikeshrajrxl update in what point. Please mention it.


cleaning up label keys 🧹

Changes
We have defined GroupName as a constant which is set to tekon.dev in register.go. We have other label keys defined in the same go file which are used by the controller to set the appropriate labels. These keys are TaskLabelKey, PipelineLabelKey, etc. These keys are set to "/task", "/pipeline", etc. Now while adding such labels in the Tekton
resources, we join GroupName to the constant label key. Instead, this commit changes the way we have defined a label key to include GroupName as part of the label key and use just the label key instead of concatenating GroupName everywhere. This cleans up the code and makes it simple to add tekton internal labels and at the same time retrieve them.
Most of the changes here are done using these two commands:
find . -type f -name "*.go" -print0 | xargs -0 sed -i '' -e 's/pipeline.GroupName+//g'
find . -type f -name "*.go" -print0 | xargs -0 sed -i '' -e 's/pipeline.GroupName +//g'

And I ran a sample pipeline to make sure the labels still have tekton.dev 🤣
kubectl get tr  pipelinerun-print-hello-print-hello-ppbfh -o json | jq .metadata.labels
{
  "app.kubernetes.io/managed-by": "tekton-pipelines",
  "tekton.dev/memberOf": "tasks",
  "tekton.dev/pipeline": "pipeline-print-hello",
  "tekton.dev/pipelineRun": "pipelinerun-print-hello",
  "tekton.dev/pipelineTask": "print-hello",
  "tekton.dev/task": "print-hello"
}

This cleanup was motivated while resuming work on https://github.com/tektoncd/pipeline/pull/2891 😜
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

I think it might be worth including a release note for this. If anyone's maintaining their own code that imports and uses these constants from the pipelines codebase then they'll need to be aware of the change.
/approve
Looks like the integration failure was just a flake.
/test pull-tekton-pipeline-integration-tests


Fix analytics bug

Fix for:

Analytics fix: In the artwork tombstone, the action_name for clicking on an artist name should be "artistName", not "artworkClassification"

#trivial

#mergeongreen


fix(docs): update kubernetes-workload.md

Signed-off-by: Sebastien DOIDO<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

Fixes #

nice catch! Could you update other version files? Are they affected too?

sure! here we are


[wip] Create finalizer for account roles

https://jira.coreos.com/browse/SREP-2125

/retest

Closing in favor of #263


Custom keyboard shortcuts

Having keyboard shortcuts is nice, but the default ones are unintuitive for some of us, as people do come in from different feed readers with different shortcuts. As such a customizable option would be very welcoming.
If not, the next best thing would be menu entries for the movements, like next or previous, so we can customize them up in system accessibility preferences instead.

On macOS, you can already do it in System Preferences > Keyboard > Shortcuts > Application Shortcuts and add NNW with the name of the menu function you want to change.

Thanks!


[PDI-19222] Errors are not refreshed in the Table Input step.

:white_check_mark: Build finished in 19m 42s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1201, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 19m 10s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1201, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Updated CustomBuild task

Added base class reference to the description.
(You can replace all of this text with your description.)
Before creating your pull request, please check your content against these quality criteria:

Did you consider search engine optimization (SEO) when you chose the title in the metadata section and the H1 heading (i.e. the displayed title that starts with a single #)?
For new articles, did you add it to the table of contents?
Did you update the "ms.date" metadata for new or significantly updated articles?
Are technical terms and concepts introduced and explained, and are acronyms spelled out on first mention?
Should this page be linked to from other pages or Microsoft web sites?

For more information about creating content for docs.microsoft.com, see the contributor guide at https://docs.microsoft.com/contribute/.

@Arzana : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.

@mikeblome Can you review this one?

@mikeblome : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.


Requiring Documentation on Injects with numerical offsets

Similar to SpongePowered/SpongeForge#231 I believe that we should start requiring documentation on all @Injects which have opcode shifts (those with BY shifts https://github.com/SpongePowered/Mixin/blob/initphase/src/main/java/org/spongepowered/asm/mixin/injection/At.java#L53).
The reasoning for this is similar to that of documenting @Overwrites as it is not always clear where the actual intended destination for the injection is, especially if the targeted method has be changed. Requiring a comment would preserve the intention of the injection allowing later developers to ensure that it is still correct even if the targeted method has changed.
The format of this comment would be similar to that of an overwrite. The important part of the comment is explaining what the actual intended target of the injection is. For example:
/**
 * @author Deamon
 *
 * @reason Does something, the injection is offset by minus two to be just
 * before the action of blah...
 */
@Inject(method = "foo", at = @At(value = "INVOKE", target = "Lnet/minecraft/FooType;bar()V", shift = At.Shift.BY, by = -2))
public void doSomething() {
// etc

As always discussion is welcome, especially on what information should be required or optional in this comment.

I'm closing this as I feel this should be re-opened as a possible toggle-able option in Mixin with a warning that gets triggered.
@Mumfrey may disagree though..

My official position is that basically any Shift-By with a by value greater than 1 should be replaced with slices. Slices are more expressive and have better fail-fast behaviour. Since this feature has been in the wild for some time, I feel like it's justified to set WARN threshold on by values and guide people towards writing with slices as a better solution.


Rename button label of the Save and Download action save dialog

The label was Send and Save, it is confusing because actually the request was already sent.
Before

After

Related to #2721

Nice catch, the request is sent prior to the dialog showing, this is a great change :+1:


Performance improvements

The following types could be made as structs if they don't act as references:

ImGuiKeyData
ImGuiInputTextCallbackData
ImGuiTableColumnSortSpecs
ImGuiTableSortSpecs
ImGuiListClipper
ImDrawCmdHeader
ImDrawChannel
ImDrawListSplitter
ImFontAtlasCustomRect
ImGuiViewport
ImGuiPlatformImeData

These as well though they could be replaced by something in .NET if proved useful:

ImPlotPoint
ImPlotRange
ImPlotRect

Hi @aybe thanks for this library. I'm not sure if this is still being worked on, but it would also be nice if we could pass ReadOnlySpan<char> instead of string parameters to avoid the continuous heap allocation of strings during a render loop. Since the library is targeting .NET 6 it is possible to use ReadOnlySpan. 🙂
For example, we would need to generate public static bool Begin(ReadOnlySpan<char> name) instead of public static bool Begin(string name).
I recently contributed the same change to https://github.com/ImGuiNET/ImGui.NET and would be interested in doing it for this library as well, but I would need some guidance on how to solve this problem as I'm not really familiar with CppSharp.


Bug: Sorting ratings by most liked does not work

@msalze can you have a look at this?

I think line 136 does nothing as the Field "thumbsUp" is a Set and this alone cannot be used for sorting.
Also, I think the logic should be:
Sort sort = Sort.by("creation").descending();
if (sortByMostLiked.isPresent() && sortByMostLiked.get()) {
            sort = Sort.by("thumbsUp").descending();
}
to accommodate the scenario where the optional boolean is not given at all


Require binaries for ARM64 architecture

Hi Team,
I am working on building a nvidia/dcgm-exporter image for arm64 but found that it is installing datacenter-gpu-manager binaries which is not available for ARM64 in official releases.
I have followed the step provided in this link and tried to install binary for arm64, but it is not getting installed for arm64. However, I am able to install successfully in amd64 by following the same.
Do you have any plans to release datacenter-gpu-manager binaries for linux-arm64?
It will be very helpful if arm64 binaries are released. If required, I am happy to contribute

Hi,
We publish the arm64 version to the official Cuda repository:
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/
The only arm64 architecture we support is SBSA. We do not support Tegra, for example.
WBR,
Nik


Add pyproject.toml for Custom Node Registry

We are working with dr.lt.data and comfyanon to build a global registry for custom nodes (similar to PyPI). Eventually, the registry will be used as a backend for the UI-manager. All nodes go through a verification process before being published to users.
The main benefits are that authors can

publish nodes by version and users can safely update nodes knowing ahead of time if their workflows will break or not
automate testing against new commits in the comfy repo and existing workflows through our CI/CD dashboard

Action Required:

[ ] Go to the registry. Login and create a publisher id. Add the publisher id into the pyproject.toml file.
[ ] Write a short description.
[ ] Merge the separate Github Actions PR and run the workflow.

If you want to publish the node manually, install the cli and run comfy node publish
Check out our docs if you want to know more about the registry. Otherwise, feel free to message me on discord at haohao_81202 or join our server if you have any questions!

hey @yolanother, wanted to send a small nudge and ask if you had any questions!

@yolanother, wondering if there's any way we can support you on this PR!


Laravel 6.18.42 Support

Any way to install in this version?

Not as yet. Backwards compat is on the roadmap, but at the moment you'll need v7 or v8.


KAFKA-6455: Update integration tests to verify result timestamps

This PR contains the changes from #6725 and must be rebased after #6725 is merged.
For review, only consider the second commit of this PR.

Call for review @guozhangwang @bbejeck @vvcephei @ableegoldman @cadonna @abbccdda

Rebased this. Also address the open comment from #6725 in this PR.

Java11 failed (created tickets for flaky tests). Java8 passed.

Java 8 passed, Java 11 failed.  The test results are already cleaned up.
retest this please

Updates this. Will merge after Jenkins if green.

Java8 failed (test results are not available any longer). Java11 passed.
Retest this please.

Merged to trunk and cherry-picked to 2.3 branch.


Update locustio/locust Docker image to Python 3.9.6

Python 3.10 will be released in 2 months, ideally package should not be more than 1 release cycle behind.
Describe the solution you'd like
Update Python version to 3.9.6
Additional context
I am using Locust + Python 3.9.x for already 6 months and 3.9.6 for a month - no new bugs found.

I dont think we should upgrade just yet. 3.8 is still the most common version in the wild, and 3.9 hasnt really taken off yet (only ~6% of locust pypi downloads are 3.9, both 3.7 and 3.8 are much more common). Maybe in 6 months or so.

One note, that may be relevant. running Snyk against the latest locustio/locust docker instance, shows 361 vulnerabilities.
Repro steps
docker pull locustio/locust:latest
docker scan --accept-license locustio/locust
Notes from scan and recommended steps (not including the long list of security vulnerabilities):
Package manager:   deb
Project name:      docker-image|locustio/locust
Docker image:      locustio/locust
Platform:          linux/amd64
Base image:        python:3.8.11-buster
Tested 431 dependencies for known vulnerabilities, found 361 vulnerabilities.
Your base image is out of date

Pull the latest version of your base image by running 'docker pull python:3.8.11-buster'
Rebuild your local image

For more free scans that keep your images secure, sign up to Snyk at https://dockr.ly/3ePqVcp

I think these are separate issues, but I'm starting to think 3.9 is a good idea now (it has been a while longer, and I realized that it doesnt really matter, because probably nobody needs it to be running specifically 3.8).
3.8 is always latest 3.8.x, so it should be the same though? And how did you end up with python:3.8.11-buster?

Anyway, PR for 3.9 is welcome.


Only callback once in WARCStreamTransform._flush

Calling done() in both _consumeChunk and _flush will cause an ERR_MULTIPLE_CALLBACK error.

I just ran into this error - is there a workaround while waiting for the merge?

@N0taN3rd are there any maintainers on this repo?


Install missing test deps & align testing protocols across formats

Install a few things that were needed

cuda-nvrtc for Conda tests
Use cuda-nvcc in all cases
Wheel dependencies at start (numba was missed; pytest was done later)
Also run with python -m <...> to ensure the same python is used for installs & tests
Run nvidia-smi in all tests (missing in some places)
Run python -m numba --sysinfo in all tests (gets info about Numba's config and what Numba is missing)
Install psutil for more Numba config info
Generally align testing across package formats

Fixes https://github.com/rapidsai/pynvjitlink/pull/55

Thanks Bradley! 🙏


Object detection result value

Hi,I did object detection as described. I got a result like this.  Which value is more important to us.What value we need to focus on.

If you're deploying the model elsewhere, you may want to develop your own pipeline for evaluating models. In the graph above, I'd worry about precision and recall.

Thank you for your reply. Why does such a result come out, but I have done everything as described.

What do you mean by "such a result"? Your precision and recall match our example almost perfectly:
https://github.com/NVIDIA/DIGITS/blob/digits-5.0/examples/object-detection/training-loss.jpg

I understand. I think there's a problem when the values are a bit low. Thank you...

Hi,I did object detection as mentioned and using my own net as pertained net ,i got this as the accuracy graph.May i know whether it is good.


Exp scale closure

Test for exponential distribution closure by scale. Fails with following logs:
### Failure in: 6:RoundTrip:6:0:t_exponential_scale_closure:0
haskell/Tests/TestTools.hs:130
expected:
exponential = fn alpha prob:
              X <~ uniform(nat2real(0), nat2real(1))
              return -prob2real(nat2prob(1))
                      * prob2real(alpha)
                      * log(real2prob(X))
exponentialScaled = fn alpha prob:
                    fn k prob:
                    X <~ exponential(alpha * k)
                    return X
exponentialScaled(1/2, 2/1)
but got:
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-1/1)
Cases: 330  Tried: 281  Errors: 2  Failures: 15

### Failure in: 6:RoundTrip:6:0:t_exponential_scale_closure:1
haskell/Tests/TestTools.hs:130
expected:
exponential = fn alpha prob:
              X <~ uniform(nat2real(0), nat2real(1))
              return -prob2real(nat2prob(1))
                      * prob2real(alpha)
                      * log(real2prob(X))
exponentialScaled = fn alpha prob:
                    fn k prob:
                    X <~ exponential(alpha * k)
                    return X
exponentialScaled(1/2, 2/1)
but got:
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-1/1)
Cases: 330  Tried: 282  Errors: 2  Failures: 16

This is a "good" failure, in the sense that what you got was correct and much simpler than what you expected.  You should not have 'expected' that answer in the specific test you tried, as it specializes so much.  Fix this, then I can merge.

Are you going to be working on this soon?

Sorry for the delay, I'm looking at it now.
I'm really unsure how to go about fixing this as I'm unsure what is incorrect about my expected file that causes it to specialize so much. The two files are virtually the same other than where the scaling factor is placed. I tried switching the names, but the problem persists.
Should I try it with different parameters?

The last line of your expected file is exponentialScaled(1/2, 2/1).  That's just a call, so it fully inlines.
And of course
exponentialScaled = fn alpha prob:
                fn k prob:
                X <~ exponential(alpha * k)
                return X

is just
exponentialScaled = fn alpha prob: fn k prob: exponential(alpha * k)
and since alpha and k are known here too, that just inlines into exponential.  You can do that by hand.  You'll get something that ought to be close to what Simplify gets.

OK, so I've inlined everything in the expected file. It still fails:
### Failure in: 6:RoundTrip:8:0:t_exponential_scale_closure:0
haskell/Tests/TestTools.hs:130
expected:
X <~ uniform(+0/1, +1/1)
return (-1/2) * log(2/1 * real2prob(X))
but got:
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-1/2) + log(2/1) * (-1/2)
Cases: 338  Tried: 289  Errors: 2  Failures: 22

### Failure in: 6:RoundTrip:8:0:t_exponential_scale_closure:1
haskell/Tests/TestTools.hs:130
expected:
X <~ uniform(+0/1, +1/1)
return (-1/2) * log(2/1 * real2prob(X))
but got:
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-1/1)
Cases: 338  Tried: 290  Errors: 2  Failures: 23

OK, I've redone this with the new implementation of exponential, and I've managed to resolve the issue. The failure now looks like this:
### Failure in: 6:RoundTrip:0:0:t_exponential_scale_closure:1
haskell/Tests/TestTools.hs:130
expected:
gamma(1/1, 3/2)
but got:
X3 <~ gamma(1/1, 1/2)
return X3 * (3/1)
Cases: 133  Tried: 85  Errors: 0  Failures: 1

This is a bit odd, but it's something I should look into. I think what you've coded is correct, and this may be a weakness in Hakaru, I'm not sure.  But I should be able to merge this in now.


Increase the size of the JWT Encoder/Decoder payload textarea

What improvement do you think would an existing feature or tool in DevToys?
Increase the size of the JWT Encoder/Decoder payload panel. For me it only shows 5 lines and I can't increase the textarea size myself.
Solution/Idea
Maybe autosize to content? Or just make it show at least 20 lines
Comments
No response

Trying to contribute here. So if this untriaged, I need to wait out for this enhancement to be triaged and approved OR can I just fix this and create a PR for project leads to look at??

I'd like to get this fixed too, I'd be happy to contribute, same question as above

I'd like to get this fixed too, I'd be happy to contribute, same question as above

@btiteux is working on this :)


Enforce TLS property

This option is intended for PROD environment where every access is mandatory to be encrypted

(1) This functionality seems to override useTLS flag which is set up on per server connection. Which is odd (I don't have TLS for a server; but it is used)
(2) Also it is implemented for all connections. So if my list has PROD and not PROD connections, I get TLS set for all connections
(3) The config is not exposed to the Settings dialog.
There is a similar request. I want to have red background for all PROD connections. I can go through all my servers and put red color for all PROD connections which is not convenient.
May be we need to have a screen with overrides ?
based on Connection name and/or folder location, we want to have overrides for one of the parameters useTLS, authMethod, bgColor, user, password.
It is a little bit more complicated then you implemented. But it looks like more user friendly.
P.S.  I saw you modified Netbeans ServerForm.form. Do you use Netbeans? I thought to remove all *.form and set up all UI forms manually.

I guess in order to generalize common settings for connections tags would be appropriate. That can be done along with moving server list to some separate json file (#109). So each connection will have only mandatory host and port. username, password, tls tick (we also have alternative auth method dropdown) and other things can be inherited from tag settings
Concerning form file - no, I don't use it. I've edited it just in case.
@dernasherbrezon your thoughts :)

We're running kdb studio in the special "prod" mode where certain features like TLS enabled by default, cannot be turned off  and intentionally not available for end-users. Otherwise they will untick TLS because it is failing and/or inconvenient.

It looks you are after functionality to have a separate (centrally distributed) properties which couldn't be overridden form UI. From the implementation perspective, it could be a separate *.properties file which is assumed to be write-lock on the client machine.
However if you need enforce TLS, why can't you enforce this on the server side?


some config issues on Debian 8

Oops, I didn't read the README.md closely enough, sorry, and I'm closing the issue!  However, I still think an INSTALL file with the configuration info from the README.md would be useful.
I wasn't informed about the following config issues until running acme-client with real inputs:

non-existent directory "/var/empty"

the DEFAULT_CA wasn't correct, and I'm still investigating how to change it

I think an INSTALL file with such details would be helpful.
Thanks for an excellent and much needed project!
BTW, libseccomp failed the live tests on my host.

I just found that the README.md is NOT in the source directory of the stable version, so I believe my original issue is still valid.


How can we get complete transcription without getting segments?

There is a parameter 'chunk_length_s' in huggingface open ai whisper model. But this var is not included in the faster_whisper transcribe class. What is the replacement for this var?
Also could you please let me know how can i get complete transcription instead of getting segments because i witnessed that some the words are being missed due to segments. Thanks in advance!

There is no equivalent to chunk_length_s in faster-whisper. The original implementation from OpenAI does not use this parameter.
You can only get the full transcription via the segments, for example:
transcription = "".join(segment.text for segment in segments)

So if a word is missing in a segment, it will also be missing in the complete transcription.

I see. Thanks for quick response, Can you please let me know the best hyper parameters as per you think to get the best results, not missing any word.

I would say that the best parameters are the default ones, because they accurately match the default behavior of the OpenAI implementation.

what do we have in replace of these parameters of OPENAI Whisper
suppress_silence, ts_num, lower_quantile, lower_threshold
ref : https://github.com/openai/whisper/discussions/435

those parameters aren't in openai whisper
they're from this fork https://github.com/jianfch/stable-ts
pls read that discussion more carefully


image spec says layers should have at least one entry

https://github.com/opencontainers/distribution-spec/blob/57b69b6474e2299926802bb10014074d8592b6b8/conformance/02_push_test.go#L351
https://github.com/opencontainers/image-spec/blob/main/manifest.md#L61
"Each item in the array MUST be a descriptor. For portability, layers SHOULD have at least one entry."
This needs reconciling.

cc: @jdolitsky @sudo-bmitch