Copied FORM to clipboard, pasting and editing changes the Copied and Original.

There's an issue where copying an existing Form block to clipboard, then pasting it onto another page, changing the fields slightly and saving. It doesn't create a new instance when changed, it changes the Original form and the new form like they are linked together still.
Steps to replicate:
Page 1

Create a submission Form using FORM BLOCK on a page.
Create as New Form
Enter any details, I created two fields e.g "Test field 1" as a text, "Test field 2" as a text.
Save the Form, and Publish the page.
Then Re-edit the Page, and copy the new FORM to clipboard.

Page 2

Go to a new or different page. And copy the same FORM onto the page.
Then EDIT the FORM.
I changed "Test field 1" in the first field to "Test field CHANGED".
Save the Form, and Publish the page.

The issue:
Since I've changed the field on the copied form to "Test field CHANGED" on Page 2.
If I go back to Page 1, the original Form has already had their Field changed.
The first field in the original form should have remained as "Test field 1".
This issue is currently on 8.3.1 and 8.3.1 and 8.4 RC4 versions.

Thank you for reporting!
FYI, we got an email from a Japanese user that they are also annoyed by this.

Hoping this will be resolved soon, suppose we can use the Legacy Forms instead but reduces the options available to use.

Is there any progress on this bug??

So I'm posting here as this caused me a lot of issues trying to resolve it and I'm hoping it'll help others to avoid the same fate. So here goes...
The duplicate method...
`
// Application\Block\ExpressForm\Controller (extended from Concrete\Block\ExpressForm\Controller)
public function duplicate($newBID)
{
// Only if it's an actual duplication...
if (!$this->getBlockObject() || !$this->getBlockObject()->isAlias()) {
$currentForm = $this->getFormEntity();
$data = (array)$this->record;
        $requestControls = $currentForm->getControls();
        $entityManager = CommonClass::entityManager();

        $name = $data['formName'] ? $data['formName'] : t('Form');

        // Create a results node
        $node = ExpressEntryCategory::getNodeByName(self::FORM_RESULTS_CATEGORY_NAME);
        $node = \Concrete\Core\Tree\Node\Type\ExpressEntryResults::add($name, $node);

        $entity = new Entity();
        $entity->setName($name);
        $entity->setIncludeInPublicList(false);
        $generator = new EntityHandleGenerator($entityManager);
        $entity->setHandle($generator->generate($entity));
        $entity->setEntityResultsNodeId($node->getTreeNodeID());

        $entityManager->persist($entity);
        $entityManager->flush();

        $form = new Form();
        $form->setName(t('Form'));
        $form->setEntity($entity);
        $entity->setForms(new ArrayCollection([$form]));
        $entity->setDefaultViewForm($form);
        $entity->setDefaultEditForm($form);
        $entityManager->persist($form);
        $entityManager->flush();

        // Create a Field Set and a Form
        $fieldSet = new FieldSet();
        $fieldSet->setForm($form);
        $entityManager->persist($fieldSet);
        $form->setFieldSets(new ArrayCollection([$fieldSet]));
        $entityManager->flush();

        /** @var ExpressCategory $attributeKeyCategory */
        $attributeKeyCategory = $entity->getAttributeKeyCategory();

        $indexKeys = $existingIds = $controls = [];
        $position = 0;

        $session = \Core::make('session');
        $sessionControls = $session->get('block.express_form.new', []);
        $this->clearSessionControls();

        /** @var AttributeKeyControl $requestControl */
        // Overwrite edited controls
        $requestControls = array_map(function (AttributeKeyControl $requestControl) use (&$sessionControls) {
            if (isset($sessionControls[$requestControl->getId()])) {
                $val = $sessionControls[$requestControl->getId()];
                unset($sessionControls[$requestControl->getId()]);
                return $val;
            }
            return $requestControl;
        }, $requestControls);

        // Add new controls in
        $requestControls = array_merge($requestControls, $sessionControls);

        foreach ($requestControls as $requestControl) {

            $control = new AttributeKeyControl();
            $control->setId((new UuidGenerator())->generate($entityManager, $control));
            $key = new ExpressKey();

            $question = $requestControl->getControlLabel();
            $isRequired = $requestControl->isRequired();
            $type = $requestControl->getAttributeKey()->getAttributeType();
            $repo = $entityManager->getRepository(\Concrete\Core\Entity\Attribute\Type::class);
            $type = $repo->find($type->getAttributeTypeID());

            $entityManager->merge($type);

            $key->setAttributeKeyName($question);
            $key->setAttributeType($type);
            $key->setEntity($entity);
            $key->setAttributeKeyHandle((new AttributeKeyHandleGenerator($attributeKeyCategory))->generate($key));

            $controller = $type->getController();

            $requestControlSettings = $requestControl->getAttributeKey()->getAttributeKeySettings();

            $reflectionClass = new \ReflectionClass($requestControlSettings);

            $requestControlData = [];

            foreach ($reflectionClass->getProperties() as $property) {
                $property->setAccessible(true);
                $requestControlData[$property->getName()] = $property->getValue($requestControlSettings);
            }

            // These need to change depending on what the attribute controller's saveKey method is expecting. The majority of expect post values that are exactly the same as their respective property on the setting key class, however below are some examples of ones that need special post values. Custom attributes may require similar attention, depending on the values they're expecting.
            switch (get_class($controller)) {
                case \Concrete\Attribute\Select\Controller::class:
                    /** @var SelectValueOptionList $list */
                    $list = $requestControlData['list'];
                    if (is_object($list)) {
                        $options = $list->getOptions()->toArray();
                        /** @var SelectValueOption $item */
                        foreach ($options as $item) {
                            if ($item->isOptionDeleted())
                                continue;
                            $id = (new Identifier)->getString();
                            $value = $item->getSelectAttributeOptionValue();
                            $_POST['akSelectValue_' . $id] = $value;
                            $_POST['akSelectValueOriginal_' . $id] = $value;
                            $_POST['akSelectValueNewOption_' . $id] = $id;
                        }
                    }
                    break;
                case \Concrete\Attribute\Boolean\Controller::class:
                    $requestControlData['akCheckboxLabel'] = $requestControlData['checkboxLabel'];
                    break;
            }

            $key = $this->saveAttributeKeySettings($controller, $key, $requestControlData);

            $control->setAttributeKey($key);
            $settings = $key->getAttributeKeySettings();

            $control->setFieldSet($fieldSet);
            $control->setPosition($position);
            $control->setIsRequired($isRequired);

            $entityManager->persist($settings);
            $entityManager->persist($control);
            $entityManager->persist($key);
            $entityManager->flush();

            $position++;
            $existingIds[] = $control->getId();
            $controls[] = $control;
            $indexKeys[] = $key;
        }

        $fieldSet->setControls($controls);
        $entityManager->persist($fieldSet);
        $entityManager->flush();

        parent::duplicate($newBID);
        $db = CommonClass::connection();
        $db->executeUpdate('update ' . $this->btTable . ' set exFormID = ? where bID = ?', [$form->getId(), $newBID]);
        $session->set('express_form.duplicated_form', $form->getId());
    } else {
        parent::duplicate($newBID);
    }
}`

