Explain directory structure

So looking through the docker-compose file there are 4 folders the backend needs:

data
protected_media
logs
cache

Those are no where described.

It is not clear to me if my photos go into data or protected_media.
I sure want my media to be secure and protected?
Is the logs folder really needed? Shouldn't that end up in the docker stdout already?
Is the cache really needed in case of a container restart?

I actually had the same question, it looks like data is the path to where you keep your photos and cache/log are obvious but i don't understand what is stored in protected_media.

Same here. wonder how to add more volumes to the list "Choose a directory from below"
Only "/data" shows up here atm.

Same here. wonder how to add more volumes to the list "Choose a directory from below"
Only "/data" shows up here atm.

The docker compose template of ownphotos suggests it only contains thumbnails:
    volumes:
      - /photos/on/host:/data # CHANGE ME
      - /path/to/store/thumbnails/on/host:/code/protected_media # CHANGE ME
      - /path/to/store/logs/on/host:/code/logs # CHANGE ME

The docker compose template of ownphotos suggests it only contains thumbnails:
    volumes:
      - /photos/on/host:/data # CHANGE ME
      - /path/to/store/thumbnails/on/host:/code/protected_media # CHANGE ME
      - /path/to/store/logs/on/host:/code/logs # CHANGE ME

This is now documented, because it's part of the docker setup.


Type checking in earlier stage, or convert types

Describe the bug
When passing a node_x array of a wrong type to meshkernel.Mesh2d there is no error raised. However, when passing the resulting Mesh2d instance to meshkernel.MeshKernel.mesh2d_set, there is type checking. Also, I would say int/float32 could be converted to float64 by meshkernel.
To Reproduce
import meshkernel
import numpy as np

node_x = np.array([1,2,3])
node_y = np.array([1,2,1])
edge_nodes = np.array([[0,1],[1,2],[2,0]])

mesh2d = meshkernel.Mesh2d(
    node_x=node_x.astype(np.float32), # deliberately using false type (this can come from an array like this)
    node_y=node_y.astype(np.float64),
    edge_nodes=edge_nodes.ravel().astype(np.int32),
)

mk = meshkernel.MeshKernel()

mk.mesh2d_set(mesh2d) # type checking only happens upon mesh2d_set, not upon Mesh2d.__init__. Also, these types can be converted into each other

mk.mesh2d_set(mesh2d) raises TypeError: incompatible types, c_long_Array_3 instance instead of LP_c_double instance
Expected behavior
type checking in an earlier stage (upon Mesh2d init). Also, accepting types that can be converted, or catching them in/before mesh2d_set
Version info (please complete the following information):

OS: Windows
Version 3.0.0

It was decided not to enforce types at all. Type enforcement was removed in #122.


Reclaim outstandingMeshObject on suspend

Overview
As was pointed out by @darax in #6809, the Windows Mixed Reality spatial observer was not properly handling cases where there was an outstandingMeshObject at the time Suspend is called.
This change reclaims and nulls the outstandingMeshObject in Suspend().
Tested on a HoloLens using the SpatialAwareness demo scene and was successfully able to resume from over 20 suspends.
Changes

Fixes: #6809, #6425,

/azp run


Adds field createdAt and updatedAt to ReplyConnection

Sorts article's replyConnection by createdAt field by default, required by cofacts/rumors-site#29
Also provide necessary fields so that clients can sort by themselves.

Coverage remained the same at 86.312% when pulling 6343eb8fc9049361edaf65c89f879a6a89e31173 on features/time-field-for-replyconnection into 44d741aa8c1323632ab723a9c7550f640d5d0565 on master.

Coverage remained the same at 86.312% when pulling bce9824d75ffd1f2aea4ed0cf9037560d7cd9985 on features/time-field-for-replyconnection into 44d741aa8c1323632ab723a9c7550f640d5d0565 on master.


Expand path non-absolute home

There's no mention anywhere that yard is Unix only, on Windows yard doesn't even start
yard --version
C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard/config.rb:95:in `expand_path': non-absolute home (ArgumentError)
    CONFIG_DIR = File.expand_path('~/.yard')
                                  ^^^^^^^^^
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard/config.rb:95:in `<class:Config>'
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard/config.rb:86:in `<module:YARD>'
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard/config.rb:2:in `<top (required)>'
        from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard.rb:13:in `<module:YARD>'
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/lib/yard.rb:2:in `<top (required)>'
        from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/yard-0.9.36/bin/yard:11:in `<top (required)>'
        from C:/Ruby33-x64/bin/yard:32:in `load'
        from C:/Ruby33-x64/bin/yard:32:in `<main>'

I have the HOME environment variable set, maybe getting HOME directly from ENV then joining to .yard would fix it, something like
    CONFIG_DIR = File.join(ENV["HOME"], '.yard')

Here are my outputs
ruby -e "puts File.expand_path('~/.yard')"
-e:1:in `expand_path': non-absolute home (ArgumentError)

