Add filterClass support for Application Class

Current status: filterClass supports to filter on VirtualServer classes like Service_HTTP, Service_HTTPS, etc... (the documentation mentions)
Request: It would be nice to have the ability to filter in class Application as well, so CICD pipelines only need to parse on the Application they are deploying and use that as a verification step to see if creation/update/delete has worked on this specific Application.
Example:
{
    "class": "AS3",
    "action": "deploy",
    "persist": true,
    "declaration": {
       "class": "ADC",
       "schemaVersion": "3.0.0",
       "id": "fghijkl7890",
       "label": "Sample 6",
       "remark": "HTTP two applications",
       "Sample_http_06": {
          "class": "Tenant",
          "A1": {
             "class": "Application",
             "template": "http",
             "serviceMain": {
                "class": "Service_HTTP",
                "virtualAddresses": [
                   "<IP_ADDRESS>"
                ],
                "pool": "web_pool"
             },
             "web_pool": {
                "class": "Pool",
                "monitors": [
                   "http"
                ],
                "members": [{
                   "servicePort": 80,
                   "serverAddresses": [
                      "<IP_ADDRESS>",
                      "<IP_ADDRESS>"
                   ]
                }]
             }
          },
          "A2": {
             "class": "Application",
             "template": "generic",
             "AnyName": {
                "class": "Service_HTTP",
                "virtualAddresses": [
                   "<IP_ADDRESS>"
                ],
                "pool": "web_pool2",
                "virtualPort": 80
             },
             "web_pool2": {
                "class": "Pool",
                "monitors": [
                   "http"
                ],
                "members": [{
                   "servicePort": 80,
                   "serverAddresses": [
                      "<IP_ADDRESS>",
                      "<IP_ADDRESS>"
                   ]
                }]
             }
          },
          "A3": {
            "class": "Application",
            "template": "generic",
            "AnotherName": {
               "class": "Service_TCP",
               "virtualAddresses": [
                  "<IP_ADDRESS>"
               ],
               "pool": "web_pool3",
               "virtualPort": 80
            },
            "web_pool3": {
               "class": "Pool",
               "monitors": [
                  "tcp"
               ],
               "members": [{
                  "servicePort": 21,
                  "serverAddresses": [
                     "<IP_ADDRESS>",
                     "<IP_ADDRESS>"
                  ]
               }]
            }
         }
       }
    }
}

GET /mgmt/shared/appsvcs/declare/Team_A?filterClass=A3
"Sample_http_06": {
   "A3": {
     "class": "Application",
     "template": "generic",
     "AnotherName": {
        "class": "Service_TCP",
        "virtualAddresses": [
           "<IP_ADDRESS>"
        ],
        "pool": "web_pool3",
        "virtualPort": 80
     },
     "web_pool3": {
        "class": "Pool",
        "monitors": [
           "tcp"
        ],
        "members": [{
           "servicePort": 21,
           "serverAddresses": [
              "<IP_ADDRESS>",
              "<IP_ADDRESS>"
           ]
        }]
     }
  }
}

I believe this is better handled by an application level API similar to what you described in #253. Therefore I am closing this one as a duplicate.


Got sample code working on my machine connecting Python to Postgres install

Hey @kmkashif - just wanted to let you know I'm doing my work on this branch. The first commit has a working copy of connecting to Postgres using Python (at least using my machine's config). I'll keep committing here and if you want to build off my code let me know and we can complete the merge into dev so that you can branch off there.

@kmkashif I've been fighting this issue all morning - can't get the CSV to load properly. Current status is this branch has my most recent code, I am able to load stuff into the database from the CSV files, but I haven't figured out how to parse the data in the CSV into the proper formats. Therefore the code is throwing an error when it gets to the first non-string column.  I also tried a couple other methods to import the data but they've all given me other forms of problems. I'm dropping off for now, let me know if you work on this.

@kmkashif Another thought - the most recent commit uses sample data files (only the first 15 lines). You may want to try creating a 3 or 4 column CSV file that has a few different data types (str, int, date) and loading that before tackling the sample or real data sets - I probably jumped ahead to quickly on loading the real data set.


Create initial public Configuration factory methods

It is the goal of the JVM team to ensure that no configuration can change roles starting in Gradle 9.0. There are a few reasons for this. One being that it is difficult to apply conventions to all configurations of one type if the role of that configuration can change after the conventions are applied. The other more important reason is that it is difficult to have a single implementation for a Configuration which can fulfil all three usages while also limiting memory usage and complexity. This may be possible with some sort of state machine and delegation to usage-specific implementations, however this would likely be complicated to implement.
To resolve this, we introduce new APIs on ConfigurationContainer to create configurations in a pre-defined role:

Resolvable 2. Consumable 3. Dependencies.

These configurations created with these factory methods will not be able to change roles -- contrary to existing factory methods where after initial creation the configuration can change to any role as desired.
Future work will deprecate creating configurations with the standard create and register methods and will also deprecate changing the role of any configuration after it has been created.
At a high level, this PR makes the following changes:

Creates new public factory methods for all 3 usages in ConfigurationContainer
Defines the ConsumableConfiguration, ResolvableConfiguration, and Dependencies Configuration marker interfaces

The factory methods return these types. Users can use instanceof to check the type of a configuration
Future work will add toX methods on these interfaces when we introduce new APIs for consumable, resolvable, dependencySpec

Introduce 'unlocked' versions of public factory methods for internal use in RoleBasedConfigurationContainerInternal

These methods create non-role-locked versions of the public methods. In 9.0 we will transition to the public APIs, but cannot do so yet to avoid breaking changes

