[2.1.2] Error importing database exported by v.1.5.0

Note: this worked untill 2.0
TLTR:
during the import this error is raised: importing database schema...ERROR (1 entries): com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.alter class E shortname E
The import SEEMS to continue but at the end of the procedure several classes and all the manual indexes are missed.
The same backup is loaded correctly in versions 1.7.9 and 2.0-M2
Long version:
Here is the console output of version 1.7.9
create database remote:localhost/test root <pass> plocal

orientdb> create database remote:localhost/test root <pass> plocal

Creating database [remote:localhost/test] using the storage type [plocal]...
Connecting to database [remote:localhost/test] with user 'admin'...OK
Database created successfully.

Current database is: remote:localhost/test
orientdb {db=test}> import database /tmp/adminImportJson.json

Importing database /tmp/adminImportJson.json...
Started import of database 'remote:localhost/test' from /tmp/adminImportJson.json...
Non merge mode (-merge=false): removing all default non security classes
- Class E was removed.
- Class V was removed.
- Class ORestricted was removed.
- Class OTriggered was removed.
- Class OSchedule was removed.
- Class ORIDs was removed.
- Class OFunction was removed.
Removed 7 classes.
Importing database info...OK
Importing clusters...
- Creating cluster 'internal'...OK, assigned id=0
- Creating cluster 'default'...OK, assigned id=3
- Creating cluster 'orole'...OK, assigned id=4
- Creating cluster 'ouser'...OK, assigned id=5
- Creating cluster 'ofunction'...OK, assigned id=6
- Creating cluster 'oschedule'...OK, assigned id=7
- Creating cluster 'orids'...OK, assigned id=8
- Creating cluster 'v'...OK, assigned id=9
- Creating cluster 'e'...OK, assigned id=10
- Creating cluster '_bb_nodevertex'...OK, assigned id=11
- Creating cluster '_bb_node'...OK, assigned id=12
- Creating cluster '_bb_user'...OK, assigned id=13
- Creating cluster '_bb_userattributes'...OK, assigned id=14
- Creating cluster '_bb_resetpwd'...OK, assigned id=15
- Creating cluster '_bb_collection'...OK, assigned id=16
- Creating cluster '_bb_asset'...OK, assigned id=17
- Creating cluster '_bb_fileasset'...OK, assigned id=18
- Creating cluster 'created'...OK, assigned id=19
Rebuilding indexes of truncated clusters ...
Done 2 indexes were rebuilt.
Done. Imported 18 clusters
Importing database schema...OK (19 classes)
Importing records...
- Importing records into cluster 'internal' (id=0) = 2 records
- Importing records into cluster 'default' (id=3) = 31 records
- Importing records into cluster 'orole' (id=4) = 6 records
- Importing records into cluster 'ouser' (id=5) = 3 records
- Importing records into cluster '_bb_nodevertex' (id=11) = 3 records
- Importing records into cluster '_bb_user' (id=13) = 3 records
- Importing records into cluster '_bb_userattributes' (id=14) = 1 records
- Importing records into cluster '_bb_userattributes' (id=14)
Started migration of links (-migrateLinks=true). Links are going to be updated according to new RIDs:
- Cluster _bb_fileasset... Processed: 0
- Cluster _bb_userattributes... Processed: 2
- Cluster orids... Processed: 0
- Cluster e... Processed: 0
- Cluster created... Processed: 0
- Cluster ouser... Processed: 3
- Cluster default... Processed: 31
- Cluster oschedule... Processed: 0
- Cluster _bb_asset... Processed: 0
- Cluster orole... Processed: 6
- Cluster _bb_user... Processed: 3
- Cluster _bb_collection... Processed: 0
- Cluster v... Processed: 0
- Cluster _bb_resetpwd... Processed: 0
- Cluster _bb_node... Processed: 0
- Cluster _bb_nodevertex... Processed: 3
- Cluster ofunction... Processed: 0
Total links updated: 48

Done. Imported 49 records

Importing indexes ...
- Index '_BB_Node.id'...OK
- Index 'dictionary'...OK
- Index 'ouser.name'...OK
- Index '_bb_application'...OK
- Index '_bb_password_recovery'...OK
- Index '_BB_asset.name'...OK
- Index 'ORole.name'...OK
- Index '_bb_internal'...OK
- Index '_bb_images'...OK
- Index '_BB_Collection.name'...OK
- Index '_bb_push'...OK
Done. Created 11 indexes.
Importing manual index entries...
- Index 'dictionary'...OK (0 entries)
- Index '_bb_application'...OK (5 entries)
- Index '_bb_password_recovery'...OK (24 entries)
- Index '_bb_internal'...OK (2 entries)
- Index '_bb_images'...OK (0 entries)
- Index '_bb_push'...OK (0 entries)
Done. Imported 6 indexes.
Rebuild of stale indexes...
Stale indexes were rebuilt...
Deleting RID Mapping table...OK

Database import completed in 2095 ms

orientdb {db=test}> info

Current database: test (url=remote:localhost/test)

DISTRIBUTED CONFIGURATION: none (OrientDB is running in standalone mode)

DATABASE PROPERTIES
--------------------------------+----------------------------------------------------+
 NAME                           | VALUE                                              |
--------------------------------+----------------------------------------------------+
 Name                           | null                                               |
 Version                        | 9                                                  |
 Date format                    | yyyy-MM-dd                                         |
 Datetime format                | yyyy-MM-dd HH:mm:ss                                |
 Timezone                       | Europe/Rome                                        |
 Locale Country                 |                                                    |
 Locale Language                | nap                                                |
 Charset                        | UTF-8                                              |
 Schema RID                     | #0:1                                               |
 Index Manager RID              | #0:2                                               |
 Dictionary RID                 | null                                               |
--------------------------------+----------------------------------------------------+

CLUSTERS
----------------------------------------------+-------+---------------------+---------+-----------------+
 NAME                                         |   ID  | TYPE                | DATASEG | RECORDS         |
----------------------------------------------+-------+---------------------+---------+-----------------+
 _bb_asset                                    |    17 | PHYSICAL            |      -1 |               0 |
 _bb_collection                               |    16 | PHYSICAL            |      -1 |               0 |
 _bb_fileasset                                |    18 | PHYSICAL            |      -1 |               0 |
 _bb_node                                     |    12 | PHYSICAL            |      -1 |               0 |
 _bb_nodevertex                               |    11 | PHYSICAL            |      -1 |               3 |
 _bb_resetpwd                                 |    15 | PHYSICAL            |      -1 |               0 |
 _bb_user                                     |    13 | PHYSICAL            |      -1 |               3 |
 _bb_userattributes                           |    14 | PHYSICAL            |      -1 |               2 |
 created                                      |    19 | PHYSICAL            |      -1 |               0 |
 default                                      |     3 | PHYSICAL            |      -1 |              31 |
 e                                            |    10 | PHYSICAL            |      -1 |               0 |
 index                                        |     1 | PHYSICAL            |      -1 |               7 |
 internal                                     |     0 | PHYSICAL            |      -1 |               3 |
 manindex                                     |     2 | PHYSICAL            |      -1 |               8 |
 ofunction                                    |     6 | PHYSICAL            |      -1 |               0 |
 orids                                        |     8 | PHYSICAL            |      -1 |               0 |
 orole                                        |     4 | PHYSICAL            |      -1 |               6 |
 oschedule                                    |     7 | PHYSICAL            |      -1 |               0 |
 ouser                                        |     5 | PHYSICAL            |      -1 |               3 |
 v                                            |     9 | PHYSICAL            |      -1 |               0 |
----------------------------------------------+-------+---------------------+---------+-----------------+
 TOTAL = 20                                                                 |         |              66 |
----------------------------------------------------------------------------+---------+-----------------+

CLASSES
----------------------------------------------+------------------------------------+------------+----------------+
 NAME                                         | SUPERCLASS                         | CLUSTERS   | RECORDS        |
----------------------------------------------+------------------------------------+------------+----------------+
 _BB_Asset                                    | _BB_Node                           | 17         |              0 |
 _BB_Collection                               | _BB_Node                           | 16         |              0 |
 _BB_FileAsset                                | _BB_Asset                          | 18         |              0 |
 _BB_Node                                     | ORestricted                        | 12         |              0 |
 _BB_NodeVertex                               | V                                  | 11         |              3 |
 _BB_ResetPwd                                 |                                    | 15         |              0 |
 _BB_User                                     | _BB_Node                           | 13         |              3 |
 _BB_UserAttributes                           | ORestricted                        | 14         |              2 |
 Created                                      | E                                  | 19         |              0 |
 E                                            |                                    | 10         |              0 |
 OFunction                                    |                                    | 6          |              0 |
 OIdentity                                    |                                    | -          |              0 |
 ORestricted                                  |                                    | -          |              0 |
 ORIDs                                        |                                    | 8          |              0 |
 ORole                                        | OIdentity                          | 4          |              6 |
 OSchedule                                    |                                    | 7          |              0 |
 OTriggered                                   |                                    | -          |              0 |
 OUser                                        | OIdentity                          | 5          |              3 |
 V                                            |                                    | 9          |              0 |
----------------------------------------------+------------------------------------+------------+----------------+
 TOTAL = 19                                                                                17 |
----------------------------------------------+------------------------------------+------------+----------------+

INDEXES
----------------------------------------------+------------+-----------------------+----------------+------------+
 NAME                                         | TYPE       |         CLASS         |     FIELDS     | RECORDS    |