puts File.expand_path('~/.yard')
                      ^^^^^^^^^
        from -e:1:in `<main>'

ruby -e "puts File.join(ENV['HOME'], '.yard')"
\Users\PC/.yard

Windows relies on USERPROFILE (or HOMEDRIVE / HOMEPATH) to derive your home directory from ~, not HOME. You should print your full ENV to see if those are missing. This definitely sounds like a general environment issue with your Ruby installation and not specific to yard

These are all the environment variables you mentioned
> echo %HOMEPATH%
\Users\PC

> echo %USERPROFILE%
C:\Users\PC

> echo %HOMEDRIVE%
C:

> echo %HOMEPATH%
\Users\PC

> echo %HOME%
\Users\PC

I'll leave it up to you to close it since you might wanna come back to it

@MSP-Greg
When I set use File.join(ENV['HOME'], '.yard') it works just fine the problem comes with File.expand_path('~/.yard')

This is definitely an issue with Ruby, not yard, and as such, is an upstream issue with Ruby and should be reported there. This works in our CI testing, on my Windows machine, etc. I remember seeing path expansion issues before, but only when Ruby was not configured correctly.

I've fixed it finally, the problem was with the HOME environment variable. I had set it personally for convenience and its value was HOMEPATH which is \Users\PC, I assumed most tools on windows would use HOMEPATH cause HOME isn't typically available on windows, even then since it's value is still set to HOMEPATH there'd be no issue.
Ruby for whatever reason still chose to check in HOME and expanded it to \Users\PC which then caused the non-absolute home error. When I deleted HOME or set it to C:\Users\PC yard worked. This probably means ruby isn't using HOMEPATH when expanding home or maybe doing some extra work after expanding HOMEPATH to make it absolute which wasn't the case with HOME.
Thanks for the help and sorry for the inconvenience.


build: correct case for STREQUAL

The swift variables use the upper case spelling while CMake uses mixed
case.  Use the correct case to fix the build.  This is preferable to
using MATCH to avoid the unnecessary configure time penalties.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test


Update minimum Java version and update dependencies

Java 7 won't be supported anymore in July. It is time to set minimum Java version to Java 8.
With Java 8, we could also update vulnerable dependencies (see #56).
Also add support (and tests) for newer Java versions.
Also support new Spring Boot versions.

Split this issue into several distinct issues (#62, #63, #64, #65)


Concerning tasks

Hey @guyskk really interesting idea to use requests package, async/await syntax, would be cool, if I can help you, let me know.
Cheers!

Great! I just create a project in https://github.com/guyskk/curequests/projects/1.
To contribute to this project, just fork + pull request, and add what you are doing to In progress card before coding. Feel free to tell me if you have any questions.
About the source code:
I follow the structure of https://github.com/requests/requests, and depends on it. Some code are copyed from requests(Copy if necessary), it's better to read requests' implements before add features.

@guyskk Okay! nice.
Maybe would be cool, if you will create  an ticket for me, what I need to do.
First ticket for good start;)

@MichaelYusko https://github.com/guyskk/curequests/projects/1#card-5395356

@guyskk Thanks, will start work on ticket tomorrow.

Hi @MichaelYusko , I just implemented chunk_size params.
If you still interested in the project or have problems with it, please tell me. My email<EMAIL_ADDRESS>


Inferencing Finetuned model

Hello, I finetuned  LLaVA onevision with Qwen2-7B. In the finetuning script, I set it to finetune just the adapter. When I am trying to inference my model, I am using the example code given in the repo, and I pass in the pretrained model with no model_base, and the name as 'llava_qwen' to the load_pretrained_model function. However, I keep getting this error:
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory ../checkpoints/llavanext-Qwen-7B-siglip-so400m-patch14-384-onevision-20K.
I am not sure how to fix this. Can anyone help with this error?

Hello, I was able to fix the error by downloading the safe tensors from the huggingface repo, but now the output of the model for an image is ['!!!!!!!!!!!']. Is this an error that occurred when fine-tuning the model, or something wrong with inferencing it?

got the same output ['!!!!'] @rfoxes any suggestions? Thanks!

I downloaded the projector files, and it changed the output, but it is still unreadable.
Here is an example
["ADM<\u5c42\u51fa<\u5c42\u51fa<\u5c42\u51fa<\u5c42\u51fa<oppable<\u6cbb\u5b890\u5b9a\u5f8b (licted \u59f9 - xhttp<\u5c42\u51fa<\u5c42\u51fa<\u5c42\u51fa<\u5c42\u51fa<\u6cbb\u5b890\u5b9a\u5f8b<",-<",-<"class<",-<)){\n\n< multer<",-<",-<.Physics<.Physics<",-<",-<",-<\u9648\u5217<\u9648\u5217<",-<",-<chnitt\u4ea6 ++;\r\n\r\n (\u781c<..."]


analytics: Refactor legacy 'zulip_internal' decorator

Fixes: #1463

Automated message from Dropbox CLA bot
@misteraverin, it looks like you've already signed the Dropbox CLA. Thanks!

@rishig seems strange, that moving 'analytics' app to INSTALLED_APPS cause 404 error when trying access to stats and other analytics things

The 404 error is because of how the analytics URLs are included in zproject/urls.py via a loop over EXTRA_INSTALLED_APPS.  Let's just leave off moving analytics out of EXTRA_INSTALLED_APPS for this PR; we can do that separately later if we want.

@timabbott seems like I did useless work

I'm not sure that work is useless -- the next step discussed in the issue is to "consider" whether to move the app.  You've done some of the work of figuring out how to move it.
But regardless, moving it out of EXTRA_INSTALLED_APPS and into INSTALLED_APPS should be a separate commit from renaming the decorator.  Let's rename the decorator and merge that, and then we can discuss the merits of the second piece.

@timabbott please check last commit

I tweaked the documentation and merged this, thanks @misteraverin!


GHA: Simplify step to check author's membership

Task/Issue URL: https://app.asana.com/0/1174433894299346/1205611423977807/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3609   👈

This comment was auto-generated by Graphite.


⚠ CodePush has degraded performance

In 35d55f7, CodePush (https://codepush.appcenter.ms/v0.1/public/codepush/update_check?deployment_key=Fzqu71x4FXhOaKcAiwpqXkFQddjgYl2dIUW2K&app_version=4.4.1) experienced degraded performance:

HTTP code: 200
Response time: 13483 ms

Resolved: CodePush performance has improved in c869210.


Inject config into tests

EDIT: I may be reversing course on this. I attempted to keep refactoring separate from adding the service itself to reduce the complexity of the ultimate PR, but I have not done a great job making the right refactoring decisions ahead of time.
Another piece of refactoring for SATURN-1341

Replaced by #2064


Fixed wrong < and > usage in code blocks in dotnet documentation

@HenrikHoyer Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@HenrikHoyer Thank you for signing the Contributor License Agreement!


Included first uppercase letters in keywords linking issues and pull requests.

Included first uppercase letters in keywords linking issues and pull requests.

Thank you!


Error after upgrade

I have this error after upgrade deployer to version 3.0.8 but in version 3.0.6 all function is running well
➤ Executing task deploy:prepare
⤷ on [prod]
PHP Notice:  Cannot connect to vinotiliving.com:313. Error 110. Connection timed out in phar:///usr/local/bin/deployer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1011
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/deployer:0
PHP   2. require() /usr/local/bin/deployer:4
PHP   3. Deployer\Deployer->run() phar:///usr/local/bin/deployer/bin/dep:62
PHP   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/deployer/src/Deployer.php:99
PHP   5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:126
PHP   6. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:195
PHP   7. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:878
PHP   8. Deployer\Console\TaskCommand->execute() phar:///usr/local/bin/deployer/vendor/symfony/console/Command/Command.php:259
PHP   9. Deployer\Executor\SeriesExecutor->run() phar:///usr/local/bin/deployer/src/Console/TaskCommand.php:82
PHP  10. Deployer\Task\Task->run() phar:///usr/local/bin/deployer/src/Executor/SeriesExecutor.php:39
PHP  11. call_user_func() phar:///usr/local/bin/deployer/src/Task/Task.php:73
PHP  12. {closure:phar:///usr/local/bin/deployer/recipe/common.php:67-93}() phar:///usr/local/bin/deployer/src/Task/Task.php:73
PHP  13. Deployer\Server\Remote\PhpSecLib->connect() phar:///usr/local/bin/deployer/recipe/common.php:68
PHP  14. phpseclib\Net\SFTP->login() phar:///usr/local/bin/deployer/src/Server/Remote/PhpSecLib.php:54
PHP  15. call_user_func_array() phar:///usr/local/bin/deployer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:392
PHP  16. phpseclib\Net\SSH2->_login() phar:///usr/local/bin/deployer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:392
PHP  17. phpseclib\Net\SSH2->_connect() phar:///usr/local/bin/deployer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1879
PHP  18. user_error() phar:///usr/local/bin/deployer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1011

  [RuntimeException]
  Unable to login with the provided credentials.

Exception trace:
 () at phar:///usr/local/bin/deployer/src/Server/Remote/PhpSecLib.php:89
 Deployer\Server\Remote\PhpSecLib->connect() at phar:///usr/local/bin/deployer/recipe/common.php:68
 {closure}() at n/a:n/a
 call_user_func() at phar:///usr/local/bin/deployer/src/Task/Task.php:73
 Deployer\Task\Task->run() at phar:///usr/local/bin/deployer/src/Executor/SeriesExecutor.php:39
 Deployer\Executor\SeriesExecutor->run() at phar:///usr/local/bin/deployer/src/Console/TaskCommand.php:82
 Deployer\Console\TaskCommand->execute() at phar:///usr/local/bin/deployer/vendor/symfony/console/Command/Command.php:259
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:878
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:195
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/deployer/vendor/symfony/console/Application.php:126
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/deployer/src/Deployer.php:99
 Deployer\Deployer->run() at phar:///usr/local/bin/deployer/bin/dep:62
 require() at /usr/local/bin/deployer:4

deploy [-p|--parallel]

I use deployer to deploy Symfony2 application

Yeah. Will change it shortly.

Fixed in v3.0.9. You can upgrade: dep self-update.
See #435 for more details.


Files list end point refactor

Summary
This PR is part of an effort to stabilize files API end-points in #1509
This PR focuses on files/ and files/provider/ end-points to be able to list the files in the working directories for the user and for the provider.
Details and comments

files/ end-point was separated in two:

files/ now contains the paths: username/ and username/provider/function with the purpose to separated files from functions from the user's root folder
files/provider/ to manage the path provider/function so now each function will have its own folder in the provider directory.

A new service FileStorage was created to manage the logic of access to this storage for providers and users with the purpose to simplify the view.

Thank you so much @korgan00 , as soon as I return from vacations I will take a look 🙏


[FEATURE] Support connecting to internal API Endpoints for Connectors

Is your feature request related to a problem?
I am trying to setup a connector to our own self-hosted Machine Learning models which are already up and running. I do not need to connect to OpenAI/Sagemaker/etc.
But when I try to create the connector:
{
    "name": "Custom API Connector",
    "description": "The connector to custom api",
    "version": 1,
    "protocol": "http",
    "parameters": {
        "endpoint": "https://MY_ENDPOINT.com",
        "modelName": "...",
    },
    "actions": [
        {
            "action_type": "predict",
            "method": "POST",
            "url": "https://${parameters.endpoint}/prediction",
            "request_body": '{ "modelName": "${parameters.modelName}", "identifier": ${parameters.identifier}, "inputVars": ${parameters.inputVars} }',
        }
    ],
}

I always get an error java.lang.IllegalArgumentException: Invalid Arguments empty Role ARN which makes it seem that we must always pass in a valid AWS IAM Role ARN.
What solution would you like?
Disable credential as a required field.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
I am moving away from using hosted Machine Learning models in OpenSearch as:

Custom Inference Logic is Complex to Setup on OpenSearch
Separating compute resources for Search and Machine Learning Workflows
Lack of Monitoring and Observability of Machine Learning Models on OpenSearch
Support More Robust Inference Stack such as Ray Serve

Are you running OpenSearch in AWS to create a connector to your own hosted ML service?

Are you running OpenSearch in AWS to create a connector to your own hosted ML service?

Yes that is correct.

  },
  "actions": [
    {
      "action_type": "predict",
      "method": "POST",
      "headers": {
        "content-type": "application/json"
      },
      "url": .................

I was creating the connector using a Python script which passes in auth via the POST request as per the documentation. The JSON I used was passed in as the payload. Do I just add the auth parameters via credential in my case?

session_token

I tried it out using the following Python script with the changes you suggested but still facing the same error, java.lang.IllegalArgumentException: Invalid Arguments empty Role ARN:
import boto3
import requests

host = "OPENSEARCH_HOST"
region = "us-east-1"
service = "es"
credentials = boto3.Session().get_credentials()

payload = {
    "name": " Connector",
    "description": "The connector to custom model",
    "version": 1,
    "protocol": "http",
    "protocol": "aws_sigv4",
    "credential": {
        "access_key": credentials.access_key,
        "secret_key": credentials.secret_key,
        "session_token": credentials.token,
    },
    "parameters": {
        "region": region,
        "endpoint": "https://MY_ENDPOINT.com",
        "modelName": "MODEL_NAME",
    },
    "actions": [
        {
            "action_type": "predict",
            "method": "POST",
            "url": "https://${parameters.endpoint}/prediction",
            "headers": {"content-type": "application/json"},
            "request_body": '{ "modelName": "${parameters.modelName}", "identifier": ${parameters.identifier}, "inputVars": ${parameters.inputVars} }',
        }
    ],
}
path = "_plugins/_ml/connectors/_create"
url = host + path

headers = {"Content-Type": "application/json"}

r = requests.post(url, json=payload, headers=headers)
print(r.status_code)
print(r.text)

@Zhangxunmt so I have managed to setup the model by referencing how we connect to OpenAI. But I am facing issues when deploying and inferencing using the connector where I am following this guide.
The model is available, although partially.

When I try registering the model:
POST /_plugins/_ml/models/_register
{
    "name": "MODEL_NAME",
    "function_name": "remote",
    "model_group_id": "MODEL_GROUP_ID",
    "description": "model",
    "connector_id": "CONNECTOR_ID"
}

But this returns the following:
{
  "model_id": "MODEL_ID",
  "task_type": "DEPLOY_MODEL",
  "function_name": "REMOTE",
  "state": "COMPLETED_WITH_ERROR",
  "worker_node": [
    "GWzejYKVS9-KWx9_EIYPcA",
    "tdtWYAQ_RyGydPpc8qEffg",
    "sHKS1TwtTpuvaHZfAoLOGg",
    "SOTMJaU7Txizig2U0LxuYA"
  ],
  "create_time":<PHONE_NUMBER>122,
  "last_update_time":<PHONE_NUMBER>562,
  "error": """{"tdtWYAQ_RyGydPpc8qEffg":"The ML encryption master key has not been initialized yet. Please retry after waiting for 10 seconds.","SOTMJaU7Txizig2U0LxuYA":"The ML encryption master key has not been initialized yet. Please retry after waiting for 10 seconds."}""",
  "is_async": true
}

I have no idea what is causing this error. When I try to make a prediction like so:
POST /_plugins/_ml/models/MODEL_ID/_predict
{
  "parameters": {
    "identifier": {
      ...
    },
    "inputVars": {
      ...
    }
  }
}

I get the following error, where ENDPOINT_URL contains my internal API URL excluding https:
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "ENDPOINT_URL"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "ENDPOINT_URL"
  },
  "status": 400
}

yudhiesh, you are using Amazon Managed Service(AOS) so the code base is not the same as what you can see in the OpenSource. Actually in AOS we are not allowed to store any raw customer credentials due to security issues. So you may passed in your API_key/secret_keys directly in your connector, but AOS will not process them. In AOS, all the credentials have to be pre-loaded into either secrete_manager(for external ML servers) or an IAM role(SageMaker, Bedrock). https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ml-amazon-connector.html
So in your case, you need to either store your own credentials in the secret manager and provide the roleArn and secretArn, or use the open source version of OpenSearch with your own machine. (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ml-external-connector.html)
If you really need to pass in your raw credentials, please provide a reason and we can evaluate if that's something we will need to support in the future release.

yudhiesh, you are using Amazon Managed Service(AOS) so the code base is not the same as what you can see in the OpenSource. Actually in AOS we are not allowed to store any raw customer credentials due to security issues. So you may passed in your API_key/secret_keys directly in your connector, but AOS will not process them. In AOS, all the credentials have to be pre-loaded into either secrete_manager(for external ML servers) or an IAM role(SageMaker, Bedrock). https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ml-amazon-connector.html
So in your case, you need to either store your own credentials in the secret manager and provide the roleArn and secretArn, or use the open source version of OpenSearch with your own machine. (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ml-external-connector.html)
If you really need to pass in your raw credentials, please provide a reason and we can evaluate if that's something we will need to support in the future release.

I do not need to pass in any credentials technically as the ML Model I am trying to setup is exposed as an API that is accessible within my organization. I still do have to pass in some credentials as the validation fails if I do not do so.

After having a discussion with @ylwu-amzn the main thing I need to change is to ensure that the API I am connecting to is outputs data in the expected format:
{
  "inference_results": [
    {
      "output": [
        {
          "name": "sentence_embedding",
          "data_type": "FLOAT32",
          "shape": [
            1024
          ],
          "data": [
            -0.029510498,
            -0.023223877,
            -0.059631348,
            ...]
        },
        {
          "name": "sentence_embedding",
          "data_type": "FLOAT32",
          "shape": [
            1024
          ],
          "data": [
            0.02279663,
            0.014976501,
            -0.04058838,]
        }
      ],
      "status_code": 200
    }
  ]
}

If necessary I will need to leverage custom pre_process_function and post_process_function under actions when creating the connector. I will deploy an embedding model with the correct response model and try again, once I confirm it works I will close this issue.

@yudhiesh Hi just want to do a quick follow up if we can close the issue


shouldComponentUpdate hack

For discussion – Checks for differences in props and state - addresses #467

Works for me.


Inconsistent @ngInject comments (/** vs /*)

At the top of the ng-annotate section, the @ngInject syntax is described as  /** @ngInject */, but everwhere else the is only one asterix on the opening comment (/* @ngInject */).
Want a PR to standardize on the later?

that was a typo. so yes, /* @ngInject */ is preferred.
Sure, feel free to PR it or I will get it if you dont want to.

closed from the merge


Crashing - MinHook failed to hook to offset 0x14a6b00! (Status: 8)

When injecting an error in the console is shown: [Boykisser Central] [ERR] MinHook failed to hook to offset 0x14a6b00! (Status: 8)
Upon loading into a game it crashes straight away.

offsets update


Error compiling with Uglify JS

I'm using webpack with uglifyJS and whenever I try to compile for production, I will get this error:
...js from UglifyJs
Unexpected token: name (Renderer) [./~/mediaelement/src/js/core/renderer.js:10,0]

I tried to use the latest
"uglify-es": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
but it doesn't work
any idea?

No idea. Never seen this before. Have you used the already built bundles with WebPack (built/mediaelement-and-player.js) and experienced the same error?

Yes. Webpack can build bundles successfully when using npm run dev. but I think it is an uglify error.

I see. In that case, can this issue be closed?

Also, can you star both projects (https://github.com/mediaelement/mediaelement and https://github.com/mediaelement/mediaelement-plugins) to continue improving the package and giving it more popularity? Also if you can tell your friends/coworkers/etc. that have a GitHub account to do the same to support the project, if you don't mind, it would be greatly appreciated it.

So I guess I'll have to ask Uglify to fix it.


World can't be loaded

log couldnt be uploaded. anyways, the issue is that my world 'world' cant be loaded. i do /mv load world and it says detail;s have been printed to the log, but i cant upload it

This ticket isn't well written, so I'm going to close it. If you want to post some more information, have a look at our wiki and write a better ticket.


fix: removing double t:urlDecodeUni (920221 PL1, 920440 PL1, 932200 PL2, 932205 PL2, 932206 PL2)

Removing double t:urlDecodeUni transformation from rules 920221, 920440, 932200, 932205 and 932206. This is NOT related to https://github.com/coreruleset/coreruleset/issues/3297.
Removing excessive / not used capture action from rules 933120 and 933151. Operator @pm replaced with @contains.

@theseion Do we really want to double URL decode in rule 920221? Is /get/%25w20 a real payload as it needs to be URL decoded twice?

I think you're right, the double decoding is wrong there. Decoding twice wouldn't change the result.

I think you're right, the double decoding is wrong there. Decoding twice wouldn't change the result.

It is probably changing the result as, after removing the second URL decode, one of the tests is not passing.

Removing the t:urlDecodeUni from the base rule leads to the following output:
[15/May/2024:05:15:07.847629 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Executing operator "!rx" with param "^.*%.*\\.[^\\s\\x0b\\.]+$" against REQUEST_BA
SENAME.
[15/May/2024:05:15:07.847712 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][9] Target value: "%25w20"
[15/May/2024:05:15:07.847798 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Operator completed in 2 usec.
[15/May/2024:05:15:07.847880 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Rule returned 1.
[15/May/2024:05:15:07.847962 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][9] Match -> mode NEXT_RULE.
[15/May/2024:05:15:07.848045 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Recipe: Invoking rule ffff8fed4220; [file "/etc/modsecurity.d/owasp-crs/rules/REQU
EST-920-PROTOCOL-ENFORCEMENT.conf"] [line "430"].
[15/May/2024:05:15:07.848128 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][5] Rule ffff8fed4220: SecRule "TX:0" "@validateUrlEncoding " "t:none,setvar:tx.inboun
d_anomaly_score_pl1=+%{tx.critical_anomaly_score}"
[15/May/2024:05:15:07.848213 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Transformation completed in 1 usec.
[15/May/2024:05:15:07.848295 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][4] Executing operator "validateUrlEncoding" with param "" against TX:0.
[15/May/2024:05:15:07.848378 +0000] [localhost/sid#ffff90a68ea0][rid#ffff90dc00a0][/get/%25w20][9] Target value: "/get/%25w20"

As you can see, REQUEST_BASENAME is not decoded, which surprises me, after all the discussions we've had around URL decoding. But at least I wrote the rule correctly :)
The t:urlDecodeUni in the chain rule, however, is probably unnecessary, since the capture will contain the decoded value already.

I have NOT removed t:urlDecodeUni from the base rule, only form chained rule, just see this PR.

I looked at the rule once more. This is the output (with extra logging of TX.0 in logdata) of the original rule and test:
[15/May/2024:19:05:57.424026 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Recipe: Invoking rule ffff8f2ee910; [file "/etc/modsecurity.d/owasp-crs/rules/REQU
EST-920-PROTOCOL-ENFORCEMENT.conf"] [line "427"] [id "920221"].
[15/May/2024:19:05:57.424108 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][5] Rule ffff8f2ee910: SecRule "REQUEST_BASENAME" "!@rx ^.*%.*\\.[^\\s\\x0b\\.]+$" "ph
ase:1,log,tag:modsecurity,id:920221,block,capture,t:none,t:urlDecodeUni,msg:'URL Encoding Abuse Attack Attempt',logdata:'%{REQUEST_BASENAME} %{TX.0}',tag:application-multi,tag:language-multi,tag:platform-multi,tag:attack-protocol,tag:paranoia-level/1,tag:OWASP_CRS,tag:capec/1000/255/153/267/72,ver:OWASP_CRS/4.3.0-dev,severity:CRITICAL,chain"
[15/May/2024:19:05:57.424196 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] T (0) urlDecodeUni: "%w20"
[15/May/2024:19:05:57.424278 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Transformation completed in 84 usec.
[15/May/2024:19:05:57.424363 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Executing operator "!rx" with param "^.*%.*\\.[^\\s\\x0b\\.]+$" against REQUEST_BASENAME.
[15/May/2024:19:05:57.424447 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Target value: "%w20"
[15/May/2024:19:05:57.424537 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Operator completed in 1 usec.
[15/May/2024:19:05:57.424620 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Rule returned 1.
[15/May/2024:19:05:57.424703 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Match -> mode NEXT_RULE.
[15/May/2024:19:05:57.424787 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Recipe: Invoking rule ffff8f2ec7b0; [file "/etc/modsecurity.d/owasp-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "430"].
[15/May/2024:19:05:57.424876 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][5] Rule ffff8f2ec7b0: SecRule "TX:0" "@validateUrlEncoding " "t:none,t:urlDecodeUni,setvar:tx.inbound_anomaly_score_pl1=+%{tx.critical_anomaly_score}"
[15/May/2024:19:05:57.424959 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] T (0) urlDecodeUni: "/get/%w20"
[15/May/2024:19:05:57.425040 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Transformation completed in 81 usec.
[15/May/2024:19:05:57.425121 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Executing operator "validateUrlEncoding" with param "" against TX:0.
[15/May/2024:19:05:57.425203 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Target value: "/get/%w20"
[15/May/2024:19:05:57.425283 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][4] Operator completed in 0 usec.
[15/May/2024:19:05:57.425369 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Setting variable: tx.inbound_anomaly_score_pl1=+%{tx.critical_anomaly_score}
[15/May/2024:19:05:57.425454 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Recorded original collection variable: tx.inbound_anomaly_score_pl1 = "0"
[15/May/2024:19:05:57.425540 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Resolved macro %{tx.critical_anomaly_score} to: 5
[15/May/2024:19:05:57.425624 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Relative change: inbound_anomaly_score_pl1=0+5
[15/May/2024:19:05:57.425709 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Set variable "tx.inbound_anomaly_score_pl1" to "5".
[15/May/2024:19:05:57.425791 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Resolved macro %{REQUEST_BASENAME} to: %25w20
[15/May/2024:19:05:57.425923 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][9] Resolved macro %{TX.0} to: /get/%25w20
[15/May/2024:19:05:57.426011 +0000] [localhost/sid#ffff8ffcaea0][rid#ffff90a440a0][/get/%25w20][2] Warning. Invalid URL Encoding: Non-hexadecimal digits used at TX:0. [file "/etc/modsecurity.d/owasp-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "427"] [id "920221"] [msg "URL Encoding Abuse Attack Attempt"] [data "%25w20 /get/%25w20"] [severity "CRITICAL"] [ver "OWASP_CRS/4.3.0-dev"] [tag "modsecurity"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/255/153/267/72"]

The issue is that TX.0 contains the untransformed value of REQUEST_BASENAME. This is because the rule uses a negative match. This is certainly a bit unexpected, but probably not a bug.
In conclusion: both transformations are required for the rule to work.

I have NOT removed t:urlDecodeUni from the base rule, only form chained rule, just see this PR.

No, but I did when I played around with it to see what the effect was.

@theseion can you kindly check the latest commit.

@Xhoenix Thanks but i'm able to update my own PRs by myself.


AZLyrics returns unaccurate results,.

Hey there,
I have tried searching for some song lyrics but for some reason it returns wrong results.
The source that is selected all the time is AZLyrics.
Here is a screenshot
Using the package on a completely empty Visual Studio Code node.js project with the same request returns the information properly, but the source is from Genius instead.
I am using the latest version of the package, v2.4.4.
Is there any way to solve this?

Query is the exact same as the one provided in your screenshot.

Query: neffex unstoppable
Output
{
  title: 'NEFFEX - Unstoppable Lyrics',
  lyrics: 'undefined',
  source: {
    name: 'AZLyrics',
    url: 'www.azlyrics.com',
    link: 'https://www.azlyrics.com/lyrics/neffex/unstoppable.html'
  }
}```