Add default implementations for the configuration-extending interfaces marked above. Update ConfigurationFactory to be able to instantiate any of these
Make DefaultConfiguration abstract. Future PRs will likeley update the name of this but for now to avoid potential breaking changes this will remain with the existing name
Remove existing internal methods for creating configurations with arbitrary roles, exposing only internal methods to create configurations in known non-deprecated roles or deprecated roles marked in ConfigurationRolesForMigration
Update Ear plugin to no longer create legacy configurations. 'deploy' and 'earlib' will be transitioned to resolvable dependency configurations
Update internal plugins throughout to create unlocked configurations using new internal factory methods

TODO:

[ ] How does this look like in the Kotlin DSL?

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

We decided to go with a lazy API. Superseded by https://github.com/gradle/gradle/pull/25193


Remove wasm-network/tweek-rust crate

This entry breaks the build:
$ zola_0_5_1 build
Building site...
-> Creating 19 pages (0 orphan), 1 sections, and processing 0 images
Failed to build the site
Error: Failed to render page '/home/ozkriff/arewegameyet/content/categories/animation/index.md'
Reason: Failed to render 'categories/page.html': error while rendering macro `macros::info`
Reason: Failed to request https://api.github.com/repos/wasm-network/tweek-rust: 404 Not Found

The repo isn't there anymore. Was it moved somewhere or?

@hughlang is the author of that crate, as far as I can tell - hopefully they can weigh in on whether it still exists in some form elsewhere.

Well, if nobody objects, I will merge this PR today around 18:00-UTC (~12 hours from this moment) because we need to fix the build. We can always re-add this crate's new location later.

Google says it should live at https://github.com/wasm-network/tweek-rust, but appears to have been deleted or moved.
They can always PR it back in later, approving this.


Update README.md

We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.

This PR is rejected because reference to JIra ticket does not exist in the comments section of this PR. Close the PR, add Jira ticket number in comments, reopen the PR to trigger a new pipe in spinnaker.Reviewers approve only after jira reference is added.

OP-0000

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gcp-gitprtrigger/executions/details/01FYPN0NR6EQ036VFMEPTYQMSZ


Milestone 1.5: Activity - specs & progress

This is a tracker/discssion issue for the 1.5 milestone (design docs).
Goal is to add transaction handling and display. So far, the application can only create and manage wallets, but there is no balance or transaction list. That's what we add here.
Additions:

Activity screen
Transaction details
Balance display

Questions:

What other activities should be in the activity list? Transactions and...? Will we eventually have things like key rotation, backup reminders, or otherwise?
Do we want to offer search and filter options for the activity list?
What are all the transaction states we need to offer? This would be great to have a spec'd list.

Some cleaned-up designs from last years explorations:

We also need a state for indicating when transactions are still being verified, more here. This does not necessarily have to be an indicator on each transaction, it could also be a more general message, or even just something that shows up when trying to send UTXOs that have not been verified yet.

Another state to address is when received coins are time-locked. This was brought up in this podcast episode.
There is a bit of a chicken-end-egg situation. If the application does not let you create time-locks, then why display them. Well, you might be able to create them in a separate wallet.  So we could start with the display side, and the create side would be part of #65 anyways.

In the design call #92, we talked about potentially showing payment requests in activity. Logic is that a payment request gets completed by an incoming transaction. We'll explore this in the 1.6 milestone.

The design docs for activity were just updated via this PR.


4D-Humans root vs SMPL root

Hello,
Thank you for the amazing work!
Do you define the camera translation (pred_cam_t_full) from the pelvis or the midhip? I'm trying to obtain the predicted 3D joint positions in the world frame but having some translation issues. I thought there might be a difference between 4D-Humans root joint and SMPL root joint after checking joint ids .
For instance, to get the root translation in world frame, I'm doing
world_root_translation = (Rw[0].T @ (pred_cam_t_full - Tw[0].unsqueeze(0)).T).T  where Rw and Tw are the rotation and translation matrices of my camera, and I directly use the pred_cam_t_full directly from 4D-Humans prediction. I also modified the focal length according to the camera I'm using. This gives me an inaccurate translation though. So, I thought there might be some mismatch between the SMPL root and 4D-Humans root for pred_cam_t_full value.

4D Humans have the same root as SMPL. However, please note that the root of SMPL is not at the origin of the SMPL coordinate frame, so that could create problems with your calculations.

Yep, that was the problem. Thank you!


Git-Tfs-0.29.0 TFS205022 The following path contains more than the allowed 259 characters

When executing the simple command of git-tfs clone from a legacy TFS 2010 Server, the cloning stopped with the error "TFS205022: The following path contains more than the allowed 259 characters."
The clone from TFS is being placed into a folder inside the Git-Tfs-0.29.0 folder on the c:\ drive. The TFS solution has a large number of projects, and it is not actually possible to shorten any file names in the actual projects without recompiling everything, which defeats the object of the exercise. Therefore, is there away to allow filepaths greater than 259 characters for TFS 2010 projects?

Here is part of the solution :
https://github.com/git-tfs/git-tfs/blob/master/doc/Set-custom-workspace.md
Or you could try changed done in this pull request if you satisfy all the
conditions : https://github.com/git-tfs/git-tfs/pull/1221

We are trying to clean up old/stale issues. As this issue hasn't seen any updates (or progress with pull requests) in quite a while, the issue will be closed. In case further information is provided, we can revisit that and reopen the issue again.


Test heuristic guesses against a number of our existing transforms

Test the heuristic algorithm against a substantial fraction of the datasets we've already imported.
Report on:

Accuracy
Precision
etc.

What heuristic algorithm?

This functionality has been superceded by the csvcubed configuration by convention approach.