----------------------------------------------+------------+-----------------------+----------------+------------+
 ___exportImportRIDMap                        | DICTION... |                       |                |          0 |
 _bb_application                              | DICTIONARY |                       |                |          5 |
 _BB_Asset.name                               | UNIQUE     | _BB_Asset             | name           |          0 |
 _BB_Collection.name                          | UNIQUE     | _BB_Collection        | name           |          0 |
 _bb_images                                   | DICTIONARY |                       |                |          0 |
 _bb_internal                                 | DICTIONARY |                       |                |          2 |
 _BB_Node.id                                  | UNIQUE     | _BB_Node              | id             |          0 |
 _bb_password_recovery                        | DICTIONARY |                       |                |         24 |
 _bb_push                                     | DICTIONARY |                       |                |          0 |
 dictionary                                   | DICTIONARY |                       |                |          0 |
 ORole.name                                   | UNIQUE     | ORole                 | name           |          6 |
 OUser.name                                   | UNIQUE     | OUser                 | name           |          3 |
----------------------------------------------+------------+-----------------------+----------------+------------+
 TOTAL = 12                                                                                40 |
-----------------------------------------------------------------------------------------------------------------+

Meanwhile, here is the output of v.2.1.2
create database remote:localhost/test root <pass> plocal
import database /tmp/adminImportJson.json

Importing database database /tmp/adminImportJson.json...
Started import of database 'remote:localhost/test' from /tmp/adminImportJson.json...
Non merge mode (-merge=false): removing all default non security classes
- Class E was removed.
- Class V was removed.
- Class ORestricted was removed.
- Class OTriggered was removed.
- Class OSchedule was removed.
- Class ORIDs was removed.
- Class OFunction was removed.
Removed 7 classes.
Importing database info...OK
Importing clusters...
- Creating cluster 'internal'...OK, assigned id=0
- Creating cluster 'default'...OK, assigned id=3
- Creating cluster 'orole'...OK, assigned id=4
- Creating cluster 'ouser'...OK, assigned id=5
- Creating cluster 'ofunction'...OK, assigned id=6
- Creating cluster 'oschedule'...OK, assigned id=7
- Creating cluster 'orids'...OK, assigned id=8
- Creating cluster 'v'...OK, assigned id=9
- Creating cluster 'e'...OK, assigned id=10
- Creating cluster '_bb_nodevertex'...OK, assigned id=11
- Creating cluster '_bb_node'...OK, assigned id=12
- Creating cluster '_bb_user'...OK, assigned id=13
- Creating cluster '_bb_userattributes'...OK, assigned id=14
- Creating cluster '_bb_resetpwd'...OK, assigned id=15
- Creating cluster '_bb_collection'...OK, assigned id=16
- Creating cluster '_bb_asset'...OK, assigned id=17
- Creating cluster '_bb_fileasset'...OK, assigned id=18
- Creating cluster 'created'...OK, assigned id=19
Rebuilding indexes of truncated clusters ...
Done 2 indexes were rebuilt.
Done. Imported 18 clusters
Importing database schema...ERROR (1 entries): com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.alter class E shortname E
Rebuild of stale indexes...
Start rebuild index ouser.name
Rebuild  of index ouser.name is completed.
Start rebuild index orole.name
Rebuild  of index orole.name is completed.
Stale indexes were rebuilt...
Deleting RID Mapping table...OK

Database import completed in 264 ms
orientdb {db=test}> info

Current database: test (url=remote:localhost/test)

DISTRIBUTED CONFIGURATION: none (OrientDB is running in standalone mode)

DATABASE PROPERTIES
--------------------------------+----------------------------------------------------+
 NAME                           | VALUE                                              |
--------------------------------+----------------------------------------------------+
 Name                           | null                                               |
 Version                        | 14                                                 |
 Conflict Strategy              | version                                            |
 Date format                    | yyyy-MM-dd                                         |
 Datetime format                | yyyy-MM-dd HH:mm:ss                                |
 Timezone                       | Europe/Rome                                        |
 Locale Country                 |                                                    |
 Locale Language                | nap                                                |
 Charset                        | UTF-8                                              |
 Schema RID                     | #0:1                                               |
 Index Manager RID              | #0:2                                               |
 Dictionary RID                 | null                                               |
--------------------------------+----------------------------------------------------+

DATABASE CUSTOM PROPERTIES:
 +-------------------------------+--------------------------------------------------+
 | NAME                          | VALUE                                            |
 +-------------------------------+--------------------------------------------------+
 | strictSql                     | true                                             |
 +-------------------------------+--------------------------------------------------+

CLUSTERS (collections)
----------------------------------------------+-------+-------------------+----------------+
 NAME                                         | ID    | CONFLICT STRATEGY | RECORDS        |
----------------------------------------------+-------+-------------------+----------------+
 _bb_asset                                    |    17 |                   |              0 |
 _bb_collection                               |    16 |                   |              0 |
 _bb_fileasset                                |    18 |                   |              0 |
 _bb_node                                     |    12 |                   |              0 |
 _bb_nodevertex                               |    11 |                   |              0 |
 _bb_resetpwd                                 |    15 |                   |              0 |
 _bb_user                                     |    13 |                   |              0 |
 _bb_userattributes                           |    14 |                   |              0 |
 created                                      |    19 |                   |              0 |
 default                                      |     3 |                   |              0 |
 e                                            |    10 |                   |              0 |
 index                                        |     1 |                   |              9 |
 internal                                     |     0 |                   |              3 |
 manindex                                     |     2 |                   |              1 |
 ofunction                                    |     6 |                   |              0 |
 orids                                        |     8 |                   |              0 |
 orole                                        |     4 |                   |              0 |
 oschedule                                    |     7 |                   |              0 |
 ouser                                        |     5 |                   |              0 |
 v                                            |     9 |                   |              0 |
----------------------------------------------+-------+-------------------+----------------+
 TOTAL = 20                                                               |             13 |
--------------------------------------------------------------------------+----------------+

CLASSES
----------------------------------------------+------------------------------------+------------+----------------+
 NAME                                         | SUPERCLASS                         | CLUSTERS   | RECORDS        |
----------------------------------------------+------------------------------------+------------+----------------+
 Created                                      |                                    | 19         |              0 |
 E                                            |                                    | 10         |              0 |
 OIdentity                                    |                                    | -          |              0 |
 ORole                                        | [OIdentity]                        | 4          |              0 |
 OUser                                        | [OIdentity]                        | 5          |              0 |
----------------------------------------------+------------------------------------+------------+----------------+
 TOTAL = 5                                                                                0 |
----------------------------------------------+------------------------------------+------------+----------------+

INDEXES
----------------------------------------------+------------+-----------------------+----------------+------------+
 NAME                                         | TYPE       |         CLASS         |     FIELDS     | RECORDS    |
----------------------------------------------+------------+-----------------------+----------------+------------+
 dictionary                                   | DICTIONARY |                       |                |          0 |
 ORole.name                                   | UNIQUE     | ORole                 | name           |          0 |
 OUser.name                                   | UNIQUE     | OUser                 | name           |          0 |
----------------------------------------------+------------+-----------------------+----------------+------------+
 TOTAL = 3                                                                                0 |
-----------------------------------------------------------------------------------------------------------------+

As you can see all manual and automatic indexes  are gone, many clusters are been created, but the corresponding classes are missing too.
I can send the backup file if it is needed

Update:
I imported the backup into 1.7.9 and then I exported it.
OrientDB 2.1.2 still does not import the database.
This means that because of some reasons 2.1.2 fails to import backuped database files that were done using previous versions.

Update 2:
I found that the exported JSON(s) have this declaration:
            {
                "cluster-ids": [
                    10
                ],
                "cluster-selection": "round-robin",
                "default-cluster-id": 10,
                "name": "E",
                "short-name": "E"
            },

Seems that this creates problem to the v.2.1.2 importer. How can avoid this problem if I have old databases exported using v.1.5.0 that has such declaration?

Could it be a side effect of the fix provided for https://github.com/orientechnologies/orientdb/issues/4658 ?
I think that since export files are made by OrientDB itself, newer version should take them and swallow exceptions, logging out a warning, not just interrupt the import procedure because of a unhandled (new) exception that result in a corrupt database.
WDYT?

It's not clear if removing the "short-name": "E" did the job or not.

Yes it did.
But the problem is that I did it manually, meanwhile the import procedure should handle this case because it is not always possible to hack the exported file as in my case (the file was not too big to handle with a text editor). If I had a very big exported file, I had no chance to open it and change it.
Moreover I have an automatic procedure to restore database and it is not convenient to open them one by one manually.
Maybe the easiest thing to do is to ignore the command (set short name) if the "short name" is equals to the class name it self.
WDYT?

Got it, if that fixed the problem, I can ignore this case ;-)

Done. We accept also PR ;-)


Artificial _called property set on Timeout instance...

... to have Timeout.isRunning() work properly for legacy node.js versions. Resolves mongodb-js/mongodb-core#247.
Fixing Timeout.isRunning was probably the best way to solve the issue and fit into the initial idea behind Timeout class.
Also returned back 0.10 and 0.12 targets for Travis. For that reason the 'request' lib has been fixed to @2.65.0 version in dev deps and added tests for the memory leak issue.
It does not seem to be reasonable to have these legacy targets to be turned off simply because of Hawk semver. That move has eventually played a dramatic role in hidding of the Timeout._called absence for v0.12 which was causing memory leak.

@daprahamian please take a look at this

Any chance to see it in next release this month?

@ilguzin there will be a 2.x release next week

@mbroadst, cool! Thanks :-)


Advent of Code - 2024 - Day 1 (Part 1 & Part 2 complete)

Summary
This PR implements solutions for Day 1: Historian Hysteria from the Advent of Code 2024. The challenge involves solving two parts:

Part 1: Calculate the distance between two sorted lists of location IDs by summing the absolute differences of paired elements.
Part 2: Compute a similarity score by determining how often each number in the left list appears in the right list and summing their weighted contributions.

Implementation details
Part 1: Total Distance

Parse input lists into usable data formats.
Sort both lists.
Pair corresponding elements and compute their absolute differences.
Sum all absolute differences to get the total distance.