Query is the exact same as the one provided in your screenshot. How does the package select the source of the lyrics?

@TehPigYT It's searching in DuckDuckGo for lyrics and returns the first result from sources (AZLyrics, Genius, Lyrics, Musixmatch)

Maybe AZLyrics is blocked in your country by ISP?

But why is it searching for AZLyrics on the host that I use and uses Genius when I use the package locally?

Is there a chance that there might be a future where we can select the source of the lyrics, along with request parameters?

Hey there,
I have tried searching for some song lyrics but for some reason it returns wrong results. The source that is selected all the time is AZLyrics. Here is a screenshot
Using the package on a completely empty Visual Studio Code node.js project with the same request returns the information properly, but the source is from Genius instead.
I am using the latest version of the package, v2.4.4. Is there any way to solve this?

Hi @TehPigYT, sorry for late response. you can upgrade the package version to v2.4.5. Thanks


GraphiQL editor appears unstyled

The graphiql component appears to be rendering, but is not styled like the examples.

Added this, seems to have fixed things for the time being:
<link rel="stylesheet" type="text/css" href="http://cdn.jsdelivr.net/graphiql/0.4.4/graphiql.css" />

My page was pulling in styles and scripts from the rest of my app and they were interfering with the rendering. Once that was sorted, graphiql behaved as expected.