Replace Appveyor CI

Reference Issues/PRs
Partly fixes https://github.com/alan-turing-institute/sktime/issues/1032
What does this implement/fix? Explain your changes.

Adds GitHub Action CI scripts for Windows building and testing
Removes appveyor CI

What should a reviewer concentrate their feedback on?

does changing from appveyor require a check from appveyor? Will it allow it do you think? :)

From my side, this is ready to be reviewed.
The appveyor checks are expected to fail, since I removed them here. The build (macos-latest) also won't run because I changed and renamed the workflows to now include both macOS and Windows.
Given that I'm away for the next couple of days, it may be wise to wait before we merge this until I'm back? I think I'd also prefer to publish another release relying on the old tried and tested workflow before merging the new one in this PR.

@mloning, you are now back from holiday - it would be good to finish this, and there are some conflicts?

Not sure why it's now failing, the Windows runs worked before.
Note to self: still need to update upload-to-pypi script once CI runs work again.

More issues, I'm working on it.

@mloning, appveyor is breaking, let's move away from it.
Are you still working on this?

Superseded by #1620


Extend documentation for data grid selection and microflow parameters

[CLIENTCORE-728]

@Adam-Dupaski that sentence should have been removed, fixed


always have whitespace at end of file (testing OSPO)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Reading from FiFo pipe blocks execution of other fibers

steps to reproduce:
create a pipe with
mkfifo piope
you can put stuff into the pipe from a different terminal with for example
cat > piope and if you use cat pipe to read the pipe, it works as expected. But the following Crystal program hangs, and never executes the second fiber.
f = File.open("piope","a+")
spawn do
  loop do
    f.gets
  end
end

spawn do
  puts "-"
  loop do
    puts "+"
    sleep(1)
  end
end

sleep()

Crystal version 0.30.1 on Debian testing

Somebody wants to try on master with and without MT? :)

I already did: the other fiber runs well with MT. But I think the pipe fiber shouldn't block. I debugged it and it seems the LibC.read call just hangs. But I know nothing about pipes to understand why that happens.

Can you try setting f.blocking = false? File.open currently opens the files in blocking mode since it makes no sense to use non-blocking for regular files (the calls to read/write are always blocking in POSIX).

Can you try setting f.blocking = false? File.open currently opens the files in blocking mode since it makes no sense to use non-blocking for regular files (the calls to read/write are always blocking in POSIX).

Yes, that does in fact make it work.
Thats not a bug after all then I guess?

@waj Is there a problem if we open files in non-blocking mode by default?

@asterite I was about to say no but then I found this commit: https://github.com/crystal-lang/crystal/commit/6943331da87c240c719d04fb8281f9b959586c38

@waj Is this is still an issue, 4 yrs l8r?

@Sija what do you mean by "this"? non-blocking IO for files? Standard IO operations over filesystem descriptors are always blocking, no matter what you do. They are always "ready" to read and write. To solve this maybe we should use aio APIs for files: http://man7.org/linux/man-pages/man7/aio.7.html

@waj By this I was referring to your commit comment (epoll raises warnings in Linux)

@waj Is this is still an issue, 4 yrs l8r?

I did not get any warnings when I add file.blocking = false.
This is on Kernel 5.2

@mavu Is that for the pipe or just for any regular files? I think the warning happened on regular files.

works for me with regular files too, but needs an additional sleep(1) in the first fiber after the f.gets or the output seems only to be the :yes from the first loop, but I think that is to be expected?

@mavu gets returns nil when it reaches the EOF, so you should break the loop in that case

Regarding this issue, I've been discussing with @asterite and we think that it would be great if Crystal sets the mode to non-blocking if the opened file is a FIFO (or any other fd type that can be used in non-blocking mode).
We could use fstat to check the type of file right after open and set the blocking mode accordingly.
One problem I found is that if "r" mode is used while opening the FIFO then the open call blocks until there is another process at the other end of the pipe. That behaviour seems to be quite difficult to mimic with non-blocking operations, because until open returns there is no fd to use in libevent (epoll and kevent). If O_NONBLOCK is used in the open call it returns immediately without waiting for a writer on the other end.
In other words we always try to make these APIs to behave like blocking from the fibers point of view but non-blocking for the entire process, but seems like it might not be possible for these.
Any ideas?

I would rather File could handle all file related cases but we could add a Pipe class for this.
Pipe.open("piope", "a+")

I just stumbled upon this, with something like File.open("/dev/tty", &.read_char) blocking the whole thread since files are always opened as blocking, even character devices (oops).
Since 2019 it seems that IO::FileDescriptor was changed to handle special files (sockets, pipes, character devices), but File still forces the blocking mode (oops). Passing blocking: nil instead of blocking: true in the File.new constructor fixes the issue for existing character devices (such as /dev/tty).
Yet, trying to open a FIFO file stills block the whole thread, because open(2) blocks until there is another thread/process that also opened the file for read/write.
To fix the problem, we'd need to open the file with O_NONBLOCK directly, and can't delay the decision to after we called open(2). The difficulty is that the file doesn't necessarily exist beforehand.


Selftest running into multiple issues

Environment

Python version: 3.7.3
Peering Manager version:  Every release after 26. June

Steps to Reproduce
Pull the latest version and run the Django selftest

Creating test database for alias 'default'...
.........................................................................................................................................................................................
----------------------------------------------------------------------
Ran 185 tests in 113.400s