Part 2: Similarity Score

Build a frequency map for the right list to count occurrences efficiently.
Multiply each element in the left list by frequency in the right list.
Sum these weighted contributions to compute the similarity score.

Next Steps

[x] Add unit tests for day 1 and helpers implementing during the PR.
[ ] Add benchmarks for the scope of day 1 to see how the implementations stand performance-wise.
[ ] Add a Livebook notebook with:

[ ] Problem description for Day 1.
[ ] Linked implementation for each part.
[ ] Associated unit tests.

I think for now, benchmarks and livebook notebook can come at a later stage as an additional PR. Especially since I'm thinking about converting the common enum helpers in potentially an HEX package like enum-plus. But that's something in the future.


False positive: bash arrays notation when using shell module

For instance this YML:
- hosts: local
  pre_tasks:
    - name: "Get demo directory"
      shell: |
        cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
      register: demo_directory
      changed_when: false

generates the following warning:
[ANSIBLE0001] Old style (${var}) brackets
demo/playbook.yml:28
        cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd

Of course this can be skipped. But I was wondering if it would make more sense to make this check optional as ${VAR} syntax is no longer valid in Ansible since Feb 2014.
Note that #59 is another similar issue (not the same, tho).

#61 Contains a PoC for automatically skipping tests like ANSIBLE0001

Closing as ANSIBLE0001 has been removed.


Responsive menu bug

When responsive menu opened and then closed main content scrolls to top.

Fixed in https://github.com/chibisov/backdoc/pull/6


refactor(rust): replace default with actual default node name

Signed-off-by: mohamed<EMAIL_ADDRESS>
Closes #3931
Current Behavior
All commands having a node argument has a hardcoded default node name = default
Proposed Changes
Replace the hardcoded value with the actual default node's name using the default function from ockam_api.
I changed all the node arguments type from String to Option<String>. With this, if the node's name isn't provided, the default node's name will be fetched using the helper function default_node_name in ockam_command/src/node/util.rs
Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

Thank you for another awesome contribution!


Centralize DDP optimizations in docs

📚 Documentation
DDP optimizations for find_unused_parameters and tuning NCCL parameters are listed here: https://pytorch-lightning.readthedocs.io/en/latest/guides/speed.html#when-using-ddp-plugins-set-find-unused-parameters-false
However, there's another section on the doc which explicitly talks about DDP optimizations here: https://pytorch-lightning.readthedocs.io/en/latest/advanced/advanced_gpu.html#ddp-optimizations
The pieces from the speed guide should be moved to the DDP optimizations section, and then the speed guide can simply refer to the advanced GPU training section for pointers. This way users have one consistent way to get specifics on how to tune DDP settings for speedups.
And the speedup doc can be a higher-level index of what users can do to explore faster training across dataloading/accelerators/strategies and general guidance for writing efficient pytorch programs

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

cc @borda @rohitgr7 @justusschock @kaushikb11 @awaelchli @akihironitta

I'd like to do it if it is up for grabs.

I'd like to do it if it is up for grabs.

awesome, I've assigned the issue to you @shabie

OK so I've spent enough time reading about DDP in detail and will get working on the docs from tomorrow. I know that I am suppoosed to move them around but does it also make sense to suggest some improvements in the text itself in the same PR?

@shabie sure, let's discuss on the PR


Arbitrary keys and code at base indent level after resources: does not throw warning or error

What happened?
I created two new resources in my Pulumi.yaml and pulumi seemed blind to them. pulumi preview showed no sign of them.
I was able to introduce arbitrary properties and there is no error.
Example
To Reproduce:

Create valid Pulumi.yaml with at least one resource.
At the base indent left (far left) add any arbitrary text that is valid yaml syntax.

Output of pulumi about
% pulumi about
CLI
Version      3.96.2
Go Version   go1.21.4
Go Compiler  gc

Plugins
NAME  VERSION
yaml  unknown

Host
OS       darwin
Version  13.6.3
Arch     arm64

This project is written in yaml

Additional context
https://pulumi-community.slack.com/archives/C03E69EQRD2/p1702879893055319
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Related to https://github.com/pulumi/pulumi/issues/14775.
The CLI used a JSON schema to validate the Pulumi file was of the expected structure, but that had to mark some places as "additionalItems: true" to handle that pulumi-yaml adds it's own keys to the Pulumi.yaml.
If we want Pulumi to be able to validate project configs but also allow language runtimes like yaml to add stuff to the project config we're going to need to come up with a much more complex validation routine that involves both parties.

This is not that big of a deal to me if it's going to be really complex to address.

This is not that big of a deal to me if it's going to be really complex to address.

Zero validation of the project file would cause a lot of user issues so this definitely needs fixing.


Artifact

Codecov Report

Merging #5 (ae5b663) into master (f6cf8f8) will increase coverage by 0.28%.
The diff coverage is 93.61%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   93.72%   94.01%   +0.28%
==========================================
  Files          32       30       -2
  Lines        2838     2789      -49
==========================================
- Hits         2660     2622      -38
+ Misses        178      167      -11

Impacted Files
Coverage Δ

samples/src/bracelet.cpp
100.00% <ø> (ø)

samples/src/knot.cpp
100.00% <ø> (ø)

samples/src/menger_sponge.cpp
100.00% <ø> (ø)

samples/src/scallop.cpp
100.00% <ø> (ø)

samples/src/tet_puzzle.cpp
100.00% <ø> (ø)

src/collider/include/collider.h
100.00% <ø> (ø)

src/manifold/include/manifold.h
100.00% <ø> (ø)

src/manifold/src/boolean_result.cpp
99.03% <ø> (ø)

src/manifold/src/constructors.cpp
99.37% <ø> (ø)

src/manifold/src/csg_tree.cpp
74.73% <ø> (ø)

... and 24 more

Continue to review full report at Codecov.

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


Unknown version, please update the mod

I use GOG, I just did a verify/repair and it shows 1.04 for my version in-game.
I just downloaded version v0.7.0 of this software.
Here is my configuration:
{
"avx": true,
"cpu_memory_pool_fraction": 0.5,
"gpu_memory_pool_fraction": 1.0,
"memory_pool": true,
"smt": true,
"spectre": false,
"unlock_menu": true,
"virtual_input": false
}
Here is my log:
[2020-12-15 09:39:56.522] [info] Computed .text crc: 852ED99B
[2020-12-15 09:39:56.523] [error] 	Unknown version, please update the mod
[2020-12-15 09:39:56.549] [info] 	AMD SMT Patch: success
[2020-12-15 09:39:56.549] [info] 	AVX Patch: skip, cpu has AVX support
[2020-12-15 09:39:56.550] [info] 	Pool patch: failed
[2020-12-15 09:39:56.550] [warning] 	Unlock menu patch: failed, unknown version
Btw, I think it would be good to show the mod version and game version in your log file.

Try to delete the cyberpunk2077.exe and verify/repair afterwards. Just verify/repair does not always work.

It was happening to me too, but I had modified my Cyberpunk2077.exe. After returning to the unmodified exe, this mod works fine.

I deleted the exe and csv and did a verify/repair again. After start of the game it shows 1.04 below to menu. But I still have the same issue:
[2020-12-15 11:41:14.738] [info] Computed .text crc: 6808A1A9
[2020-12-15 11:41:14.739] [error] 	Unknown version, please update the mod
[2020-12-15 11:41:14.765] [info] 	AMD SMT Patch: success
[2020-12-15 11:41:14.766] [info] 	AVX Patch: skip, cpu has AVX support
[2020-12-15 11:41:14.766] [info] 	Pool patch: failed
[2020-12-15 11:41:14.766] [warning] 	Unlock menu patch: failed, unknown version

Try those:
1. You modified the exe yourself, in which case the mod will not work! You can repair via GOG or Steam to revert your changes.
2.
3. You used the old version of the mod and still have the old file, delete bin/x64/Cyberpunk77.exe.plugins/ and reinstall the mod.

Thanks for these tips. But I already checked all this.

I never modified the EXE myself nor do I have any other mod, I did verify/repair in GOG three-time including deleting files before.
It has 1.04 in-game below the menu.
I use the V0.7 version from this morning. https://github.com/yamashi/PerformanceOverhaulCyberpunk/releases/tag/v0.7.0
Is it possible this is some kind of A B test scenario? In other words, different build versions go to different users?

The SHA256 for my Cyberpunk2077.exe is E34EF581899F3A719001E1F85A0FD8C112B21471329DBAA9F25880E7678557A8.
What region are you in?

USA

USA, but Steam instead of GOG. Since the game doesn't have DRM I wouldn't expect any difference in the hash, but maybe there is.

The hash for my Cyberpunk2077.exe is equals to yours @alpharesearch

Here is the log for V0.10
[2020-12-16 17:17:15.023] [info] Computed .text crc: BC4CC206
[2020-12-16 17:17:15.024] [error] 	Unknown version, please update the mod
[2020-12-16 17:17:15.051] [info] 	AMD SMT Patch: success
[2020-12-16 17:17:15.074] [info] 	Pool patch: success
[2020-12-16 17:17:15.082] [info] 	Unlock menu patch: success
[2020-12-16 17:17:15.152] [info] 	Start screen patch: success
[2020-12-16 17:17:16.229] [info] 	CPU RAM: 31GB, using 16.0GB, fraction: 0.5
[2020-12-16 17:17:16.449] [info] 	GPU VRAM: 11.0GB, using 11.0GB, fraction: 1.0
Looks like stuff is loading and it's doing something, but the version is still not detected correctly.

I did delete and repair in gog multiple times already. Every time i start the game the crc is different?


Image URL

When send a new message, i am trying to add Image URL from sharepoint but it doesn't appear. i think the issue related to limited dimensions or image size.
Please i need to know that is the   limited dimensions or image size i can add in Image URL