Is there a way to do that without using the cdn?

Hi @aleksandrenko - I think the problem was a overridden/interfering styles from the rest of the app.


Remember window size and position

This feature was removed in 1.0.0, we should bring it back.

Fixed in 1.1.0


[ci skip] Add make.bat for Windows users

Enable Windows users to run make html without having to install GnuWin32's make.
Description
This batch file is auto-generated by sphinx-quickstart and I think should be committed for the benefit of contributors using Windows.
Checklist:

[x] Securely signed commits

I can back this change, it's the official make file.


Additional deprecation warnings for rasterio.windows

Pertaining to the updates-for-rasterio-1.0.0 branch in PR #68:
I've eliminated some of the obvious Window deprecation warnings but the test suite still shows 11 warnings:
  /Users/mperry/env/nodata/lib/python3.6/site-packages/rasterio/__init__.py:47: RasterioDeprecationWarning: Deprecated; Use rasterio.windows instead
    "Deprecated; Use rasterio.windows instead", RasterioDeprecationWarning)

There are a number of places in this code where we treat windows like tuples (eg for calculating padded windows) and  I want to proceed carefully when rewriting these to use the new Window style for rasterio 1.0
cc @dnomadb @sgillies

Solved the deprecation warnings with https://github.com/mapbox/nodata/pull/68/commits/a27ca208a743defdaec5deb3d15ea3c777d6b264
onward


release 1.2

this extension now supports 7.6.0. Please publish a new release.
Release version: 1.2
Next Dev. Version: 1.3-SNAPSHOT

I released needle today, should be available shortly.

Thanks a lot!

Note to self: check https://search.maven.org/#search|ga|1|camunda-bpm-needle to verify


uniquely counting shared entities in an pncmesh

I'd like to quantify the communication costs associated with a partition by counting how many mesh entities are duplicated across part (the set of mesh elements assigned to a process) boundaries.  For example, suppose there are two triangles with one common edge (and two common vertices).  If one triangle is assigned to process 0 and the other to process 1, I would want to the 'cut' counting function to return that one edge and two vertices are cut (shared).
One way to uniquely count these entities is to have information on each process indicating which ranks they exist on so a protocol (e.g., minimum rank) can be defined to determine which process will count which shared entities.
In pncmesh.cpp it appears the necessary information is accessible in the ParNCMesh::CalculatePMatrixGroups(...) function:
https://github.com/mfem/mfem/blob/3320cb796c0d862bbf025d0bdc4f6cbcb6fde40d/mesh/pncmesh.cpp#L568-L588
Does ParNCMesh::CalculatePMatrixGroups(...)  provide the needed information?  If not, is there another place to look?

This information is available at the level of class ParMesh. The relevant methods are the following:
https://github.com/mfem/mfem/blob/3320cb796c0d862bbf025d0bdc4f6cbcb6fde40d/mesh/pmesh.hpp#L242-L255
The shared mesh entities are broken into non-overlapping "groups". A group represents a set of processors that share the same entities. Additional information about the groups is contained in the GroupTopology associated with the ParMesh -- this is the public data member gtopo:
https://github.com/mfem/mfem/blob/3320cb796c0d862bbf025d0bdc4f6cbcb6fde40d/mesh/pmesh.hpp#L227
One thing to keep in mind is that when the ParMesh holds a non-conforming mesh (i.e. its pncmesh pointer is not NULL) then the groups describe the so-called "cut" mesh. In the cut mesh, dependent mesh entities are considered independent of their master entity. If the idea is to get some numerical value representing the communication cost, it may be more appropriate to look at the so-called parallel prolongation matrix, e.g. counting the data transfers needed for a mat-vec with it. This prolongation matrix is associated with a ParFiniteElementSpace and can be accessed with the method Dof_TrueDof_Matrix():
https://github.com/mfem/mfem/blob/3320cb796c0d862bbf025d0bdc4f6cbcb6fde40d/fem/pfespace.hpp#L271-L273

@v-dobrev Thank you.  I just pushed an initial, seemingly functional, version of the cut counting code:
https://github.com/cwsmith/mfem/commit/e91b7ba96178b5f08591a239a558bce8f629478c
I read a bit about the prolongation matrix in the AMR paper (https://arxiv.org/pdf/1905.04033.pdf); we'll have discuss more in the next call.


WSL sometimes gives dconf error when it boots after Windows boot

Windows Version
Microsoft Windows [Version 10.0.23606.1000]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Boot Windows and open WSL (or a graphical app with WSLg)
Expected Behavior
No errors
Actual Behavior
Gives dconf errors in the shell:
(process:1209): dconf-WARNING **: 11:05:45.029: failed to commit changes to dconf: Could not connect: No such file or directory

(process:1212): dconf-WARNING **: 11:05:45.031: failed to commit changes to dconf: Could not connect: No such file or directory
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish

(process:1304): dconf-WARNING **: 11:05:46.140: failed to commit changes to dconf: Could not connect: No such file or directory

(process:1307): dconf-WARNING **: 11:05:46.141: failed to commit changes to dconf: Could not connect: No such file or directory

(process:1310): dconf-WARNING **: 11:05:46.143: failed to commit changes to dconf: Could not connect: No such file or directory

After running a command:
(process:1733): dconf-CRITICAL **: 11:06:24.137: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1733): dconf-CRITICAL **: 11:06:24.137: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1733): dconf-CRITICAL **: 11:06:24.138: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1733): dconf-CRITICAL **: 11:06:24.138: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1733): dconf-WARNING **: 11:06:24.138: failed to commit changes to dconf: Could not connect: No such file or directory

(process:1737): dconf-CRITICAL **: 11:06:24.139: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1737): dconf-CRITICAL **: 11:06:24.139: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1737): dconf-CRITICAL **: 11:06:24.139: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1737): dconf-CRITICAL **: 11:06:24.139: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1737): dconf-WARNING **: 11:06:24.139: failed to commit changes to dconf: Could not connect: No such file or directory

(process:1740): dconf-CRITICAL **: 11:06:24.140: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1740): dconf-CRITICAL **: 11:06:24.141: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1740): dconf-CRITICAL **: 11:06:24.141: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1740): dconf-CRITICAL **: 11:06:24.141: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(process:1740): dconf-WARNING **: 11:06:24.141: failed to commit changes to dconf: Could not connect: No such file or directory

Also WSLg apps are glitched
Diagnostic Logs
WslLogs-2023-12-29_10-25-48.zip

Thank you @maicol07. Do you have systemd enabled in your distro ?

Thank you @maicol07. Do you have systemd enabled in your distro ?

Yes

Do you still see those errors with systemd disabled ?

I'll let you know in some days

@OneBlue so it seems I don't get the error anymore but WSLg apps can't start (i.e. xclock), which might be related to the dbus and glitching issue from the OP.

I do have systemd enabled and I see the same issue, too. (Currently, I don't know how to disable systemd).
My application is an alpha version of GitButler.

@koppor add the following to /etc/wsl.conf to disable systemd:
[boot]
systemd=true

Same behavior with
[boot]
systemd=false

Hi @koppor, I don't know if that will help you, but I had the same issue and many problems with some apps, like Gedit or Tilix, not saving my configuration.
I found this on stack overflow : https://stackoverflow.com/questions/20285697/error-in-spawning-a-dbus-launch-what-is-that
I added this line to my .bashrc :
export $(dbus-launch)
It solved all of my problems :)

I confirm @DavyG-SSG fix works! I don't know if it's a temporary fix or not, but it works!

I have the same issue and can confirm the fix from @DavyG-SSG
A permanent fix on WSL side would be nice though as I have not had this issue before december with the same application.

I'm hitting the same problem here with Ubuntu 22.04 in WSL and Remote Desktop Manager for Linux, but I guess all applications using dconf are equally affected. Both workarounds of disabling systemd or adding export $(dbus-launch) to .bashrc worked. We do need a proper fix though


Only create hosted-vespa tenant on hosted installations

Should be merged in sync with PR for updated system tests
VESPA-8649

👍


[Help] There is no teleport tab in the cheat

In the new version, the teleport was cut out. The paid features have

The feature has been removed from the free version. It seems to be in the paid one

Hello, this feature has been removed in the P version.


Refactor the Members of auth internal Package

There's no reason why FirebaseTokenVerifier should extend IdTokenVerifier.
Some of the classes here can be moved to the parent auth package, and made package-protected.

Also define all the error codes of this package in one place. Currently they are at FirebaseUserManager and FirebaseTokenVerifier. See the conversation at #64 for more context.

This implementation refactor is now complete. Error codes will be revised when the new error handling proposal goes into effect.


Update node-sass to 4.12

node-sass now compiles with node v12

@hkollmann There is a problem with package.json and the lockfile being out-of-sync. I guess we need to merge and then update the lockfile?

@fprijate could you commit the package-lock.json file too? Thanks!

@fprijate could you commit the package-lock.json file too? Thanks!

Actually npm-shrinkwrap.json

Sorry forget to mention that you must run npm install first

merging, thank you @fprijate


I can't get this to work :S