...and the save method. Which is almost exactly the same as the parent's, however instead of parent::save() you'll want to parent::performSave() and add the following to your sub class, instead of what's on the parent class at line 554 (on C5.8.3)...
if ($session->get('express_form.duplicated_form', '') !== $form->getId()) {             // Now, we look through all existing controls to see whether they should be removed.             foreach ($existingControls as $control) {                 // Does this control exist in the request? If not, it gets axed                 if (!is_array($requestControls) || !in_array($control->getId(), $requestControls)) {                     $entityManager->remove($control);                 }             }         } else {             $session->remove('express_form.duplicated_form');         }
I hope this helps!

this pull request should solve the problem #7364

The issue is still not resolved, this shouldn't be auto-closed as it's still an outstanding issue.

Still got this issue in v8.5.5
Express forms cant be unlinked from the original (either a copy from other page or page default/pagetype)
By changing any value or field you should get a new unique block/form like the legacy form does.

This has been fixed in develop and will be released in 9.1.0.


Fix Ordering generic instance

Fixed some typos that were causing some round trip failures with the Ordering instances.

:scream:


[New PURL] Crystal Structure Ontology

Basic details
What is your resource prefix?
CSO
Where is the resource located on the Web (i.e. the URL)?
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/dislocation-ontology/master/crystal-structure-ontology.owl
Do you want to enable content negotiation?
Yes
Advanced details
To enable Content Negotiation, please fill in the following table if you have more than one version  (or more generally, representations of a resource) of your resource. A resource type can be

Resource type:

 RDF/XML
 TTL
 OWL
 N-triples
 N3
 HTML

Resource type
URL

1.      RDF/XML
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/dislocation-ontology/master/crystal-structure-ontology.owl

2.

...

Your PID (https://purls.helmholtz-metadaten.de/cso) is ready.


condition and hitCondition means different between Win8.1 and Win7 & OS X

interface
DebugSession.setBreakPointsRequest(response, args)

Win8
condition: expression
hitCondition: hit count

Win7 & OS X
condition: hit count
hitCondition: expression

Please provide more context: where do you see a difference between WIn8 and Win7/OS X?


CFE-977,CFE-992: Integrate all the building blocks together - Disk to Mirror

Description
Integrates previous PRs #738  into the DiskToMirror workflow by

calling unarchiver to extract the archive
starting up the local storage based on the extracted content

Fixes # CFE-992
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
With the 3 imageSetConfigs below, several tests were done:

Test #
Command
Expected outcome
Pass/Fail

1
./bin/oc-mirror --v2 --config isc1.yml file:///home/skhoury/cfe992main
/home/skhoury/cfe992main/mirror_000001.tar is created
:white_check_mark:Pass

2
mkdir ~/cfe922encmv ~/cfe992main/mirror_000001.tar ~/cfe922enc/./bin/oc-mirror --v2 --config isc1.yml --from file:///home/skhoury/cfe992enc -p 6000 docker://localhost:5000
curl -v http://localhost:5000/v2/ubi8/ubi/manifests/latest gives HTTP200
:white_check_mark:Pass

3
./bin/oc-mirror prepare --v2 --config isc1.yml --from file:///home/skhoury/cfe992main -p 6000
command completes successfully - no images reported missing
:white_check_mark:Pass

4
./bin/oc-mirror prepare --v2 --config isc2.yml --from file:///home/skhoury/cfe992main -p 6000
command completes with error - ubi9 reported missing
:white_check_mark:Pass

5
./bin/oc-mirror --v2 --config isc2.yml file:///home/skhoury/cfe992main
/home/skhoury/cfe992main/mirror_000001.tar is created
:white_check_mark:Pass

6
./bin/oc-mirror prepare --v2 --config isc2.yml --from file:///home/skhoury/cfe992main -p 6000
command completes successfully - no images reported missing
:white_check_mark:Pass

7
mv ~/cfe992main/mirror_000001.tar ~/cfe922enc/./bin/oc-mirror  --v2 --config isc2.yml --from file:///home/skhoury/cfe992enc -p 6000 docker://localhost:5000
curl -v http://localhost:5000/v2/ubi9/ubi/manifests/latest gives HTTP200
:white_check_mark:Pass

8
./bin/oc-mirror --v2 --config isc3.yml file:///home/skhoury/cfe992main
/home/skhoury/cfe992main/mirror_000001.tar is created
:white_check_mark:Pass

9
./bin/oc-mirror  --v2 --config isc3.yml --from file:///home/skhoury/cfe992main -p 6000 docker://localhost:5000
curl -v http://localhost:5000/v2/openshift/graph-image/manifests/latest gives HTTP200
:white_check_mark:Pass

10
mv ~/cfe992main/mirror_000001.tar ~/cfe922enc/./bin/oc-mirror  --v2 --config isc3.yml --from file:///home/skhoury/cfe992enc -p 6000 docker://localhost:5000
command finishes successfully
:white_check_mark:Pass

isc1.yaml

kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  additionalImages:
  - name: registry.redhat.io/ubi8/ubi:latest

isc2.yaml
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  additionalImages:
  - name: registry.redhat.io/ubi8/ubi:latest
  - name: registry.redhat.io/ubi9/ubi:latest

isc3.yaml
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  platform:
    channels:
    - name: stable-4.14
    graph: true
  operators:
  - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
    packages:
    - name: aws-load-balancer-operator
  additionalImages:
  - name: registry.redhat.io/ubi8/ubi:latest

Expected Outcome
See above

/test unit

/test unit

@sherine-k - great work !!!
Verified as per your outline, only update I needed was to add  -H "Accept: application/vnd.docker.distribution.manifest.v2+json"  to the curl commands

/lgtm


Wrong currency displayed when importing donations

Describe the bug
When importing donations using the Zuwendungsimport wizard, the euro sign is displayed. (seen PWS Life instance)
To Reproduce
Steps to reproduce the behavior:

Go to 'Zuwendungen' (see error in the data table overview)
Click on 'Zuwendungsimport'
Select file to import, click 'weiter'
See error

Expected behavior
Swiss Francs CHF should be the default currency throughout the whole instance.
Screenshots
In data table list overview:

In Zuwendungsimport-Wizard

Desktop (please complete the following information):

OS:  macOS
Browser: Brave
Version 1.28.105

tested on UM DEV. please push to PWS LIVE as well.

Updated on production.


[Feature Request] Ability to show the log for a given number of days or weeks instead of the current day or week.

When viewing the log, I don't have much use for viewing calendar periods like the current day, week or month, as we typically work in 2 week periods and this usually spans multiple calendar periods.
For example, if I want to see my time over the past 2 weeks on today, 10th May 2023, I have to use watson log --year as --month doesn't show the full period, but that then shows me months of logged work.
It would be great if watson log --day and watson log --week could take a number to show the range, otherwise I have to work out what the date is for the --from argument.
So for example
watson log --day 14 would show the last 14 days worth of logs.
watson log --week 2 would show the same

I think this is a good feature, but I think it could be supported with a more general syntax.
This PR started to implement a new set of syntax: https://github.com/jazzband/Watson/pull/484
I would extend this PR to also support this:
watson log -f -14d
watson log -f -2w

Maybe the - would even be ignored for the -f (in the past) parameter, this would be ever simpler:
watson log -f 14d
watson log -f 2w

And it would support more complex duration like this:
1w2d (9 days)
1d6h (1 day 6 hours)

I implemented a config option for this in https://github.com/jazzband/Watson/pull/436 a while back. I don't use watson currently, but I ran that for a few years and it worked well


Form deletion

There is currently no obvious way to delete a user-created form.

Duplicate of #721. Work is finally commencing on this!


Could you turn-on the Hyprspace Repo's WIKI ?   It would help both Uusers & the Developers with Q&A about Hyprspace.

Could you turn-on the Hyprspace Repo's WIKI ?   It would help Q&A about Hyprspace.

Done.


TypeError: expected str, bytes or os.PathLike object, not NoneType

2020-05-08 01:46:14 DEBUG    Authenticating...
Traceback (most recent call last):
File "/usr/local/bin/icloudpd", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/icloudpd/base.py", line 292, in main
directory = os.path.normpath(directory)
File "/usr/lib/python3.6/posixpath.py", line 340, in normpath
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType

@ndbroadbent same here. @jiang123574 how did you fix it?

This was a pretty simple error but I might as well explain what happened for the next person. I got the error because I didn't pass the --directory argument.

Yes I know that. This is why I did not want to bother fixing this or
rebuilding it. I rather work on a solution from scratch that just works!
Dima
On Wed, Jul 22, 2020 at 8:07 PM Zoravur Singh<EMAIL_ADDRESS>wrote:

This was a pretty simple error but I might as well explain what happened
for the next person. I got the error because I didn't pass the --directory
argument.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ndbroadbent/icloud_photos_downloader/issues/148#issuecomment-662797347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALE26ZT4ANH2EYTXEUOF2C3R46SPPANCNFSM4M3ZXMLQ
.

--directory is mandatory if not --list-albums. The error-handling aka click dependency should be improved.

Closing at it was addresses in 1.6.2 release. Feel free to reopen if problem persists.


Failed to load plugin better-export-pdf

obsidian 1.5.3

Which one does the installation package download?

Appreciation! I reinstalled the plugin and this time it worked!


⚠ Thumbnails API Endpoint has degraded performance

In 24f455e, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Thumbnails API Endpoint performance has improved in b2f78e5 after 15 days, 23 hours, 21 minutes.


No default session is registered. Use with sess.as_default(): or pass an explicit session to run(session=sess)

hello,while I was running your code, there was a problem:
Traceback (most recent call last):
File "eval.py", line 147, in
main()
File "eval.py", line 82, in main
tf.global_variables_initializer().run()
File "E:\anaconda3\envs\R\lib\site-packages\tensorflow\python\framework\ops.py", line 2450, in run
_run_using_default_session(self, feed_dict, self.graph, session)
File "E:\anaconda3\envs\R\lib\site-packages\tensorflow\python\framework\ops.py", line 5202, in _run_using_default_session
raise ValueError("Cannot execute operation using run(): No default "
ValueError: Cannot execute operation using run(): No default session is registered. Use with sess.as_default(): or pass an explicit session to run(session=sess)
Could you give me some advice about this error please,looking forward to your reply.

Thank you for your patient reply before.Your advice is helpful to me.I succeeded in getting the test results, but I wanted to get the deformation field and the warped image.Is that right to replace keys = ['pt_mask', 'landmark_dists', 'jaccs', 'dices', 'jacobian_det', ] in eval.py with keys = ['real_flow', 'image_fixed', 'warped_moving']? Are there any specific changes that need to be made elsewhere?


Git support

@devlead have you published your Cake.Git addin?  If so, should this issue be closed?

Not published yet, will in January.

@devlead and is there enough in Cake.Git to close out this issue?

I'm also in need of a generic Git tool.
@devlead, noticed your addin didn't have git-branch command, any plans on adding this?

The Cake.Git addin is now alive and kicking: https://www.nuget.org/packages/Cake.Git/ so I think this issue can be closed.


Custom inventory file

Issue Type

Feature request

Molecule and Ansible details
ansible --version
ansible <IP_ADDRESS>

molecule --version
molecule, version 2.15.0

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
Hello,
I try to use molecule with an existing inventory file.
In this post you explain how to set this option in molecule.yml.
https://github.com/metacloud/molecule/issues/598
However, this option is not actually available for the 2.15.0 version of molecule.
I found a way to use the inventory_file option in delegated mode without regression.
Is this feature could be integrated in molecule or it will be not supported ?

What was discussed in #598 really isn't something Molecule supports.  I provided a work-a-round off the top of my head.  However, it may or may not work.  What was requested in #598 isn't supported.


June 2020 publish

Docs Build status updates of commit 449e22a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit a7b4966:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 5d9b4f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit fe2126a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 7cd0bb0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 7da2f6f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2bf65fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 35315df:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 05baad8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2234e40:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit cc2f2a9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit ec385a8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 3b24940:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 8aa79cd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 3b22e82:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit d5a83b9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/adrestore.md
:white_check_mark:Succeeded
View

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/handle.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/strings.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


ImageNet Example does not eval on the entire validation set

Problem you have encountered:
Load split https://github.com/google/flax/blob/master/examples/imagenet/input_pipeline.py#L180
drops the remainder when the batch size doesn't evenly divide the validation set size.
https://github.com/google/flax/blob/master/examples/imagenet/input_pipeline.py#L222
The default batch size is 128 which doesn't evenly divide the ImageNet validation set of 50,000 images, but even if the default batch size evenly divided the number of validation images, the code would be fragile without a way to handle the final partial batch correctly.
What you expected to happen:
All validation data should be used in evals.

I now see that https://github.com/google/flax/issues/262 mentions a similar issue.

duplicate, closing in favor of #262


Fixes #226 - connects the Yor trace demo link to the documentation

This fix connects the Yor trace demo link in the README to the associated section in the Yor documentation as the current link in the README does not do anything.

thanks @jrinder42  please unify the 2 open PRs to you currently have of the README.md file. No reason to split it to 2 different ones.


Downgrade lodash, since the current version causes build errors.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12773
We get errors like this when compiling now:
node_modules/@types/lodash/modules.d.ts(8,24): error TS2339: Property 'ary' does not exist on type 'UnderscoreStatic'.
node_modules/@types/lodash/modules.d.ts(20,29): error TS2339: Property 'assignIn' does not exist on type 'UnderscoreStatic'.

and many more. Deleting the /// <reference path="modules.d.ts" /> line in @types/lodash/index.d.ts makes everything compile again.

CC @SylvainCorlay.


Enable text compression on lighthttpd

Hello FlightAware team,
Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. Would it be possible to enable compression of text resources sent by lighthttpd in an upcoming release?
Mod_deflate may be the right way to get that done.
This resource suggests brotli should be first choice over gzip. Will leave it to you to decide whether brotli or gzip is more appropriate.
Thanks for all your hard work.

Do you have proposed config changes for this?

Do you have proposed config changes for this?

Based on what I see here:
https://redmine.lighttpd.net/projects/1/wiki/Docs_ModDeflate
it looks like a safe place to test mod_deflate might be with the out of the box recommendations:
deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript", "text/xml")
deflate.allowed-encodings = ( "br", "gzip", "deflate" ) # "bzip2" and "zstd" also supported

Well, more specifically, I'm interested in things like:

are you proposing to compress the dynamically generated json on the fly? How expensive is this?
for static content, pre-compressing the data would seem to be a better approach than mod_deflate
can you scope this so that it is not global?

The devil is in the details and I'd really need to see a concrete proposal here.
I'd point out that usually skyaware is feeding the local network only, and so bandwidth isn't really an issue.

Thanks for the specific questions @mutability.

are you proposing to compress the dynamically generated json on the fly? How expensive is this?

Good clarification. No, I don't propose json should be compressed. I don't think the proposed configs shared above would affect json.

for static content, pre-compressing the data would seem to be a better approach than mod_deflate

Not sure I'm familiar with pre-compressing. Are you talking about minification? If so, I think that's already in place in piaware's heavier js and css and not what I hoped to request in this Issue.

can you scope this so that it is not global?

I am not aware of a way to do so (but that doesn't mean there is not one). Is there a specific part of the idea that makes you wonder about that?

I'd point out that usually skyaware is feeding the local network only, and so bandwidth isn't really an issue.

Understood. I believe it's likely a safe, low level-of-effort request that should make a noticeable impact so thought it was worth exploring.

@mutability wrote:

I'd point out that usually skyaware is feeding the local network only, and so bandwidth isn't really an issue.

That point is key.  @cqueern please identity the real/actual (not theoretical) issue you are trying to address.  If client access is on a local high-bandwidth and low-latency network, and if the server device is not network I/O bound, then the benefit to using lighttpd mod_deflate is likely to be marginal, at best.  The content also needs to be compressible and cacheable, and even then will not be re-accessed often by the same client if proper caching headers have been supplied with lighttpd mod_expire.
@mutability wrote:

are you proposing to compress the dynamically generated json on the fly? How expensive is this?

Not very expensive unless server device is underpowered or overloaded.

for static content, pre-compressing the data would seem to be a better approach than mod_deflate

deflate.cache-dir can be used to configure a location for lighttpd to cache compressed responses.  lighttpd will reuse the already-compressed response as long as the original file has not changed (checked with ETag comparison).  This means that for static resources which change infrequently, the response will already be compressed, and the CPU usage will be minimal.

can you scope this so that it is not global?

Yes, lighttpd can be configured to scope mod_deflate to parts of the site.  Such configurations are specific to each application.
@cqueern wrote:

Understood. I believe it's likely a safe, low level-of-effort request that should make a noticeable impact so thought it was worth exploring.

Sounds like you, @cqueern, should do the exploring rather than suggesting someone else to do that work to measure and gauge the benefits.  What evidence can you share to buttress your statement "I believe it's likely a safe, low level-of-effort request that should make a noticeable impact"?  (Focus on data supporting your conclusion "should make a noticeable impact")  Do you have a waterfall showing that the download of static assets are the bottleneck and are slowing page loads, and that enable lighttpd mod_deflate will reduce this bottleneck?

@gstrauss appreciate all the feedback. I definitely don't have much lighttpd experience and it looks like you're familiar with the nuances.

What evidence can you share to buttress your statement "I believe it's likely a safe, low level-of-effort request that should make a noticeable impact"? (Focus on data supporting your conclusion "should make a noticeable impact") Do you have a waterfall showing that the download of static assets are the bottleneck and are slowing page loads, and that enable lighttpd mod_deflate will reduce this bottleneck?

I don't have a waterfall, sorry. My experience is based on implementing text compression on apache webserver a few times and nginx once or twice. It was straightforward, low level of effort, and impactful which lead to my hope that it might be the same here too.
Defer to you and @mutability whether it makes sense here.

@cqueern It sounds like you have not made any measurements and that you do not have any piaware performance data (running behind any of Apache or nginx or lighttpd).
Yes, as I already said above, lighttpd.conf can be configured to enable mod_deflate on certain mimetypes for certain parts of a site (application-specific) in lighttpd.conf.  Please refer to the lighttpd documentation for how to do so.
Whether or not it is worthwhile to do so for piaware is unknown (at least to me) because no data has been presented for review.
@cqueern wrote:

Defer to you and @mutability whether it makes sense here.

Repeating what I said above:

Sounds like you, @cqueern, should do the exploring rather than suggesting someone else to do that work to measure and gauge the benefits.

Sounds like you, @cqueern, should do the exploring rather than suggesting someone else to do that work to measure and gauge the benefits.

I'm still working on the analysis and would ask that this Issue be kept open in the meantime. Thank you.

Hello Team, I've measured performance data that gauges the benefits of enabling text compression on lighttpd.
Enabling text compression step-by-step

Based on advice here I ran the following:

sudo apt-get install lighttpd-mod-deflate

I edited the lighttpd.conf file found in the /etc/lighttpd folder by adding "mod_deflate", in the server.modules section at the very top.

I edited the lighttpd.conf file found in the /etc/lighttpd folder by appending this to the very bottom of the file

#deflate.mimetypes = ("text/")       # prefix matches all text/* Content-Type responses
deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript", "text/xml")
deflate.allowed-encodings = ( "br", "gzip", "deflate" ) # "bzip2" and "zstd" also supported

I rebooted the raspberry pi.

Example HTTP Response Headers with and without compression

Without compression enabled
With compression enabled

Performance Testing
I used Lighthouse 9.1.0 in Chrome 98.0.4758.102 and captured the overall Performance score of the SkyAware 7.1 map found at http://local ip address/skyaware/  twenty times with and without compression enabled in lighttpd. There was no ADS-B antenna connected to the raspberry pis used for testing as I only have one and that's in use right now.
For reference, Lighthouse Performance scores range from 0-100 and can be interpreted as such:

0 to 49 (red): Poor
50 to 89 (orange): Needs Improvement
90 to 100 (green): Good

Lighthouse Performance Score Metric
Without compression enabled (N=20)
With compression enabled (N=20)

Mean
67.6
77.0

Standard Deviation
7.34
8.58

I used this site to test for statistical significance. In a two-tailed T-test, the t-value is 3.72119. The p-value is .00064. The result is significant at p < .01.
Conclusion
There appears to be worthwhile performance improvement on FlightAware when enabling compression on lighttpd. Recommend that the project maintainers consider enabling compression on lighttpd.

@cqueern thank you for sharing data to support this.
On 13 Jan, @mutability posted some questions, and I posted some responses to both of you.  I would suggest that you try scoping the config, as requested by @mutability.  I am not familiar with the piaware file layout, but I will provide this example: if static resources are located under /static/, then you might use something like the following:
$HTTP["url"] =~ "^/static/" { deflate.cache-dir = "/dev/shm/lighttpd-cache" }  With this config -- and in addition to your proposed mod_deflate config -- then as static resources are requested, the compressed response will be stored in the cache and then reused for future requests.  /dev/shm/ is an in-memory filesystem on Linux and is limited in size.  Is this appropriate for piaware?  An alternative location should be used (such as some place under /var/cache) if the compressed resources would consume too much space (and memory).  If created under /var/cache, then some root process needs to create the directory and assign permissions to the user under which the web server runs, and a periodic job should clean up files.

Hello Team.
I think one concern is that by not caching the compressed versions of the text resources on the web server, we'll be making lighttpd work harder than is necessary because it will have to compress each text resource each time before sending it to the browser.
Beyond the original request to enable text compression on lighttpd, I considered enabling lighttpd to tell the browser to cache static resources (compressed text resources and others like images) so that lighttpd doesn't have to compress each text resource each time before sending it to the browser. Compression of text resources and caching of static resources are fundamental techniques for front-end browser performance so I investigated a bit. Here's what I did to try this out...
Enabling caching of static resources step-by-step
Note: the changes described below are in addition to the changes described above to enable text compression.

Based on advice here and here I edited the lighttpd.conf file found in the /etc/lighttpd folder by adding "mod_setenv", in the server.modules section at the very top.
I edited the lighttpd.conf file found in the /etc/lighttpd folder by appending this to the very bottom of the file

$HTTP["url"] =~ "\.(jpg|gif|png|css|js|txt|ico)$" {
    setenv.add-response-header = ( "Cache-Control" => "max-age=31536000" )
}

I rebooted the raspberry pi.

Example HTTP Response Headers with and without caching of static resources

Without caching of static resources enabled
with caching of static resources enabled

Performance Testing
I used Lighthouse 9.1.0 in Chrome 98.0.4758.109 and captured the overall Performance score of the SkyAware 7.1 map found at http://local ip address/skyaware/ , twenty times comparing two different lighttpd configurations:

without compression and without caching of static resources
with compression and with caching of static resources

There was no ADS-B antenna connected to the raspberry pis used for testing as I only have one and that's in use right now.
For reference, Lighthouse Performance scores range from 0-100 and can be interpreted as such:

0 to 49 (red): Poor
50 to 89 (orange): Needs Improvement
90 to 100 (green): Good

Lighthouse Performance Score Metric
without compression and without caching of static resources enabled (N=20)
with compression and with caching of static resources enabled (N=20)

Mean
67.6
88.2

Standard Deviation
7.34
4.08

I used this site to test for statistical significance. In a two-tailed T-test, the t-value is -11.03609. The p-value is < .00001. The result is significant at p < .01.
Conclusion
There appears to be worthwhile performance improvement on FlightAware when enabling compression and caching of static resources on lighttpd. Recommend that the project maintainers consider enabling compression and caching of static resources on lighttpd.

I appreciate that you've spent a decent amount of effort on this, but I think this is a solution in search of a problem.
Even without a cache-control header I'd expect the browser to be caching most/all of the static content. Full loads of the static content will be infrequent - skyaware gets loaded up then left to run, and the content is probably already cached. Initial load times (excluding history load) are under a second already. If you're worried about bandwidth / load times / etc then the dynamic content (and the initial history load) is orders of magnitude larger. What's the absolute decrease in warm-cache load time?
As I said earlier I'd really need to see a concrete proposal. That means a PR.

I agree with mutability - these are minor improvements, and even if they were big improvements (multiple orders of magnitude) the performance of the RPI, particularly older models, means that in practice it's not network throughput that's the bottleneck. The main bottleneck is latency due to computational load on the pi itself.
But I don't know how these benchmarks account for latency and throughput. I don't know what the score in this benchmark actually means. My personal experience is that response time on maps on the piaware is already good on the local network, and that benchmark is more compelling for me than an undefined score.

Hello all. Any objections if I close this Issue as Won't Fix?

Closing as Won't Fix


Need help tracing symbolic link error in controller.py

ERROR in controller [/home/dstone/sketchy/sketchy/controllers/controller.py:210]:
[Errno 40] Too many levels of symbolic links
<IP_ADDRESS> - - [19/Mar/2015 12:23:03] "GET /eager?url=http://google.com&type=sketch HTTP/1.1" 406 -

I added a new line in the exception catching code to print the only path referenced in the code in this code block (app.config['LOCAL_STORAGE_FOLDER']) which in this case resolves to /home/dstone/sketchy/files
There are no symbolic links that are a part of or within this path.
Any help would be much appreciated.

How many files are in /home/dstone/sketchy/files?

Please let me know if your issue is resolved.

Closed due to no reply from reporter.


Validate Harvester clusters

Summary
Fixes https://github.com/harvester/harvester/issues/4350

Occurred changes and/or fixed issues

Technical notes summary

This is meant to add Machine Pools validation before editing Yaml file.
Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

@torchiaf can you update the milestone?

We'll need to find someone with a Harvester setup to help with reviews. @torchiaf is there something you use that others could hop onto? If so, then once they gain access, we can add a reviewer again.
Otherwise, looks like a rebase is required now.

We'll need to find someone with a Harvester setup to help with reviews. @torchiaf is there something you use that others could hop onto? If so, then once they gain access, we can add a reviewer again.
Otherwise, looks like a rebase is required now.

@gaktive sure, I can share with the reviewer my environment (with a Harvester downstream cluster)
@mantis-toboggan-md could you help with this?

This is preventing the user from switching to the yaml view if there are other form validation errors in the cluster, eg I can't switch to yaml without a cluster name defined. Validating the machine pools makes sense to me because they're saved before switching to yaml view, but I'm not sure about requiring the rest of the form to be valid, was that intentional @torchiaf?

This is preventing the user from switching to the yaml view if there are other form validation errors in the cluster, eg I can't switch to yaml without a cluster name defined. Validating the machine pools makes sense to me because they're saved before switching to yaml view, but I'm not sure about requiring the rest of the form to be valid, was that intentional @torchiaf?

You are right, the cluster name validation should not be included in the machine pool validation. I've fixed it, thanks!


fix: put processes in class for state

Big change :D what's the pros/cons?

Having more and more "floating" state was bothering me + passing all params for each function starts to be too verbose.
Mostly a coding style reason, I'm fine with functional with it's very simple and portable function, here they are all tied together.

Note: it's easier to review with Hide whitespace checked


Skipping the blob uploading displays inconsistent icon for checking/unchecking 'Use AzCopy for Improved Blob Upload and Download'

Storage Explorer Version: 1.5.0
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Build Number: 20181025.6
Commit: a287009c
Regression From: Not a regression
Steps to Reproduce:

Check 'Use AzCopy for Improved Blob Upload and Download'.
Upload one blob.
Repeat Step2 with same blob.
Check the log in 'Activities' window.

Expected Experience:
Skipping the blob uploading displays consistent icon when unchecking 'Use AzCopy for Improved Blob Upload and Download'.
Actual Experience:
Display inconsistent icon when checking/unchecking 'Use AzCopy for Improved Blob Upload and Download'.

More Info:
This issue also reproduces when downloading blobs.

Hi @v-dantch , good eyes noticing the difference. 😄 The decision to use a red x was intentional though. For the normal upload/download case, a skip only occurs because the user chose to skip. So there is no reason to make the user think there's something they need to do. But for AzCopy, if there's a skip, I really wanted the user's eyes to be drawn to that fact, hence using the red X. I may switch to the red ! icon later though, depending on user feedback. Thanks!


add requirements.txt

since pyvisgraph need 3rd part package like tqdm,  add requirements.txt and modify setup.py to manage requirements

Hi, could you remove tracking of .gitignore and also resubmit without the merge commit. Check out https://github.com/TaipanRex/pyvisgraph/blob/master/CONTRIBUTING.md#cleaning-up-your-work
Thanks!

ok,  i will resubmit


Rotate

Do not merge yet, I'm just looking for early feedback.
Currently I'm doing the transform in pure JS, which seems slow, so I'm going to give offscreen canvas a spin.

Hmm, stand by, there are bugs that I didn't notice in dev.

Oh great. The bugs don't appear in dev.

@developit one for you https://github.com/GoogleChromeLabs/critters/issues/17

I've hacked around the issue for now, but we shouldn't merge with the hack.

Yeah, OffscreenCanvas seems worth it. Rotating the red panda image goes from 900ms to 300ms.
…no wait, lol, the offscreen canvas causes Chrome to switch OSX to the discrete GPU. That means serious jank when the worker loads the offscreen canvas code, and another jank when the worker is terminated and it switches back to the integrated GPU. Ok, I'll create a test case and file.

https://bugs.chromium.org/p/chromium/issues/detail?id=906619

Given that OffscreenCanvas is off the table, I should write/find a C++ solution and WASM it.

Maybe it's time to bring in https://github.com/ImageMagick/ImageMagick. Once we have that it'll be easy to add loads of different transforms.

We could implement 90° image rotation in JavaScript using ImageData and create a new RGBA buffer. Probably much smaller and sufficiently fast.
ImageMagick seems quite heavy for this but I’m not sure what else you had in mind. More scaling algorithms?

We could implement 90° image rotation in JavaScript using ImageData and create a new RGBA buffer. Probably much smaller and sufficiently fast.

That's what this PR is doing currently.

ImageMagick seems quite heavy for this but I’m not sure what else you had in mind. More scaling algorithms?

Yeah, the resize algorithms I'd like to add are all in ImageMagick. But maybe I'm overcomplicating things, and we could just land my JS solution for now.

Hah, I've just brought my implementation down from 900ms to 300ms, same as the offscreen canvas. It could probably be faster with multithreading too.
I was using a generator in the previous implementation. Removed it.

Also: Should the rotate/flip transform be special and get applied to original image as well?

@surma DOMMatrix isn't in Safari, and the CSS matrix fallback isn't available in a worker.
I started looking at bringing in gl-matrix for this. WDYT?

Of course it isn’t. Eh, gl-matrix is probably more code than what you’ve written at this point, so let’s stay on your code and we can look at ImageMagick eventually.

I'll give the polyfill a go. It would make the code a whole lot more readable.

This PR breaks the pinch zoom's boundary checking, since the element is centered using transforms. I should go back to the previous method.
Also, the Chrome graphics glitch is back, probably because I introduced a wrapping element but didn't move the fix into that element.

Also: Should the rotate/flip transform be special and get applied to original image as well?

I think yes. Otherwise the split view is just plain weird and not that useful anymore.
One idea: Would it be simpler to apply the real image data rotation only when saving/exporting, and rotate the whole split view area (including both images) via a CSS transform only (just to get the preview showing in correct orientation, and then the original doesn't need to be rotated in a different way)?
Or would it make sense to have an option to preserve the Exif Orientation data in the output image (even if stripping all other Exif data) instead of doing a rotation on the image data?

I gave DOMMatrix a spin:
export function rotateFlip(data: ImageData, opts: RotateFlipOptions): ImageData {
  const flipDimensions = opts.rotate % 180 !== 0;
  const width = flipDimensions ? data.height : data.width;
  const height = flipDimensions ? data.width : data.height;
  const out = new ImageData(width, height);
  const { width: inputWidth, height: inputHeight } = data;

  const matrix = new DOMMatrix();
  matrix.translateSelf(width / 2, height / 2);
  matrix.scaleSelf(
    opts.flipHorizontal ? -1 : 1,
    opts.flipVertical ? -1 : 1,
    1,
  );
  matrix.rotateSelf(opts.rotate);
  matrix.translateSelf(-inputWidth / 2, -inputHeight / 2);

  const point = new DOMPoint();

  for (let y = 0; y < inputHeight; y += 1) {
    for (let x = 0; x < inputWidth; x += 1) {
      point.x = x;
      point.y = y;
      const destPoint = matrix.transformPoint(point);
      const fromStart = (y * inputWidth + x) * bpp;
      const destStart = (Math.round(destPoint.y) * width + Math.round(destPoint.x)) * bpp;
      for (let i = 0; i < bpp; i += 1) {
        out.data[destStart + i] = data.data[fromStart + i];
      }
    }
  }
  return out;
}

Much simpler code, but rotating the red panda image now takes 37.5 seconds, compared to 280ms. I'm guessing the creation of point objects and the necessary rounding makes the difference. Using gl-matrix will remove the object creation, but we'd still have the rounding to deal with.
Going to stick with the currently pushed solution.

I now agree that having a flip/rotate on one side only isn't particularly useful.
It feels like we need a concept like pre-preprocessors, that operate on the original image data. I guess the UI could appear as options of "original image".
Thoughts?

Agree on the data flow. As for UI: How about we acknowledge how special rotation is and put a rotate button next to the “Toggle Background” button (potentially removing the text from the background button to free up some screen estate).

(That sounded very passive aggressive. Apologies. Legit a suggestion, nothing more.)

My only worry about putting more UI there is it doesn't scale, but maybe this is the only input processor we'll ever have…?

It is for now. If we find something new we can revisit UI placement, I'd say.

Agreed. Ok, I'll give it a spin. I confidently predict I can land this feature before the heat death of the universe.

UI choice looks really good for me!

@surma @kosamari @developit how important do we think 'flip' is? It's easy to add, but I'm worried about usefulness vs the UI clutter.

Fairly low, imo. IIUC, the main demand is coming from importing pictures from your phone, where native pixel order is almost always landscape, even if the picture was taken portrait.

I've removed flip. We can always bring it back later.

I think this is ready. @surma mind taking another look?


Getting access to RenderTexture in UIEffectSnapshot.CaptureForGlobal callback

I'm trying to get blur without UIEffectSnapshot component, just using API UIEffectSnapshot.CaptureForGlobal. But there is no option to get RenderTexture in callback.
The Script usage section says that I need to use UIEffectSnapshot.globalCapturedTexture but it is unpossible bacause it non-static. So I see two possible options here:

Make method UIEffectSnapshot.globalCapturedTexture static
Make property UIEffectSnapshotRequest.renderTexture public

For now I'm using reflection as temporary solution:
UIEffectSnapshot.CaptureForGlobal(callback: request =>
{
    var prop = request.GetType().GetProperty("renderTexture", BindingFlags.Instance | BindingFlags.NonPublic);
    source.TrySetResult((RenderTexture)prop.GetValue(request));
});
_blurredTexture = await source.Task;

I added pull request with both changes


[Marker.io] "view all projects" and other tiles are not linked currently

Steps to reproduce:

go to "related projects" section
click "view all projects" button
also click on any tile within the section

Actual result: they are not linked
Expected result: the button and tiles (once data is available) should be linked

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://proav-stg.webflow.io/project/findon-technical-college
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1242 x 583Pixel<EMAIL_ADDRESS>
🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Create MapOfBitmaps Object, Aggregation Function and Serialiser

Add a MapOfBitmaps object to the Bitmap Library
This will allow you to define a map of bitmaps (backed by a hash-map) as a property, this will save having to store multiple bitmaps in different properties.

Closing issue,
Instead of implementing a specific serialiser/function for a map type,
We should instead enable generic map/set serialisation/Aggregation


heap: some cleanup and make configurable

We have been building heap related code unconditionally for everyone and heap implementation and tests were spread across the tree. Moving everything under lib/heap and splitting heap-validate into smaller manageable and configurable chunks and consolidate tests under test/lib.

lib: os: move heap to own folder
lib: heap: split heap-validate.c
lib: heap: build heap utilities only on demand
lib: heap: make heap_print_info static
tests: move mheap_api_concept into tests/lib/multi_heap
tests: multi_heap: adap test identifiers
tests: move shared_multi_heap to tests/lib
tests: shared_multi_heap: fix identifier
lib: heap: rename with files and use _
lib: heap: build heap_info conditionally
lib: heap: make multi-heap feature configurable

There are options in lib/heap/Kconfig that don't belong there:
SYS_MEM_BLOCKS
SYS_MEM_BLOCKS_LISTENER
SYS_MEM_BLOCKS_RUNTIME_STATS
OBJ_CORE_SYS_MEM_BLOCKS
OBJ_CORE_STATS_SYS_MEM_BLOCKS
Those refer to lib/os/mem_blocks.c which is independent from the heap code.
I'd suggest creating lib/mem_blocks/, moving lib/os/mem_blocks.c there and
splitting it similar to what this PR does with the heap code.

Anas: you forgot to remove SYS_MEM_BLOCKS and friends from heap/Kconfig.

preexisting checkpatch issues:
 UNNECESSARY_ELSE: else is not generally useful after a break or return
File:lib/heap/heap_stress.c
Line:48
 MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
File:lib/heap/heap_validate.c
Line:21

@andyross  @npitre  please re-review


[Primitive][fork_rng] Do not replace module

Description
This PR changes the way of implementing .fork_rng(). Now it replaces the forward function instead of an entire module. However, this approach results in incorrect trace results. Specifically, this module can still be traced, but the traced graph is based on the original forward function, which is incorrect. As a result, this PR also introduces an internal attribute .traceable to nn.Module, and we check this attribute to determine whether a Slapo customized module is traceable.
Checklist

[x] PR's title starts with a category (e.g. [Bugfix], [Model], [Tutorial], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

cc @chhzh123

Thanks @chhzh123


Prerequisites

[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

[X] Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
[X] English interface (or at least English documentation)
[X] Latest stable version
[X] Full version (i.e. not a trial version)
[X] Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name
FreeLAN
Description
A VPN client, done right
Homepage
https://www.freelan.org/
Download Link(s)
https://www.freelan.org/download.html#
Some Indication of Popularity/Repute
The official repo has 1.3k stars and  194 forks -> https://github.com/freelan-developers/freelan

Thanks!


Corrected issue in try03, and commit try04

Hey... Very nice result: 3_v2 scores 0.640, while 4 scores 0.609. So whatever you did, it worked I guess :) Cheers, M


Add new bodies

Is it possible to add bodies which are not included by default?
For instance, 'Ceres'.
I presume you are using the Swiss ephemeris, in which case, is it possible to add custom objects defined by the body code?

This repo is using another library I worked on which is a fork from an original implementation - Moshier Ephemeris JS https://github.com/0xStarcat/Moshier-Ephemeris-JS
I haven't added any new bodies yet but from what I can see you might be able to add Ceres if you can fill out it's pTable https://github.com/0xStarcat/Moshier-Ephemeris-JS/tree/master/src/ptables .
A PR in that repo would be welcome! It'll be a matter of updating that library, releasing a new version there, and then bumping the version that this repo uses.

closing because issue not related to this repo - see https://github.com/0xStarcat/Moshier-Ephemeris-JS


Use correct concurrency condition to avoid incorrect interrupts

This will help avoid incorrect interrupts to in progress workflows
For more context, see https://github.com/apache/beam/pull/27671

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @celeste-zeng


Quick Questions

I'm just getting started with Nix and home manger. I'm using it on Fedora Silverblue.
Currently I'm using home manager with home.nix and wanted to switch to flakes. Normally home manager uses the home.nix file. Do we have to do anything special to tell it to use the flake? It seems as though here the flake is loading home.nix?
I see in home.nix there are checks for linux vs mac regarding packages. However in flake.nix outputs -> homeConfiguration there is not. Are we supposed to remove one of these, are they both evaluated?
Do you have an example showing this setup doing a bit more like pulling in other flakes and packages and such we can use as a reference?
Thank you.

FYI this is not an idiomatic flake setup, but it works for keeping my shellenv and dotfiles synced across platforms/machines with platform and device-specific tweaks. The flake.nix imports home.nix, which contains pretty much all of the configuration.
I have the alias hs='home-manager switch --flake /Users/vczf/stuff/nix/home-manager which is my directory that contains both the flake.nix and home.nix.
I haven't needed or tried to pull on other flakes TBH, since my use-case is intentionally simple.


CFBundleIdentifier does not exist - Help

Hi everyone! I am new to flutter and programming. I am learning, and doing fine until now.
I upgraded Mac OS, and I started to receive the error
flutter build ios
2019-11-01 13:00:00.574 defaults[67052:605179]
The domain/default pair of (/Users/pedrodantas/Documents/Projetos/teste/ios/Runner/Info,
CFBundleIdentifier) does not exist
And after that, nothing works.. I can't run the app on android studio and can't run the app in Xcode...
Have NO idea how to solve this...
I would kindly as you guys for some help!
Thank you

Edit: Here is my flutter doctor:

MacBook-Air-de-Pedro:~ pedrodantas$ flutter doctor -v
[!] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.15 19A602, locale
pt-BR)
• Flutter version 1.7.8+hotfix.4 at /Users/pedrodantas/Documents/flutter
• Framework revision 20e59316b8 (4 months ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/pedrodantas/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.8.4
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.

Update:
I reinstalled flutter... I don't get the same error, but now I get a popup telling "advice_ID" can't be openned because its not certified... how do I fix this ? Thanks
In Safety and privacy I already had selection on the option to open ANY app..

This was fixed in https://github.com/flutter/flutter/pull/38662 in flutter v1.9.1.    You should upgrade to the newest stable version of flutter.
https://flutter.dev/docs/development/tools/sdk/releases?tab=macos
Closing as duplicate of https://github.com/flutter/flutter/issues/37701.


Thoughts on a multi master postgres setup ?

Hey guys,
In a perfect world, I would have 3 worker nodes, each running one pgsql instance. Each of them would be master (not master-slave-slave). In this setup I could:

load balance the db request to the 3 db instances.
detroy a postgres node and relaunch a new one without fuzz, whatever it was a crash or for any kind of update

Question - Do you see a way to have a have a multi master setup for postgres via Docker Swarm? This is a big deal. I'm still wondering if a volume over the network like rexray is the solution.

Saw this project via Nathan Leclair's tweet https://twitter.com/upthecyberpunks/status/773295898608693248
I use https://github.com/sameersbn/docker-postgresql
Cheers!
Pascal twitter

hey @pascalandy i think we had talked over my blog post once. Have you had a chance to test it out? Any errors you're getting?
I don't know much about multi-master Postgres. Are all 3 nodes sharing the same volume/back-end storage? Or do they each have their own and replicate between one another?

Never tested this yet. So far the most promising project is https://github.com/citusdata/citus


Warning "*.worker.ts is part of the TypeScript compilation but it's unused." displayed for any web worker you have.

🐞 Bug report
Command

[ x] build

Is this a regression?
I have updated from Angular 9 to Angular 11. In Angular 9 I had now such warnings...
So, it might be a regression, or this is just another check and rules need to be adjusted.
Description
Something weird happens using web-workers within Angular 11 application. It starts to display warnings for any worker you have:
Warning: /**/*.worker.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

But it behaves very strange. If you have only one worker - it gets built without any warnings. If then you add second worker - it will display 2 warnings. Third worker will make it to 6 warnings displayed.
Also, good to mention: if you also have 'js' worker (e.g. new Worker('./some.worker.js')) - it will print warning for any other 'ts' worker you have (any 'ts' worker that has been discovered by 'tsconfig.worker.json').
From what I found - it's somehow related to each new Worker('...') call in your code.
🔬 Minimal Reproduction
So, I made the following steps:

generate new application: ng new web-worker-app
add web-worker: ng generate web-worker first
add using of this worker in app.component, something like:

  const firstWorker = new Worker('./first.worker', { type: 'module' });
  firstWorker.postMessage('hello');

calling npm run build -> will show no warnings
add another web-worker: ng generate web-worker second
add using of this worker in app.component, so it will be:

  const firstWorker = new Worker('./first.worker', { type: 'module' });
  firstWorker.postMessage('hello');
  const secondWorker = new Worker('./second.worker', { type: 'module' });
  secondWorker.postMessage('hello');

calling npm run build -> will show 2 warnings (one for each worker)

We can go further and add 'js' worker to our app and add it to app.component

  // other TS workers instantiation here

  const jsWorker = new Worker('./my.worker.js');
  jsWorker.postMessage('hello);

calling npm run build -> will show 4 warnings

🌍 Your Environment

Angular CLI: 11.2.5
Node: 14.16.0
OS: win32 x64

Angular: 11.2.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1102.5
@angular-devkit/build-angular   0.1102.5
@angular-devkit/core            11.2.5
@angular-devkit/schematics      11.2.5
@angular/cli                    11.2.5
@schematics/angular             11.2.5
@schematics/update              0.1102.5
rxjs                            6.6.6
typescript                      4.1.5

Anything else relevant?
In my specific case, I have to use only 'js' worker. But in order to make it automatically bundled, I need to have at least one 'dummy' typescript worker file that will be discovered by tsconfig.worker.json. I haven't found any other work-around here...

Initially I started with this issue: https://github.com/angular/angular-cli/issues/19372 as it has the same warnings that I do.
But what I found is that it's not related to 'exclude' settings for tsconfig.app.json.

Duplicate of https://github.com/angular/angular-cli/issues/19938


test confusion

  it('with key modifier', function (done) {
    new Vue({
      el: el,
      template: '<a v-on:keyup.enter="test">{{a}}</a>',
      data: {a: 1},
      methods: {
        test: function () {
          this.a++
        }
      }
    })
    var a = el.firstChild
    trigger(a, 'keyup', function (e) {
      e.keyCode = 13
    })
    _.nextTick(function () {
      expect(a.textContent).toBe('2')
      done()
    })
  })

what is       e.keyCode = 13 doing? the keycode 13 represent the enter key right?
should I just ask on gitter sorry for disrupting

Thanks for supporting Vue.
Rather than gitter, you might ask Bing (or Google). http://www.w3schools.com/jsref/event_key_keycode.asp http://stackoverflow.com/questions/6086686/keycode-13-is-for-which-key
It mocks a keyup event, and the mocked event is supposed to stand for pressing enter key. So the Vue instance in test should execute test callback.

what does the with key modifier mean?  I don't get it

the test name


Handle well-known data in the login response

@manuroe commented on Tue Feb 26 2019
As described in MSC1730: Mechanism for redirecting to an alternative server during login.
JS PR: https://github.com/matrix-org/matrix-react-sdk/pull/2384.

Done


New package: Jetbrains.Writerside version 2023.2

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hello, not sure what i've done wrong with this one. Any chance somebody could point me in the right direction? Thank you!

nevermind, just spotted it


Allow to customize code splitting options

See this comment: https://github.com/zeit/next.js/issues/659#issuecomment-271824223
Different apps needs different code splitting setup. So, we need to allow to modify code splitting options. Here's a list of stuff we should expose:

Set of modules to include always in the common chunk
White listed set of options used in the commonChunksPlugin

Yep, this would be a simple yet really powerful option

Has there been any progress or new information on this?

Closing this in favor of #738


KAFKA-5807 - Check Connector.config() and Transformation.config() returns a valid ConfigDef

@ewencp, @hachikuji, @ijuma: these changes look good, are low risk, and can be merged.

@ewencp @rhauch. This is an old one. I corrected the last feedback from @ewencp.


Torch classification job fails  intermittently with ERROR: error code -11

Hi all,
My environment is:  Digits 5.1-dev , Ubuntu 16.10, GTX960.
I have been using   Caffe for quite a while without any problem (Detecnet, Image Classification).
I turned to Torch because it provides out-of-he-box data augmentations. No issues during Torch install.
Now I am experiencing intermittent problems with training jobs.
Job may run for any number of epochs and complete successfully or fail with the error code -11.  One out three jobs or so  fails at some point.  I was not able to find any other  messages which could help.
I attached screenshots and log of failing job:

torch_output.txt
Thank you much,
Alexander

That's probably a segfault. Unfortunately, it may be difficult to track down. If all your jobs were crashing after reaching the requested number of epochs, I would suspect something wrong in the Torch cleanup/teardown code somewhere. But you say it can happen at any time? Is there always a "Snapshot saved" message immediately before the crash?

Thank you for prompt reply,
Right you are! This is  a segfault.
I checked /usr/var/kern.log and found themessage exactly at time point the error occurs:
Jan 19 02:44:44 Alexander-Ubuntu kernel: [119354.935657] luajit[14873]: segfault at 20 ip 00007fbec055ada2 sp 00007fbeb829f798 error 6 in libopenblas_nehalemp-r0.2.20.dev.so[7fbec02b7000+cce000]
Looks like  lua/openblas issue.
And, yes it can happen at  any time - at random. There may be any message immediately before the crash.
It looks like I have problems with openblas on my computer.
My caffe installation was built with  BLAS := atlas  and ithis may explain  why  there were no issues with caffe.
Should I  reinstall  torch with atlas  (if it's possible) or reinstall  openblas and torch?

Hello, you might be interested in this comment and more generally the whole #1173 thread for hints on Torch/OpenBLAS installations.

Thank you so much, I will try this out.


Feature: Play Video from Local Drive

[x] playback (![](files:///example.mp4))
[x] Add video folder as a shortcut
[x] Batch edit when root path is changed

Same. I have a System/Files folder where I add all my images and local videos.
I'd like to be able to open a video from that folder to add timestamp notes.
Anyone know how to do this?

期待这个功能，有很多本地的视频需要stamp

file://[本地文件链接]可以打开

implemented in v3 "custom protocol" feature


Add license-picker to the preprints add/edit. [PREP-235]

Purpose
Add the ability to display, modify and add licenses to a preprint, taking in the provider's default and subset of available licenses
Changes
Addition of license widget on the edit/add preprint flows, and a show license field on the Preprint view page
Depends on:
https://github.com/CenterForOpenScience/ember-osf/pull/152
Tickets
https://openscience.atlassian.net/browse/PREP-235
QA Consideration
For right now, the discard changes and save indicator are behaving weirdly. Fixing it ASAP

@pattisdr I'm adding +1 reactions to anything I need to go back to, to keep track of them! Thanks for the review so far!

@brianjgeiger, @hmoco
I don't seem to be able to update the node license on the project overview page anymore (outside of this PR). I don't know if it's my environment, or if there were any recent changes to set_node_license or related.

I'm seeing that, too. Checking Sentry.

I'm having Casey look into that. Good catch.

@hmoco  - the changes improve the page a lot, thanks for the detailed comments in the code as well.  The important thing is that changing the license on the preprint and the node, or one and not the other is working great.
The licenseChanged behavior is improved, but not perfect. I am finding several instances where this is still broken, but shouldn't hold up the release.  Recommend that this go to staging, and we can work more on this for a follow-up release.


server-setup.sh fails on some machines due to missing dependencies

Some ubuntu installs are more minimal than others. The one I've encountered, lacked the following things:

git
ufw
snapd

Since the missing dependency was revealed only once the script would execute the line containing the missing program, I kept running rm -rf /home/app/ ; deluser app ; delgroup app multiple times.
This could be solved by installing these dependencies as we install default-jre.
In the long run, it might make sense to make the script more resilient (in terms of error handling), so it would continue from a particular step it failed on.

Thanks for the PR. I've developed the script against DigitalOcean's ubuntu install--it probably is more on the featureful side.

In the long run, it might make sense to make the script more resilient (in terms of error handling), so it would continue from a particular step it failed on.

Agreed; just made an issue for this: #148


Feature: Simple implementation of dark mode

refs #1
This makes minimal changes to implement a dark mode (I also found myself wanting it :sweat_smile:)

rearrange the footer to make room for light/dark icons
theme function that defaults to dark mode if user's system set to dark
color palette heavily borrowing from Tailwind's slate scheme (in the spirit of "blue")
syntax highlighting dark variant based on rouge's base16.monokai.dark

(It also required fixing a couple minor issues to get Jekyll working in development)

https://github.com/user-attachments/assets/65bd4313-a6f7-4669-9baa-d63dd37dd782

@castrojo hope I'm not overstepping, but wanted to open this up for discussion if you think it's worth pursuing / reviewing?

Oh wow! Yes this is awesome! Please proceed! I'm on the road but will check back as often as I can, thanks!

@castrojo I think this is pretty complete; PR description updated & 30s screencast attached! Tried to keep commits tight (but happy to tweak, squash, fixup, etc.)

Amazing, thank you so much, I owe you one!


MatchingWords structure uses too much memory

Certain search queries create very large DFAs (deterministic finite automata) in MatchingWords. They are the single biggest consumer of RAM within the execution a search query. This is because the DFAs:

are duplicated.
match words which exceed Meilisearch’s word length limit (200 letters iirc)

Simply deduplicating the DFAs and avoiding creating them for long words would already go a long way towards mitigating the problem. I wrote a proof of concept that deduplicates the DFAs on the branch cache_matching_words of milli. It does indeed dramatically reduce memory usage and also speed up some particular search requests significantly.

TODO

[ ] Implement changes in Milli
[ ] Release a Milli version containing these changes
[ ] Bump this new Milli version in Meilisearch and merge it into main

Close by https://github.com/meilisearch/meilisearch/pull/3269, which integrates milli v0.38.0, which integrates the changes for this issue.


Attempted Import Error

Describe the bug
Failed to compile
<EMAIL_ADDRESS>Attempted import error: 'useEffect' is not exported from 'react' (imported as 'React').
I'm building a blog with nextjs 13 and sanity.io cms. But the tanstack folder keeps throwing error in my node modules
* react-virtual
 *
 * Copyright (c) TanStack
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
import * as React from 'react';
import { observeElementRect, observeElementOffset, elementScroll, observeWindowRect, observeWindowOffset, windowScroll, Virtualizer } from '@tanstack/virtual-core';
export * from '@tanstack/virtual-core';

//

const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
function useVirtualizerBase(options) {
  const rerender = React.useReducer(() => ({}), {})[1];
  const resolvedOptions = {
    ...options,
    onChange: instance => {
      rerender();
      options.onChange == null ? void 0 : options.onChange(instance);
    }
  };
  const [instance] = React.useState(() => new Virtualizer(resolvedOptions));
  instance.setOptions(resolvedOptions);
  React.useEffect(() => {
    return instance._didMount();
  }, []);
  useIsomorphicLayoutEffect(() => {
    return instance._willUpdate();
  });
  return instance;
}
function useVirtualizer(options) {
  return useVirtualizerBase({
    observeElementRect: observeElementRect,
    observeElementOffset: observeElementOffset,
    scrollToFn: elementScroll,
    ...options
  });
}
function useWindowVirtualizer(options) {
  return useVirtualizerBase({
    getScrollElement: () => typeof window !== 'undefined' ? window : null,
    observeElementRect: observeWindowRect,
    observeElementOffset: observeWindowOffset,
    scrollToFn: windowScroll,
    ...options
  });
}

export { useVirtualizer, useWindowVirtualizer };

//# sourceMappingURL=index.mjs.map```

![error tanstack](https://user-images.githubusercontent.com/57744795/233150815-f1003973-a892-4a81-9144-e453cabc4a59.png)

That is the code block of the file where the error keeps coming from

### Your minimal, reproducible example

Your minimal, reproducible example
https://codepen.io/heldr/pen/gNwMwe
Steps to reproduce

Go to<EMAIL_ADDRESS>Run the file and see if it doesn't throw the useEffect error.

Expected behavior
It should stop displaying that error since react is installed and imported correctly into the file.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Chrome
Nextjs 13
Typescript
sanity.io

tanstack-virtual version
v3.0.0-beta.29
TypeScript version
v4.9.5
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I have a similar error:
<EMAIL_ADDRESS>Attempted import error: 'useLayoutEffect' is not exported from 'react' (imported as 'React').


Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD

This fixes #1435.
I wanted to add the lua description for the hooks. How can I add them?

The description is in MCServer/Plugins/APIDump/apidesc.lua
Also, your build failed.

To the hook files, is that really correct?
The following paths are ignored by one of your .gitignore files: MCServer/Plugins/APIDump/Hooks/OnEntityChangeWorld.lua Use -f if you really want to add them.

Oh, sorry. The hook files are in the Hooks directory.
Your git change seems correct to me.

Okay, I have boths hook files should I add then to the same commit? Or both files to a own commit?

I don't think the commits need squashing, how they are at the moment is fine.

Someone was too trigger-happy again.
The hooks are named badly. We use an -ING and -ED pair for pre- and post- hooks.


TLS support in levee not working

Maybe I'm doing something wrong, but the TLS bindings don't seem to work. I have LibreSSL installed on my machine fwiw, but am still seeing this when I run the test test_tls (I renamed the test test_tls_in_http on my local branch) in the test_http.lua module:
zsh: correct 'test' to 'tests' [nyae]? n
==> WARNING: Bootstrap mode enabled! Do not enable unless necessary
 ....
        INFO  2017-07-28T13:33:18.201912-07:00  4107 levee.app.consul     ==> Starting Consul agent...
        INFO  2017-07-28T13:33:18.250995-07:00  4107 levee.app.consul     ==> Consul agent running!
        INFO  2017-07-28T13:33:18.251064-07:00  4107 levee.app.consul                Version: 'v0.8.3'

...
        INFO  2017-07-28T13:33:18.313001-07:00  4107 levee.app.consul         2017/07/28 13:33:18 [INFO] agent: Deregistered service 'foo'
        INFO  2017-07-28T13:33:18.313032-07:00  4107 levee.app.consul         2017/07/28 13:33:18 [DEBUG] agent: Node info in sync
        INFO  2017-07-28T13:33:18.313058-07:00  4107 levee.app.consul         2017/07/28 13:33:18 [DEBUG] http: Request GET /v1/agent/service/deregister/foo (284.852µs) from=<IP_ADDRESS>:50552
./tests/p/test_http.lua
    test_tls_in_http                         ERROR TLS %s	generic TLS error (tls.SERVER)
        FATAL 2017-07-28T13:33:18.323613-07:00  4107 levee.core.hub       stack traceback:
	[C]: in function 'assert'
	/Users/cindysridharan/Imgix/levee/levee/net/stream.lua:40: in function </Users/cindysridharan/Imgix/levee/levee/net/stream.lua:19>

/Users/cindysridharan/Imgix/levee/levee/net/stream.lua:40: assertion failed!

I see a few problems with this -

First, I don't see the need for to spin up a Consul process. We're only testing if we can make a https request with levee. In all the levee apps I author, I inject Consul as a dependency which gets mocked out in tests. Happy to fix this myself, but maybe there's a reason behind why it's set up this way?
The assert in the code is super janky - I'm guessing it was added as a pert of development but never cleaned up? In general, as a client of levee (or any other library), I except an error to be bubbled up to me so I can decide how best I want to handle it. I don't want to code to barf because the library is making an assertion.
The TLS bit itself isn't working for me. I also find the API a tad unintuitive - Like, why am I expected to pass in a CA file every time I make a request? It should pick up the system default. It's possible that I'm misunderstanding how to use the API (docs are vague), but if I need to pass in that option here - that test is failing with an ECONNREFUSED error.

cc @cablehead @thelinuxkid

I have never had the consul test run. It looks to me from a brief look that it gets triggered if consul is running: https://github.com/imgix/levee/blob/master/tests/app/test_consul.lua#L5
You’re right about the asserts. There should be a better way. I will talk to Andy about that when he’s back online
I installed Libressl v2.6.0 from source on OSX and Linux

Sorry for the dilatory response. So I managed to get this working by linking sentinel against LibreSSL v2.5.3 two weeks ago, but it should be working with the latest release as well. cc @kalamay

The error I got when building the latest version was independent from our integration. It could be a good idea to wait until a compilable version comes out. Still. I will run it by @cablehead

Thinking it'd be good to get @kalamay's input. He might have a suggestion off the top his head that'll just clear things up.

Just to be clear, you're waiting for a compilable version of levee or libressl? Both levee master and libressl 2.5.5 build fine for me on Ubuntu 14.04 and Mac OS 10.12.6.

Cindy, are you still have issues building with the latest version of libressl?

@cablehead I used LibreSSL 2.6, instead of 2.5.5, which was the latest stable release. 2.5.5 works.
That said, I'm seeing another problem. In short, I'm not getting a body back from requests made via levee. Sentinel logs
INFO  2017-09-13T22:27:10.803332Z 25956 levee.net.dialer     SYNC: xxx
INFO  2017-09-13T22:27:10.920466Z 25956 sentinel             ConnectTLS: response code 200 body nil
INFO  2017-09-13T22:27:10.920593Z 25956 sentinel             xxx failed - code 200 body nil```

Turn between fixing, or beginning to switch Sentinel over to Levee 0.4's new HTTP API. Will have a solution for you before your Friday.

It looks like google respond with chunk transfer. With the current HTTP API, there's no body attribute for chunked responses.
There's a :tostring method directly on the response object with normalizes between chunked and non-chunched responses.
response.body = resp:tostring()