The image needs to be stored on a publicly accessible location. SharePoint sites require authentication to view the images.

In case its internal memo inside the organization and it should be only viewed internally. Is it possible?

@kgazar Adaptive cards support public urls or DataURIs. You could explore DataURIs for internal resources.
Closing the issue. Please re-open if you face any problem with DataURIs.


Replace jsmin with json5 dependency

The jsmin library is meant for minification of Javascript, not loading
of JSON files with comments. It's also not likely to see much
development in future because the author has little interest in
supporting ES6 etc.
The json5 library (and the cython version pyjson5) are both actually
supported upstream, and more accurately fulfil the requirement of being
able to use comments in JSON files.

Please note that this hasn't updated the Pipenv and Pipenv.lock files. Every time I tried to do so, it seemed to produce many unintended side effects such as updating all packages or removing half the packages in the lock file. If you could give me some pointers in the right direction, I'd be happy to perform the necessary updates.

Thanks, I will take care of the Pipfile


New Resources to managed Power Platform Enterprise Policies

Description
Can we have the management of the Power Platform Enterprise Policies added to the provider?
According to this link: https://learn.microsoft.com/en-us/azure/templates/microsoft.powerplatform/enterprisepolicies?pivots=deployment-language-terraform
These are:
"Encryption"
"Identity"
"Lockbox"
"NetworkInjection"
"PrivateEndpoint"
I do realize these are not part of the Power Platform API, but are in Azure ARM, but still this is "Power Platform" Terraform Provider, so it seems to be me, to be well within scope of this project.
Resource

Resource Name: powerplatform_enterprisepolicies
API documentation: https://learn.microsoft.com/en-us/azure/templates/microsoft.powerplatform/enterprisepolicies?pivots=deployment-language-terraform
Estimated complexity/effort: Moderate
Related resources/data sources: None

Potential Terraform Configuration
# Sample Terraform config that describes how the new resource might look.

resource ""powerplatform_enterprisepolicies_identity" "example" {
  name = "example"
  resource_group_name = "example"
  enabled = true
}

resource ""powerplatform_enterprisepolicies_vnetinjection" "example" {
  name = "example"
  resource_group_name = "example"
  primary_vnet {
      vnet_id = data.azurerm_virtual_network.primary.id
     subnet_name = data.azurerm_subnet.primary_pplatform.name
  }
  failover_vnet {
      vnet_id = data.azurerm_virtual_network.secondary.id
     subnet_name = data.azurerm_subnet.secondary_pplatform.name
  }
}

etc...

Definition of Done

[ ] Data Transfer Objects (dtos)
[ ] Data Client functions
[X ] Resource Implementation
[ X] Resource Added to Provider
[X ] Unit Tests for Happy Path
[ X] Unit Tests for error path
[ X] Acceptance Tests
[ X] Example in the /examples folder
[ X] Schema Documentation in code
[ X] Updated auto-generated provider docs with make docs

Contributions
Do you plan to raise a PR to address this issue? NO
See the contributing guide for more information about what's expected for contributions.

We can add examples of how to use the AZAPI resource provider along side of Power Platform provider.  I don't think we need to reimplement something you can already do with azapi.

powerplatform_enterprise_policy resource is added to main with the following examples:
https://github.com/microsoft/terraform-provider-power-platform/tree/main/examples/resources/powerplatform_enterprise_policy


PermissionError: [Errno 13] Permission denied

I am using the Deforum plugin, and I'm running into this issue after the rendering since the update and fix on Saturday. Any idea how to fix this?
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum.py", line 154, in run_deforum
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2'

I'll check it out

having this issue in the new paperspace setup (which is amazing btw, and working in every other way!)

@RONNYKHALIL you're having this issue with deforum ?

with deforum and txt2video...
Got a request to stitch frames to video using FFmpeg.
Frames:
/notebooks/sd/stable-diffusion-webui/outputs/img2img-images/Deforum_20230504221851/20230504221851_%09d.png
To Video:
/notebooks/sd/stable-diffusion-webui/outputs/img2img-images/Deforum_20230504221851/20230504221851.mp4
Stitching video...deo*...
** FFMPEG DID NOT STITCH ANY VIDEO ** Error: Error stitching frames to video. Actual runtime error:[Errno 13] Permission denied: '/usr/local/lib/python3.9/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2'

I'll check it out

Ok, did some deps updates, update the deforum extension through the webui and try again