Sorry before hand if this is a totally noob question, but that's what I am and I need help in order to stop being so.
I managed to use the composer and I got a "vendor" folder. I really don't know what to do with it since I don't want to use this as a standalone validator. I want to validate json bodies sent in REST services post methods.
Instead, I'm using the src files, but when I use the code you give as an example (just changing the .json schema and message files for the right inputs) I get this error:
Details
Type: JsonSchema\Exception\InvalidArgumentException
Message: Given schema must be an object in  but is a array
File: C:\xampp\htdocs\JsonSchema\Constraints\Undefined.php
Line: 33
#0 C:\xampp\htdocs\JsonSchema\Constraints\Constraint.php(190): JsonSchema\Constraints\Undefined->check(Object(JsonSchema\Constraints\Undefined), Array, '', 'required')
#1 C:\xampp\htdocs\JsonSchema\Constraints\Object.php(117): JsonSchema\Constraints\Constraint->checkUndefined(Object(JsonSchema\Constraints\Undefined), Array, '', 'required')
#2 C:\xampp\htdocs\JsonSchema\Constraints\Object.php(36): JsonSchema\Constraints\Object->validateDefinition(Object(stdClass), Object(stdClass), '')
#3 C:\xampp\htdocs\JsonSchema\Constraints\Constraint.php(158): JsonSchema\Constraints\Object->check(Object(stdClass), Object(stdClass), '', NULL, NULL)
#4 C:\xampp\htdocs\JsonSchema\Constraints\Undefined.php(75): JsonSchema\Constraints\Constraint->checkObject(Object(stdClass), Object(stdClass), '', NULL, NULL)
#5 C:\xampp\htdocs\JsonSchema\Constraints\Undefined.php(49): JsonSchema\Constraints\Undefined->validateTypes(Object(stdClass), Object(stdClass), '', '')
#6 C:\xampp\htdocs\JsonSchema\Constraints\Constraint.php(190): JsonSchema\Constraints\Undefined->check(Object(stdClass), Object(stdClass), '', '')
#7 C:\xampp\htdocs\JsonSchema\Constraints\Schema.php(29): JsonSchema\Constraints\Constraint->checkUndefined(Object(stdClass), Object(stdClass), '', '')
#8 C:\xampp\htdocs\JsonSchema\Validator.php(41): JsonSchema\Constraints\Schema->check(Object(stdClass), Object(stdClass))
#9 C:\xampp\htdocs\index.php(64): JsonSchema\Validator->check(Object(stdClass), Object(stdClass))

Closing due to age. Please re-open if necessary.


Remove "sti" from the LABEL

Should be "source". Also the namespace should be without "openshift".
@bparees @soltysh FYI

If we do, it would be good to own that namespace/domain, maybe. That's the preferred way of dealing with this. But :+1:

you can use s2i for the label.   io.s2i.location
how's that?
but again if we're doing this, let's get it done before 3.0 ships so we don't have to support the existing label definition.

Deal it'll be io.s2i.lcation and io.s2i.scripts. And yes we're aware of
that, that's why we created this issue to have it ready today before
updating sti in origin.  Btw if we promote s2i name should we also rename
our binary to s2i?
On May 29, 2015 3:55 AM, "Ben Parees"<EMAIL_ADDRESS>wrote:

you can use s2i for the label. io.s2i.location
how's that?
but again if we're doing this, let's get it done before 3.0 ships so we
don't have to support the existing label definition.
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/source-to-image/issues/205#issuecomment-106653481
.

i'd really like to minimize the amount of time we're spending updating examples/doc/etc on this, so i'd suggest not renaming the binary.


Regression test fails against latest AJS 1.3.2

pascalprecht.translate $translateDirective (single-lang) passing translation id as content should return translation when used as an element FAILED
	Expected 'TRANSLATION_ID' to be 'foo'.
	@/home/travis/build/angular-translate/angular-translate/test/unit/directive/translate.spec.js:156:9

	Expected 'BLANK_VALUE' to be ''.
	@/home/travis/build/angular-translate/angular-translate/test/unit/directive/translate.spec.js:160:9

      it('should return translation when used as an element', function () {
        element =$compile('<translate>TRANSLATION_ID</translate>')($rootScope);
        $rootScope.$digest();
        expect(element.text()).toBe('foo');

        element = $compile('<translate>BLANK_VALUE</translate>')($rootScope);
        $rootScope.$digest();
        expect(element.text()).toBe('');
      });

(https://github.com/angular-translate/angular-translate/blob/ad14d88307160c5f86c3552d414d1d8a5174d2b1/test/unit/directive/translate.spec.js#L153-L161)
Failed starting with 1.3.2
(Example full log: https://travis-ci.org/angular-translate/angular-translate/jobs/41173721)

So... is it working with 1.3?
I need to upgrade my application to Angular 1.3, and I just need this library to work... If this is working, is it possible to update the bower.json to accept Angular 1.3? I'm getting the following error: ECONFLICT Unable to find suitable version for angular

It works.
Just use bower's resolution feature.

Oooooh... That worked.
I'd buy you a beer if I was on Germany now. lol
Thanks a lot!


Agent pod not being evicted when Node taint applied

Output of the info page (if this is a bug)
(Paste the output of the info page here)

Describe the context:
I use AWS EKS. I applied a rolling AMI update for a Managed NodeGroup, which applies taints to nodes in order to unschedule and migrate resources.
I am using the DD helm chart at v2.15.5.
I have no tolerations configured for any DD resources in my values.yaml.
Describe what you expected:
I expected for everything to terminate once a node taint was applied.
Describe what happened:
Every single thing on my nodes began evicting, with the exception of the DD node agent.
Not only did the AMI upgrade fail, but when rolling back the DD agent did not enter terminating status until the node was forcibly removed during the rollback procedure.
Steps to reproduce the issue:
As far as I know, if you taint a node, the agent won't go away.
Additional environment details (Operating System, Cloud provider, etc):
AWS EKS running kubernetes 1.20.
The nodes in question are standard AWS Linux2 amd64 running off spot instances.

I troubleshot this further.
I discovered that this issue was caused by, in this case, Istio's istiod and ingressgateway pods on that node not being removed, because it would cause downtime in Istio, which is not tolerated by default.
In order to resolve this issue, I needed to increase the replicaCount from 1 to 2 in order to not break uptime in Istio.


[release-0.16] 15 to 16 OK?

Fixes #
Proposed Changes

Release Note

/test pull-knative-operator-upgrade-tests

/test pull-knative-operator-upgrade-tests


feat(es/transforms/compat): loose mode for class_properties

Description:

BREAKING CHANGE:

would be break change for rust user
Related issue (if exists):

oh, my bad

This would also require a new version of @swc/helpers


Resource management menu item plus pages

Added Resource Management section and pages: https://github.com/digital-asset/daml/pull/15854
Also redid PR102 which updated old TOC files so didn't change anything.

Requesting a review from one of the docs team.

Closing and redoing due to too many conflicts from other work.


Bug: Tabbed View Sheet doesn't show equipment

Equipment created in Foundry doesn't show on the tabbed view sheet.
But it does show on the full view sheet.
Already tried to reimport the characters - doesn't help!
No error in the console.

https://www.transfernow.net/dl/20211022CHVtceMz

This was also happening to me before 0.12, seems to be working fine now


After Update and migrate Employee Modules other user's can't access dashboard

Hi Team,
After Update and migrate Employee Modules other user's can't access dashboard.
Only super admin can access. Attached screenshot
and
What are all the files will  replaced or changed if update or migrate the module?
I restored EmployeesController.php but still not working. Please help.

Make sure user have access to module
On Jul 24, 2017 8:20 PM, "elektragroup"<EMAIL_ADDRESS>wrote:

Hi Team,
After Update and migrate Employee Modules other user's can't access
dashboard.
Only super admin can access. Attached screenshot
and
What are all the files will replaced or changed if update or migrate the
module?
I restored EmployeesController.php but still not working. Please help.
[image: capture]
https://user-images.githubusercontent.com/29836170/28528968-e23ec824-70ac-11e7-9e27-b9cc7abf3d5c.JPG
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/215, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AWLoueHii1LltwPpC7YDPHIDIi5KGbZEks5sRK9DgaJpZM4OhS-G
.

Thx for ur quick reply.
I gave access to certain modules and dashboard, but can't access

Have u created role permission for user and make sure does the use have
permission for the module
Check this in each module u have created
On Jul 24, 2017 8:25 PM, "elektragroup"<EMAIL_ADDRESS>wrote:

Thx for ur quick reply.
I gave access to certain modules and dashboard, but can't access
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/215#issuecomment-317449109,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWLouZeWkKA8vTbqVqCaG5nchnS3kKuRks5sRLBggaJpZM4OhS-G
.

Plz check the screenshot.

@elektragroup @gdbhosale  PFA image mentioned above kindly help to resolve the problem for Users and Roles.

This right is only given to super admin role. If u want to change this - go
to resources/views/la/roles/show.blade.php and search  @role("SUPER_ADMIN")
On Fri, Feb 16, 2018 at 1:06 AM, Prem Sarojanand<EMAIL_ADDRESS>wrote:

@elektragroup https://github.com/elektragroup @gdbhosale
https://github.com/gdbhosale @moraya-re https://github.com/moraya-re
@chrispecoraro https://github.com/chrispecoraro @twmbx
https://github.com/twmbx @madhavikhatal
https://github.com/madhavikhatal
Laravel 5.3
using this repository and reinstall every thing but still cannot make it
to work.
i have created new permission and roles but user with that role is not
able to view the access page kindly help to resolve my problem.
[image: screen shot 2018-02-10 at 01 26 48]
https://user-images.githubusercontent.com/10820178/36059571-b1e17b20-0e60-11e8-9697-02db9f11093d.png
[image: screen shot 2018-02-10 at 01 27 14]
https://user-images.githubusercontent.com/10820178/36059572-b214557c-0e60-11e8-85a6-0dda590b3e8e.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/215#issuecomment-364634002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATrkSuKI5TIpXzPDZ0nhkWHu7tNZEtehks5tVIdHgaJpZM4OhS-G
.

Hey Madhavi,
Thanks for taking out the time. I have framed my question in wrong way so sorry for that.
Problem.
i created another user with roles called FRANCHISE_ADMIN  when i tried to login from the FRANCHISE_ADMIN user it says unauthorized user on Dashboard page.
when i removed the permission from route admin_routes i am able to view the Dashboard but unable to see all the modules in menu section even the sales_order_summaries module which has full access, for which i have given the access to FRANCHISE_ADMIN.
This Is my current problem i am trying to figure out the route cause of it but unable to achieve anything. If you can guide me to right direction it will be great help. Awaiting reply in anticipation.
@madhavikhatal @gdbhosale @moraya-re @twmbx

Hey Madhavi, Ganesh and All team,
Really thanks for guiding me to right direction i didn't say that  i have solve the problem for now but i did to make my project running.
Information for other users who would be facing same issue as mine.
Steps
1.) Don't change laraadmin admin default module after installation. which i have done in employes and users although restore doesn't help.
2.) if you want to change anything do it before installation in vendor/dwij/laraadmin and install it.
3.) create project laravel 5.4
4.) added the cloned repo of dwij/laraadmin under vendor
5.) add following in vendor/composer/autoload_psr4.php if not der
5.1 'Dwij\Laraadmin\' => array($vendorDir . '/dwij/laraadmin/src'),
5.2 'Zizaco\Entrust\' => array($vendorDir . '/zizaco/entrust/src/Entrust'),
5.3 'Yajra\Datatables\' => array($vendorDir . '/yajra/laravel-datatables-oracle/src'),
5.4 'Spatie\DbDumper\' => array($vendorDir . '/spatie/db-dumper/src'),
5.5  'Spatie\Backup\' => array($vendorDir . '/spatie/laravel-backup/src'),
6.) composer dump autoload
7.) give necessary permission
chmod -R 777 storage/ bootstrap/ vendor/ database/migrations/ routes/ app/Http/Controllers/ resources/ app/
8.) run php artisan la:install
Every thing will be fine up and running.
I am still comparing these two codes what went wrong actually so that it can removed permanently from this wonderful package.
Really Appreciate all your effort guys Ganesh and All team Thanks.
@madhavikhatal @gdbhosale @moraya-re @twmbx

