azure-cli: dependency cleanup

Description of changes
To fix build error, requires #263637
Should fix https://github.com/NixOS/nixpkgs/issues/167177
Closes https://github.com/NixOS/nixpkgs/issues/261386
Fixes unnecessarily overridden dependencies, and changes the
package build inputs to align with whats defined in the upstream source.
I also added a test using the az self-test command, which checks that all the
dependencies are correct (this command fails on current nixpkgs master).

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 263909 run on x86_64-linux 1

I'm running into issues during the self-test of the CLI, with version 2.53.1 and 2.53.0, does the self-test on 2.53.0 work on your side @mdarocha ?

Logs of azure-cli 2.53.1

running install tests
azure-cli                         2.53.1
core                              2.53.1
telemetry                          1.1.0
Dependencies:
msal                              1.24.0
azure-mgmt-resource             23.1.0b2
Python location '/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11'
Extensions directory '/build/.azure/cliextensions'
Python (Linux) 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 12.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Unable to check if your CLI is up-to-date. Check your internet connection.
This command has been deprecated and will be removed in a future release.
Running CLI self-test.
Loading all commands and arguments...
Error occurred loading commands!
The command failed with an unexpected error. Here is the traceback:
The operation 'azure.mgmt.cdn.operations#CustomDomainsOperations.disable_custom_https' is invalid.
Traceback (most recent call last):
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 61, in get_op_handler
handler = getattr(handler, part)
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'CustomDomainsOperations' has no attribute 'disable_custom_https'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/build/azure-cli-2.53.1-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 183, in check_cli
raise ex
File "/build/azure-cli-2.53.1-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 178, in check_cli
create_invoker_and_load_cmds_and_args(cmd.cli_ctx)
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/file_util.py", line 74, in create_invoker_and_load_cmds_and_args
invoker.commands_loader.load_arguments()
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/init.py", line 516, in load_arguments
cmd.load_arguments()  # this loads the arguments via reflection
^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 318, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/commands.py", line 104, in load_arguments
cmd_args = self.arguments_loader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
op = self.get_op_handler(self.op_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 66, in get_op_handler
raise ValueError("The operation '{}' is invalid.".format(op_path))
ValueError: The operation 'azure.mgmt.cdn.operations#CustomDomainsOperations.disable_custom_https' is invalid.
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
error: builder for '/nix/store/fdxwv80crv38w841flbvjaa91m23yldf-python3.11-azure-cli-2.53.1.drv' failed with exit code 1;
last 25 log lines:
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
>     return op(**command_args)
>            ^^^^^^^^^^^^^^^^^^
>   File "/build/azure-cli-2.53.1-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 183, in check_cli
>     raise ex
>   File "/build/azure-cli-2.53.1-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 178, in check_cli
>     create_invoker_and_load_cmds_and_args(cmd.cli_ctx)
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/file_util.py", line 74, in create_invoker_and_load_cmds_and_args
>     invoker.commands_loader.load_arguments()
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/init.py", line 516, in load_arguments
>     cmd.load_arguments()  # this loads the arguments via reflection
>     ^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 318, in load_arguments
>     super(AzCliCommand, self).load_arguments()
>   File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/commands.py", line 104, in load_arguments
>     cmd_args = self.arguments_loader()
>                ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
>     op = self.get_op_handler(self.op_path)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/j4sjfi57nhd0kp54ww6ipxfhgcxdrx3m-python3.11-azure-cli-core-2.53.1/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 66, in get_op_handler
>     raise ValueError("The operation '{}' is invalid.".format(op_path))
> ValueError: The operation 'azure.mgmt.cdn.operations#CustomDomainsOperations.disable_custom_https' is invalid.
> To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
For full logs, run 'nix log /nix/store/fdxwv80crv38w841flbvjaa91m23yldf-python3.11-azure-cli-2.53.1.drv'.

I have tracked the argument/operation that's failing back to this reference upstream : https://github.com/Azure/azure-cli/blob/azure-cli-2.53.1/src/azure-cli/azure/cli/command_modules/cdn/commands.py#L229
But I have no idea why it is failing.

On 2.53.0 self test passes for the current state of the PR. Did you test the build in this PR without modifications?

Fails the same way @mdarocha

 self-test fails on 2.53.0

Executing pypaInstallPhase
Successfully installed azure_cli-2.53.0-py3-none-any.whl
Finished executing pypaInstallPhase
pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0
checking for references to /build/ in /nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0...
patching script interpreter paths in /nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0
stripping (with command strip and flags -S -p) in  /nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0/lib /nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/gwcdq1d3hi38k0az2xhgwa0599lvz006-python3.11-azure-cli-2.53.0-dist
checking for references to /build/ in /nix/store/gwcdq1d3hi38k0az2xhgwa0599lvz006-python3.11-azure-cli-2.53.0-dist...
patching script interpreter paths in /nix/store/gwcdq1d3hi38k0az2xhgwa0599lvz006-python3.11-azure-cli-2.53.0-dist
Rewriting #!/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 to #!/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5
wrapping `/nix/store/z8paqcbkhsgkl7l3z4zlhgw3q11nipvp-python3.11-azure-cli-2.53.0/bin/az'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
running install tests
azure-cli                         2.53.0
core                              2.53.0
telemetry                          1.1.0
Dependencies:
msal                              1.24.0
azure-mgmt-resource             23.1.0b2
Python location '/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11'
Extensions directory '/build/.azure/cliextensions'
Python (Linux) 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 12.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Unable to check if your CLI is up-to-date. Check your internet connection.
This command has been deprecated and will be removed in a future release.
Running CLI self-test.
Loading all commands and arguments...
Error occurred loading commands!
The command failed with an unexpected error. Here is the traceback:
cannot import name 'VolumeBackupProperties' from 'azure.mgmt.netapp.models' (/nix/store/bghnp0m5g4cnnypc3v85vldffc32bjf0-python3.11-azure-mgmt-netapp-11.0.0/lib/python3.11/site-packages/azure/mgmt/netapp/models/init.py)
Traceback (most recent call last):
File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/build/azure-cli-2.53.0-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 183, in check_cli
raise ex
File "/build/azure-cli-2.53.0-src/src/azure-cli/azure/cli/command_modules/profile/custom.py", line 178, in check_cli
create_invoker_and_load_cmds_and_args(cmd.cli_ctx)
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/file_util.py", line 74, in create_invoker_and_load_cmds_and_args
invoker.commands_loader.load_arguments()
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/init.py", line 516, in load_arguments
cmd.load_arguments()  # this loads the arguments via reflection
^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 318, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/commands.py", line 104, in load_arguments
cmd_args = self.arguments_loader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
op = self.get_op_handler(self.op_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
handler = import_module(mod_to_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/build/azure-cli-2.53.0-src/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py", line 10, in
from azure.mgmt.netapp.models import ActiveDirectory, NetAppAccount, NetAppAccountPatch, CapacityPool,
ImportError: cannot import name 'VolumeBackupProperties' from 'azure.mgmt.netapp.models' (/nix/store/bghnp0m5g4cnnypc3v85vldffc32bjf0-python3.11-azure-mgmt-netapp-11.0.0/lib/python3.11/site-packages/azure/mgmt/netapp/models/init.py)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
error: builder for '/nix/store/fzhmkm8a4kd1fs07m07h868xwbr4wcd7-python3.11-azure-cli-2.53.0.drv' failed with exit code 1;
last 25 log lines:
>     ^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 318, in load_arguments
>     super(AzCliCommand, self).load_arguments()
>   File "/nix/store/rill3bg15gglps3jvkmk8jip4dpcbx2m-python3.11-knack-0.11.0/lib/python3.11/site-packages/knack/commands.py", line 104, in load_arguments
>     cmd_args = self.arguments_loader()
>                ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
>     op = self.get_op_handler(self.op_path)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/gl6k18x08m4rbwmk9869dcqr2k1dq5sf-python3.11-azure-cli-core-2.53.0/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
>     handler = import_module(mod_to_import)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/lib/python3.11/importlib/init.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "", line 1204, in _gcd_import
>   File "", line 1176, in _find_and_load
>   File "", line 1147, in _find_and_load_unlocked
>   File "", line 690, in _load_unlocked
>   File "", line 940, in exec_module
>   File "", line 241, in _call_with_frames_removed
>   File "/build/azure-cli-2.53.0-src/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py", line 10, in
>     from azure.mgmt.netapp.models import ActiveDirectory, NetAppAccount, NetAppAccountPatch, CapacityPool,
> ImportError: cannot import name 'VolumeBackupProperties' from 'azure.mgmt.netapp.models' (/nix/store/bghnp0m5g4cnnypc3v85vldffc32bjf0-python3.11-azure-mgmt-netapp-11.0.0/lib/python3.11/site-packages/azure/mgmt/netapp/models/init.py)
> To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
For full logs, run 'nix log /nix/store/fzhmkm8a4kd1fs07m07h868xwbr4wcd7-python3.11-azure-cli-2.53.0.drv'.

okay, managed to fix build and eval


[AutoPR servicebus/resource-manager] Service Bus: moved VNet and IpFilter rules from 2018-preview to 2017 API version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4245

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/213


Changes to the API Getting Started Page

Getting Started with TextMagic REST API

Getting Started with the TextMagic REST API

To start sending text messages using TextMagic REST API, do the following steps:

To start sending text messages using the TextMagic REST API, follow these steps:
1. Generate API credentials
2. Connect to our API endpoint

This page will provide all the information you need to get started.

Obtaining Credentials
API Endpoint
How REST API works
Next Steps

Obtain API credentials [Anchor Tag]
Connect to our API endpoint [Anchor Tag]
Learn how REST APIs work [Anchor Tag]
Next Steps [Anchor Tag]

The only difference is that API key allows you to access only the API: you cannot login to TextMagic Online using the API key

The difference is that an API key only provides access to the API: you cannot login to TextMagic Online using the API key.

Log in to TextMagic (or start a free trial if you haven’t registered yet).

Go to API.

Log in to TextMagic[Link] (or start a free trial if you haven’t registered yet).

Go to the API settings page[Link].

V1 keys are not compatible with the current REST API. You need to generate a new API key to use TextMagic REST API.

V1 keys are not compatible with the V2 version of the TextMagic REST API. You will need to generate a new API key to use the V2 endpoint.

How REST API works

REST uses the Internet’s HTTP protocol to call web services using JSON documents. It is an improvement over the older ways of doing that, which are SOAP XML messages or directly linking to an API. This is because REST is natural and easy to use as it works just like regular web pages. It uses a small set of commands: create, read, and update. You can call a function (web service) by populating a JSON message and then indicate in the URL what function you want to call, like, for example, http://api.foo.com/doSomething. Then you do a simple HTTP GET, PUT, DELETE, or POST.
How REST APIs work
REST APIs use the HTTP protocol to send and receive messages. REST messages are usually encoded as JSON documents and are an improvement over older methods such as the XML based SOAP protocol. REST APIs use the same set of methods that web browsers use: POST, GET, PUT and DELETE.  These correspond to the CRUD operations:  create, read, update and delete.  Oftentimes, REST URIs provide direct CRUD access to entities or collections of entities: for example: http://api.foo.com/people.  For example, to delete a person endpoint, you might simply call DELETE http://api.foo.com/people/{id}.  REST makes these types of operations simple.

Example
Let’s take the entity most often used in messaging: contacts. With REST you can create, read, update, or delete contacts.

TextMagic Example
Let's look at an example in the TextMagic REST API.  Let's say you want to perform operations on your contacts list, it's only a matter of calling the following endpoints:
GET /api/v2/contacts (get all of your contacts)
GET /api/v2/contacts/{id} (get a specific contact)
POST /api/v2/contacts (create a new contact, the contact info is sent in the body of the request)
PUT /api/v2/contacts/{id} (update an existing contact, the update info is sent in the body of the request)
DELETE /api/v2/contacts/{id}
It’s that simple! That’s all you need to do to manage contacts in your TextMagic account!

You’re now on your way to TextMagic Sandbox, which you can try (by request) before writing the code.

NOT SURE WHAT "before writing the code" IS SUPPOSED TO MEAN.  I'd go with something like
You’re now on your way to TextMagic Sandbox, which you can try (by request) without writing any code.

Will be fixed soon. Thanks.

Hi,
I am trying to create a free trial account in Pakistan to use TextMagic API but It says "Text Magic is not available in your location". Is there any single way to work this out so I can use it?
Answer will be much appreciated. Thanks


Support for CancellationToken

Hi @tghamm, thank you for all the hard work this repo. Do you have any plans to support CancellationToken for Completion methods?

Support has been added in the latest release, along with a move to the Messages API endpoints (Completions are still supported).

Thank you kindly!


Implement WebSocket demo

Make a blank UE5 project to test the WebSocket RequestManager. To do so:

[ ]  Implement the Request Manager in the Wallet Account to do an example of RPC call.
[ ]  Make a rapper function to call in a GameModeBase
[ ]  Call the WalletAccount in the rapper function


what shold i do ,i am in cuda problem for long time,as if  the numba has some thing  wrong

(torch_new) yyg@persue:~/project2/second.pytorch/second$ python ./pytorch/train.py evaluate --config_path=./configs/car.fhd.config --model_dir=./save_model/pretrained_models_v1.5/ --measure_time=True --batch_size=1
Traceback (most recent call last):
File "./pytorch/train.py", line 15, in
from second.core import box_np_ops
File "/home/yyg/project/PointPillars/second/core/box_np_ops.py", line 7, in
from second.core.non_max_suppression.nms_gpu import rotate_iou_gpu_eval
File "/home/yyg/project/PointPillars/second/core/non_max_suppression/init.py", line 2, in
from second.core.non_max_suppression.nms_gpu import (nms_gpu, rotate_iou_gpu,
File "/home/yyg/project/PointPillars/second/core/non_max_suppression/nms_gpu.py", line 36, in
@cuda.jit('(int64, float32, float32[:, :], uint64[:])')
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/decorators.py", line 96, in kernel_jit
kernel.bind()
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/compiler.py", line 489, in bind
self._func.get()
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/compiler.py", line 370, in get
ptx = self.ptx.get()
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/compiler.py", line 342, in get
**self._extra_options)
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/cudadrv/nvvm.py", line 464, in llvm_to_ptx
libdevice = LibDevice(arch=opts.get('arch', 'compute_20'))
File "/home/yyg/.conda/envs/torch_new/lib/python3.6/site-packages/numba/cuda/cudadrv/nvvm.py", line 340, in init
raise RuntimeError(MISSING_LIBDEVICE_FILE_MSG.format(arch=arch))
RuntimeError: Missing libdevice file for compute_50.
Please ensure you have package cudatoolkit 7.5.
Install package by:
conda install cudatoolkit=7.5

I use cuda=9.0 when to evaluate the code without docker

I use conda install pytroch==1.0.2 cudatoolkit=9.0 ,but numba can not support cuda9.0 ? it is only support cudatoolkit =7.5?

numba can support cuda9/10. what's your GPU?
to completely avoid numba problem, I will write c++ rotate iou code in spconv. please wait for a while.

numba can support cuda9/10. what's your GPU?
to completely avoid numba problem, I will write c++ rotate iou code in spconv. please wait for a while.

My GPU is four 1080ti。We would be appreciate  if you could provide a list of Anaconda packages in github?like this :conda env export > environment.yaml .thank you.

environment.txt
you may need to change suffix to yaml.

environment.txt
you may need to change suffix to yaml.

thank you, this environment has solved my problem.

I meet the same problem .I solve it by install cudatoolkit and cudnn by conda in conda enviroment .just run conda install cudatoolkit=9.2  cudnn=7.4.2 .Then  if you will find nvcc -V not get the answer ,but it is not necessary .
If you meet cuda path problem ,you can install a new cuda by download and install in no conda enviroment. Hope it can help you !

thank you very much, i have solved it for a long time. but i also thank you very much.
发自我的iPhone
------------------ Original ------------------
From: Zhao Peng<EMAIL_ADDRESS>Date: Thu,Mar 19,2020 9:52 PM
To: traveller59/second.pytorch<EMAIL_ADDRESS>Cc: yangyongguang<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [traveller59/second.pytorch] what shold i do ,i am in cuda problem for long time,as if  the numba has some thing  wrong (#141)
I meet the same problem .I solve it by install cudatoolkit and cudnn by conda in conda enviroment .just run conda install cudatoolkit=9.2  cudnn=7.4.2 .Then  if you will find nvcc -V not get the answer ,but it is not necessary .
If you meet cuda path problem ,you can install a new cuda by download and install in no conda enviroment. Hope it can help you !
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


Fix and enforce checkstyle

Fixes gh-3367.

Codecov Report

Merging #3380 into master will increase coverage by 1.51%.
The diff coverage is 58.55%.

@@             Coverage Diff             @@
##             master   #3380      +/-   ##
===========================================
+ Coverage     65.68%   67.2%   +1.51%
+ Complexity     1515     383    -1132
===========================================
  Files           189      66     -123
  Lines          7050    1747    -5303
  Branches        858     187     -671
===========================================
- Hits           4631    1174    -3457
+ Misses         2098     503    -1595
+ Partials        321      70     -251

Impacted Files
Coverage Δ
Complexity Δ

...ework/cloud/netflix/ribbon/RibbonHttpResponse.java
93.33% <ø> (ø)
6 <0> (ø)
:arrow_down:

...mework/cloud/netflix/hystrix/HystrixConstants.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ework/cloud/netflix/archaius/ArchaiusEndpoint.java
81.81% <ø> (ø)
7 <0> (ø)
:arrow_down:

...x/ribbon/apache/HttpClientStatusCodeException.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...amework/cloud/netflix/ribbon/StaticServerList.java
80% <ø> (ø)
2 <0> (ø)
:arrow_down:

...loud/netflix/ribbon/DefaultServerIntrospector.java
83.33% <ø> (ø)
3 <0> (ø)
:arrow_down:

...loud/netflix/ribbon/RibbonClientConfiguration.java
100% <ø> (ø)
17 <0> (ø)
:arrow_down:

...ix/ribbon/RibbonApplicationContextInitializer.java
90.9% <ø> (ø)
4 <0> (ø)
:arrow_down:

...loud/netflix/ribbon/RibbonLoadBalancerContext.java
69.23% <ø> (ø)
5 <0> (ø)
:arrow_down:

...netflix/ribbon/RibbonClientHttpRequestFactory.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

... and 93 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 b0335af...a5b930f. Read the comment docs.


Feature/add noise

Adding Olivier's suggestions

Commits here seems to be on top of your other PR. So for now, I'll just switch this PR to that other PR's branch :)


[QUERY] How to fix 403 error when Azure AD redirects after a successful authentication to my Spring Boot App?

Query/Question
How to fix 403 error when Azure AD redirects after a successful authentication to my Spring Boot App?
I had to disable CSRF on Spring Security to fix this. Please, see the code below.
However, my app is going to production, and I would like to deploy it with CSRF enabled.
@Configuration
public class SecurityConfiguration extends AadWebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        super.configure(http);
        http.csrf().disable().authorizeRequests().antMatchers("/**").permitAll();

Why is this not a Bug or a feature Request?
It is a question in order to explain how to fix some scenario.
Setup (please complete the following information if applicable):

OS: Linux
IDE: IntelliJ
Library/Libraries: com.azure.spring:spring-cloud-azure-starter-active-directory:4.3.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Query Added
[X] Setup information Added

Hi @bergmp thanks for reaching out to us via this GitHub issue.  @yiliuTo could you help route @bergmp's question?

@chenrujun could you help to take a look?

Hi, @bergmp
Thanks for reaching out.
I can't reproduce the problem.
Could you please create a new GitHub repository that contains a minimal project which can reproduce the problem?

I will try to give you more details about my question.
I using OpendID to authenticate a user at AAD.
The first request is the one generated by Azure AD SDK to get the id_token
The second request is the callback called by AAD

It is a POST. When I disable CSRF on my app that uses Spring Security, it works and doesn't give 403, but when CSRF is enabled I receive 403 as shown below

Hi, @bergmp
Thanks for the detailed description.
Here is the document about Azure AD OAuth 2.0 authorization code flow: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow

The first request is the one generated by Azure AD SDK to get the id_token

Actually, the request is sent by browser (Edge or Chrome). Here are the detailed steps:

Chrome want to access your app's end point, like http://localhost:3001/foo
Your app is protected by Spring Security framework (by extending AadWebSecurityConfigurerAdapter ). The access to http://localhost:3001/foo will be redirected to Azure AD authorize endpoint: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?.
Then the Azure AD display the login page.
After login successfully, the Azure AD will redirect to http://localhost:3001/auth2/authorization/azure?code=.... Until now, everything works well.
Here is the problem. I don't know where the request to http://localhost:3001/SvlCentralizator?provider=azuread comes from. Do you mean the endpoint you request in step is http://localhost:3001/SvlCentralizator?provider=azuread instead of http://localhost:3001/foo?

Could you please create a project to reproduce this problem? I think I can give you suggestion if I can reproduce the problem in my localhost.

Hi @chenrujun,
Sorry, now I am sending the complete url for step 2:
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?response_type=id_token&client_id={clientid}&scope=openid%20profile%20offline_access&state=TaueFvRE2hHVVTHlnyasdfg%3D&redirect_uri=http://localhost:3001/sso/SvlCentralizador?provedor%3Dazuread&nonce=D8k0O02YSUSfasdfasfsadfasfa&response_mode=form_post

The request comes from Microsoft in the redirect_uri

I will try to create a project to reproduce the problem, but it is a corporate app with many layers that makes things a bit difficult.

@bergmp

I am using response_mode=form_post.

Why did you do like this? and how did you achieve that? Seems the 403 is caused by response_mode=form_post.

redirect_uri=http://localhost:3001/sso/SvlCentralizador

In normal case, the redirect endpoint is http://localhost:8080/login/oauth2/code/, and http://localhost:8080/login/oauth2/code/ is handled by spring-security framework. Seems http://localhost:3001/sso/SvlCentralizador is a self-defined endpoint. Is it implemented by yourself?

However, I also don't get id_token

If you want to get id_ token, you can get id_token after user login successfully.
In auth code flow, there are 2 steps:

Request an authorization code (together with id_token in hybrid flow)
Redeem a code for an access token

Refs: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
Seems you want to get id_token after step 1. Actually, to finish the whole flow, I suggest you get the id_token after step 2.

Shouldn't AAD call a POST to my redirect_uri setting the XSRF-TOKEN in the request header?

Now I'm not sure about this. First let's confirm one thing: Is response_mode=form_post necessary in your application?

@bergmp

I am using response_mode=form_post.

Why did you do like this? and how did you achieve that? Seems the 403 is caused by response_mode=form_post.

response_mode=query -> It doesn't work with OIDC.
response_mode=fragment -> It doesn't pass the id_token to the server. It comes in the URL with #id_token=....
Please, see the doc from Microsoft:
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc
"Specifies the method that should be used to send the resulting authorization code back to your app. Can be form_post or fragment. For web applications, we recommend using response_mode=form_post, to ensure the most secure transfer of tokens to your application."

redirect_uri=http://localhost:3001/sso/SvlCentralizador

In normal case, the redirect endpoint is http://localhost:8080/login/oauth2/code/, and http://localhost:8080/login/oauth2/code/ is handled by spring-security framework. Seems http://localhost:3001/sso/SvlCentralizador is a self-defined endpoint. Is it implemented by yourself?

Yes, that's right and It will get the id_token.

However, I also don't get id_token

If you want to get id_ token, you can get id_token after user login successfully.
In auth code flow, there are 2 steps:

Request an authorization code (together with id_token in hybrid flow)
Redeem a code for an access token

Refs: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
Seems you want to get id_token after step 1. Actually, to finish the whole flow, I suggest you get the id_token after step 2.

I see, but id_token already comes from the first step (after a user login succesfully)

Shouldn't AAD call a POST to my redirect_uri setting the XSRF-TOKEN in the request header?

Now I'm not sure about this. First let's confirm one thing: Is response_mode=form_post necessary in your application?

Yes, It seems to be the only way to get id_token in a web application
When I use response_mode=fragment, AAD redirects like this: http://localhost:3001/sso/SvlCentralizador?provedor=azuread#id_token=1232323Gd6TlRFelp&state=loremsfsaf&session_state=234234234
However, all the information after # is not sent to server. So, in SvlCentralizador I can't get the id_token, state and session_state.

@bergmp

response_mode=query -> It doesn't work with OIDC.
response_mode=fragment -> It doesn't pass the id_token to the server. It comes in the URL with #id_token=....
Please, see the doc from Microsoft:
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc
"Specifies the method that should be used to send the resulting authorization code back to your app. Can be form_post or fragment. For web applications, we recommend using response_mode=form_post, to ensure the most secure transfer of tokens to > your application."

You are right. spring-cloud-azure-starter-active-directory (based on spring-security framework) implements oidc together with auth code flow, which is called hybrid flow. Refs: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-id-token-as-well-or-hybrid-flow response_mode can't be query if response_type contains id_token.

Yes, that's right and It will get the id_token.

Why did you want to handle the redirect url by yourself? In normal case, this request will be handled by OAuth2LoginAuthenticationFilter. OAuth2LoginAuthenticationFilter will do necessary works.

I see, but id_token already comes from the first step (after a user login succesfully)

Yes, but the request should be handled by OAuth2LoginAuthenticationFilter in spring-security framework, not handled by us(developer who is using spring-security framework).

However, all the information after # is not sent to server. So, in SvlCentralizador I can't get the id_token, state and session_state.

Is there any special reason that you need to handle this request by yourself? If there is no special reason, I suggest you accept the default behaver: Use OAuth2LoginAuthenticationFilter to handle the request. If you just want to get id_token, you can get id_token from DefaultOidcUser

@chenrujun
Could you please guide me how to use DefaultOidcUser?
My scenario is just one http request (one step) to login and then I need to get the id_token

Hi, @bergmp , here is the sample:
https://github.com/chenrujun/azure-sdk-for-java-issue-30378/blob/de174a7ff646e4609743795606f7695a19b0438e/src/main/java/chenrujun/azure/sdk/issue/DemoController.java#L15-L17


Accumulation store optimization for x/lockup

Migration on lockup accumulation store to use amount per duration, not amount per lockup

Codecov Report

Merging #388 (696c907) into mconcat/accstore-gas (18cf087) will decrease coverage by 0.00%.
The diff coverage is 23.61%.

@@                   Coverage Diff                    @@
##           mconcat/accstore-gas     #388      +/-   ##
========================================================
- Coverage                 19.12%   19.11%   -0.01%
========================================================
  Files                       136      140       +4
  Lines                     22012    22310     +298
========================================================
+ Hits                       4209     4265      +56
- Misses                    17078    17313     +235
- Partials                    725      732       +7

Impacted Files
Coverage Δ

x/gamm/types/pool.go
70.68% <ø> (ø)

x/incentives/client/cli/tx.go
0.00% <0.00%> (ø)

x/gamm/types/genesis.pb.go
1.03% <1.03%> (ø)

x/gamm/genesis.go
61.53% <61.53%> (ø)

store/tree.go
63.30% <85.71%> (+1.43%)
:arrow_up:

x/lockup/keeper/lock.go
77.20% <88.23%> (+0.15%)
:arrow_up:

x/gamm/keeper/grpc_query.go
48.34% <100.00%> (ø)

x/gamm/keeper/pool.go
78.37% <100.00%> (+0.60%)
:arrow_up:

x/gamm/module.go
69.69% <100.00%> (ø)

x/lockup/keeper/legacy.go
63.26% <100.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

Closing in favor of #389


Fix/test suite

This PR fixes the failing test suite:

Removes torchaudio dependency used in automatic-speech-recognition in favor of soundfile by upgrading datasets to the latest version 2.11.0 due to failing tests.
Fixes failing test_evaluator.py/test_evaluate_single[automatic-speech-recognition] by fixing above and updating expected output.
Temporarily skips leaderboard tests until it is back online.

We should probably wait with merging until the CI passes. Maybe we should consider blocking all PRs with non-passed checks to ensure that our test suite does not grow stale or we accidentally introduce bugs.

I agree with you idea @lfwa that we should move the ASR-part to be optional. I think for now we should re-include torchaudio, and merge this PR asap, and then deal with making the ASR-part optional in another PR. Experience shows that any features caught on a branch with the current ASR-bug will be there for quite some time, so we should avoid that.

@AJDERS Good thinking. I am inclined to agree, but reintroducing torchaudio likely won't fix things after upgrading the datasets dependency since they entirely removed torchaudio in favor of soundfile in version 2.11. And if we downgrade datasets again then the test suite will fail nonetheless.
I will devote a bit of time to see if I can fix this, probably add a few commits to this PR just to test the CI. If it takes too long then it may be better to just merge this PR as is and then start work on making ASR optional as you said.

@saattrupdan Do you know why merging is blocked?
It says "The base branch does not allow updates," but I am not exactly sure what this means or how I fix it.

@saattrupdan Do you know why merging is blocked? It says "The base branch does not allow updates," but I am not exactly sure what this means or how I fix it.

My bad, it was too strict a branch protection policy. Fixed now - merging.


Public roadmap and FY24 recap content

Problem statement
We need to keep our public roadmap regularly updated, and with FY24 coming to a close, we can also consider specific things to highlight for this year.
What you need to know
Channel for FY24 highlights is not finalized. So the content for that will likely not be final either.

Roadmap drafting space

Acceptance criteria

[ ] Content for public roadmap drafted and approved by necessary stakeholders
[x] Eng ticket made for roadmap site updates
[ ] Summary of potential FY24 highlights scoped or created

Eng ticket created #15973


Add timer function

Not ready for merge yet

Action list is not based on the selected device, since this would mean a lot of work and a route for the javascript function.
Lets merge this and see how it feels.
@Lyr3x LGTM?


support aks env

AKS doesn't export nvdia-smi to pod. We need to mount and set ENV manually.
Issue: https://github.com/Azure/AKS/issues/1271
This change will not break the on-premise env. Since in job-exporter, we append
the /var/drivers/nvidia/current to the PATH env. It should behind the nvidia path
set by nvida-plugin.

so I guess the same trick applies to job container as well?

Sure. We can use same trick. We need to mount nvdia lib when creating framework in rest-server and export the PATH to job container in runtime. Then  nvdia-smi can be used in job container

In reply to: 542672868 [](ancestors = 542672868)

Close this PR, dup with https://github.com/microsoft/pai/pull/3749


[AIRFLOW-1274][HttpSensor] Rename parameter params to data

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issue and references it in the PR title.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

No UI changes, I've just renamed the parameter params to data in HttpSensor as it was conflicting with BaseOperator params and causing failed DAGs parsing.
I've renamed it to data because it's the name of this parameter in the HttpHook (see here)
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

They already exist.
Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue.

@saguziel @aoen

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@868bfe4). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #2342   +/-   ##
=========================================
  Coverage          ?   69.45%
=========================================
  Files             ?      144
  Lines             ?    11041
  Branches          ?        0
=========================================
  Hits              ?     7669
  Misses            ?     3372
  Partials          ?        0

Impacted Files
Coverage Δ

airflow/example_dags/example_http_operator.py
100% <ø> (ø)

airflow/operators/sensors.py
67.13% <100%> (ø)

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 868bfe4...42ae6a6. Read the comment docs.

Thank you for making this fix!

LGTM


Update TypeScript CI setup

A few packages like @prisma/sdk are not yet tracked by CI.
On top, introducing the "facade" package will have implications on the CI setup, which needs to be updated.

Done!


Support Gen2 Recursive ACLs

Example: https://github.com/azure/azure-sdk-for-js/blob/24f3325e8894694cfc15a1e7069bf73cbf15409c/sdk/storage/storage-file-datalake/test/node/pathclient.spec.ts#L339
SDK preview version 12.1.1-preview was published to our internal feed on 9/24
Current design approach: add checkbox to manage access dialog which will switch from non-recursive to recursive ACL

Support for this feature has merged with the addition of a "Propagate Access Control Lists" action.


added updated index.html

Suggested major update including a video gate.

@goneall, thanks!
@brandelune, do we still have translation available? If so, can you update https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja as a pull request to reflect the new text in this thread?
Here is the direct link to the English file in the merge request so you do not need to scroll in this thread:
https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146/commits/7655bc237c6e7816641cdda0f961bb5c460b8683

Definitely !
I'll check that later today !
JC

On Apr 30, 2019, at 7:54, Shane Coughlan<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@goneall https://github.com/goneall, thanks!
@brandelune https://github.com/brandelune, do we still have translation available? If so, can you update https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja as a pull request to reflect the new text in this thread?
Here is the direct link to the English file in the merge request so you do not need to scroll in this thread:
7655bc2 https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/commit/7655bc237c6e7816641cdda0f961bb5c460b8683
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146#issuecomment-487771732, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A.

Jean-Christophe Helary
http://mac4translators.blogspot.com http://mac4translators.blogspot.com/ @brandelune

Definitely ! I'll check that later today ! JC
On Apr 30, 2019, at 7:54, Shane Coughlan @.*** @.***>> wrote: @goneall https://github.com/goneall, thanks! @brandelune https://github.com/brandelune, do we still have translation available? If so, can you update https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja as a pull request to reflect the new text in this thread? Here is the direct link to the English file in the merge request so you do not need to scroll in this thread: 7655bc2 <7655bc2> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#146 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A.
Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com http://mac4translators.blogspot.com/ @brandelune

Any news? :)

Shane,
Yes, news :)
The English HTML is updated but the corresponding json file located here:
https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/blob/master/WebContent/resources/locales/en/translation.json
is not.
My understanding is that translations are based on the contents of that json file, so just to make sure all the stakeholders are on the same line it would be better to update it first and then translated it.
Do you want me to updage the English json file and proceed with the Japanese translation ?
Jean-Christophe

On May 7, 2019, at 14:40, Shane Coughlan<EMAIL_ADDRESS>wrote:
Definitely ! I'll check that later today ! JC
On Apr 30, 2019, at 7:54, Shane Coughlan @.*** @.***>> wrote: @goneall https://github.com/goneall https://github.com/goneall https://github.com/goneall, thanks! @brandelune https://github.com/brandelune https://github.com/brandelune https://github.com/brandelune, do we still have translation available? If so, can you update https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja as a pull request to reflect the new text in this thread? Here is the direct link to the English file in the merge request so you do not need to scroll in this thread: 7655bc2 https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/commit/7655bc237c6e7816641cdda0f961bb5c460b8683 <7655bc2 https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/commit/7655bc237c6e7816641cdda0f961bb5c460b8683> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#146 (comment) https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146#issuecomment-487771732>, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A.
Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com http://mac4translators.blogspot.com/ http://mac4translators.blogspot.com/ http://mac4translators.blogspot.com/ @brandelune https://github.com/brandelune
Any news? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146#issuecomment-489916132, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GF7ZYB52BADSRGZOZTPUEI6DANCNFSM4HITBX7A.

Jean-Christophe Helary
http://mac4translators.blogspot.com @brandelune

Hi JC!
Bringing Gary into CC.
I have now updated both files (and corrected some errors) in the “suggested-front-page” branch!
Shane

On May 7, 2019, at 17:58, Jean-Christophe Helary<EMAIL_ADDRESS>wrote:
Shane,
Yes, news :)
The English HTML is updated but the corresponding json file located here:
https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/blob/master/WebContent/resources/locales/en/translation.json
is not.
My understanding is that translations are based on the contents of that json file, so just to make sure all the stakeholders are on the same line it would be better to update it first and then translated it.
Do you want me to updage the English json file and proceed with the Japanese translation ?
Jean-Christophe

On May 7, 2019, at 14:40, Shane Coughlan<EMAIL_ADDRESS>wrote:
Definitely ! I'll check that later today ! JC
On Apr 30, 2019, at 7:54, Shane Coughlan @.*** @.***>> wrote: @goneall https://github.com/goneall https://github.com/goneall https://github.com/goneall, thanks! @brandelune https://github.com/brandelune https://github.com/brandelune https://github.com/brandelune, do we still have translation available? If so, can you update https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/tree/master/WebContent/resources/locales/ja as a pull request to reflect the new text in this thread? Here is the direct link to the English file in the merge request so you do not need to scroll in this thread: 7655bc2 https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/commit/7655bc237c6e7816641cdda0f961bb5c460b8683 <7655bc2 https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/commit/7655bc237c6e7816641cdda0f961bb5c460b8683> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#146 (comment) https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146#issuecomment-487771732>, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A https://github.com/notifications/unsubscribe-auth/AG427GE5D3V3IMLCHKHXFNDPS54CDANCNFSM4HITBX7A.
Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com http://mac4translators.blogspot.com/ http://mac4translators.blogspot.com/ http://mac4translators.blogspot.com/ @brandelune https://github.com/brandelune
Any news? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146#issuecomment-489916132, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GF7ZYB52BADSRGZOZTPUEI6DANCNFSM4HITBX7A.

Jean-Christophe Helary
http://mac4translators.blogspot.com @brandelune
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@shanecoughlan This looks ready to go - shall I go ahead and merge?

@brandelune @shanecoughlan Is there a separate PR for the Japanese translations?  I noticed that only the english translation was included in this PR.

That should be separate. Wait a bit please.
Jean-Christophe

On May 23, 2019, at 3:02, goneall<EMAIL_ADDRESS>wrote:
@brandelune https://github.com/brandelune @shanecoughlan https://github.com/shanecoughlan Is there a separate PR for the Japanese translations? I noticed that only the english translation was included in this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146?email_source=notifications&email_token=AG427GCM2EY6HAYOCH7WWXTPWWDCHA5CNFSM4HITBX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV72TFY#issuecomment-494905751, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GBSRYL2PSCXQLHA67DPWWDCHANCNFSM4HITBX7A.

Jean-Christophe Helary
http://mac4translators.blogspot.com @brandelune

Hi J C,
Thanks for the update.  Just let me know when it is ready and I’ll roll a new release with the updated text.
Gary
From: Jean-Christophe Helary<EMAIL_ADDRESS>Sent: Wednesday, May 22, 2019 4:05 PM
To: OpenChain-Project/Online-Self-Certification-Web-App<EMAIL_ADDRESS>Cc: goneall<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OpenChain-Project/Online-Self-Certification-Web-App] added updated index.html (#146)
That should be separate. Wait a bit please.
Jean-Christophe

On May 23, 2019, at 3:02, goneall<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
@brandelune https://github.com/brandelune @shanecoughlan https://github.com/shanecoughlan Is there a separate PR for the Japanese translations? I noticed that only the english translation was included in this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146?email_source=notifications https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146?email_source=notifications&email_token=AG427GCM2EY6HAYOCH7WWXTPWWDCHA5CNFSM4HITBX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV72TFY#issuecomment-494905751 &email_token=AG427GCM2EY6HAYOCH7WWXTPWWDCHA5CNFSM4HITBX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV72TFY#issuecomment-494905751>, or mute the thread https://github.com/notifications/unsubscribe-auth/AG427GBSRYL2PSCXQLHA67DPWWDCHANCNFSM4HITBX7A.

Jean-Christophe Helary
http://mac4translators.blogspot.com @brandelune
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/pull/146?email_source=notifications&email_token=AAC4KPC6GX2WLHQEVZRWJ4LPWXGRTA5CNFSM4HITBX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWATGBA#issuecomment-495006468 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAC4KPF4LF5B3JWANDW3RLDPWXGRTANCNFSM4HITBX7A .  https://github.com/notifications/beacon/AAC4KPEE4QZ3ZWCANFHNMTLPWXGRTA5CNFSM4HITBX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWATGBA.gif

Hi @brandelune
Can you let me know the status on this? We really need to go live.

Working on it now.

@brandelune is this completed? Really want to roll out.

It will be up by Monday. Really sorry for that.

It will be up by Monday. Really sorry for that.

No problem! It will make a good Monday announcement.

Note that once the code is checked in, it will take me some time to integrate, test, and deploy the code to the production server.  If nothing goes wrong, it would take about a day but I would set expectations of a week in case something goes wrong and to give me some flexibility.

I was on my way to committing the Japanese file for:
https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/blob/master/WebContent/resources/locales/en/translation.json
But I found that the Japanese had already been updated pretty much at the time we started this thread... Which is weird since Noriko worked on the translation last night...
Also, I'm finding that:
https://github.com/OpenChain-Project/conformance-questionnaire/blob/master/questionnaire-en.json
and
https://github.com/OpenChain-Project/Online-Self-Certification-Web-App/blob/master/resources/messages.properties
Have had modifications that were not registered on my side.
I guess that's a sync issue on my side. Noriko is coming back later this afternoon so we'll be working on that this evening. Some messages are pretty cryptic so we'll need Gary's help.

@goneall Would you mind clarify a few strings ?
in messages.properties

Invalid specification version {0} language {1} due to {2}.
Duplication section name {0}.

Thank you in advance.

@brandelune

Invalid specification version {0} language {1} due to {2}.

This is an error  when uploading a new version of the questionnaire.json file.  Version is the specification version and language is the languge code (e.g. "en", "ru").  The text in {2} is an error message which is already translated.

Duplication section name {0}.

This message is generated as an error generated when uploading a new questionnaire when there is a section name used in two places.  {0} is the name of the section exactly as represented in the questionnaire.json file.  This is also a good example of what may be included in {2} above.

Hi guys. Can we deploy?

@shanecoughlan @brandelune Have the strings been updated?  If so, I can merge/deploy this week.

Ok, I committed all the updates, we should be good now !

@brandelune Where are the changes committed?  I don't see them in this PR or in any other PR.
I'm going to go ahead and merge this and create a separate issue to track the localization.  If you could create a PR, I'll merge and deploy.


ci: support vLLM installation in 4xA10 workflow

This PR ensure vLLM can be installed correctly in the 4xA10 workflow. Separate PRs will ensure the -v flag to basic-workflows.sh is utilized.

This clean run (https://github.com/russellb/ilab-runner/actions/runs/10058671526/job/27802382741) shows that changes to this workflow file result in a clean run.
The only difference between https://github.com/russellb/ilab-runner/blob/main/.github/workflows/e2e-nvidia-a10g-x4-amaredia.yml and what is in this PR is just ensuring the main branch of instructlab is used in the test not what's in the ilab-runner repo.


It seems that we are instantiating the internal actor everywhere, that is the reson why I implemented in this way.

~/prj/hortonworks/cloudbreak-demos/cdp/local(master ✗) $ dp env create from-file --file env-aws-local.json
ERROR: status code: 500, message: Internal server error: NOT_FOUND: right 'environments/write' not found


node-htmlparser adds a  exports property to window which conflicts with amd definitions in Lazo V2

node-htmlparser version 1.7.6 that we are using in lazo v2 adds a global exports object.
Sadly, that is a way some amd/commonjs wrappers check which environment they are in and so it tries to incorrectly load itself. This looks to be a pretty common practice: https://github.com/search?q=if+(typeof+exports+%3D%3D%3D+'object')+{&ref=simplesearch&type=Code&utf8=✓
It looks like node-htmlparser 2.0 creates a scoped exports variable, so it shouldn't be added to the global space.
Any objections to upgrading to 2.0?

No objections.


Fixed bulk_create_with_history support for relation_name attribute

…

Description
Bulk update with history doesn't work when HistoricalRecords has attribute relation_name
Related Issue
https://github.com/treyhunner/django-simple-history/issues/592
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have run the make format command to format my code
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have added my name and/or github handle to AUTHORS.rst
[x] I have added my change to CHANGES.rst
[x] All new and existing tests passed.

This story depends on https://github.com/treyhunner/django-simple-history/pull/578

Codecov Report

Merging #593 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #593      +/-   ##
==========================================
+ Coverage   97.83%   97.84%   +0.01%
==========================================
  Files          17       17
  Lines         878      883       +5
  Branches      126      128       +2
==========================================
+ Hits          859      864       +5
  Misses          8        8
  Partials       11       11

Impacted Files
Coverage Δ

simple_history/manager.py
97.18% <100%> (+0.21%)
:arrow_up:

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 85752c5...d1df11b. Read the comment docs.


Kanban board for assignment of tasks - Rails Recipes Project

This issue is related to the Kanban board for the Ruby on Rails project https://github.com/limavfabio/rails_recipes.
There are two members in our group: @limavfabio  and @GhislainMitahi .
Link to the Kanban board: https://github.com/users/limavfabio/projects/1/views/1

Hi @limavfabio @GhislainMitahi 👋,
Good job so far!
Highlights

Created Kanban board correctly ✔
All project requirements have cards representing them ✔

You still need to work on some issues to go to the next project, but you are almost there!
Required Changes ♻

[ ] Kindly add project description for the following cards:

Build Login and Registration page with Devise

Make sure there are no N+1 queries happening [2 pt]

Create a navigation menu that allows users to open all pages of the app [2 pt]

Write Unit and Integration tests [4 pt]

[ ] Kindly assign each card in the Kanban board to a team member. For you to verify that the card has been assigned to a team member, you will see n avatar at the bottom right corner of each card as seen in the screenshot below:

Please ensure that the cards are assigned evenly between team members. 👍
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you consider them as they can improve your code.
You can also consider the following:
N/A
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please tag me in your question so I can receive the notification. You can tag me by typing @Gambit142
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think the code review was unfair, request a second opinion using this form.

The reviews comments has been applied.

Status: Approved :heavy_check_mark:
Hi @Team
Your project is complete!  🥇. 🍾🚢 :shipit: . Congratulations!  🎉💯🌟
Good Points 👍

Descriptive ✔
Task well shared✔

Cheers..Happy coding!..and keep soaring higher! 💻 🍷 🚀
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have 2 more limited reviews per this project. If you think that the code review was not fair, you can request a second opinion using this form.


[0.17.0-iap] Set the core partition set size properly for batch ingestion with dynamic partitioning

Backport of #10012 to 0.17.0-iap.

The CI failure is because of https://implydata.atlassian.net/browse/IMPLY-4174.

There were some conflicts but mostly in SinglePhaseParallelIndexingTest. In SharedSpecFactory, the conflict was in javadoc. The conflict in LocalSegmentAllocator was because of mismatched variable name which we have renamed at some point.


Fixes of potential UB due to overflowing bit-shift operation

Description
More fixes of potential UB due to overflowing bit-shift operation
Patch courtesy of Andrey Semashev via Boost ML.
Continuation of SHA-1: 90c2deb725db4dda408b065e130f19553574953d
Tasklist

[ ] Review
[ ] Adjust for comments
[ ] All CI builds and checks have passed

References (eg. other issues, pull requests)
#46, #50, #51 and hopefully it also fixes the checksum bug #49

It's really hard to see any actual fix in between all the line trimmings. Can that be separated?

Oh my, I did not notice. It must be the VSCode + .editorconfig auto-trimmed the trailing whitespaces. I'll fix it.

@chhenning should be fixed now. Thanks for spotting.


Add diagnostics for sinks.

Track time and number of elements processed by sinks as we do for
sources.
Fix the source logging to use the provided context rather than
context.Background()

@lostluck

@tgroh please merge


[CUDA] Re-enable vectorization for generic op

It got disabled by mistake during refactoring

Ahh! Oops! Sorry.

That's my bad, I should have had a test for it.


Simple OS name

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always follow these steps:

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed all issues and retried your prior step?
[x] Ran brew config and ...
[ ] ...     brew doctor and included their output with your issue?

Features
In order to merge Linuxbrew/brew into Homebrew/brew, sometimes we have to do something like:
if OS.mac?
  require "os/mac/something/something"
elsif OS.linux?
  require "os/linux/something/something"
end

which, clearly, could be shrunk down to
require "os/#{VARIABLE}/something/something

if we had that magic VARIABLE.
This issue is a request to create such a variable.
What is currently available:
OS_VERSION  => "macOS 10.13"
ENV["HOMEBREW_OS_VERSION"] => "macOS 10.13"
ENV["HOMEBREW_SYSTEM"] =>"Macintosh"

Ideally, it should be as simple as OS_VERSION (which is defined in os.rb), e.g.: ::OS_SIMPLE_NAME or ::OS_SYSTEM

$ brew config
HOMEBREW_VERSION: 1.3.5-16-gb4e1e39
ORIGIN: https://github.com/Homebrew/brew
HEAD: b4e1e39d3b38b722fc554a3665d9b6dbf165d99a
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e9f6189c7393fc6d5d8179cc386bfa84fbbdb095
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.0 build 900
Git: 2.13.5 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /Users/mbelkin/.pyenv/shims/python => /Users/mbelkin/.pyenv/versions/3.6.2/bin/python3.6
Ruby: /Users/mbelkin/.rbenv/shims/ruby => /Users/mbelkin/.rbenv/versions/2.5.0-dev/bin/ruby
Java: 1.8.0_112
macOS: 10.13-x86_64
Xcode: 9.0
CLT: <IP_ADDRESS>.1.1504363082
X11: 2.7.8 => /opt/X11

which, clearly, could be shrunk down to
require "os/#{VARIABLE}/something/something

Well, not really because if you run on a non-macOS and non-Linux OS that will fail with a file not found error rather than falling back to the existing, generic code. A helper function could be created instead of this constant to handle this, though:
def require_os(path)
  if OS.mac?
    require "os/mac/#{path}"
  elsif OS.linux?
    require "os/linux/#{path}"
  end
end

Closing this out in favour of a PR for that.


Apply Opacity on behind Image.

I want to apply Opacity like when we are swipe left/right the card then previous card should be animate with opacity.

@danish5454  Is there a source you can cite as an example from anywhere? I don't quite understand what you mean

@dancixx What I mean when user translateX the card to left/right the card that is behind should be interpolate with opacity like 0.4 to 1 or I.

@danish5454 a feature came to my mind about the suggestion you mentioned, I will add this feature when I have a free time.

@Skipperlla Thanks 🙏🙏


qemu: add use_nvdimm option

To control whether an image rootfs is used as nvdimm device or just plain virtio-block device.

/test

Hi~ @bergwolf
If we're using virtio-blk as backend with qemu, then we may not support launching more than one containers simultaneously. It will incur write lock error.
We have addressed this scenario in issue #843.

@Pennyzct The virtio-block drive has ShareRW bit set so that the image can be shared among multiple qemu instances. Also it is mounted readonly so no write will incur on the guest rootfs image.

@bergwolf thanks for the explanation. ;)

/test

/test


Code Quality: Duplication in ModernShellPage and ColumnShellPage

Description
Some code is duplicated between ModernShellPage.xaml.cs and ColumnShellPage.xaml.cs. Sometimes it's entire methods, sometimes it's only partial bits.
We should look into fusing the two classes into an abstract class BaseShellPage to regroup the duplicates.
Concerned code

ModernShellPage.cs
ColumnShellPage.cs

Gains

Better maintainability.
No need to do the same modifications twice when we want to add a functionality to the two pages.

Requirements

Regrouping the duplicated code into an abstract class BaseShellPage.

Comments
No response

I believe @lukeblevins has some ideas on this but it doesn't hurt to write them down.

This should have been informed by the work that's in progress. The PR for it is open already as a draft. I'd prefer if we used that work instead.


undefined symbol: VTARuntimeShutdown

Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/root/tvm/python/tvm/rpc/server.py", line 118, in _serve_loop
_ffi_api.ServerLoop(sockfd)
File "/home/root/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, in call
raise get_last_ffi_error()
AttributeError: Traceback (most recent call last):
[bt] (4) /root/tvm/build/libtvm_runtime.so(TVMFuncCall+0x37) [0xb379a4f4]
[bt] (3) /root/tvm/build/libtvm_runtime.so(+0x8c1f8) [0xb37f71f8]
[bt] (2) /root/tvm/build/libtvm_runtime.so(tvm::runtime::RPCServerLoop(int)+0x6b) [0xb37f6aa0]
[bt] (1) /root/tvm/build/libtvm_runtime.so(tvm::runtime::RPCEndpoint::ServerLoop()+0x13f) [0xb37e44f0]
[bt] (0) /root/tvm/build/libtvm_runtime.so(+0x2d340) [0xb3798340]
File "/home/root/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 81, in cfun
rv = local_pyfunc(*pyargs)
File "/home/root/tvm/vta/python/vta/exec/rpc_server.py", line 84, in server_shutdown
runtime_dll[0].VTARuntimeShutdown()
File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /home/root/tvm/vta/python/vta/../../../build/libvta.so: undefined symbol: VTARuntimeShutdown
I am facing this error while running VTA on DE10 Nano.

Thanks for asking the question, it would be great to followup on the discuss thread https://discuss.tvm.apache.org/t/error-vtaruntimeshutdown-symbol-is-undefined/6832


fix: 🐛 translateSelectionNodes is only triggered manually

Description
translateSelectionNodes 只有手动触发才会执行，解决代码触发某个选中节点平移时，造成的多个节点响应问题。
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[ ] Chore (changes that don't modify src or test files)

Self Check before Merge

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

这是啥情况？


feat(CategoryTheory/Monoidal/Bimon): definition of bimonoid object in a braided category

[ ] depends on: #12858
[x] depends on: #12857

Thanks!
bors merge


WIP - Create the disableBail option

As discussed in #2996 and #3012 this PR enables the user to set a disableBail option to collect all tests killing a mutant. Continuation of #3061
Notes on the implementation:

Initially only implemented for jest. The rest of the test runners should continue to work without changes
We only track the first error message of the first failing test.

To be done:

[X] enableBail should be deprecated.
[ ] In the integration tests, jest doesn't bail and always report two tests killing a mutant, although I am sure (and the tests confirm) I'm telling Jest to run with bail = true. I am not sure what to do about this or if this is a problem with my implementation.
[ ] merge jasmine2-node-no-mocks into jest-circus
[x] add disableBail to the RunOptions (for both DryRunOptions and MutantRunOptions)

Ok. So I progressed a little:

I added the deprecation warning for enableBail  option in the jest config
I created a new MutantRunOptions with the disableBail field so this is not a breaking change. Once everything is implemented we can move back to a single MutantRunOptions. Now it'd be easier for other test runners to add support to disableBail. I did not added it to RunOptions because we were bailing on the DryRun anyway. I didn't see much value in configuring the dryRun not to bail. You think that makes sense? or should I move it to RunOptions?

I've been trying to make jest bail in the integration tests based on config but I haven't succeeded.
Calling jest's runCLI with runInBand: true makes no difference. Neither does passing it in the config option. maxConcurrency=1  and maxWorkers=1 don't seem to make a difference either.
I added a test  that should pass if jest bailed on the first fail. It's skipped for now because jest does not bail


Update version and release note for azure cli 2.0.76

Update version and release note for azure cli 2.0.76

Docs Build status updates of commit 6772be7:
:clock10: Full build: the average full build time is 7 min(s), this is based on the last 244 build(s) for this repository.

Docs Build status updates of commit 6772be7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/release-notes-azure-cli.md
:bulb:Suggestion
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/includes/current-version.md
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid) View (azure-cli-latest)

docs-ref-conceptual/release-notes-azure-cli.md

Line 258: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.
Line 258: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.
Line 258: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.
Line 260: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.
Line 260: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.
Line 260: [Suggestion] Link 'https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#request-body' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@sptramer Can you have a look at this PR? It is urgent to be merged.

Add @zikalino @jiasli

@sptramer, could you please help review this PR? Appreciate your help.


#1647: added update count in Flyway info logs

This pull request is to address #1647 . This code will print the update count for flyway info in console logs so that developers can view the execution results of the particular migration. This will still be available in debug mode but the difference is that debug mode will also print the sql statements along with execution results.

Thanks, but as already mentioned in #1647 we have no plans to change this.


[FLINK-32180][runtime] Moves error handling from DefaultMultipleComponentLeaderElectionService into the MultipleComponentLeaderElectionDriver implementations

https://github.com/apache/flink/pull/21742
https://github.com/apache/flink/pull/22379
https://github.com/apache/flink/pull/22422
https://github.com/apache/flink/pull/22380
https://github.com/apache/flink/pull/22623
https://github.com/apache/flink/pull/22384
https://github.com/apache/flink/pull/22390
https://github.com/apache/flink/pull/22404
https://github.com/apache/flink/pull/22601
https://github.com/apache/flink/pull/22642
https://github.com/apache/flink/pull/22640
=== THIS PR === FLINK-32180
https://github.com/apache/flink/pull/22661

What is the purpose of the change
The error handling needs to be moved into the driver to allow errors that were reported to the
k8s watcher to be forwarded to the LeaderContender's error handling. This aligns with how the LeaderElectionDriver was used.
This step is necessary so that we can replace the LeaderElectionDriver within DefaultLeaderElectionService with the MultipleComponentLeaderElectionDriver.
Brief change log

Makes the fatalErrorHandler being a parameter of MultipleComponentLeaderElectionDriverFactory.create
Moves fatalErrorHandler from DefaultMultipleComponentLeaderElectionService into the MultipleComponentLeaderElectionDriver implementations

Verifying this change

added a test in handleFatalError in DefaultMultipleComponentLeaderElectionService

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Why wouldn't the service be able to forward errors to the contender? Is it because the driver is doing stuff internally that the service doesn't even know about?

The k8s implementation forwards errors that were caught by the watcher to the contender independently of the calls the service sends to the driver.

How will the driver get access to a contender-specific failure handler?

The driver got access to the error handler during instnatiation. I followed that approach for the DefaultMultipleComponentLeaderElectionService.

I'm wondering if rather there should be a way for the driver to report errors to the service, which forwards it to the contender.

I could do that. Adding a onError method to the MultipleComponentLeaderElectionService through the Listener interface feels like the more consistent way of passing over the error

Rebased to the most-recent version of FLINK-31782 (to fix the conflicts).

Aaaand another rebase to include the checkstyle fix

we should do that in a separate (followup-)ticket after the migration is done.

sounds good.

@flinkbot run azure

@flinkbot run azure


[Feature Request] iconify-icon support

Since Nuxt is an SSR-oriented framework, I would like to propose a shift from @iconify/vue to iconify-icon, as that would make rendering heaps more consistent and lighter, reaping the benefits of using a Shadow DOM.
Reads:
https://github.com/vuetifyjs/vuetify/issues/7821#issuecomment-1876623426
https://iconify.design/docs/iconify-icon/

Yes, this is a very good idea.
I'm actually using iconify-icon with Nuxt on new Iconify icon sets website, it is way better for SSR than @iconify/vue. Works flawlessly.
One minor change is it requires adding this line to Nuxt config (it works fine without it, but shows warnings in console in dev mode):
	vue: {
		compilerOptions: {
			isCustomElement: (tag) => tag === 'iconify-icon',
		},
	},

Additionally, version 2 of web component has major performance increase. It uses IntersectionObserver to check if icon is visible, does not render icons that aren't visible to visitor.
Old Iconify components, such as @iconify/vue (and especially @iconify/react) has been a big pain to maintain because of SSR. In future I'm planning to deprecate them, asking users to switch to web component.

This would be very much appreciated from the point of view of a new Nuxt adopter 🎉
As I'm evaluating the framework, coming across such situations where the "best" solution differs from the "official" solution causes some friction and unease.


Feature: More than one Helium window

Currently I can only open one Helium window on OS X, is there any way to allow multiple independent windows?

A workaround is to create a new instance of the app by right clicking on Helium in the "Applications" folder and click duplicate.

Awesome!
On Wed, 23 Nov 2016, 06:21 Anthony Attard<EMAIL_ADDRESS>wrote:

A workaround is to create a new instance of the app by right clicking on
Helium in the "Applications" folder and click duplicate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JadenGeller/Helium/issues/187#issuecomment-262421220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBh5zRATPC1jdpzUJXYL_NmxGTkNaPYks5rA6MdgaJpZM4KuZbU
.

#9 duplicate


Parameters in ChunkedFileUpload not working

The Dropbox parameters for uploading are not working with ChunkedFileUpload. I think, you just forgot to pass the parameters to the finishUploadSession-Method in Line 1007 in Dropbox.php. It should be:
return $this->finishUploadSession($dropboxFile, $sessionId, $uploaded, $remaining, $path, $params);

@JSchmidt1909 Thanks for pointing out!

http://asean.org/subscribe/?wpmlmethod=optin#newsletters-embed6832


Use another header than Authorization for basic auth

New feature:
I have an api using basic auth behind Traefik and i would like to add an authentication at Traefik level.
I succeeded in configuring basic auth at Traefik level using the basic auth middleware, but i want the credentials for authenticating at Traefik level to be different than at app level (some kind of MFA) and i only have one possible Authorization header to hold them both.
The solution i was hoping from Traefik basic auth middleware is to be able to customize the header to be used for authentication, but looking at the doc and the source code, it seems it's not possible at the moment.
I guess https://github.com/traefik/traefik/blob/master/pkg/middlewares/auth/basic_auth.go#L65 1 would have to be updated to get the authorization from a specific header.
Is it possible to add an optional parameter in basic auth middleware to provide a custom header for authentication (default value: Authorization)?

Hello @emexelem,
Thanks for your interest in Traefik!
As you said, the BasicAuth middleware does not allow to customize the header used for authentication. To be compliant with the RFC 7235, the Basic authentication credentials must be provided in the Authorization header.
The use case you are describing seems to be an edge case. One potential solution might be to modify your application to use a custom header.
Therefore, we will decline your feature request accordingly.


Does nothing since patch 6.11a

Since the latest 6.11a patch the plugin does not track anything for me. I have used the "Reset plugin settings & reload" option as well as manually deleting the plugin from my appdata folder and reinstalling but the behavior doesn't change.
I have seen some other players with the same issue in the goat place discord.
My installed plugins:
Browsingway
BDTH
Chat Bubbles
Currency Alert
DailyDuty
Damage Info
DeathRecap
Discord Rich Presence
EnemyListDebuffs
Engage Timer
ezMiniCactpot
Fancy Loading Screens
Gatherbuddy
Glamaholic
Globetrotter
Housemate
Item Search
Kapture
Macro Chain
NeatNoter
NoSoliciting
Orchestrion
PartyIcons
Pat Me
Peeping Tom
Penny Pincher
PingPlugin
Pixel Perfect
PlayerTrack
PriceCheck
ReadyCheckHelper
Redirect
Simple Tweaks
Sonar
Triad Buddy
WaymarkPresetPlugin
If there is any other logs or info that would be helpful let me know!

6.11a updated the games opcodes, I have released a fix under testing (enable experimental plugins in dalamud settings)
I'll publish the version into stable later today.

Ah, thank you for the response. I had raid members using this last night fine so I assumed it may have been a new conflict but I guess they just have testing on!


KeyError: 'species_gene_name'

I have encountered the following issue:
When I try running SATURN with 8000HVGs and 2000 macro genes on my multi-species dataset, it will work.
However, when I tried increasing these values to 12000 HVGs and 3000 macro genes, I encountered the following error:
Traceback (most recent call last):   File "/path/to/train-saturn.py", line 1064, in <module>     trainer(args)   File "/path/to/train-saturn.py", line 575, in trainer     centroid_weights.append(torch.tensor(species_genes_scores[sgn])) KeyError: 'axolotl_AMEX60DD000047-TMEM132B'
Earlier in the output I could see:
After loading the anndata axolotl View of AnnData object with n_obs × n_vars = 4198 × 42647
So there were more than 12000 genes shared between the axolotl object and its corresponding .pt file. Each species in my dataset had more than 12000 genes, the minimum being 15577.
The gene in question had one peptide in the peptide .fa file I used

AMEX60DD201000047.1; gene_id:AMEX60DD000047_TMEM132B;
VSEGCDAIFVNGKEMKSKVDTVVNFTFQHFSAQLEVTVWVPRLPLQLEVSDTELSQVKGWRIPSASNKRPTRDSEDEEDDEKKGKGCSLQYQHAMVRVLTQFVSESSDFGGQLTYMLGSDWQFDITDLVKDFMKVEEPRIARLEAGRILSGREQGITTVQVLSPLSDSILAEKTVTVLDDRVTITDMGVQLVSGLSLSVRTKKANKNILVGTATAYDTLQAHKQ

I checked, and this gene is expressed in some cells in the object, its expression is not 0.
My command was
python3 /path/to/train-saturn.py --in_data /path/to/all_species_run.csv
--in_label_col=cell_type --ref_label_col=cell_type
--num_macrogenes=2000 --hv_genes=8000 \ # or --num_macrogenes=3000 --hv_genes=12000 \
--centroids_init_path=/path/to/saturn_results//all_species_centroids.pkl
--score_adata --ct_map_path=/path/to/cell_type_map.csv
--work_dir=/path/to/work_dir/
What could be causing the SATURN to fail when the number of genes is increased?

Try changing your centroids_init_path to a different file. It might be trying to use the one that was generated for a smaller number of genes (thus causing this error).

Yes, that was the issue, thank you!
Closing the issue.


fix info

Fixes #277

someone with access should restart windows, it seems to have been an HTTP issue

Pull Request Test Coverage Report for Build 579361051

-1 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 97.1%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/svdl.jl
0
1
0.0%

Totals

Change from base Build 444205317:
-0.4%

Covered Lines:
1808

Relevant Lines:
1862

💛  - Coveralls

Thanks!


There's a vertical line in the checkbox of Online in Parameters part in Command Explorer

Config:
Dev14 Ent RTM + Latest PowerShell Tool(https://ci.appveyor.com/project/PoshTools-MSFT/poshtools/branch/dev) on Win Server 2012 R2
Repro Steps:

Launch VS and open the Command Explorer
Search the command 'Use-WindowsUnattend', double click the Command and open that
Open the dropdown list and select online
In Parameters part, check if  the checkbox of Online display well

Expected: the checkbox of Online display well
Actual: there's a vertical line in the checkbox of Online

Fixed in https://github.com/adamdriscoll/poshtools/pull/341 @erwindevreugd Thanks for Fixing this up!


Support creating Alluxio FUSE SDK docker image

What changes are proposed in this pull request?
PR 7 of Alluxio FUSE SDK https://github.com/Alluxio/alluxio/pull/16284
This PR contains the logic to create a Alluxio Fuse SDK docker image
This PR relies on https://github.com/Alluxio/alluxio/pull/16346
Why are the changes needed?
Support creating a Alluxio Fuse docker image
Does this PR introduce any user facing changes?
NA

Docker image size 1.32GB

@ssz1997 surprisingly that Alluxio Dockerfile can be directly used for creating the fuse docker image, although things like alluxio-csi logics can be removed to optimize the logics

alluxio-bot, merge this please


Fixed some typos

It looks like this broke the formatting of the README page, which is a Markdown document and not ReStructured text. I'll make a new PR to revert that part of the changes. Thank you for the grammar fixes though!


bugfix: respect allowAutoDelete: true setting when no roles are specified explicitly

Description
When user provides confiugration file like:
allowAutoDelete: true
but doesn't specify roles collection, the role processing is not taking place.
I'd assume, that roles: [] and lack of such entry should yield the same evaluation result - empty roles collection.
Motivation and Context
https://armory.atlassian.net/browse/CDAAS-1989
How has this been tested? How can a reviewer test these changes?
Added unit tests, manual testing.
Have your performed the following tests?

[ ] If this change modifies the deployment flow have triggered a deployment using this branch (i.e. build/dist/darwin_amd64/armory deploy start -f <path to file>)?
[ ] If this change modifes the login flow have you tried logging in and out with this branch (i.e. build/dist/darwin_amd64/armory login) and verified the credentials work?
[X] Have you verified the specific change made in this PR?

i guess so :)


Switch between global and local transforms when top level is toggled in a Node3D

Required, but does not fully fix: #86861 due to how AABBs bounds are calculated.
Currently when you toggle top level, the transform values remain relative to the origin of the parent. This PR fixes this and will now toggle between global and local transforms.
The code that has been modified has been in Godot since the beginning, and I can't think of any reason why it's needed now. I'm assuming this is an artifact of some work around to something that existed a decade ago, and since 3D has been majorly reworked is no longer required.
https://github.com/godotengine/godot/assets/105675984/881b8d07-ae4e-482a-9e6e-6917c32bcef7

Closing as a duplicate to #84643, which already solves this problem, and adds to it.