works like a charm now! (in deforum) thanks for the quick fix.
how about for https://github.com/deforum-art/sd-webui-text2video extension? below is the specific error, is it a similar fix? thanks
Stitching video...
Traceback (most recent call last):
File "/notebooks/sd/stable-diffusion-webui/extensions/sd-webui-text2video/scripts/t2v_helpers/video_audio_utils.py", line 147, in ffmpeg_stitch_video
process = subprocess.Popen(
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.9/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/notebooks/sd/stable-diffusion-webui/extensions/sd-webui-text2video/scripts/t2v_helpers/render.py", line 24, in run
vids_pack = process_modelscope(args_dict)
File "/notebooks/sd/stable-diffusion-webui/extensions/sd-webui-text2video/scripts/modelscope/process_modelscope.py", line 220, in process_modelscope
ffmpeg_stitch_video(ffmpeg_location=video_args.ffmpeg_location, fps=video_args.fps, outmp4_path=outdir_current + os.path.sep + f"vid.mp4", imgs_path=os.path.join(outdir_current,
File "/notebooks/sd/stable-diffusion-webui/extensions/sd-webui-text2video/scripts/t2v_helpers/video_audio_utils.py", line 158, in ffmpeg_stitch_video
raise Exception(
Exception: Error stitching frames to video. Actual runtime error:[Errno 13] Permission denied: '/usr/local/lib/python3.9/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2'
Exception occurred: Error stitching frames to video. Actual runtime error:[Errno 13] Permission denied: '/usr/local/lib/python3.9/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2'

hang on, its actually working now (I just had to change the ffmpeg location from the path to simply 'ffmpeg' - and it text2video stitching works now! loving your paperspace adoption. its blazing fast

Nice!


Zero Scans moved to Zscan

Source name
Zscans
Source link
https://zscans.com/
Source language
English
Other details
18+/NSFW=no
Acknowledgements

[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

An extension with the provided URL (https://zscans.com/) already exists with the name of Zero Scans, under the English section: https://zscans.com/


Stop using Sleep() in reasoner.php

Reasoner.php is using sleep() commands in order to wait for Flora-2 to be finished processing commands. Whether that will work is dependent on the length of the code and the speed and availability of the processor on which Flora-2 is running.
We could make the requests asynchronous, or re-implement the reasoner in python with Pyxf, and poll whether Flora-2 is finished, or implement something similar in PHP.

REasoner.php replaced with reasoner.py in dev in #62

REasoner.php replaced with reasoner.py in dev in #62


New requests should display at top when the user taps on the “View All” button from “# Pending requests” screen.

Frequency: 100%
Repro on build version: Android Internal Build V1.12.1(1004294341),  Test flight build V1.12.1(50
Repro on devices: Samsung M40 (10.0), Samsung Galaxy A5(7.0),  iPhone XR (14.2),  iPhone 6+ (12.4.5)
Tested Account:<PHONE_NUMBER> / Backup Key
Pre-condition: User B should have many requests in lists (5+ requests)
Repro Steps:

Launch the application & login with a test account.
Send request to user B from user A
Now go to user B’s “# Pending Requests” In-app CTA & tap on “View All” button
Observed that,
Current Behavior: Latest request’s position is not at top of all list
Expected Behavior:  Either nothing should display or the “Confirming” page should open until the transaction does not complete successfully when the user taps on Confirming activity.
Impact: Bad User experience.
Attachment: NewRequestPosition.mp4

Hi @jeanregisser I have verified this issue using latest Appstore build V1.15.2 & Android Internal Build V1.15.2 and found issue is still repro.

New requests should display at top when the user taps on the “View All” button from “# Pending requests” screen
Verified on Devices: iPhone SE 1st Generation(14.6), Redmi Note 8 (10.0)

Hey @MuckT we have verified the above issue on Latest iOS Test Flight Release build and Android Internal release build V 1.41.0  and observed that issue is fixed
Observation: Latest request is seen on the top of the requested amount list
Attachment : request.mp4
Device : Google Pixel 2XL(11.0), iPhone 12(14.7.1)
Thanks.!


Jump to code does not work within a code block

Describe the bug
When clicking in the preview window we cannot jump to the code when the cursor is within a code block.
#lorem(50)

```rust
we cannot jump to the source code in a code block...
1
2
3
4
5
```

#lorem(50)

Expected behavior
The jumping behaviour should work like in normal text.
Package/Software version:
VSCode version(Help -> About):
Version: 1.84.2 (user setup)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045

The span information is provided by typst compiler, and it doesn't provide a such information for code blocks.
We may convert it to a upstream issue when we double confirmed that.

Currently jump to source and vice versa heavily relies on upstream and we can only do it in best effort. And for typst, there is not a good way to universally determine the mapping between source code and rendering result.

I understand, thanks for the answers.
Maybe it is possible to jump to the end of the last known position (the lorem call before). That would not be a perfect solution but definetly good enough.

@gfpj fixed by https://github.com/typst/typst/pull/2674

Indeed, the best we can do is provide the span of the code block itself but we can't provide information about where inside of the block you are, this is due to the following:

Code blocks can be created from a regular string in which case we don't have its span, perhaps in the future we might have the ability to have a Spanned string that is produced both in code and when using the read function, that does sound to me like a good solution
We don't keep Span information for raw block syntax since it gets turned into a regular string (something that could also be solved by my previous statement)

This is fixed in 0.11.0


ExtensionHostConnection is not disconnected, causing the heartbeat file to continue to update

First of all, thank you for making such a great project of code-server, and thank you for taking the time to look at this issue, I am really stuck.

※This problem only occurs when using http-proxy to forward requests, and there is no problem when using ip+port directly.
Then, the actual request flow is like this:

The steps to reproduce are as follows: Open vscode, after a few seconds, close the page and check the log.
Here is the log when using Nginx & http-proxy:

Here is the log when using ip+port:

As you can see, in a normal example, Exited will be triggered, and then the connection will be disconnected. But in the abnormal example, Exited is not triggered, and the connection has not been disconnected.
I know that the problem must be my http-proxy, but what is even more confusing is that even if I turn off the node server, ExtensionHostConnection is still not closed, and the heartbeat file is continuously update.
I'm really stuck, thank God if anyone can help!

Web Browser: 86.0.4240.183
Local OS: Macos
Remote OS: Linux
Remote Architecture: x86_64
code-server --version: 3.6.2

I guess it is because the node server did not correctly send the close signal to the code-server when the browser page was closed.

I'm not sure why either but thanks for the lead! Should help us figure
out what's going on.

After a day of debugging, it was found that the problem was because the serviceWorker file was not successfully loaded.

/static/dda533e02eda2e6eff1c77d671ef07f0a2600bc8/usr/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/worker/extensionHostWorkerMain.js

This problem is not caused by code-server, but by my own node service. 🤣

For anyone who encounters this problem, pay attention to whether the Request Headers of this file carries cookies.
The problem of not carrying cookies should start after this commit:
https://github.com/microsoft/vscode/commit/a02c4e72935304e618a7f2fe5d96fdbf51cf9ba6#diff-d716ee6240598a786899299f9bf9f23b6e622fbc41bfb9ab10e12fa0082946bf


⚠ Bofrost.es has degraded performance

In 22c69ca, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1627 ms

Resolved: Bofrost.es performance has improved in e994780 after 23 minutes.


Add more notification types

Such as Gotify, NTFY.sh, or Pushover.

That would be a nice idea, but aren't those services more limited on character amount, making them more inclined to be used for single notifications instead of aggregated ones?


Show filename on network install

When using network install with sockfile, FBI should display the name of the file it's about to receive for the sake of convenience.

Not likely to happen. The protocol doesn't have any concept of a file, only data being sent.


hotfix static runtime in cuda with clang and windows

This PR fixes the compilation of examples with Clang + CUDA + Windows. There will be a lot of warnings, but compilation of dnn_mmod_exx is successul

That fixes the compiler error but when I ran dnn_mmod_ex it just crashes.  Is that what happens for you?  I compiled it with cuda.  Were you able to run cuda programs compiled with clang?


Text rendering issue with readium's css

I am having issue with readium css in r2 test app for some epubs.
The text is overlapping in some cases and in some cases text on top is getting cropped.
I have included the screenshots for all the cases and also from readium1 test app(SDKLauncher-Android)
It mostly works fine in readium1.
Case: publisher's default turned off
1.

2.

3.

Case: publisher's default turned on
1.

2.

3.

Case: Readium1 Test App
1.

2.

3.

Hello, can the problem be reproduced consistently in all R2 target platforms? (iOS, Android and desktop/Electron)

Hi, yes, the issue is reproducible in iOS as well as thorium - r2 based desktop app.
This is in iOS

And this in thorium

This indeed is a side-effect of disabling publisher’s settings as we then apply a font-normalisation to handle font-size. That font-normalisation exists because we don’t have a universal way/API to handle font-size in browsers, on all platforms, and a significant percentage of EPUB files would have otherwise broken the font-size setting due to the usage of absolute units. It’s the best we can do in CSS due to the lack of such standard feature.
This should serve as a use-case for #34 though, because we’ve been willing to strongly emphasise that if a native font-size API/method is available on a particular platform, it should be used in lieu of Readium CSS’ font-normalisation.

@JayPanoz Hi, There are issues also with the publisher's default ON. Check above screenshots . The texts are overlapping.

Thanks for your patience.
I’ll have to coordinate with @danielweck and @mickael-menu on this one, as I’m not sure what is exactly going on in the apps.
So as a recap, these headings are p with classes, which is the reason the impact with publisher’s default off is so huge – should these be h1, h2, etc. it would already solve some rendering issues with advanced settings. That’s also why the chapter heading – which is using a table with a negative bottom margin for layout purposes – ends up being cut off with publisher’s default off.
Anyways.
Thorium:
I am able to consistently reproduce these rendering issues with the test app as well when enabling settings, but they disappear w/o any issue when re-enabling publisher’s default. I can also tell they happen because readium-advanced-on is set on the root  element (+ text-align).
What I don’t understand is why it stays there after a single setting change, @danielweck? Or does its removal not trigger a relayout?
Android + iOS:
So this overlapping text with publisher’s default on left me dumbfounded to be honest. Technically, ReadiumCSS does set a line-height on html just in case, knowing the vast majority of authors’ stylesheets will override that value further down the DOM (body, h1, p, etc.). This is not the case with this EPUB.
It should also be large enough that this overlapping doesn’t happen, and I can’t really understand the discrepancy between Android and iOS so I’ll need @mickael-menu’s help on this one.
Android: it clearly overlaps.

iOS: it’s close, mind you, but it doesn’t.

There difference might be explained by the computed value of line-height for html and/or if it is inherited by this p? At first I thought that maybe it could be a bug in Chrome re. font metrics but having tested the iOS test app I’m not so sure now.
In passing, such “freeform” heading should really really set a line-height, because there is no guarantee the default will be the same in all apps – in some, users can even change this default.


[INLONG-8274][Sort] Fix mysql connector will throw exception when synchronizing incremental data

Prepare a Pull Request

[INLONG-8274][Sort] Fix mysql connector will throw exception when synchronizing incremental data

Fixes #8274

Motivation

Fix mysql connector will throw exception when synchronizing incremental data

Modifications

Add schemaChange judge for ddl process

@emhui @EMsnap please review


Update readme.md to add more detailed docs for getting started

Getting started info.  Will be useful if/when somebody else takes over maintenance of this.  These are the steps I took to get the development server running.
I will work on getting this running on the ACM server (via docker) when I have some free time next week.

Will fix and re-submit

For what it's worth, I'll be sticking around to help maintain this for at least a year, so in addition to this readme (which is much better), people can open up issues on the repo and I'll see them. Maybe tag them with a "question" tag or something.


Enabled PSSA rule violations to fail build - Fixes #320

Pull Request (PR) description
Enable PSSA rule violations to fail build by opting in to new meta settings in DSCResource.Tests.
This Pull Request (PR) fixes the following issues:
#320
Task list:

[x] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[ ] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

@tysonjhayes or @johlju - would either of you mind reviewing this one?

This change is

LGTM.


Bug : Problem with images smaller than 512*512

Hi Dear @ykk648,
I have been using your repository for a while, and I recently noticed some significant changes in the code and the requirements for image sizes. While I understand the need for updates and improvements, the recent changes have caused some issues for me due to my limited GPU VRAM.
Previously, I was able to work with images that were resized to 480x480 pixels to fit within my constraints. However, the updated version of your repository now requires input images to be 512x512 pixels, and attempting to use smaller images results in a mismatch error. Unfortunately, I do not have access to a GPU with enough VRAM to accommodate 512x512 images.
Furthermore, I have encountered the following error, which occurs when attempting to use the updated code:
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.10/runpy.py", line 86, in run_code
exec(code, run_globals)
File "animatediff/AnimateDiff-I2V/scripts/animate.py", line 258, in
main(args)
File "animatediff/AnimateDiff-I2V/scripts/animate.py", line 208, in main
sample = pipeline(
File "/opt/conda/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "animatediff/AnimateDiff-I2V/animatediff/pipelines/stablediffusion_controlnet_animatediff_pipeline.py", line 605, in call
down_block_res_samples, mid_block_res_sample = controlnet.forward(
File "AnimateDiff-I2V/sd_lib/controlnet/controlnet_api.py", line 87, in forward
down_block_res_samples, mid_block_res_sample = self.model(
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/diffusers/models/controlnet.py", line 771, in forward
sample = sample + controlnet_cond
RuntimeError: The size of tensor a (60) must match the size of tensor b (64) at non-singleton dimension 3
Thank you for your attention to this matter, and I look forward to your response. If you need any further information or if there is a more appropriate channel for discussing this, please let me know.
Best regards,

shape infer bug fixed https://github.com/ykk648/AnimateDiff-I2V/commit/3abe28f4b87717fce79c72f96b2a98d79b934abf , I have tested both w-controlnet/wo-controlnet infer on 480*480 resolution, it works well


Adds x_message field and refactors calculator

What are you trying to accomplish with this PR?
Fixes the request calculator and adds the ability to deliver an x_message in your response to Shopify.
What could go wrong? (if anything)
Nothing.
Rollback steps

[x] It is safe to simply rollback this change.

Checklist

[x] I have checked for common security issues such as XSS.
[x] I have posted any merchant-facing changes in the #changelog Slack channel.
[x] I have followed the relevant copy and style guidelines.
[x] I have :tophat:'d these changes (details).

@jamiemtdwyer @ShayneP @andrewpaliga for 👀

Nicely done. What did you fix? ie. what wasn't working before?

@andrewpaliga the request calculator needed to be updated to reflect the latest expected request  values. Additionally, if a field was left blank, the field should be removed in order to create the correct signature, but we were using the wrong method (nil?) to identify empty fields.
signature: sign(fields.delete_if { |_, v| v.nil? }, params['secret_key'] || @key)
when it should've been"
signature: sign(fields.delete_if { |_, v| v.empty? }, params['secret_key'] || @key)
So the request calculator never really worked while the response calculator did because all fields were required.

Great 👍

@Busfox can you 🎩  ?

🎩  👍  Works like a charm


[ENHANCEMENT] Add 2560 x1440 compatibility

By default, overlay is for 1920 x 1080 but some people play with a 2560 x1440
Is there a way to make this code dynamic in order to auto scale the screen size ?
https://github.com/Skwrr/Dexterion/blob/ea89b450040f644af73ea7b564d9f5b376a9f916/gui/overlay.cpp#L28

Fixed on Release 30


Fix app export for Rancher integration (chart is asset file, not url).

Fix #1965
fix: make chart export work for rancher integration, where chart is asset file, not remote url
chore: extended logging

Codecov Report
Base: 57.11% // Head: 8.39% // Decreases project coverage by -48.72% :warning:

Coverage data is based on head (08ada84) compared to base (df78523).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2050       +/-   ##
==========================================
- Coverage   57.11%   8.39%   -48.72%
==========================================
  Files         181      94       -87
  Lines       14589   10160     -4429
==========================================
- Hits         8332     853     -7479
- Misses       5144    9252     +4108
+ Partials     1113      55     -1058

Flag
Coverage Δ

acceptance-api
?

acceptance-cli
?

unittests
8.39% <0.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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

Upgrade and client sync tests use 1.6.1 as baseline, which does not have the dex secret fix, thus trip the new check at the beginning of the install for that issue. We can ignore this, and see it as validation for the new check that it actually captures the issue.


Move to Wazuh

Hello,
First awesome work, thank for your contribution with Ossec community.
I have a quick question, any thought to move to Wazuh?
https://github.com/wazuh/wazuh/blob/master/CHANGELOG.md
The last version has a new improvements and tools as for example Openscap and Auditd integration.
I can help with the code here.
regards!!

Hi @jlruizmlg
I did not know that wazuh existed. Seems very interesting from what I can see right now. I'm not sure how different the wazuh is compared with Ossec. So maybe better to create a seperate role for this? Or is it "easy" enough to make a variable like use_wazuh and if set to True Wazuh is configured, otherwise the default Ossec?
Kind regards,
Werner

Hi @dj-wasabi sorry for the delay, both options looks great! let me know if i can help here.

Very good,  Thanks


Made instructions clearer in the README.md

Made instructions clearer in the README.md under Usage. Feel free to reject this, to change anything if it feels out of place.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: lokashrinav:x: Tr0nJ4voltaYou have signed the CLA already but the status is still pending? Let us recheck it.


Remove jquery from examples/extensions/bookmarks-sidebar

jquery adds 9205 lines in single CL which makes hard to review it.
Because the example is not so complex to use jquery, let's remove it.

The dependency with bundled jquery was removed at https://github.com/ltilve/chromium/commit/8c4a88f118439a5ca9a9f945fbb5a3af73ae8f9e


bad parameter reference at inlining (regression)

Scalatest 3.2.9 (Scala 3.0.0)
Scastie: https://scastie.scala-lang.org/bS9fESLzT6OPvUFDKblNDw
import org.scalatest.funsuite.AnyFunSuite

class Tests extends AnyFunSuite {

  test("foo") {
    case class Pair[X, Y](
      x: X,
      y: Y,
    )
  }

}

results in this error when compiling
bad parameter reference Pair.this.X at inlining
the parameter is type X in class Pair but the prefix (Pair.this : Pair[X, Y])
does not define any corresponding arguments.
idx = 0, args = List()

It used to compile fine with Scalatest 3.2.8 (Scala 3.0.0-RC3).

@TomasMikula I took a look at this, and the problem can be minimized to this without ScalaTest:
class TestSuite {
  inline def test(fun: => Any): Any = fun
  test {
    case class Pair[X, Y](
      x: X,
      y: Y,
    )
    ()
  }
}

I have created an example project here:
https://github.com/cheeseng/scala3-case-class-inline-problem
I'll try to reach the dotty gitter and see if we can find a cause, for now the workaround may be is to move the case class declaration out of the test block.

@TomasMikula Fyi I submitted a ticket here: https://github.com/lampepfl/dotty/issues/12508

Great, thank you!

@TomasMikula Fyi the problem shall be fixed in the upcoming Scala 3.1.3.

👍 Thank you @cheeseng

@TomasMikula Fyi Scala 3.1.3 is released, and I have updated the example project to 3.1.3 and the problem is fixed now.
Cheers.


Build fails with Ubuntu 23.04 kernel linux-image-6.2.0-20-generic: ‘struct acpi_device’ has no member named ‘children’

/var/lib/dkms/thinkpad_acpi/1.0/build/thinkpad_acpi.c: In function ‘tpacpi_query_bcl_levels’:
/var/lib/dkms/thinkpad_acpi/1.0/build/thinkpad_acpi.c:6862:43: error: ‘struct acpi_device’ has no member named ‘children’
 6862 |         list_for_each_entry(child, &device->children, node) {

Full make.log attached:
make.log

Thanks so much for the PR! I'm really only interested in going to the effort to support LTS builds at this time.
This seems like it might be a bigger issue though which will affect the next LTS build. It's probably a mistake in my sed command. I'll look into this in a couple of weeks when I have time and get back to you!


Netlify build stage fails when using netlify-edge preset

Environment
------------------------------
- Operating System: Windows_NT
- Node Version:     v16.19.0
- Nuxt Version:     3.5.1
- Nitro Version:    2.4.1
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      nitro, runtimeConfig, app, modules, content, image
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
- Build Modules:    -
----------------------------------

Reproduction
export default defineNuxtConfig({
	nitro: {
		preset: 'netlify-edge'
	},

Describe the bug
Followed the Netlify nitro preset doc
Additional context
ChatGPT says this about the error (but data cutoff date was September 2021, so not sure anything more recent is known):
The error message you provided indicates that there's a problem with the use of __dirname in your server.js file:
11:11:56 AM: ReferenceError: __dirname is not defined
11:11:56 AM:     at file:///opt/build/repo/.netlify/edge-functions/server/server.js:1:1128946

The __dirname is a global object in Node.js which gives the directory name of the current module. However, when the code is being transpiled for the browser or in some bundling scenarios, __dirname may not be available.
The problem is often encountered when building projects for serverless environments, like Netlify Edge Functions.
Since __dirname is specific to Node.js and not a part of JavaScript's standard global objects, it's not defined in the ECMAScript module (ESM) context. Netlify Edge Functions require ESM syntax, and it seems like the Nuxt Nitro preset for Netlify Edge (netlify-edge) is trying to use __dirname in an ESM context, causing the error.
Here's a workaround you might want to try:

Create a netlify.toml file in the root of your project if you haven't already. This file is used to configure your Netlify build.

Add the following configuration to the file:
[functions]
  node_bundler = "esbuild"
  node_sourcemap = "yes"

I did the above solution and it did not help.
Logs
The following build log is shown during the fail:

11:32:31 AM: Packaging Edge Functions from .netlify/edge-functions directory:
11:32:31 AM:  - server
11:32:33 AM: ReferenceError: __dirname is not defined
11:32:33 AM:     at file:///opt/build/repo/.netlify/edge-functions/server/server.js:1:1128946
11:32:33 AM:
11:32:33 AM: Bundling of edge function failed
11:32:33 AM: ────────────────────────────────────────────────────────────────
11:32:33 AM:
11:32:33 AM:   Error message
11:32:33 AM:   Could not load edge function at '/opt/build/repo/.netlify/edge-functions/server/server.js'. More on the Edge Functions API at https://ntl.fyi/edge-api.
11:32:33 AM:
11:32:33 AM:   Error location
11:32:33 AM:   While bundling edge function
11:32:33 AM:
11:32:33 AM:   Resolved config
11:32:33 AM:   build:
11:32:33 AM:     command: npm run build
11:32:33 AM:     commandOrigin: ui
11:32:33 AM:     environment:
11:32:33 AM:       - NUXT_OPENAI_API_KEY
11:32:33 AM:     publish: /opt/build/repo/dist
11:32:33 AM:     publishOrigin: ui
11:32:34 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
11:32:34 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:32:34 AM: Failing build: Failed to build site
11:32:34 AM: Finished processing build request in 1m16.367s

I made a minimal repro and it worked for that test. I'll have to check and see why it doesnt' with my production version. Thanks for the willingness to look into this, but we can close this for now.


Patch 1

修改支付部分签名bug

Pull Request Test Coverage Report for Build 55

0 of 4 (0.0%)  changed or added relevant lines in 2 files are covered.
171 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-29.2%) to 7.393%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Payment/PaymentClient.php
0
1
0.0%

src/Payment/Signer.php
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Payment/PaymentClient.php
1
0.0%

src/Services/BaiduAbstractService.php
4
0.0%

src/Client/ParseResponseTrait.php
14
0.0%

src/BaiduClient.php
24
42.86%

src/Client/BaiduServiceClient.php
25
0.0%

src/Services/BaiduTemplate.php
42
0.0%

src/Client/BaiduHttpClient.php
61
6.12%

Totals

Change from base Build 53:
-29.2%

Covered Lines:
38

Relevant Lines:
514

💛  - Coveralls


Call back the input in for loop

I have the input "remove_{i}", i is count() when the users click to save object. Then I want to access the  input.remove_{i}() to remove the object by the user, but I have a hard time to call it back. I tried many way btn = eval('f"input.remove_{i}{()}"'), btn = f"input.remove_{i}{()}", but nothing work. Do you have any idea?
    @render.text
    def remove() -> str:
        if count() > 0:
            for i in range(1, count() + 1):
                # btn = eval('f"input.remove_{i}{()}"')
                # btn = f"input.remove_{i}{()}"
                btn = input.remove_1() # test it works for i = 1
                if btn > 0:
                    return("remove_" + str(i))

The way you would access this is with square brackets, e.g. input[f"remove_{i}"].
Here's a demo app in Shinylive that demonstrates this:

Yeah, thanks.


Table foot - Incorrect documentation

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
In Documentation
You are show table-light for Table head <thead> for preview example in Table foot point. but, Has not been added table-light class to table head for example code.

Reduced test cases
Documentation problem.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
v5.3

Good catch @harnishdesign, thanks for reporting it. I've created #39320 to fix it.


[explore] disable "granularity" control for non-timeseries visualizations

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.17.6
Expected results
Using the timestamp column for the series, I would expect the time grain to apply, so that the series is e.g. weekly.
Actual results
The query executed does not include any statement regarding the time grain and this is visible in the visualization.
Steps to reproduce
Create a distribution bar chart with timestamp series.

You may want to use the time series bar chart. We should hide the granularity selector on visualizations that are not time series...

I used the time series bar chart instead. Wouldn't it be better if there were only one bar chart visualization and the type would change depending on whether the time grain has a value or not?

Perhaps, though some of the form elements as they exist should get enabled/disabled based on whether granularity is specified or not, and the change management around this change (a database migration script that would alter slices to the new scheme) would be significant.

Notice: this issue has been closed because it has been inactive for 340 days. Feel free to comment and request for this issue to be reopened.

I think this is a valid issue, we should only show granularities for charts types which group-by time (time-series).  Having this displayed for non-time-series based charts is misleading.


dbeaver Support

Question
Is there some way to purchase support for working with dbeaver. I really like using it to manage my databases. I'm starting to use it at work to connect to my employer's databases, it would be really helpful if there was a support line that could help with technical problems that I won't know the answer to since I don't understands the in and outs of the tool. Any opportunity for this?

hi @drudd75077
All licensed users of DBeaver EE have an access to a special support system where they can ask questions. Tickets and questions from licensed users have higher priority.
I can recommend you to buy license for the enterprise version and use support if you need.


Error fetching wine url

I am getting the following error when creating an appimage from scratch
[] AppDir from previous run found, remove it? [y/N]:
[] appimagetool: https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
[] imagemagick: https://imagemagick.org/archive/binaries/magick
[] Error fetching wine url

Hi @Blad3forc3 , just tested it and it worked for me. What wine distribution are you using?

I'm trying wine ge with
export GIMG_WINE_DIST=wine-ge

Oh it's export GIMG_WINE_DIST=ge.

Ok cool thanks but when i have an empty gameimage folder and i get to the option of downloading the wineprefix and select yes it doesnt download the wineprefix

Hi @Blad3forc3, thanks for the feedback! I've disabled this feature due to not working sometimes, as per the nvidia issue, it should be fixed in the latest wine-ge.


add message to landing page for az rebalance

The lint error should be fixed. Can you rebase and retry?


including a way of zooming to extent

including a way of zooming to extent
Originally posted by @semanticfire in https://github.com/zazuko/openlayers-elements/issues/4#issuecomment-465919628

@semanticfire please check the spike I created for zooming: https://deploy-preview-17--openlayers-elements.netlify.com/#/elements/ol-map/demos/zoom-to-extent
Basically, the children of ol-map fire a zoom event with the extent. I added a convenience method to the vector layer element and the other demo shows manual zoom to a feature.
Let me know if you have any suggestions and then I'll polish this so that it matches the fit API of OpenLayers feature-wise.


HW8: Added finalized info for student/project readme

This PR also includes my external contribution PR link in my student readme (ag4219.md).


Bug 1

Generate password function if first length does not equal null, then that answer saves for subsequent answers and cancelling out of the prompt for length does not end the function.

if the first length is not null, but the second length value is also not nulled, it goes through the cycle of which types of characters at the end twice.


Remove all legacy COMPAT code + comments

This is all implemented in the PR, closing now as https://github.com/Fizzadar/pyinfra/issues/333 tracks release.


UnBounded History growth can consume lots of memory

I use this lib in production for large batch updates where we may make 100,000+ calls in one run.  I experienced exceeding 8Gig memory usage before the program was terminated by the OS.
Researching this issue I found it was simply the History object growing indefinitely until the Browser object was release, at which point the GC would cleanup.
I implemented some optional methods and default settings that do not change the current behavior, but make it simple to limit the growth of the History or just clear the history at will.
PR is on its way.

Do you actually need the History tracked for that? I'd probably offer a NoopHistory implementation that just dropped history. I don't use the History stuff either.

Yes, I guess that would be another way to approach this.  In my situation I use Bookmarks but I never go back into History ether.  But if you need history, and it grows too big, they your are in a bad place again.
I used the std lib container/list which is a doubly linked list.  In my code I set the max to 10 or so and allow it to flow through the list.  Not a lot of overhead to manage the pointers in the list and it keeps the History option open.

Having a Browser.Close() method which frees resources sounds like a good idea.

If you called Browser.Close(), would you expect to be able to use it again?
With the current code, simply allowing the Browser object to go out of scope effectively releases all resources to the GC to cleanup.
My issue came in when I was needing to use the Browser over many requests.  So I added a method Browser.ClearHistory() to explicitly clear history at a given point.  I also added a Browser.SetMaxHistory(max int) to limit history growth to a number of items.  I left the default at unlimited as to not change the exiting behavior and possibly cause a BC issue, but it might be okay to have a sensible default here of 100 items or something like that.

The two methods to clear and limit the history sound good to me too, though I would probably put those methods on the jar.History interface. (In which case they would be named Clear() and SetMax().)

Those two methods do exist on jar.History, but the current Browser does not provide access to Browser.history.  So you would have to do something like this:
b := surf.NewBrowser()
hist := jar.NewMemoryHistory()
hist.Max(100)
b.SetHistoryJar(hist)

Because this felt to painful, I added the corresponding methods to the Browser.
b := surf.NewBrowser()
b.SetMaxHistory(100)

Maybe it would just be better to make the History object accessible.

Maybe it would just be better to make the History object accessible.

I think that approach would work best, and if we're doing that, we should make the other jar objects accessible as well.

Okay.  I will work on that.

I removed the methods browser.SetMaxHistory() and browser.ClearHistory().  I also exposed 4 jar objects so they can be manipulated directly.

Looks good, though the Browsable interface is missing the getter methods. Thanks for your effort in making these changes!

Done.  We now have the same methods as part of the Browsable interface.

The last item that I would like to do is change the default history length to 100.  What is the procedure to make this in a patch release?

There's no procedure in place at the moment. Unless @lxt2 has some other idea, I would think we should tag v1.0.1 and then merge your changes.

Is there a PR for this that I've missed?

I just added a PR to change the default.

I do not understand now... how would you limit history to 1 page now?

This should work:
b := surf.NewBrowser()
b.HistoryJar().SetMax(10)

This should work:
b := surf.NewBrowser()
b.HistoryJar().SetMax(1)

There no HistoryJar() method

The PR was merged into the master branch, but has not been released with a version tag...
Checkout master and you should be seeing the new Methods.

Checkout master and you should be seeing the new Methods.

thanks!


refactor: calculate_synthetic_size_worker, remove PRE::NeedsDownload

Changes I wanted to make on #6106 but decided to leave out to keep that commit clean for including in the #6090. Finally remove PageReconstructionError::NeedsDownload.

Failures on Postgres 16

test_metric_collection_cleans_up_tempfile: debug

Needs allowed_error, probably too strict re?


helm chart doesn't provide option to set up statefulset's volumeClaimTemplate

Preflight Checklist

[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I agree to follow the Code of Conduct.

Problem Description
Helm chart doesn't provide option to set up statefulset's volumeClaimTemplate. This blocks completely usage of internal raft storage in HA mode with volumes provisioned dynamically by CSI.
Proposed Solution
Add in helmChart option to define persistence storage through volumeClaimTemplates and remove pvc.yaml (or leave it as fallback option)
Alternatives Considered
Switch to HC vault helm chart with additional sidecar container with bank-vaults for unsealing
Additional Information
No response

Thanks for raising this @camaeel! If you have some extra time to create a PR for this, should be easy to patch. Let me know if so we can plan it out.

Thanks for raising this @camaeel! If you have some extra time to create a PR for this, should be easy to patch but very valuable. Let us know so we can plan it out.


Button For Light/Dark Theme Switching

Summary
Wouldn't it be great to add a two theme switching button feature to the website:
A button that would change the theme right away and would be available on all pages on the top navigation menu, possibly close to the search button on top?
Maybe include something in the theme configuration file as :

Light_Dark_Button : true/ false
Light_Theme : aqua
Dark_Theme : neon

Motivation
I thought of looking at some articles and found these :

https://medium.com/@derekkedziora/how-to-add-a-dark-mode-toggle-to-a-jekyll-site-a76dac00128d
https://laptrinhx.com/how-to-add-a-dark-mode-toggle-to-a-jekyll-site-2605890340/

However, these documents don't cover the themes that minimal mistakes uses, aka :
| aqua | neon | plum | dirt | mint | sunrise | air | contrast | dark |

Drawbacks
None that I know of , except that it may cause the one navigation menu item to maybe go to the sidebar with three horizontal bars?

#2033

Closing as this is a duplicate of #2033


Need additional documentation for running the sample Record and Replay Eye Gaze Data on an actual device.

Describe the issue
The MRTKExampls　Assets/MRTK/Demos/EyeTracking/Scenes/EyeTrackingDemo-05-Visualizer scene provides the ability to record and play back eye gaze data. (Record and Replay Eye Gaze Data)
EyeTracking's GazeData is a very useful feature to know where the user was looking, but in order to use it, you need to enable "Music Library" in the PlayerSettings capability.
This is because the root of the recorded csv file is "MusicLibrary".
(BasicInputLogger.cs Line42 )
However, activating the "Music Library" is not obvious until you follow the flow of the code.
I find this to be time consuming for both beginners and those who are familiar with Unity.
The community channel also had the following message.
https://holodevelopers.slack.com/archives/C2H4HT858/p1595534605150000
I feel that a word should be written in the MRTK EyeTracking documentation About PlayerSettings/Capabilities.
Existing doc link
I feel it is appropriate to add to this document.
https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/EyeTracking/EyeTracking_ExamplesOverview.html#visualization-of-visual-attention

Thank you for the information! Stuck on this issue for a little while today.

Thank you for the information! Stuck on this issue for a little while today.

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


能否通过数据使用申请？

Sorry, I didn't receive any application from you. Please submit it through Google Form (https://forms.gle/Tkq5UTinW7bBB6388). Thank you for your support!


py: define attributes for the password1 field

we have to style the password1 field in the SignUpForm located in forms.py

we can achieve this by adding needed classes and placeholder value in the attrs of the widget variable of the password1 field.
Target File: forms.py
✨ Feel free to add your own changes !
💬 drop a comment if you like to take up this issue, so i can assign it to you.

Refer:
Working with forms - Django
Example:
class SignUpForm(UserCreationForm):
  ...
   password1 = forms.CharField(
        required=True,
        widget=forms.PasswordInput(attrs={
            'class': 'mt-3 input w-75 p-3',
            'placeholder': 'Password'
        }),
    )
  ...

please assign this issue to me.

Opened a PR #46    @akshayitzme
Please take a look.
Let me know if any changes are needed.


Does the MFNet dataset contain horizontally flipped images?

Does the MFNet dataset contain horizontally flipped images?

Hi thanks for your interest.
The random flipping is applied as mentioned in implementation details.


Uri missing .resolve(Uri) method

I'm implementing one, but it's blocked by #184.

https://tools.ietf.org/html/rfc3986#section-5.4 specifies that the relative Uri g resolved against the base Uri http://a/b/c/d;p?q should be http://a/b/c/g; but because g is parsed as authority instead of path (#184), it resolves to http://g instead.

Hope I'm not out of line, submitting PRs without an invitation!

Wait, did none of the other committers tell you about the pull request application fee? ;)
Seriously, we love contributions.  Keep up the good work!


GDPR: Investigate instagram privacy options in their embedded API

Maybe we can get rid of the simple variant.

In my honest opinion this will be a waste of your time.
There are absolutely no privacy options in the Instagram API and in other 3rd party embed APIs.
The only embed API that offers some kind of half-hearted privacy is Twitter's with a dnt flag meant to disable tracking from pages with tweet embeds for personalized ads, but still even with that flag Twitter tracks for everything else through its embeds.
The only way to get rid of the Hugo simple variants is to build a mechanism for user consent and if a user does not agree then break/hide the embeds.
Here is a relevant (and short) discussion about making iframe embeds GDPR compliant from the GitHub repo of a WordPress GDPR plugin.

Closing.
See commit: https://github.com/gohugoio/hugo/commit/1f244b802eaabb119d38dae00a8c2bbbd3263752


CI: Upgrade test to ubuntu-24.04

Update pylib_test,twister_test to use ubuntu-24.04 as it`s GA now.

superseded by #https://github.com/zephyrproject-rtos/zephyr/pull/82979


Add ElasticSearch support on entities

@sahbi-ktifa : can I take this ticket ? It will help me to start contributing and learn VueJS

Sure, go ahead!

can you assign this to me ?

@deepu105 : as I plan to help this project, can I become contributor plz ? So I can review / assign / merge pull request. Thanks in advance! :heart:

@pascalgrimaud arent you already a contributor? I guess only Julien can manage teams. @jdubois can you add core members to this project as well

Yes it's a different team! @pascalgrimaud I just gave you access

thanks a lot guys !

sorry it's not the subject of this ticket, but it would be nice to add @hdurix to VueJS team too, if possible :)


tcl-tk: update tcllib SHA1

See tcltk/tcllib#5.
Closes #497.
Closes Homebrew/homebrew#42604.

cc @DomT4

All audit warnings:
homebrew/dupes/tcl-tk:
 * A top-level "man" directory was found
Homebrew requires that man pages live under share.
This can often be fixed by passing "--mandir=#{man}" to configure.
 * Non-libraries were installed to "/usr/local/Cellar/tcl-tk/8.6.4/lib"
Installing non-libraries to "lib" is discouraged.
The offending files are:
  /usr/local/Cellar/tcl-tk/8.6.4/lib/Tk.icns
  /usr/local/Cellar/tcl-tk/8.6.4/lib/Tk.tiff

Can handle those separately.

Thanks for following up on this one. Was on my list of stuff to get done today, so a shorter list is nice :smile:. We should fix the manpage placement, whether through passing mandir to configure or just moving them after installation.
I don't particularly care about icns and tiff in this case because the formula is keg_only and those files aren't going to contaminate anything else.


Roslyn generator generates differently on different machines

Hi,
We're using Entitas on two different machines, one is using Rider as IDE and another uses VS with Visual Studio Tools for Unity. VSTU changes project name from default Assembly-CSharp.csproj to %project_name%.csproj, so the Preferences.properties file differs for those two machines in DesperateDevs.CodeGeneration.Plugins.ProjectPath = line.
There are no other noticeable differences between machines.
For some reason generated code on machines is different
for example for component
    public class Health : IComponent
    {
        public float value;
    }

VSTU machine generates
public sealed class HealthComponent : Entitas.IComponent {
    public ECSGameplay.Health value;
}

and Rider machine doesn't.
It makes impossible to work on a project for 2 and more devs concurrently

Hi,
you can find an empty *.userproperties file in your project folder. You can use that to overwrite existing keys in your properties file.
The idea is to put *.userproperties in your gitignore and team members can overwrite settings if necessary.
Hope that help

To overwrite a setting selectively add lines you want to overwrite to your own userproperties
DesperateDevs.CodeGeneration.Plugins.ProjectPath = %project_name%.csproj

Hi,
My issue is not with config differences between machines, but with code generated being different on different machines.

The generated code should be the same across all machines. Are you sure, the config is setup correctly for everyone?

The code generator is not aware of the IDE. It doesn't matter which IDE you are using. I have the feeling that the properties file might not be set up correctly.
What is the difference of the generated code?

The only difference in config is DesperateDevs.CodeGeneration.Plugins.ProjectPath = line that targets different csproj files depending on whether VS or Rider is used.
The project layout is the same for both machines.

I can only quote the description form original message in the issue
For some reason generated code on machines is different
for example for component
    public class Health : IComponent
    {
        public float value;
    }

VSTU machine generates
public sealed class HealthComponent : Entitas.IComponent {
    public ECSGameplay.Health value;
}

and Rider machine doesn't.

Is that true for all components or just the health component?

For a lot of components it is, can't confirm that it is true for all of them as there are a lot of them
other examples
    [Game]
    public class AuthEventComponent : IComponent
    {
        public AuthEvent evt;
    }

[Entitas.CodeGeneration.Attributes.DontGenerate(false)]
public sealed class AuthEventComponent : Entitas.IComponent {
    public ECSGameplay.AuthEventComponent value;
}

Please check GeneratedFolder/%ContextName%/Components
and see if this folder has all your components.
I cannot think of a case, where not all components are generated, so I still think the properties is not set up correctly.
To test this, you can delete the properties file on the affected machine, open Entitas Preferences window which will regenerate it, then run jenny auto-import -s, double check the project path and see if it works

VSMachineLog.txt
RiderMachineLog.txt
Verbose logs for code generation on different machines, i will try reseting preferences, but I have to stress that configs are identical with exception of project file path line

The rider log contains "GameHealthComponent.cs", looks good to me.
VS log additionally contains "Components\HealthComponent" which is weird.
This file will be generated, if Health doens't implement Entitas.IComponent, so there's sth wrong.

Double check if HealthCompoent implements the proper IComponent interface. Components\HealthComponent should not exist

I've double checked it, all the components do implement Entitas.IComponent interface
Can it be that something prevents generator from recognizing it?

I would be interested in a diff of the project files. In the past, VS has already produced different project files which affected the the roslyn parser.

I'm not comfortable exposing project files to the public, can I send them over to the email or something like that?

Sure, I understand. No need to share the project file. Can you do a local diff, just to see if there are any differences. E.g. in the past, this happened #503

Yes, I'm having exactly the same problem. One thing though I do have FixTargetFrameworkProfile preprocessor enabled, for some reason it doesn't work, can it be because for me it adds <TargetFrameworkProfile>Unity Full v3.5</TargetFrameworkProfile> profile and not the one with Subset in it?
When i delete the profile before generation it generates just fine, so at least i have a way of generating correct code on my machine

Ok, I can update the pre processor to support this change

I'm I correct to assume that this dll replaces the one located in Jenny\Plugins\DesperateDevs  ? If so - it didn't work.

If you have selected this plugin in the properties, then yes. If you selected the one in the entitas folder, then replace that one

I've replaced both %)
Doesn't work

did you restart jenny server?

I'm using Jenny gen -a for my test, i assume it doesn't require any additional actions to reload config when used that way

-a ?

Hmm got this key from older discussion and/or documentation, removing it changes nothing though

:) I remember, -a was "keep alive", a feature that has been replaced by jenny server

Please patch the dll in DesperateDevs and Entitas.Roslyn

New error
lugins\Entitas.Roslyn\DesperateDevs.CodeGeneration.Plugins.dll' or one of its de
pendencies. Operation is not supported. (Exception from HRESULT: 0x80131515)```

nwm windows was blocking code from unknown source
Now the issue is solved

ok great!


[Feature] metric: adding mAPH

What is the feature?
Is there any method to calculate the waymo-open-dataset metric, mAPH without using compute_detection_metrics_main, which is strongly coupled with waymo dataset
Any other context?
No response

For example, I want to calucate mAPH on self-build dataset

Hello, I think this metric could be calculated by your own written script, it's a metric considering the heading direction while computing mAP metric, maybe more details could be found in waymo official repo: https://github.com/waymo-research/waymo-open-dataset/blob/master/tutorial/tutorial_camera_only.ipynb