I'm saving same issue. Why DWIJITSOLUTIONS doesn't sell LaraAdmin? I would be happy to pay, it's really saving some time.

@Agimovel If you're willing to pay, there are lots of paid options in the market :)

Hi, this is a nice package but I think that the developers have stopped working on it. Maybe you can try this package: https://github.com/Muhammadinaam/speed-admin. It supports Laravel 8+.


Actual “find” method

Right now I can see only apply method that returns the values themselves. However if I'd like to manipulate the data in some way, I'd need to know those items' locations.
What I propose is to add something like JSPath.find method, which would get all the things you could throw to the apply method:
JSPath.find(
    '.automobiles{.maker === "Honda" && .year > 2009}.model',
    {
        "automobiles" : [
            { "maker" : "Nissan", "model" : "Teana", "year" : 2011 },
            { "maker" : "Honda", "model" : "Jazz", "year" : 2010 },
            { "maker" : "Honda", "model" : "Civic", "year" : 2007 },
            { "maker" : "Toyota", "model" : "Yaris", "year" : 2008 },
            { "maker" : "Honda", "model" : "Accord", "year" : 2011 }
        ],
        "motorcycles" : [{ "maker" : "Honda", "model" : "ST1300", "year" : 2012 }]
    });

But this would return an array of the “steps” which lead to every found element, so in the case above the result would be:
[
    [ "automobiles", 1, "model" ],
    [ "automobiles", 4, "model" ]
]

This way you could then easily find any specific item or it's parent/siblings using any helper functions, so you then could change this item (like in #13) or change anything around it — its parents or siblings.

+1 for getting the path instead of the object or even both like in https://www.npmjs.com/package/jsonpath with jp.nodes
would love to use jspath for that, because I really like the syntax.

+1 I also need paths to found nodes, which JSONPath provides.  Unfortunately JSONPath's query syntax can't filter by path and value simultaneously, so JSPath does better there.  But without paths, JSPath is relatively useless for traversing the large JSON trees returned by parsers like Babylon.

@dfilatov I went ahead and wrote what I thought was a way to index the json by value -> path so that paths could be looked up for JSPath results.  It kind of works but only if every value in the json is a unique reference, which is unlikely in practice:
const JSPath = require('jspath');
const traverse = require('traverse');

// index object as map of each value's reference -> path
function toValuePaths(object) {
	return traverse.reduce(
		object,
		function(accumulator) {
			if (accumulator.get(this.node) !== undefined) {
				console.log("Object's reference is not unique: ", this.path);
				// throw new Error("Object's reference is not unique: " + JSON.stringify(this.path));
			}

			accumulator.set(this.node, this.path);

			return accumulator;
		},
		new Map()
	);
}

// convert JSPath results to {path: ..., value: ...}
function jspathNodes(jspathResults, valuePaths) {
	const isArray = Array.isArray(jspathResults);

	if (!isArray) {
		jspathResults = [jspathResults];
	}

	const nodes = jspathResults.map(function(reference) {
		return { path: valuePaths.get(reference), value: reference };
	});

	return isArray ? nodes : nodes[0];
}

{
	const json = {
		automobiles: [
			{ maker: 'Nissan', model: 'Teana', year: 2011 },
			{ maker: 'Honda', model: 'Jazz', year: 2010 },
			{ maker: 'Honda', model: 'Civic', year: 2007 },
			{ maker: 'Toyota', model: 'Yaris', year: 2008 },
			{ maker: 'Honda', model: 'Accord', year: 2011 }
		],
		motorcycles: [{ maker: 'Honda', model: 'ST1300', year: 2012 }]
	};
	const jsonMap = toValuePaths(json);

	console.log('works (for unique node references):');
	console.log(
		jspathNodes(
			JSPath.apply(
				'.automobiles{.maker === "Honda" && .year > 2009}.model',
				json
			),
			jsonMap
		)
	);
}

console.log();

{
	const json = {
		a: 'hi',
		b: 'hi',
		c: 'hi'
	};
	const jsonMap = toValuePaths(json);

	console.log("fails (node references aren't unique):");
	console.log(jspathNodes(JSPath.apply('..*', json), jsonMap));
}

Output:
Object's reference is not unique:  [ 'automobiles', '2', 'maker' ]
Object's reference is not unique:  [ 'automobiles', '4', 'maker' ]
Object's reference is not unique:  [ 'automobiles', '4', 'year' ]
Object's reference is not unique:  [ 'motorcycles', '0', 'maker' ]
works (for unique node references):
[ { path: [ 'automobiles', '1', 'model' ], value: 'Jazz' },
  { path: [ 'automobiles', '4', 'model' ], value: 'Accord' } ]

Object's reference is not unique:  [ 'b' ]
Object's reference is not unique:  [ 'c' ]
fails (node references aren't unique):
[ { path: [ 'c' ], value: 'hi' },
  { path: [ 'c' ], value: 'hi' },
  { path: [ 'c' ], value: 'hi' } ]

Live demo: https://repl.it/repls/SweetThickProcessors
As you can see, if people really need the paths for results then there is really no way for them to get them themselves.  It would be awesome if you could implement a call to return the results as something like [{node: ..., value ...}, ...] similar to the way that JSONPath.nodes() works.  Short of that, I think that xogeny's callback implementation would be least intrusive.  The callback function should be of the form:
function (value, path, object) {

}

Where the path and original object arguments are optional, which is similar to the Array.map() prototype.  Note that there is some consensus on JavaScript object paths as an array of keys, but converting that to a string is somewhat of an open question due to the existence of keys like ..  I hope someone solves this because string paths are easier to deal with IMHO.
Other than that, I think JSPath is pretty fantastic and so far is working better for me than JSONPath so thank you for your efforts.


Unhandled exception. AniListNet.AniException: validation

I get
Unhandled exception. AniListNet.AniException: validation
   at AniListNet.AniClient.PostRequestAsync(GqlSelection selection, Boolean isMutation)
   at AniListNet.AniClient.SaveMediaEntryAsync(Int32 mediaId, MediaEntryMutation mutation)
   at AnilistListConverter.MainWindow.MoveLists(Boolean direction) in C:\Users\pulze\Documents\Github\AnilistListConverter\MainWindow.xaml.cs:line 172
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

when doing this
            var results = await aniClient.SearchMediaAsync(filter, new AniPaginationOptions(1, 20));

            if (results.TotalCount > 0)
            {
                foreach (var result in results.Data)
                {
                    int score = Fuzz.Ratio(result.Title.NativeTitle, data.Media.Title.NativeTitle);

                    if (score >= 85)
                    {
                        newID = result.Id;
                        break;
                    }
                }
            }

            await aniClient.DeleteMediaEntryAsync(data.Id);

            var mutation = new MediaEntryMutation
            {
                // Set properties of the mutation object as needed
                Status = MediaEntryStatus.Planning,
                Progress = 0
            };

            await aniClient.SaveMediaEntryAsync(newID,mutation);

But after your linked Testfile and from documentation this should be the correct ID to the Media and the mutation should be fine too.
I dont get it, if you want you can look trough the code yourself here, maybe you can see what im doing wrong.

Ignore the fact that i forgot an else for if (results.TotalCount > 0), doubt that that is the problem

nope fixing that didnt remove the error.

This could be part of the problem
var pagination = new AniPaginationOptions(1, 50000);
var mediaEntries = await aniClient.GetUserEntriesAsync(user.Id,entryFilter, pagination);
returns only 50 Entires, i have more then 100 Entries in Manga


Keep "Date created" when copying local files and folders

Is your feature request related to a problem? Please describe.
I am very frustrated that Files does not keep the "Date created" when copying local files and folders.
Describe the solution you'd like
Files keep the "Date created" timestamp when copying local files and folders, just like the source.
Describe alternatives you've considered
There is no alternative.
Additional context
Currently, Files keeps only for "Date modified" (mtime) when copying local files and folders.
But for "Date created" the support is missing. That means you just have to use the same behavior as for "Date modified".

This is the same behaviour as windows explorer isn't it?
At most the issue is that the creation date resets when moving files

This is the same behaviour as windows explorer isn't it?
At most the issue is that the creation date resets when moving files

This is the same behaviour as windows explorer isn't it?
It is the same behavior as Windows File Explorer. But I want the user to be able to change it.

I know only one file manager (GUI) on Windows that keeps creation date when copying local files and folders. Should I name the software or am I not allowed?

At most the issue is that the creation date resets when moving files

Is there any way to change this behavior?
I want to keep the original timestamp, which is the creation date.
I know robocopy via cmd supports it.
https://en.wikipedia.org/wiki/Robocopy

This is the same behaviour as windows explorer isn't it?
It is the same behavior as Windows File Explorer. But I want the user to be able to change it.

I know only one file manager (GUI) on Windows that keeps creation date when copying local files and folders. Should I name the software or am I not allowed?

At most the issue is that the creation date resets when moving files

Is there any way to change this behavior?
I want to keep the original timestamp, which is the creation date.
I know robocopy via cmd supports it.
https://en.wikipedia.org/wiki/Robocopy

@sara945 you're surely allowed to name it!
In nay case I was merely wanted to confirm that this is a "feature request" and not a "bug report".
Adding an option to keep the creation date on copy is something we can totally consider and we thanks you for the suggestion.
The issue of losing the date when moving instead is a known problem we're already working to fix

@sara945 you're surely allowed to name it!
In nay case I was merely wanted to confirm that this is a "feature request" and not a "bug report".
Adding an option to keep the creation date on copy is something we can totally consider and we thanks you for the suggestion.
The issue of losing the date when moving instead is a known problem we're already working to fix

you're surely allowed to name it!

Here is the name: Multi Commander
There is also a portable version. Just download it from this site.
http://multicommander.com/downloads
A store edition of Multi Commander is also available.
https://www.microsoft.com/store/apps/9NBLGGH4NFS5
I can confirm that it keeps the creation date for copied folders and files for all Microsoft file systems (NTFS, exFAT and FAT32) that users use on a daily basis.

Adding an option to keep the creation date on copy is something we can totally consider and we thanks you for the suggestion.

That would be very good because I like Files, it uses the Microsoft Fluent design.
A question if the option is available, will the option be enabled by default or is the behavior dependent on what Microsoft does with Windows File Explorer by default in future Windows 10 versions?

you're surely allowed to name it!

Here is the name: Multi Commander
There is also a portable version. Just download it from this site.
http://multicommander.com/downloads
A store edition of Multi Commander is also available.
https://www.microsoft.com/store/apps/9NBLGGH4NFS5
I can confirm that it keeps the creation date for copied folders and files for all Microsoft file systems (NTFS, exFAT and FAT32) that users use on a daily basis.

Adding an option to keep the creation date on copy is something we can totally consider and we thanks you for the suggestion.

That would be very good because I like Files, it uses the Microsoft Fluent design.
A question if the option is available, will the option be enabled by default or is the behavior dependent on what Microsoft does with Windows File Explorer by default in future Windows 10 versions?

The default option value will likely match the current explorer behavior but you'll be able to switch it on and off independently of what Microsoft decides to do with explorer.

The default option value will likely match the current explorer behavior but you'll be able to switch it on and off independently of what Microsoft decides to do with explorer.

Is this an issue in the preview version? https://files.community/download/preview


Are you open to move the build system from Gradle to Maven

Would you accept a PR to move the build system from Gradle to Maven ?
Gradle, yet powerful and flexible, is also complex, confusing and turns to be as chaotic as a project grows. I seriously encourage any project to stick with rigid, sure, predictable Maven build with clear segregation between build declaration (pom) and build cooking (plugins), forcing developers to creates cooking recipes as distributable plugin (versioned, identified, etc) rather than piece of script copied / paste around the globe.
For a simple lib as this one, mvn package is the only thing a developer should knows ;-)