OK
Destroying test database for alias 'default'...
System check identified no issues (0 silenced).```

<!-- What happened instead? -->
```$ cd /opt/peering-manager/ && python3 manage.py test
Creating test database for alias 'default'...
......E......E.......E......E......E......E.........E...........E.........................E.....................................................................................................
======================================================================
ERROR: test_get_irr_as_set_prefixes (peering.tests.test_api.AutonomousSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/peering-manager/peering/tests/test_api.py", line 116, in test_get_irr_as_set_prefixes
    response = self.client.get(url, format="json", **self.header)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/test.py", line 292, in get
    response = super(APIClient, self).get(path, data=data, **extra)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/test.py", line 209, in get
    return self.generic('GET', path, **r)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/test.py", line 238, in generic
    method, path, data, content_type, secure, **extra)
  File "/usr/local/lib/python3.7/site-packages/django/test/client.py", line 422, in generic
    return self.request(**r)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/test.py", line 289, in request
    return super(APIClient, self).request(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/test.py", line 241, in request
    request = super(APIRequestFactory, self).request(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/test/client.py", line 503, in request
    raise exc_value
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/viewsets.py", line 116, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 495, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 455, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 492, in dispatch
    response = handler(request, *args, **kwargs)
  File "/opt/peering-manager/peering/api/views.py", line 79, in get_irr_as_set_prefixes
    return Response({"prefixes": self.get_object().get_irr_as_set_prefixes()})
  File "/opt/peering-manager/peering/models.py", line 260, in get_irr_as_set_prefixes
    prefixes["ipv6"].extend(call_irr_as_set_resolver(as_set, ip_version=6))
  File "/opt/peering-manager/peering/__init__.py", line 46, in call_irr_as_set_resolver
    raise ValueError(error_log)
ValueError: bgpq3 exit code is 1, stderr: b"ERROR:Invalid source(s) 'RIPE,APNIC,AFRINIC,ARIN,NTTCOM,ALTDB,BBOI,BELL,JPIRR,LEVEL3,RADB,RGNET,SAVVIS,TC': F One or more selected sources are unavailable.\n\n"

======================================================================
ERROR: test_delete_bgp_group (peering.tests.test_api.BGPGroupTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_community (peering.tests.test_api.CommunityTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_configuration_template (peering.tests.test_api.ConfigurationTemplateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_direct_peering_session (peering.tests.test_api.DirectPeeringSessionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_internet_exchange_peering_session (peering.tests.test_api.InternetExchangePeeringSessionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_internet_exchange (peering.tests.test_api.InternetExchangeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_delete_router (peering.tests.test_api.RouterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
psycopg2.errors.ForeignKeyViolation: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 274, in __call__
    self._post_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1009, in _post_teardown
    self._fixture_teardown()
  File "/usr/local/lib/python3.7/site-packages/django/test/testcases.py", line 1177, in _fixture_teardown
    connections[db_name].check_constraints()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 246, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
django.db.utils.IntegrityError: insert or update on table "utils_objectchange" violates foreign key constraint "utils_objectchange_user_id_0e6d8ab5_fk_auth_user_id"
DETAIL:  Key (user_id)=(7) is not present in table "auth_user".

======================================================================
ERROR: test_get_irr_as_set_prefixes (peering.tests.test_models.AutonomousSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/peering-manager/peering/tests/test_models.py", line 83, in test_get_irr_as_set_prefixes
    prefixes = autonomous_system.get_irr_as_set_prefixes()
  File "/opt/peering-manager/peering/models.py", line 260, in get_irr_as_set_prefixes
    prefixes["ipv6"].extend(call_irr_as_set_resolver(as_set, ip_version=6))
  File "/opt/peering-manager/peering/__init__.py", line 46, in call_irr_as_set_resolver
    raise ValueError(error_log)
ValueError: bgpq3 exit code is 1, stderr: b"ERROR:Invalid source(s) 'RIPE,APNIC,AFRINIC,ARIN,NTTCOM,ALTDB,BBOI,BELL,JPIRR,LEVEL3,RADB,RGNET,SAVVIS,TC': F One or more selected sources are unavailable.\n\n"

----------------------------------------------------------------------
Ran 185 tests in 51.683s

FAILED (errors=9)
Destroying test database for alias 'default'...
System check identified no issues (0 silenced).```

I can reproduce the issue with bgpq3 failing due to invalid source(s). However I do not have the other failures that look like errors due to user (with ID 7) missing from the users table. What's weird is that the failures seem to only appear for tests ensuring the proper deletion of objects. Did you do anything special about the users recently?

Not that I would be aware of. The database as well as the container that runs the tests are build during runtime and destroyed afterwards. So it is always a totally new deployment. Is there a quick fix that I can implemented in regards of the invalid sources? I will check back on it tomorrow once I am back at work.

Self test is completing successful again.
Thanks for the quick fix :)


Add Issue and Pull Request Template

Need to decide on basic issue and pull request template on high priority for easy management of the same.

Fixed in 2ab8a8332028de3a9a90d3c7f7d46e76b6456df6 and bfa9484cfd91148c2702df5b29ff79b942f74fa3


configure: error: Could not compile with OMPL TypedSpaceInformation

I am working on installing amino (on my way to installing tmkit) on macOS Mojave following the guide.
I'm encountering the following when I run ./configure:
...
checking for ompl... yes
checking bundled TypedSpaceInformation.h... no
checking compat TypedSpaceInformation.h using boost::shared_ptr... no
checking compat TypedSpaceInformation.h using std::shared_ptr... no
configure: error: Could not compile with OMPL TypedSpaceInformation

I can share the rest of the log if it's useful.
The first suspicious message is checking bundled TypedSpaceInformation.h... no, which suggests that it's looking for but not able to find that header file in the amino directory. But I see that in amino/include/amino/ompl-compat/ompl/base, the file TypedSpaceInformation.h does exist.
Thanks for any guidance you can offer!

We have  previously run Amino on MacOS X.  However, I do not currently have access to Apple hardware, so it has been some time since I have been able to update the support. Still, let me see if I can help;
These configure tests are attempting to build against different versions of OMPL with incompatible changes (versions before TypedSpaceInformation.h was added, versions before/after the switch from boost::shared_ptr to std::shared_ptr).  If you are using a recent OMPL version, it should both include TypedSpaceInformation.h  and use std::shared_ptr.
The details of the configuration test and the specific compiler error messages are recorded in the generated config.log file.  Could you please check (/attach) this file to identify what has gone wrong?
One likely possibility: a recent release of OMPL has a missing include directory for Eigen in the pkg-config file (See "OMPL Missign Eigen dependency" in the amino INSTALL).  If this is the error indicated by config.log, you can fix by ensuring that Eigen is installed and updating the OMPL pkg-config file with the following line:
 Cflags: -I${includedir} -I/usr/include/eigen3

Thanks very much for the quick and helpful reply! I looked at config.log and indeed the missing Eigen dependency was the issue. I am now able to run ./configure successfully.
In case others find this issue, I'll also mention that on macOS using brew, my OMPL pkg-config file was located at /usr/local/Cellar/ompl/1.4.2/lib/pkgconfig/ompl.pc, and I added the following line (slightly different from above):
Cflags: -I${includedir} -I/usr/local/include/eigen3

Thanks again for your help @ndantam!


Fails to find lcov.info file in path with directories starting with '.'

lcov.info should be found when file is in path with directories starting with a dot as first character.
The solution seems to simply use the dot: true option with glob package (here).

Thanks for opening an issue @Chcap ! I can take a look this weekend to get your fix merged in. Then release it sometime sunday or early next week as a hotfix.

Release for this should be out by tomorrow am PST, thanks again!


[signup] - Update reference link to include the whole pathname, not o…

…nly the law id #817

I think it should be implemented for the Side Comments feature too:


Enum representation shows 'foo | 0x10' instead of 'foo & ~0x10'

Version and Platform (required):

Binary Ninja Version: 3.5.4325-dev (41782587)
OS: macOS
OS Version: 13.3 (22E252)
CPU Architecture: arm64

Bug Description:
When Binary Ninja displays the value 0x23 as type enum e : uint8_t { _0x33 = 0x33 }, it shows _0x33 | 0x10, when it should be _0x33 & ~0x10 or just 0x23.
Steps To Reproduce:

Load this file which just consists of the bytes 0x23 0x33.
Create an enum: enum e : uint8_t { _0x33 = 0x33 }
Create a variable of type enum e for each byte.
Notice the display:

00000000  enum e data_0 = _0x33 | 0x10  // this is 0x23
00000001  enum e data_1 = _0x33  // this is 0x33

Additional Information:
Question: Is there some way to mark an enum as "not a bitfield" so Binary Ninja only uses named constants if there's an exact match?

Fixed in 3.5.4326-dev


Fix doc of Options::ENABLE_MATH

There is no Tag::Math but two events. This commit fixes this typo.

Thanks!


Some polishing

I was trying to make the arguments of the event handlers typed but then I went through the whole api to try to avoid to avoid having untyped arguments in the public signatures. There are some small breaking changes, but hopefully it's ok if the package is still in beta (or at least before v1 release).
There are still things from the ReactFlow documentation that are not implemented. I will try to send more PRs as things come up :)

This is soo great! Thanks Alfonso!
Will release the new version soo.
Gonna try to publish the docs later this week.


Healthcheck failing on kubernetes environment

Describe your issue herees
After having issues trying to upgrade to latest Kubernetet I created a new environment selecting Kubernetes and I now get a problem with the healthcheck failing to initialize. I get this error.
healthcheck (Failed to allocate instance [container:1i2508]: Bad instance [container:1i2508] in state [removed]: Failed to find network for networkMode managed)
In the hosts I see networking-manager and metadata but no healthcheck. I have two nodes configured in the environment -- one failed on startup repeatedly, which is another issue. The Kubernetes stack just stays in a state of Creating Kubernetes system stack forever.

Useful
Info

Versions
Rancher v1.6.11 Cattle: v0.183.30 UI: v1.6.30

Access
github admin

Orchestration
Kubernetes

Route
stacks.index

hey @mickengland it might be good to connect with us over slack looks like a more fundamental issue going on with your setup.

Relaunching with the default Ubuntu images fixed this.


Seed Stage Error

These are all currently NA in the database. Is this to be a meta table, a boolean, or a string field?

boolean


Tabs in Insiders getting stacked up on the same tab

VSCode Version:
Version 1.19.0-insider
Commit 6bc5a14bf34e44b3af5508350cc1221fcc999ceb
Date 2017-12-05T06:14:37.864Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Issue:
Tabs are getting stacked on the same over and over and make the vscode un-usable ( randomly happening).
I Used this build of 15 minutes ,and ran into the issue twice , need to restart that whole editor to make the things normal

@jeyanthimuthuram can you share a video how this looks like for you?
@joaomoreno I think you saw this too?

@bpasero Sure I will update you once I face this issue, I moved to stable build for a while .

@Jeyanthinath it would be helpful if you could try to reproduce and attach a screenshot as we are in endgame week and closing for our next stable release.
Also to verify, you are NOT seeing this behaviour:

...which is expected default behaviour until you set "workbench.editor.enablePreview": false

I set the flag to false now. After setting as of now I didn't faced any.
Will keep posted.
On Dec 6, 2017 8:18 PM, "Benjamin Pasero"<EMAIL_ADDRESS>wrote:
@Jeyanthinath https://github.com/jeyanthinath it would be helpful if you
could try to reproduce and attach a screenshot as we are in endgame week
and closing for our next stable release.
Also to verify, you are NOT seeing this behaviour:
[image: flicker_chrome58]
https://user-images.githubusercontent.com/900690/33667306-c8b865fe-da9c-11e7-8645-db4d6e073470.gif
...which is expected default behaviour until you set
"workbench.editor.enablePreview":
false
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/39627#issuecomment-349661043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJjUQhSYL4Wkh_7I_P3Vg6u_gzc1IYzks5s9qkzgaJpZM4Q1_by
.

I found that I had the setting:
"workbench.editor.showTabs": false

which caused something similar to what @jeyanthimuthuram is describing. I don't ever remember setting that. Making that true fixed the problem.

Ok thanks, let me know.

@bpasero Hurray , I found the issue

The files are changing and the file name is not changed

@jeyanthimuthuram ok this looks indeed like a bug, thanks for sharing! I assume this is not easily reproducible for you or is it?
When it happens again, can you:

click Help > Toggle Developer Tools > Console and see if there is any output
from that view click on the little arrow icon

and then on the tab list in the top center

and then see if the tab elements are actually there?

@bpasero It is not reproducible as far as I know , sure I will try to collect the information on the tabs as well as developer console logs :)
I should have done this last time :thinking:

@Jeyanthinath no worries, thanks!

Any update?

@bpasero as of now nope.


download slow

download so slow!
ip:<IP_ADDRESS>
Ubuntu server 18.04.3 LTS

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

ID: 38f33bad-b152-c53b-1b0a-234c9a075bd7
Version Independent ID: 565e7432-c4b3-a1c2-8ce3-c8c1a0d8ebe8
Content: Install .NET Core on Ubuntu 18.04 package manager - .NET Core
Content Source: docs/core/install/linux-package-manager-ubuntu-1804.md
Product: dotnet-core
GitHub Login: @Thraka
Microsoft Alias: adegeo

@leecow @richlander not sure if there's anything that can be investigated here re. download speed? If you're still experiencing issues, I'd recommend you open an issue at https://github.com/dotnet/core/issues.
I'm closing this issue because it's not related to the content.

could you provide a manual installation instruction for those expericing slow issue.


Update to 7.23.4 and fix deprecated APIs

I've updated the project to Mendix 7.23.4 and fixed the deprecated runtime APIs.

Closes #10

@ekrem-aktas updated!


Client: Implement sorting/filtering of cryptomoji

Users should be able to sort and/or filter their view of cryptomoji. In particular, they should be able to see which cryptomoji have been used as a sire the most.

Stretch goal. Closing for now, may be re-opened later.


how to show the 2D bbox in image in web kitti viewer

Hi, did you solved the problem? I have the same problem with you.


Add more versions to CI

Currently only 2.6 is tested. We need to test 2.7, 3.0, and 3.1.

Done with #62


3.11 changes for RHMAP-7527

Previously reviewed in https://github.com/feedhenry/fh-advanced-webapp-blank-app/pull/5


Incorrect naming in settings

In settings under Extensions tab the extension is called My Extension.

@weyh thanks for reporting. Will take a look and update it in shortwhile! 👍

@weyh Fixed in v0.0.7


Same color is assigned to 2 different consecutive dimension values

The same color is assigned to 2 different consecutive dimension values, even though the color scheme has other available colors
This happened while creating a stacked bar chart
How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected results
Colors should alternate across these available ones:

Actual results
For the 3rd and 4th values, they are assigned the same orange color

Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):

browser type and version: Chrome Version 120.0.6099.199
superset version: 2.1.1
python version: python --version
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

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

Additional context
Add any other context about the problem here.

Hi @saramoujahid. I believe this is fixed in 3.0.3 and 3.1.0 which are the officially supported versions. You just need to upgrade your installation to fix the problem.


fix: BiW Catalog and Inspector (fixes and improvements)

What this PR includes?
Fixes

[x] Expand/Collapse makes categories to display the asset packs
[x] Missing collapse arrow in the entity inspector menu (item selected)
[x] Back button in collection breaks if you navigate / collapse / search

Improvements

[x] Replace icons by tabs (Categories, Asset Packs, Favorites)

[x] Change Asset Packs to display as list view

[x] Delete collapse icon and place Catalog Icon in its place

[x] Delete collapse icon in Entity List

[x] While selecting more than one entity, it should show the count instead of the Entity Details (2 entities selected)

Testing

Go to: https://explorer.decentraland.zone/branch/fix/BiW-Catalog-and-Inspector-fix-and-improvements/index.html?ENV=zone&ENABLE_BUILDER_IN_WORLD&position=100,100&realm=fenrir-amber
Activate the Builder In World editor pressing the "K" key.

@Suduck: talking with Álvaro, we have finally decided to set an always fixed title ("Entity Details") for the EntityInformationView:

Done in https://github.com/decentraland/explorer/pull/2327/commits/3fb581c85b03806af9afc2e2d055a27c407a6f35
And about the assets/categories/favorites selector in the expanded catalog view, he specified me to keep it to the left side of the window (that is something more similar to the v5 of the figma).


Change doc build sequence

Description:
Currently, even if the doc build fails (according to Jenkins) due to a commit, the changes in the commit are published. This causes the docs site to go down.
Suggested Labels:
Build
Affected Product Version:
Git docs

Added a method to grep errors and fail  build based on it. Only parse errors are taken into action now.
error="MkDocs encountered as error parsing the configuration file"

If we encounter more errors in future , we need to add them to error logs.
error="MkDocs encountered as error parsing the configuration file"

checkErrors(){

 if grep -q "$error"  $1;
  then
    echo "Errors in the build ... Marking the build as failure the artifacts won't be pushed to live site!!!!";
    exit 1;
  else
    echo "No errors while building the current docs. The artifacts will be pushed live !!!";
 fi
}


Developement

Adding "human readable size" function that convert file's size into a readable string.
Fix error reporting.


JSON serializable error

when i m submitting the option_0 and option_1 to the grade_lab4_ex7 ... it is giving the error
TypeError: Object of type UnsetType is not JSON serializable

The grader checks the following parameters:
options.resilience_level,
options.dynamical_decoupling.enable,
options.dynamical_decoupling.sequence_type,
options.default_shots,
options.optimization_level

However, some parameters are Unset, which the grader cannot read. Try setting all the parameters.

@jgs03177  Considering I turn options.dynamical_decoupling.enable to False, what should I put in options.dynamical_decoupling.sequence_type, it seems it's required anyway

I tried set all required parameters, but the answer was incorrrect. Do you guys know what wrong in my case?
Thank you for your reading.
# Submit your answer using following code
options_0 = EstimatorOptions()
options_0.default_shots = 5000
options_0.optimization_level = 0
options_0.resilience_level = 0
options_0.dynamical_decoupling.enable = False
options_0.dynamical_decoupling.sequence_type = "XX"
options_0.resilience.measure_mitigation = False
# options_0.twirling.enable_gates = False
options_0.twirling.enable_measure = False
options_0.resilience.zne_mitigation = False

options_1 = EstimatorOptions()
options_1.default_shots = 5000
options_1.optimization_level = 0
options_1.resilience_level = 1
options_1.dynamical_decoupling.enable = True
options_1.dynamical_decoupling.sequence_type = "XpXm"
options_1.resilience.measure_mitigation = False
# options_1.twirling.enable_gates = False
options_1.twirling.enable_measure = False
options_1.resilience.zne_mitigation = False

grade_lab4_ex7(options_0, options_1) # Expected answer type: EstimatorOptions, EstimatorOptions

@vantnprof "XpXm" in dd sequence type for option_0 worked for me

Thanks for your sharing. It worked!


fix: IStatModifier modifiability

This pull request is for the issue #2

Looks good to me. I was wondering if Apply should be moved to the generic version of the interface, but for now this is fine since Apply should apply to the stat's type, not the modification value's type.


Another solve bug

nerdamer("solve(h=(981/200)ms^(-2)t^2, t)").text()
'[0.3192754284070505baseunit_ssqrt(baseunit_m)^(-1)sqrt(h),-0.3192754284070505baseunit_ssqrt(baseunit_m)^(-1)*sqrt(h)]'
whereas
nerdamer("solve(h=(981/200)t^2, t)").evaluate().text()
'[-0.4515236409857309sqrt(h),0.4515236409857309*sqrt(h)]'

Dropping the s^(-2) gets the right result

Even changing the constant slightly fixes it: 98/20, 98.1/20.0

Solved by checking factoring in solving, and rejecting incorrect factoring.


simlaunch support  command line？

can you make the simlaunch support command line?

I ended up making a separate tool with CLI: https://github.com/stepanhruda/ios-simulator-app-installer


Cannot use namespace 'GraphiQL' as a type

The generated code for GraphiQL now exports a function and a namespace:
export declare function GraphiQL({ dangerouslyAssumeSchemaIsValid, docExplorerOpen, getDefaultFieldNames, inputValueDeprecation, introspectionQueryName, maxHistoryLength, onCopyQuery, onToggleHistory, onToggleDocs, storage, schema, schemaDescription, ...props }: GraphiQLProps): JSX.Element;
export declare namespace GraphiQL {
    var formatResult: (result: any) => string;
    var formatError: (error: any) => string;
    var Logo: typeof GraphiQLLogo;
    var Toolbar: typeof GraphiQLToolbar;
    var Footer: typeof GraphiQLFooter;
    var QueryEditor: typeof import("./QueryEditor").QueryEditor;
    var VariableEditor: typeof import("./VariableEditor").VariableEditor;
    var HeaderEditor: typeof import("./HeaderEditor").HeaderEditor;
    var ResultViewer: typeof import("./ResultViewer").ResultViewer;
    var Button: typeof import("./ToolbarButton").ToolbarButton;
    var ToolbarButton: typeof import("./ToolbarButton").ToolbarButton;
    var Group: typeof ToolbarGroup;
    var Menu: typeof ToolbarMenu;
    var MenuItem: React.FC<{
        onSelect: () => void;
        title: string;
        label: string;
    }>;
}

I'm not good enough at TypeScript to know why it's doing this. But it breaks existing code that allows passing around a graphiql: GraphiQL ref. Could someone expand on the reason behind this change? Was it from converting from a class component to a functional one in https://github.com/graphql/graphiql/pull/2370?
import type { GraphiQL } from 'graphiql';

Thanks for reporting this @benjie!
Your hunch is correct, the GraphiQL export is a function component since 1.9.0 and not a class component anymore. That means you can't use the export as type anymore.
// Good in <1.9.0, fails in >=1.9.0
import { GraphiQL } from "graphiql";

type Foo = { graphiql: GraphiQL };

This is a breaking change that we did not notice. I'm gonna roll this back to be non-breaking (I think we can just wrap the top-level functional component in another class component for now).
As a sidenote: We're rewriting everything to modern React (functional components, contexts & hooks), so you won't be able to pass a ref to the main GraphiQL component in the next major version anymore. May I ask what your specific use-cases are for this? (So that we can make sure there's an alternative way to solve them in v2 😉 )

It’s for the new PostGraphiQL; the old one is here: https://github.com/graphile/postgraphile/blob/main/postgraphiql/src/components/PostGraphiQL.js the new one has been modernised to use functional components, hooks and context ;) but isn’t OSS yet

@benjie the fix was published earlier today with 1.9.6


[feature request] Re-enable Twitter Circles tweetting

It seems Backend code wasn't removed so you just need to enable trusted_friends_tweet_creation_enabled on the frontend Features Flags

We're not going to add a specific feature for this because the rest of Twitter Circles is eventually going to be removed, but we could add something to the Experiments section of the extension options which will let you activate Twitter's hidden extension flags UI in the Settings section so you can do it yourself.

The backend now prevents you from creating new Circle tweets and I doubt they are reverting it because of.. well, obvious reasons

Sad


mpl2: add debug flag to draw bundled nets during cluster and macro placement

For three different levels in nangate45/bp_multi:

This last image reveals what seems to be a bug, because the center pin is not exactly on the center of the hard macros.

I think knowing the weight of each net can be useful. Perhaps just draw the value in the middle? Include in this PR?

I think knowing the weight of each net can be useful. Perhaps just draw the value in the middle? Include in this PR?

You could use line width, color, or text label.  I'll merge this one and leave it up to you if you want to address it now or another time.


Tests: consider to convert Terminal smoke tests to integration tests

We would like to reduce our smoke tests and move them to integration tests if possible. The advantage is:

integration tests run nightly (including browser)
integration tests run local and remote
smoke test has a history of being very flaky and harder to maintain compared to integration tests

Tests:
Terminal
      ✓ opens terminal, runs 'echo' and verifies the output

Feel free to close if this is not easily possible.

@bpasero is there a way to make custom calls that are not in the extension API? You cannot for example get at the terminal buffer from vscode's extension API.

If not, adding a way to do this, a "private testing api", would probably enable us to replace all the single-window smoke tests.

@Tyriar yeah such API currently does not exist. I was hoping an extension could get at the terminal output, isn't there extension API to do that?

Well actually there is the forever proposed one to read text which should work in our tests so I think I can do this without many changes.

@Tyriar yeah proposed is totally fine 👍

Thanks!


DOC: add english doc about using go client

Signed-off-by: ZhangXiaozheng<EMAIL_ADDRESS>
Ⅰ. Describe what this PR does
Add English doc 'How to create and delete fluid resource using Go client'
Ⅱ. Does this pull request fix one issue?

NONE

@zhang-x-z Please fix the conflict of TOC.md. thanks.

/retest


Listing Management - "Pending, org." number indicator is cut off when a state is highlighted

When you Highlight a state, numbers show for Published, needs action, Returned, draft...but the number seems to get cut off after pending, org.

Is this the same as #152 or is this something different?

We have so far been unable to reproduce this in order to adjust the styling. Are there any additional details you could provide? @jloveland18

no..i really can't..all i did was go back and forth clicking on all, published, needs action, pending org., returned, and draft..but it doesn't seem to be happeing now..i can't recreate it either at the moment.


Type openapi spec with openapiv3 crate

This commit types the spec using the openapiv3 crate. This PR just tries to directly translate the previous untyped logic into equivalent operations under the typed schema. Hopefully future PR's can then start cleaning up logic - for example a bunch of the functions added in spec.rs are just for the purpose of deduplication when translating - in future they should be able to be removed or at least have a better understood purpose :)
Some newtypes could be used to wrap openapiv3 items like Schema, but didn't include that for now because I thought it might just end up leading to more churn in initial stages of exploring how items get used.

Initial rough overview looks good and I love we've managed to take advantage of that crate!  I'm hoping we can do that with a simple rebase onto master now that #220 and #278 are closed!

@arlyon CI is green after rebase!


History | Change transaction type in the User History tables to mirror the UI |1|

https://trello.com/c/1DkQZyKr/781-history-change-transaction-type-in-the-user-history-tables-to-mirror-the-ui-1
Issue:
The Transaction Type column in the User History tables currently shows backend transaction types: Buy, Sell, Credit Validation, Part 3 Award, Credit Retirement.
Resolution:
Change the Transaction Type column to show transaction types as they are labelled in the frontend: Credit Transfer, Validation, Reduction, Part 3 Award

 History | Change transaction type in the User History tables to mirror the UI |1|


New package: PagefindWrapper v1.0.0

Registering package: PagefindWrapper
Repository: https://github.com/MichaelHatherly/PagefindWrapper.jl
Created by: @MichaelHatherly
Version: v1.0.0
Commit: 7fd5062d891d47be0351733adbddcc0ec7002c52
Reviewed by: @MichaelHatherly
Reference: https://github.com/MichaelHatherly/PagefindWrapper.jl/commit/7fd5062d891d47be0351733adbddcc0ec7002c52#commitcomment-129659695
Description: A tiny Julia wrapper package for the Pagefind CLI

Could you add some basic documentation to the project before registering?

Could you add some basic documentation to the project before registering?

@lgoettgens, exact same response as for https://github.com/JuliaRegistries/General/pull/93210, there is sufficient basic documentation for the very simple thing this package does, ie. provide a non-Julia binary artifact for use. That's described in the README, and all exported functions have docstrings. I do not feel that this package requires additional documentation at this point.
Can a maintainer please manually merge this, since merging has been blocked by the previous comment.

Ah sorry, I misread it the first time. As you only have a function returning a path, you indeed have nothing more to document. Sorry for the inconvenience. [noblock]

Ah sorry, I misread it the first time.

@lgoettgens, no worries at all.