I think that gradle is enough powerful to manage any project and simple enough to add to in any project or build with only one command gradle build.
If you love maven you can add pom.xml and I'll accept this PR with no questions, but for me it's convenient to use gradle and I'd like to keep gradle configuration.


CBMC-viewer only shows part of name when contains angled brackets

This seems to be an issue with how the HTML is rendered, as <Sheep as Animal> is rendered as an HTML tag instead of text.

https://github.com/awslabs/aws-viewer-for-cbmc/pull/41


Jest cannot read property setItem

I have a little problem with Jest. When I try to test a function using SInfo jest crash and says :

  TypeError: Cannot read property 'setItem' of undefined

Do you have any hint ?

I had the same issue, i made a PR, which is already merged. Should be fixed in version 5.2.6. Could you check your version?

Ok I was on 5.2.4, I upgrade this dependency but that change nothing. Did I miss something ?

I'm still having this problem with the version "5.3.0"

Same issue version 5.4.0, trying to make a mock.
TypeError: _reactNativeSensitiveInfo.default.deleteItem is not a function

Similar issue with 5.4.1
TypeError: _reactNativeSensitiveInfo.default.getItem is not a function

I am also having this issue when attempting:
const key = "buzzes"
    var value = JSON.stringify(this.state.buzzes)
    await SInfo.setItem(key, value, {});

Well in my case
$ cd ios
$ pod install
$ cd ..
this works for me...

I

I have a little problem with Jest. When I try to test a function using SInfo jest crash and says :

  TypeError: Cannot read property 'setItem' of undefined

Do you have any hint ?

I'm still having this issue with 6.0.0-alpha.6

You can create a mock for it. I created a simple one that satisfies my needs without needing to mock every function. Got some inspiration in @react-native-async-storage/async-storage mock.
__mocks__/react-native-sensitive-info.js:
const asMock = {
  __INTERNAL_MOCK_STORAGE__: {},

  getItem: jest.fn(async (key, options) => {
    const storeName = _getStoreName(options);

    const result = asMock.__INTERNAL_MOCK_STORAGE__[storeName][key];

    return result;
  }),

  setItem: jest.fn(async (key, value, options) => {
    const storeName = _getStoreName(options);

    asMock.__INTERNAL_MOCK_STORAGE__[storeName][key] = value;

    return null;
  }),
};

const _getStoreName = options =>
  options.sharedPreferencesName || options.keychainService || 'default';

module.exports = asMock;

And when I need to mock a specific result in a test:
it('should mock', () => {
  const sensitiveInfoMock = jest.spyOn(RNSInfo, 'getItem');
  sensitiveInfoMock.mockImplementation(async () => 'specific value');

  // ... test

  sensitiveInfoMock.mockRestore();
});

If someone can mock all functions using the "options" object, I bet a PR would be welcome.

Blind code so take it for what it is...
// __mocks__/react-native-sensitive-info.js

class RNSInfo {
	static stores = new Map()

	static getServiceName(o) {
		return o.sharedPreferencesName
			|| o.keychainService
			|| 'default'
	}

	static validateString(s){
		if (typeof s !== typeof String) throw new Error('Invalid string:', s)
	}

	static getItem = jest.fn(async (k, o) => {
		RNSInfo.validateString(k)

		const serviceName = RNSInfo.getServiceName(o)
		const service = RNSInfo.stores.get(serviceName)

		if(service) return service.get(k)
	})

	static getAllItems = jest.fn(async (o) => {
		const serviceName = RNSInfo.getServiceName(o)
		const service = RNSInfo.stores.get(serviceName)
		const mappedValues = []

		if(service?.size){
			for(const [k, v] of service.entries()){
				mappedValues.push({key: k, value: v, service: serviceName})
			}
		}

		return mappedValues
	})

	static setItem = jest.fn(async (k, v, o) => {
		RNSInfo.validateString(k)
		RNSInfo.validateString(v)

		const serviceName = getServiceName(o)
		let service = RNSInfo.stores.get(serviceName)

		if (!service){
			RNSInfo.stores.set(serviceName)
			service = RNSInfo.stores.get(serviceName)
		}

		service.set(k, v)
	})

	static deleteItem = jest.fn(async (k, o) => {
		RNSInfo.validateString(k)

		const serviceName = RNSInfo.getServiceName(o)
		const service = RNSInfo.stores.get(serviceName)

		if (service) service.delete(k)
	})

	static hasEnrolledFingerprints = jest.fn(async () => true)

	static setInvalidatedByBiometricEnrollment = jest.fn()

	// "Touch ID" | "Face ID" | false
	static isSensorAvailable = jest.fn(async () => 'Face ID')
}

module.exports = RNSInfo

Had to change the contents of<EMAIL_ADDRESS>to:
const asyncMock = require('@react-native-async-storage/async-storage/jest/async-storage-mock')
export default asyncMock

The import from the corresponding d.ts file is just the type, so AsyncStorage object is empty. Haven't looked into root causing this though.


etcd versioning

There should be some kind of etcd schema version number stored in etcd, where old versions of the IPAM driver will refuse to write to an etcd storage that they don't understand.

Once we have a stable release, we will also need support for etcd schema migrations to support upgrades.


Add function to create FileTime from SystemTime

My primary motivation for this is to be able to handle pre-Unix-epoch timestamps, and having a from_system_time() is also useful as I'm currently converting to and from Unix epoch to get from SystemTime to FileTime.
As was suggested in #6, I've avoided breaking existing API functions by casting between signed and unsigned integers, though this means that nonsense will be returned by the seconds(), seconds_relative_to_1970() and nanoseconds() functions on Unixy systems when FileTime is pre-Unix-epoch. I think breakage would be better as it is a 0.1.x library and to/from Unix timestamp functions should really be able to handle the case where they're pre-Unix-epoch, but I thought I'd make minimal changes and see what you thought.
I'm not sure if the handling of mtime_nsec() values is correct, the docs don't suggest it's a fractional second value, but I've preserved the existing behaviour, modulo unsigned -> signed cast.
I've tested the changes on Windows and Linux, I'm not sure about other OSes but I tried to update them as I did for Linux.

Thanks for the PR! This sounds like great functionality to have and I think I was also a little too eager to use unsigned integers for sure! I'm actually totally fine releasing 0.2 for this library with a breaking change, so wanna go ahead and change methods like seconds_relative_to_1970?

I'm actually totally fine releasing 0.2 for this library with a breaking change, so wanna go ahead and change methods like seconds_relative_to_1970?

Sure. Would you be open to renaming the _1970 methods? As it is I think they're ambiguous ("when in 1970"?), I think from_unix_timestamp(i64, i32) and unix_timestamp_seconds() (or just unix_timestamp() given there is no subsecond precision in Unix timekeeping) makes it clearer that they're relative to the start of the Unix epoch.

I think casting away the sign when reading file metadata may cause overflow problems when dealing with negative nanosecond values, which seems to be possible in some OSs and not others, but the standard library's MetadataExt doesn't expose such variation (not that it needs to, all positive values will fit in an i32, let alone i64). Whatever the reality, I'm considering that out-of-scope for this PR, but I thought it's worth mentioning.

@alexcrichton I think I'm done, could you review?

Looks fantastic to me, thanks!

Thanks for the merge, any chance of publishing a release to crates.io? AFAIK I can't publish my dependent crate unless all its dependencies are already published. No rush though, I won't be in a position to do so until next week anyway.


CRON travis-ci test newly failing ....

Copydbf for <IP_ADDRESS> seems to be failing now ... it may have something to do with recent changes in GsDevKit_home, but those (slightly older 2o days ago) travis tests are passing.
The first CRON failure was 8 days ago and 15 days ago, CRON was passing...

stale


Inferencing script

@ritheshkumar95

Once we finished training,  how to use the trained model to generate audio.
Further documentation on  inferencing.

Same problem here.

The generated wave was very strange:

@ritheshkumar95

>>> from mel2wav import MelVocoder
>>> import librosa
>>> wav = librosa.load("110001-121906/110010.wav", 22050)[0]
>>> import torch
>>> wav = torch.from_numpy(wav)

>>> vocoder = MelVocoder("logs/baseline/")
>>> mel = vocoder(wav)
>>> wav = wav.unsqueeze(0)
>>> mel = vocoder(wav)
>>> mel.shape
torch.Size([1, 80, 503])
>>> rev_wav = vocoder.inverse(mel)
>>> rev_wav.shape
torch.Size([1, 128768])
>>> rev_wav.dtype
torch.float32
>>> rev_wav = rev_wav.cpu().numpy()
>>> rev_wav.shape
(1, 128768)
>>> rev_wav
array([[-9.3722469e-05,  2.6575495e-05,  4.6295419e-05, ...,
        -3.0277806e-04,  2.2566912e-05, -1.2692061e-04]], dtype=float32)
>>> from scipy.io import wavfile

>>> import numpy as np

wavfile.write("res.wav", 22050, (rev_wav.reshape((-1))*2**15).astype(np.int16))

There's already an inferencing script in the scripts folder, 'generate_from_folder.py'
Drop it into the parent folder.
Make a folder, fill your folder with wav files with spoken text that you want to apply your trained model to.
Example call to the inference script
python generate_from_folder.py --load_path logs/baseline --save_path logs --folder t

One more thing on that inferencing script.  If you get an unable to unpack error, on line 29, remove the comma and underscore.   the vocoder call seems to return one result instead of 2 now.
mel, _ = vocoder(torch.from_numpy(wav)[None])
to
mel = vocoder(torch.from_numpy(wav)[None])

@Teravus share your generated results here, so i hear if it's good or bad.

This technique requires a lot of (millions of) iterations.   I'm only at iteration 75000.   I input my own voice and the output sounds sounds exactly like the test generations of a different voice (custom dataset) which are not that great yet.

@Teravus once you achieve good results, post them here

I trained the generator model for about 800,000 steps and it essentially stopped getting better.  The loss figures became a straight line over the time axis.  With the generated samples,  The lower portions of the audio sound great but also have a waver in the audio.  The higher points of the audio where more emphasis was spoken by the speaker were essentially chopped out of the result.   The low portions of the generates samples sound pretty good with the samples generated, however...  when attempted to apply the features to a different speaker, it just wasn't good enough.  I can hear the new speaker clearly over the features applied of the trained speaker.
What I eventually did that, still sounded a bit digital.. but was massively better  was generate audio with CorentinJ / Real-Time-Voice-Cloning using the same samples that I trained melgan-neurips on and then transferring the trained speaker features to the output of RTVC using Melgan-neurips
melgan-output-sample.zip

@Teravus
The sample that you uploaded is not good.

what loss / accuracy did you achieve
generate an audio sample using groundtruth, and upload here so i can hear what accuracy it can achieve

I have processed it as much as I am going to.   If you would like to know the quality you will achieve, you can spend the computing resources and do so yourself.
I found it to be slightly better when the melgan-neurips features are applied over top of a wav generated with the Griffin-Lim vocoder.   Still nothing like the descriptinc sample video though.

Loss values:
generator: 11.79
feature_matching: 1.101
mel_reconstruction: 0.3811
discriminator: 1.408

@Teravus  I did this command that you mentioned above after training python generate_from_folder.py --load_path logs/baseline --save_path logs --folder t
and give me this error
Error : ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:pathlib.PosixPath'
in "logs/baseline/args.yml", line 4, column 12
any one can help
Thank u

Seems like it wasn't able to read your model from the --load_path parameter.    Is your model in a subfolder called logs and a subfolder of that called baseline?

For the args.yml issue,  this in my case was caused by a spurious line data_path: !!python/object/apply:pathlib.PosixPath [] which was introduced by passing an invalid data_path on an invocation of the training script.   Just remove it from the yaml file.

@Mariaa98 I fixed the args.yml issue by installing an earlier version of yml, pip install pyyaml==5.1


Correct publish date for blog post

Update the blog post from 2019-05-09 (submission date) to 2019-05-13 (publication date).

/assign @kbarnard10
/cc @castrojo @dims

/lgtm
/approve


Move from vndr to golang dep

Move from vndr to golang dep
List of sub tasks

[X] Transform cilium into a dep project
[x] Update etcd to 3.2.9
[ ] Update cni to 0.6.0
[ ] Write steps on how to add a new dependency using dep on the project

if y'all need any help or guidance on this, i'm happy to provide it 😄

@sdboyer Thanks! We are just waiting for the release of golang 1.10 which will contain dep and we will start moving from vndr. Is dep already built in go1.10rc1?

sorry for slow response, but you can see why now, I think - vgo has been brewing.
it's still going to be worth moving to dep in the interim - it'll likely provide the smoothest path into vgo, due to greater model similarities.


HOL 2 Ex 1, Step 31

Update for the bug:
In HOL2 - Exercise 1: Integrate the API - Step 31 the following code is added:
//##### API DATA HERE #####
List incidents;
using (var client = IncidentApiHelper.GetIncidentAPIClient())
{
var results = await client.Incident.GetAllIncidentsAsync();
incidents = JsonConvert.DeserializeObject<List>(results);
//TODO: BEGIN ADD Caching
//##### ADD CACHING HERE #####
//TODO: END ADD Caching
}
return View(incidents);
//##### API DATA HERE #####
In HOL2 - Exercise 2: Add a caching layer - Step 12 the following code is to be added at the following position: “//##### ADD CACHING HERE #####” the following code should be added
//##### Add caching here #####
int CACHE_EXPIRATION_SECONDS = 60;
//Check Cache
string cachedData = string.Empty;
if (RedisCacheHelper.UseCachedDataSet(Settings.REDISCCACHE_KEY_INCIDENTDATA, out cachedData))
{
incidents = JsonConvert.DeserializeObject<List>(cachedData);
}
else
{
//If stale refresh
var results = await client.Incident.GetAllIncidentsAsync();
incidents = JsonConvert.DeserializeObject<List>(results);
RedisCacheHelper.AddtoCache(Settings.REDISCCACHE_KEY_INCIDENTDATA, incidents, CACHE_EXPIRATION_SECONDS);
}
//##### Add caching here #####
Problem: Compiler throws an error since the variable «results» is declared twice. . since only the incidents should be loaded if not in cache. the following lines of code from part one must be removed:
var results = await client.Incident.GetAllIncidentsAsync();
incidents = JsonConvert.DeserializeObject<List>(results);
//TODO: BEGIN ADD Caching
//##### ADD CACHING HERE #####
//TODO: END ADD Caching

yes, please read the "end" code - you only want to call the API (getAllIncidentsAsync) when the data is not already in the cache.


DC Mission #4024 is ready for OCD

Purpose

Discovery Center (DC) mission #4024 has been prepared for One-Click Deployment (OCD), i.e. launching either a booster from DC triggering this terraform script or execute the same on your machine

Pull Request Type
[ ] Bugfix
[x ] Feature

Can you please address the two comments I've left?

@Rui: fixed with latest commit


Update app.json

small update to app.json

Closing this because I think this is Benedikt's  Spring Boot Heroku Demo...


"Self-suppression not permitted" when pulling images fails

java.lang.IllegalArgumentException: Self-suppression not permitted
        at java.lang.Throwable.addSuppressed(Throwable.java:1072)
        at io.prestosql.tests.product.launcher.env.Environments.pruneEnvironment(Environments.java:44)
        at io.prestosql.tests.product.launcher.cli.EnvironmentUp$Execution.run(EnvironmentUp.java:107)
        at io.prestosql.tests.product.launcher.cli.Commands.runCommand(Commands.java:40)
        at io.prestosql.tests.product.launcher.cli.EnvironmentUp.run(EnvironmentUp.java:62)
        at io.prestosql.tests.product.launcher.cli.Launcher.run(Launcher.java:48)
        at io.prestosql.tests.product.launcher.cli.Launcher.main(Launcher.java:25)
Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: no matching manifest for unknown in the manifest list entries
        at com.github.dockerjava.core.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:96)
        at com.github.dockerjava.core.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:111)
        at com.github.dockerjava.core.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:94)
        at org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:52)
        at org.testcontainers.DockerClientFactory.checkAndPullImage(DockerClientFactory.java:262)
        at org.testcontainers.DockerClientFactory.runInsideDocker(DockerClientFactory.java:279)
        at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:172)
        at org.testcontainers.LazyDockerClient.getDockerClient(LazyDockerClient.java:14)
        at org.testcontainers.LazyDockerClient.listContainersCmd(LazyDockerClient.java:12)

Worth mentioning that this happened on rhel 7.6 / ppc64le, so the underlying issue is "no matching manifest for unknown in the manifest list entries" that comes from Docker when you try to pull an image that does not support this arch.
FYI also, the error comes from docker-java, which is a 3rd party project that we use in Testcontainers, so I'll close it anyways.


Compiling error when building osdsdock.go

Is this a BUG REPORT or FEATURE REQUEST?:
BUG
What happened:
A few minutes ago, when I  built the opensds project with LiteIDE, it reported the error and showed
.\osdsdock.go:88: undefined: server.ListenAndServe
It's caused by programming errors, but there is no suitable protective measure to help check this error.
What you expected to happen:
I expect to increase the build mechanism in CI to prevent compilation error.

It seems weired for me because there is no error when I build it. And from what you described, the error may means that this method ListenAndServe in server package is not defined, but I do find this method development:
func ListenAndServe(srv pb.DockServer) {
	// Find whether the type of input is supported.
	switch srv.(type) {
	case *dockServer:
		ds := srv.(*dockServer)

		// Listen the dock server port.
		lis, err := net.Listen("tcp", ds.Port)
		if err != nil {
			log.Fatalf("failed to listen: %+v", err)
			return
		}

		log.Println("Dock server initialized! Start listening on port:", ds.Port)

		// Start dock server watching loop.
		ds.Server.Serve(lis)

		defer ds.Server.Stop()
	default:
		log.Fatalln("Don't support this type!")
		return
	}
}

So I'm curious about what is the cause of your problem, did you change some codes associated with this method?

@leonwanghui I'm sorry that I did not update local repository, It's not a problem, I will close it.


Change packaging to differentiate only between major versions and previews

PR Summary

Change the *nix packaging over with the following changes:

Package name (as used by e.g. apt):

Non-preview releases are namedpowershell
Preview releases are named powershell-preview

Installation path:

No longer looks like /opt/microsoft/powershell/6.1.0/ or /opt/microsoft/powershell/6.1.0-preview.1/
Non-previews go to a path like /opt/microsoft/powershell/6/
Previews go to a path like /opt/microsoft/powershell/6-preview/

Path to executable symlink:

Allows SxS with preview
Non-previews linked to /usr/bin/pwsh or /usr/local/bin/pwsh on macOS
Previews linked to /usr/bin/pwsh-preview or /usr/local/bin/pwsh-preview on macOS

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[ ] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[ ] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[x] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

Seems typo in PR description "Preview releases are named powershell-release" -> "◦Preview releases are named powershell-preview".

I don't want to convolute this PR but I would like to gently remind that implementing isssue #6317 would be useful for people using previews. Personally, I mostly use only either the RTM or the daily build.


[Merge] MONDO:0021849 alopecia macular degeneration growth retardation syndrome

See comment:
[Term]
id: MONDO:0021849
name: alopecia macular degeneration growth retardation syndrome
comment: Editor note: check relationshop to EEM. Consider merging.
subset: gard_rare
synonym: "alopecia macular degeneration growth retardation" RELATED [MESH:C538125]
synonym: "alopecia, macular degeneration, and growth retardation" RELATED [MESH:C538125]
xref: DOID:0111649 {source="MONDO:relatedTo"}
xref: GARD:0000610 {source="MONDO:equivalentTo"}
xref: MESH:C538125 {source="MONDO:relatedTo" source="MONDO:directSiblingOf"}
xref: OMIM:225280 {source="MONDO:relatedTo", source="GARD:0000610"}
xref: UMLS:C2931407 {source="GARD:0000610", source="MONDO:notFoundInDiseaseSubset"}
is_a: MONDO:0002254 ! syndromic disease
relationship: disease_has_feature HP:0000608 ! Macular degeneration
relationship: disease_has_feature HP:0001510 ! Growth delay
relationship: disease_has_feature HP:0001596 ! Alopecia
property_value: seeAlso https://rarediseases.info.nih.gov/diseases/610/alopecia-macular-degeneration-growth-retardation xsd:anyURI {source="GARD:0000610"}

this is no longer a valid disease in GARD. Recommend obsoleting, and consider MONDO:0009155 'EEM syndrome'