tests: opensearch index cleanup / skip

Detail

Move index cleanup into finally blocks
Skip instead of xfail

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 71c640b53d940a1cf88b9911de0d135d7d67a66a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


#5.7 BUG# Laravel Expcetion repeat response show

Laravel Version: 5.7
PHP Version: 7.2

Description:
result is invalid json, repeat show
Steps To Reproduce:
1、composer create-project --prefer-dist laravel/laravel blog
2、cd blog && php artisan serve
3、edit app\Http\Kernel.php file，write in api configure
'api' => [
    ...,
    'json.response', // notice, this middleware is not exists，because these can to reproduce this error
]

4、edit route\api.php, add content
Route::get('/test', function () {
    return 'reproduce error';
});

5、used postman add headers Accept: application/json and get http://localhost:8000/api/test
6、result show is invalid json，this result repeat response show
{
    "message": "Class json.response does not exist",
    "exception": "ReflectionException",
    "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
    "line": 767,
    "trace": [
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 767,
            "function": "__construct",
            "class": "ReflectionClass",
            "type": "->"
        },
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 646,
            "function": "build",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 601,
            "function": "resolve",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        // more something ....
    ]
}{
    "message": "Class json.response does not exist",
    "exception": "ReflectionException",
    "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
    "line": 767,
    "trace": [
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 767,
            "function": "__construct",
            "class": "ReflectionClass",
            "type": "->"
        },
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 646,
            "function": "build",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/Users/yyj/Docker/wwwroot/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 601,
            "function": "resolve",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        // more something ....
    ]
}

@TBlindaruk @taylorotwell @GrahamCampbell

I don't know, what happened to this?

Its not really invalid JSON though - seems valid to me, although it is duplicated, but that's not really an issue is it...?

@laurencei because it is duplicated, So this should be a problem，I want to know how to solve this problem. It has bothered me for one night. my god...

I want to know how to solve this problem

Create a json.response middleware?

@laurencei yes, can be solved after creation, but this problem seems to be in the framework

@laurencei I want to solve this problem elegantly.

@laurencei Can you add a bug labels on this issuse ?

Man, try to solve the problem yourself no need to be rude...

I just tried this on a fresh laravel installation and could not replicate. I get just the one error message.
Must be something with your local setup. Perhaps try using a full web server rather than artisan serve
{
    "message": "Class json.response does not exist",
    "exception": "ReflectionException",
    "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Container/Container.php",
    "line": 767,
    "trace": [
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 767,
            "function": "__construct",
            "class": "ReflectionClass",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 646,
            "function": "build",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 601,
            "function": "resolve",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
            "line": 733,
            "function": "make",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 140,
            "function": "make",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 57,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 104,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 681,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 656,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 622,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 611,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 176,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 30,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/fideloper/proxy/src/TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Fideloper\\Proxy\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 31,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 31,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
            "line": 62,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 104,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 151,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 116,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/vagrant/www/dev/devbox1/public/index.php",
            "line": 55,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        }
    ]
}

emm. It is a bug, framework thought it is not in cli mode while running php artisan server (run as php -S) while getting an http request.
    public function runningInConsole()
    {
        return php_sapi_name() === 'cli' || php_sapi_name() === 'phpdbg';
    }

But the sapi name of php -S is cli-server, runningInConsole gets false.
Fix: https://github.com/laravel/framework/pull/25696

@ipengxh thanks for you

, framework thought it is not in cli mode while running php artisan server (run as php -S) while getting an http request.

But the http request is NOT running in CLI mode - that is correct. We dont want HTTP Requests to think they are in CLI mode (regardless of the server underneath)?
I dont understand why you think this is a bug? Are you able to elaborate further?

If you don't want to run in cli mode, why do the php artisan serve command? why isn't it perfect if it's provided?

Because php artisan serve is for the server to run your application on.
The actual HTTP request itself is not a CLI call - it is supposed to run in HTTP mode.
CLI mode is meant for when you run artisan commands against your application.

All right，I don't think I have anything to say, I just want to be able to quickly develop and test Laravel applications without having to set up an environment like Nginx or Apache


Build the site when something is pushed to main, or on PRs

There is room for improvement here, this is meant to be a first draft
before we start merging other cleanup, to validate those merges.
Fixes #7

Example run, with downloadable zip output https://github.com/niloc132/gwt-site/actions/runs/4338336233
Merge this content with the contents discussed in https://github.com/gwtproject/gwt-site-webapp/pull/9 to have a working website.

Build summary, with downloadable generated JS https://github.com/niloc132/gwt-site-webapp/actions/runs/4338262581 (requires #11)


KYLIN-4688 Too many tmp files in HDFS tmp dictionary

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[x] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

Pull Request Test Coverage Report for Build 6252

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.002%) to 28.025%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
1
0%

core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java
2
68.46%

core-job/src/main/java/org/apache/kylin/job/impl/threadpool/DefaultScheduler.java
2
80.23%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
4
77.81%

Totals

Change from base Build 6246:
-0.002%

Covered Lines:
26235

Relevant Lines:
93612

💛  - Coveralls

I hava tested this pr on docker, it worked fine, test steps:

when building a segment, check the path '/tmp/hbase-staging', there were some 'partitions_' files;
when build successfully, the '/tmp/hbase-staging/partitions_' files were deleted;
set property 'hbase.fs.tmp.dir' to '/tmp/hbase-tmp', and re-run step 1 and step 2,  the 'partitions_' which were in '/tmp/hbase-tmp' were deleted when build successfully, it worked fine.

LGTM, and @hit-lacus please review

LGTM


(PUP-10598) Change default value of ignore_plugin_errors to false

jenkins please test this

CLA signed by all contributors.

LGTM but maybe update the commit summary about why we're making this change? Currently puppet agents can fail to pluginsync and will be missing facts/types/providers that are needed to request and apply the catalog. For example, missing custom/external facts can change which classes are included in the catalog or cause compilation failures if the manifests references the missing fact.


Select existing entity on dir create & gradle 7.4 (clean history)

There is a strange behavior, when you click the "use existing" switch, select something and then clear the selection. The name field still shows the previously selected item, the selection is empty, but the "submit" button is enabled:

I think in that case, when "use existing" switch is "on", the name field should always follow the selection. If no entity is selected, I would expect name field to be empty as well and submit button to be disabled.


⚠ Samsung has degraded performance

In 8e2e35e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2703 ms

Resolved: Samsung performance has improved in 88a6ddf.


Upgrade OpenRewrite Templating 1.13.0 -> 1.14.0

This PR contains the following updates:

Package
Type
Update
Change

OpenRewrite Templating

minor
1.13.0 -> 1.14.0

OpenRewrite Templating
compile
minor
1.13.0 -> 1.14.0

Release Notes

openrewrite/rewrite-templating (OpenRewrite Templating)
v1.14.0
Compare Source
What's Changed

refactor: Update Gradle wrapper by @shanman190 in https://github.com/openrewrite/rewrite-templating/pull/101
Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations by @jkschneider in https://github.com/openrewrite/rewrite-templating/pull/104
Generate code with JSpecify annotations by @timtebeek in https://github.com/openrewrite/rewrite-templating/pull/105
Switch to com.netflix.nebula plugins after failed :verifyPublication by @timtebeek in https://github.com/openrewrite/rewrite-templating/pull/106

New Contributors

@jkschneider made their first contribution in https://github.com/openrewrite/rewrite-templating/pull/104

Full Changelog: https://github.com/openrewrite/rewrite-templating/compare/v1.13.0...v1.14.0

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade OpenRewrite Templating 1.13.0 -> 1.14.0

See:
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.14.0
- https://github.com/openrewrite/rewrite-templating/compare/v1.13.0...v1.14.0


Error when running terragrunt run-all plan

I have multiple environment Testing and Production ,I want to verify terragrunt run-all plan(plan) with checkov when GitHubActions workflow is triggered.I want the plan saved in tfplan.binary then converted to json so checkov can scan it.I am getting error message after the terraform run-all plan is called.Below is my code snippet and the error messages.
Terragrunt.hcl

terraform {
  extra_arguments "plan_file" {
    commands = ["plan"]
    arguments = ["-out=${get_terragrunt_dir()}/tfplan.binary"]
  }

  after_hook "after_hook_plan" {
      commands     = ["plan"]
      execute      = ["sh", "-c", "terraform show -json tfplan.binary > ${get_parent_terragrunt_dir()}/plan.json"]
  }
}

Actions Workflow

- name: Plan
        id: plan
        run: |
          terragrunt run-all plan  -no-color --terragrunt-non-interactive

      -  run: |
           pip install checkov
           checkov -d ../../

      - name: 'Test Plan (Checkov)'
        uses: bridgecrewio/checkov-action@master
        with:
          directory: ../../
          quiet: false # optional: display only failed checks
          framework: terraform # optional: run only on a specific infrastructure {cloudformation,terraform,kubernetes,all}
          output_format: json # optional: the output format, one of: cli, json, junitxml, github_failed_only

error message
Saved the plan to: /home/runner/work/identity/identity/applied/accounts/production/global/tfplan.binary

To perform exactly these actions, run the following command to apply:
    terraform apply "/home/runner/work/identity/identity/applied/accounts/production/global/tfplan.binary"
time=2022-01-17T15:26:44Z level=error msg=Module /home/runner/work/identity/identity/applied/accounts/testing/global has finished with an error: 1 error occurred:
	* exit status 1

 prefix=[/home/runner/work/identity/identity/applied/accounts/testing/global]
time=2022-01-17T15:26:44Z level=error msg=Module /home/runner/work/identity/identity/applied/accounts/production/global has finished with an error: 1 error occurred:
	* exit status 1
time=2022-01-17T15:26:42Z level=info msg=Executing hook: after_hook_plan prefix=[/home/runner/work/identity/identity/applied/accounts/production/global]
time=2022-01-17T15:26:44Z level=error msg=Error running hook after_hook_plan with message: exit status 1 prefix=[/home/runner/work/identity/identity/applied/accounts/production/global]

```

Hi, from provided logs is not clear what failed, log contains only:
Error running hook after_hook_plan with message: exit status 1

Maybe make sense to re-run with Terragrunt with --terragrunt-log-level debug or to download tfplan.binary and run manually  terraform show -json tfplan.binary to see if it is an issue in Terraform invocation or in Terragrunt

I believe Terragrunt isn't generating my terraform plans in a json format but instead as a binary file with the extension .json making checkov fail to parse the file since it doesn't support terraform plan binaries.
Below is my terragrunt.hcl again,not sure what I'm doing wrong
terraform {
  after_hook "after_hook_plan" {
      commands     = ["plan"]
      execute      = ["sh", "-c", "mkdir -p ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}; terraform show -json tfplan.binary > ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}/plan.json"]
  }
}

I believe Terragrunt isn't generating my terraform plans in a json format but instead as a binary file with the extension .json making checkov fail to parse the file since it doesn't support terraform plan binaries.
Below is my terragrunt.hcl again,not sure what I'm doing wrong
terraform {
after_hook "after_hook_plan" {
commands     = ["plan"]
execute      = ["sh", "-c", "mkdir -p ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}; terraform show -json tfplan.binary > ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}/plan.json"]
}
}

A configuration like bellow worked fine on my environment - json file got generated from tfplan.binary
Used terragrunt 0.36.0 and terraform v1.1.0
terraform {
  extra_arguments "plan_file" {
    commands = [
      "plan",
    ]
    arguments = [
      "-out=${get_terragrunt_dir()}/tfplan.binary"
    ]
  }
  after_hook "after_hook_plan" {
    commands     = ["plan"]
    execute      = ["sh", "-c", "mkdir -p ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}; terraform show -json tfplan.binary > ${get_parent_terragrunt_dir()}/plans/${path_relative_to_include()}/plan.json"]
  }
}

Can be tried to generate a plan with simple terraform code(simple file creation in tf files) - and check if plan is generated, try to run with --terragrunt-log-level debug and TF_LOG=debug to see possible failures during plan creation

thanks @denis256 followed your suggestion and now its working perfectly


unable to use ready() or get() to get task results from group using django-celery

Django celery 3.1.16.
I have the workers started with -E, I have celerycam running. Results of async tasks are recorded to the database. Now I am trying to access the results of the celery group() tasks synchronously by using
group = group(celery_task.s(id) for id in big_list)()
if group.ready():
do stuff
calling group.ready() always returns False, and calling group.get() hangs forever. If I stop the thread, and use the groups task_id the next time round, it all works. Results are there.
So how to access the results synchronously??

I've got the same issue with celery 3.1.18

I have similar issue. Even restarting the worker does not help. .get() hangs. I'm using Celery 3.1.20. I:n the console, I see that the tasks have actually finished running. But .get() does not fetch the results.

are you trying master branch?


'parallel' parallel tempering

Using parallel tempering, each chain should be able to run in its own thread, such that simple  parallelism could be obtained simply using a 'parfor' loop.

Each step in a parallel tempering algorithm can be be run in separate threads (in parallel) using
sippi_metropolis_parfor.m.
However, it will only lead to a speedup if each iteration (sampler prior; forward modeling) is relatively CPU intensive. Otherwise it may significantly SLOW down simulation, compared to not using parallel for loops (parfor).
Also,, sippi_metropolis_parfor.m has not been tested with any prior/forward model that writes files to disk as part of simulation/evaluation.


chore: release main

:robot: I have created a release beep boop
renderer: 1.0.7
1.0.7 (2023-12-23)
Bug Fixes

update readme (ea1631f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/pavophilip/react-shader-fiber/releases/tag/renderer-v1.0.7 :sunflower:


Not given Meteor.apply method defination

Hello,
Meteor.call is just supporting the separate arguments set it is not supporting that array of arguments.
I am getting array of arguments from my scenario file and i can't convert that params to separate arguments so just one option for me that i use Meteor.apply that is supporting that array of arguments so please give definition of Meteor.apply.
Thanks,
Dhaval

Please accept and merge that pull request by @convexset so all other person can solve his issue


Example not clear

The example provided are NOT so clear for consumer.How to implement in client server passion or point to point communication.There is no sample for communication with Port and IP nor there is no example to know how to encrypt.Can you create community forum where we can share issues and communicate along with providing full documentation

The port and IP address for both consumers and producers are automatically discovered. There is no need to specify them, but you can if you need to. Please refer to the Wiki Page on configuration.
I agree that there needs to be an example on encryption.
Please continue to use the issue reporting and Wiki as a community forum.

I have fixed the example and did a test run.It is giving 148 message/sec.When i am sending the message there is lot of latency more than 102 sec in single message.I submitted the message at 2015-10-09 02:53:14.331 and delivered at 2015-10-09 02:54:56.475.Along with that there is a pause of few second where it prints decode message.Can you please advice how to reduce.I need to reduce this latency to less than 5 sec in each message,
02:54:56.475 [ringBuffer-5] INFO  i.bigio.examples.helloworld.Consumer - As an anonymous inner class: MsgID 326572Msg Time=>2015-10-09 02:53:14.331=TimeNow =>2015-10-09 02:54:56.475

It shouldn't take anywhere near that much time. Can you post your code please? What's your OS and Java version?

Hi Andy,
Please find the below details.There is one more issue which i will raise in separate thread.
My code is as follows
package io.bigio.examples.helloworld;
import io.bigio.BigIO;
import io.bigio.Initialize;
import io.bigio.Inject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Level;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*

@author atrimble
*/
//@Component
public class Producer {
private static final Logger LOG = LoggerFactory.getLogger(Producer.class);
@Inject
private BigIO bigio;
@Initialize
public void init() {
new Thread() {
@Override
public void run() {
int inc = 0;
Timestamp time=new Timestamp(new Date().getTime());
LOG.info("Start Time"+time);
BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));
try {
String messageValue= bufferRead.readLine();
} catch (IOException ex) {
java.util.logging.Logger.getLogger(Producer.class.getName()).log(Level.SEVERE, null, ex);
}
while (inc <5000000) {
try {
HelloWorldMessage msg=new HelloWorldMessage();
msg.setMessage("MsgID " + inc + "Msg Time=>"+new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
LOG.info("Sending message at "+new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
LOG.info("Msg "+msg.getMessage());
bigio.send("Topic",msg);
inc++;
} catch (IOException ex) {
LOG.error("Caught exception", ex);
//} catch (InterruptedException ex) {
//  java.util.logging.Logger.getLogger(Producer.class.getName()).log(Level.SEVERE, null, ex);
}
}
LOG.info("End Time"+new Timestamp(new Date().getTime()));
}
}.start();
}
public static void main(String[] args) {
 Producer prod = new Producer();
 prod.bigio = BigIO.bootstrap();
 prod.init();

//prod.bigio.
}
}
package io.bigio.examples.helloworld;
import io.bigio.BigIO;
import io.bigio.Component;
import io.bigio.Initialize;
import io.bigio.Inject;
import io.bigio.Interceptor;
import io.bigio.MessageListener;
import io.bigio.core.Envelope;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*

@author atrimble
*/
@Component
public class Consumer {
private static final Logger LOG = LoggerFactory.getLogger(Consumer.class);
@Inject
private BigIO speaker;
@Initialize
public void init() {
getSpeaker().addListener("Topic", (HelloWorldMessage message) -> {
// LOG.info("As a lambda expression: " + message.getMessage());
});
 getSpeaker().addListener("Topic", new MessageListener<HelloWorldMessage>() {
     @Override
     public void receive(HelloWorldMessage message) {
         LOG.info("As an anonymous inner class: " + message.getMessage()+"=TimeNow =>"+new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
     }
 });

 getSpeaker().addInterceptor("Topic", (Envelope envelope) -> {
    // LOG.info("Interceptor as a lambda expression: " + envelope.getSenderKey() + " : " + envelope.getTopic());
     return envelope;
 });

 getSpeaker().addInterceptor("Topic", new Interceptor() {
     @Override
     public Envelope intercept(Envelope envelope) {
     //    LOG.info("Interceptor as an anonymous inner class: " + envelope.getSenderKey() + " : " + envelope.getTopic());
         return envelope;
     }
 });

}
/**

@return the speaker
*/
public BigIO getSpeaker() {
return speaker;
}

/**

@param speaker the speaker to set
*/
public void setSpeaker(BigIO speaker) {
this.speaker = speaker;
}

public static void main(String[] args) {
 Consumer consumer = new Consumer();
 consumer.setSpeaker(BigIO.bootstrap());
 consumer.init();

//prod.bigio.
}
}
package io.bigio.examples.helloworld;
import io.bigio.Message;
import io.bigio.core.codec.BigIOMessage;
import java.io.Serializable;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*

@author atrimble
*/
@Message
public class HelloWorldMessage implements BigIOMessage,Serializable {
private static final Logger LOG = LoggerFactory.getLogger(HelloWorldMessage.class);
private String message;
//private String payLoad;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public void bigiodecode(byte[] bytes) {
LOG.info("decode Start" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
this.message = new String(bytes, StandardCharsets.UTF_8);
LOG.info("decode End" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
}
@Override
public byte[] bigioencode() throws Exception {
LOG.info("Encode Start" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS").format(new Date()));
return this.message.getBytes(Charset.forName("UTF-8"));
}
}

Ah, I see the problem. You should not directly implement BigIOMessage or Serializable in the HelloWorldMessage class. That capability is automatically injected by the BigIO agent. By virtue of adding the -javaagent flag to your run script, the message serialization is handled automatically.
Let me know if this resolves the latency.

It is working with annotation.The rate i am getting is Producer 583 Message/sec and consumer rate of 404 message/sec.There is delay when consumer accept the message may be few millsecond which adds up with each message.
Total Message Produced : 1.4 million message in 583 Message/sec  in 40 minutes
Total Message Pushed : 1.2 million message in 500 Message/sec in 40 minutes

Are you still manually implementing bigioencode and bigiodecode?

No.I am using all default setting.Nothing Manual using same code of Example
Regards,
Mohammed
On Tue, Oct 13, 2015 at 8:46 PM, Andrew Trimble<EMAIL_ADDRESS>wrote:

Are you still manually implementing bigioencode and bigiodecode?
—
Reply to this email directly or view it on GitHub
https://github.com/Archarithms/bigio/issues/32#issuecomment-147746656.


Convert to typescript

[NO MERGE] I did this playing with typescript, but I'd like to wait and see if we go with find/findAll approach before merging this.
See #14

@cibernox this is great, looking forward to a getting to work with TypeScript. Maybe I can take a stab at converting some of the tests.

@cibernox @rwjblue my suspicion is the that ember-cli-typescript will need to utilize this._treePathFor(‘addon-test-support’)
To investigate, I made a find-it.ts file in addon-test-support and added addon-test-support to the tsconfig.json file - and no dice, the findIt module did not make it into the dist/assets/test-support.js output.
From chat on Slack:
rwjblue [9:27 AM]
calling `this.preprocessJs` iterates through all known preprocessors in the addons registry, and processes them in order

[9:27]
https://github.com/ember-cli/ember-cli/blob/master/lib/models/addon.js#L794

[9:27]
you can put a breakpoint there, and confirm the before/after tree though

pixelhandler [9:27 AM]
ok will look into that

rwjblue [9:29 AM]
for debugging this, I would look into doing `stew.debug` in this loop https://github.com/ember-cli/ember-cli-preprocessor-registry/blob/master/preprocessors.js#L178-L181

[9:29]
unfortunately, we do not propagate much debug info there so you would ahve to sift through many trees looking for the one you wanted

I'm closing since the codebase has diverged since this was spiked.


Check Librefox-Firefox this or that option could interest you...

Hi,
First of all thank you a lot for your amazing work !
I just published my personal gathered tuned settings for firefox...
~~https://github.com/intika/privafox-firefox~~
Thorin Edit: https://github.com/intika/Librefox-Firefox
Privafox-Firefox : Tuning firefox settings (about:config) for a better security, privacy and performances. Firefox does not need to be rebuilt to be cleaned from privacy/security issues; as all settings can be changed in the about:config This project aim to fix security/privacy issues related to firefox and also tune it to gain some speed performances.
It uses mozilla.cfg and policies.json to have the changes applied to firefox...
This could be useful to may be pick-up some stuff from it. for ghacks-user.js project :)
;)

Yay! Something else to look at :grinning:
I'll see if @claustromaniac's compare tool can handle it. Although this won't be hard, because we've already mapped Firefox's DNA multiple times.
PK's list hasn't had anything (of significance) done to it for almost 2 years (and the wee flurry of activity around 18-22 months ago was from giving them a diff based on ours, which is still open), and is full of obsolete prefs, and IMO, quite a few that contradict each other (but I would have to re-assess that, as some prefs may have been flipped). Not that we're always right either. Different threat models may apply. They're templates FFS :)
Here's PK's repo activity for the last 18 months (added 14 prefs and removed one)
2018
- Nov
  * removed deprecated dom.workers.enabled
- Oct
  * added toolkit.telemetry.archive.enabled=false
- Sep
  * added extensions.systemAddon.update.enabled=false
  * added javascript.options.wasm=false
- Feb
  * added privacy.firstparty.isolate=true
- Jan
  * added network.captive-portal-service.enabled=false
  * added signon.formlessCapture.enabled=false

2017
- Nov
  * added browser.newtabpage.activity-stream.enabled=false
  * added browser.newtabpage.activity-stream.feeds.section.topstories=false
- Oct
  * added browser.startup.homepage_override.buildID=20100101
  * added dom.network.enabled=false (which was deprecated in FF31)
  * added dom.maxHardwareConcurrency=2
  * added extensions.shield-recipe-client.enabled & app.shield.optoutstudies.enabled = false
- Jun
  * added dom.enable_resource_timing=false
  * added browser.shell.shortcutFavicons=false
  * added browser.bookmarks.max_backups=0

It is woefully out of date, especially now ESR52 is EOL. No disrespect to PK, but I wonder why people still harp on about it as being so good (that's not PK's fault).
For some reason he likes to keep all the really old cipher stuff in there. They do no harm (deprecated prefs won't do anything except take up space), except to perhaps parley a false sense of achievement / security. The lists below are a few months old (but I'm due to do another diff of ghacks vs pk)
35 cipher prefs, DEPRECATED BEFORE ESR52
* checked in ESR52.8, FF60, DXR (mozilla-central, mozilla-52, & comm-esr52)
user_pref("security.ssl3.dhe_dss_aes_128_sha", false);
user_pref("security.ssl3.dhe_dss_aes_256_sha", false);
user_pref("security.ssl3.dhe_dss_camellia_128_sha", false);
user_pref("security.ssl3.dhe_dss_camellia_256_sha", false);
user_pref("security.ssl3.dhe_dss_des_ede3_sha", false);
user_pref("security.ssl3.dhe_rsa_camellia_128_sha", false);
user_pref("security.ssl3.dhe_rsa_camellia_256_sha", false);
user_pref("security.ssl3.dhe_rsa_des_ede3_sha", false);
user_pref("security.ssl3.ecdh_ecdsa_aes_128_sha", false);
user_pref("security.ssl3.ecdh_ecdsa_aes_256_sha", false);
user_pref("security.ssl3.ecdh_ecdsa_des_ede3_sha", false);
user_pref("security.ssl3.ecdh_ecdsa_null_sha", false);
user_pref("security.ssl3.ecdh_ecdsa_rc4_128_sha", false);
user_pref("security.ssl3.ecdh_rsa_aes_128_sha", false);
user_pref("security.ssl3.ecdh_rsa_aes_256_sha", false);
user_pref("security.ssl3.ecdh_rsa_des_ede3_sha", false);
user_pref("security.ssl3.ecdh_rsa_null_sha", false);
user_pref("security.ssl3.ecdh_rsa_rc4_128_sha", false);
user_pref("security.ssl3.ecdhe_ecdsa_des_ede3_sha", false);
user_pref("security.ssl3.ecdhe_ecdsa_null_sha", false);
user_pref("security.ssl3.ecdhe_rsa_des_ede3_sha", false);
user_pref("security.ssl3.ecdhe_rsa_null_sha", false);
user_pref("security.ssl3.rsa_1024_rc4_56_sha", false);
user_pref("security.ssl3.rsa_camellia_128_sha", false);
user_pref("security.ssl3.rsa_camellia_256_sha", false);
user_pref("security.ssl3.rsa_fips_des_ede3_sha", false);
user_pref("security.ssl3.rsa_null_md5", false);
user_pref("security.ssl3.rsa_null_sha", false);
user_pref("security.ssl3.rsa_rc2_40_md5", false);
user_pref("security.ssl3.rsa_rc4_40_md5", false);
user_pref("security.ssl3.rsa_seed_sha", false);
user_pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false); // removed in FF50
user_pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false); // removed in FF50
user_pref("security.ssl3.rsa_rc4_128_md5", false); // removed in FF50
user_pref("security.ssl3.rsa_rc4_128_sha", false); // removed in FF50

and these are also in PK's, all active, i.e. not commented out (and in ghacks, but in the ghacks deprecated commented out section)
user_pref("browser.pocket.enabled", false); // removed in FF46
user_pref("browser.safebrowsing.enabled", true); // removed in FF50
user_pref("datareporting.healthreport.service.enabled", false); // removed in Ff46
user_pref("dom.network.enabled", false); // removed in FF31
user_pref("dom.telephony.enabled", false); // removed in FF52
user_pref("loop.logDomains", false); // removed in FF49
user_pref("plugins.update.notifyUser", true); // removed in FF50

also active in PK's, but deprecated or confirmed that the code does nothing (but I might have to double-check a couple, maybe they're for Android) - couldn't be arsed finding the bugzilla's that removed them (if deprecated), as I only do that for what we have had in our js in the past
user_pref("dom.mozTCPSocket.enabled", false); // only exposed in chrome contexts
user_pref("shumway.disabled", true);
user_pref("plugin.state.libgnome-shell-browser-plugin", 0);
user_pref("network.negotiate-auth.allow-insecure-ntlm-v1", false);
user_pref("browser.newtab.url", "about:blank");
user_pref("browser.download.manager.retention", 0);
user_pref("browser.formfill.expire_days", 0); // code is only used in a single test
user_pref("browser.startup.homepage_override.buildID", "20100101"); // last used in ESR52

There's more, but the above = 49 useless prefs (out of a current 307). Not a good start. So if you have any of that in your repo... you're already lacking some credibility
If I get around to it, I'll post some more about your actual choices (a few on quick glance seem very BAD), rather than harp on about PKs (but you did base it heavily on his)

Thank you for taking time to write this cool long answer :)
At first i thought of recompiling and patching firefox, and maintaining patches like the ungoogled-chromium project, but for firefox its a whole other story... it's a huge work for a single person and as 98% of the modifications can be done over about:config, i started there gathering all the reported settings, and as you said it does not hurt if outdated settings are present, but i know i have to do some cleaning because of PKs list i already did some and will do for sure take the time to clean it completely later.
I was very active regarding firefox in the past before the whole web-extensions thing, and left the boat because of that, and still i am one feet in one out lol... i recently tested v60xx... and was amazed by the work mozilla did even if i don't really agree about xul left behind like many but this is an other topic... (life is about evolving).

I use firefox/chromium as second main browser other than (pm) because it could be very fast some time... and as ffox v60x... is growing in speed amazingly i decided to use it and thus that generated the project...
The project goal is not just to change privacy setting, but more importantly to measure the impact on the performances when those settings are applied to find the perfect equilibrium between performances and privacy... sometimes settings that are not that important lead to huge performance impact. and some times just little tiny changes make a huge difference.
In short am trying to make a modified-bundled firefox with the maximum privacy possible without loosing performances and eventually gaining some.
Bundling the whole thing in firefox directly is also one of the scopes most users just want to use it without digging deep like we geek do... and some are yelling about this or that settings without really understanding what that setting do exactly.
Any way i am sharing my result here i think informations about performances impact would be useful as well here.
And also sometime mitigating issues with a custom extension have less impact other than disabling a whole api. i also often saw things disabled just for prevention while the real issue have been solved.
Now days a browser without js is just not an option.
I don't know where i am going exactly because i fear a little bit mozilla with the road they are taking, and i would not be surprised to see privacy issues growing exponentially to a an unmanageable size. it's already somehow the case it's why we need to keep our forces joined :)
Potential practical impact on your project :

Disclosing performances impact in the comment
Adapting this or that setting to avoid performance loss
May be also disclosing in comment the used work around like i did some...

Applying the whole privacy thing without testing is something like 40/50% speed decrease. (i am not saying that you do... but a lot of user do, me included)

Also not everything is bad about mozilla... like the new setting privacy.resistFingerprinting it's a amazing one with a great potential, we then need to stop editing useragent etc. because this feature already take care of it. (i eventually recommend in my project just change the os in the useragent) the impact is not yet visible because we are not a lot using that. and every settings that we make set our config to a unique one thus make it finger-printable

I saw all those performance metrics, but to me performance is tertiary (the internet and browsers are getting faster all the time). I'm not an expert, but I am also weary of perf tests (read a lot, won't go over it here suffice to say they're not real world, but useful in development). So for sure your project has a slightly different aim.
Just to clarify: speed can go and get f$%ked :) Security first, privacy/anti-tracking/anti-FP'ing second - but I hear ya on the breakage front. Of course JS is needed these days. When I get off my arse, we'll release a list of relaxed prefs so end-users can watch cat videos and tweet

just change the os in the useragent

Don't. They're already going to limit it to 2 OSes, but leave navigator as 4 OSes as per TBB's change. And besides, any useragent prefs have no effect with RFP - you have to use an extension.

Applying the whole privacy thing without testing is something like 40/50% speed decrease

Not surprised. We disable HWA, WASM, ASJSM, HTTP2, SSL session tickets. These alone would probably account for most of it (and could be in the relaxed list).
The other half of that equation (speed gain) is using decent blockers (uBlock, uMatrix) in whatever config you like - sheesh I saw one website, might have been cnn, where 128 requests or domains (I forget which, I think it was domains!!) were not needed. I actually find the web damn uber speedy in my setup.

i am sharing my result here i think informations about performances impact would be useful as well here.

Absolutely, despite my cynicism of benchmarking tests :)

And also sometime mitigating issues with a custom extension have less impact other than disabling a whole api. i also often saw things disabled just for prevention while the real issue have been solved.

Hell yeah. That's what I like about RFP, they attempt to spoof or fuzz the leak rather than kill the tech. Same with some of our prefs, eg geo, why disable that when the default is to ask. Leaking location is already covered, but allows users to set a site permission. Same with extensions that allow per domain. Always a fan of those. Default deny, then whitelist

We are on the same page :) (i am not willing to sacrifice security either just looking for alternatives and LEAVE ALWAYS the choice :))

This could be useful to may be pick-up some stuff from it. for ghacks-user.js project :)

So I took privafox v2, changed all lockPref to user_pref, and did a compare. Here's what is not in our user.js.
 The script should be able to read pref(), user_pref(), lockPref() and sticky_pref(). If that is not the case then something is wrong.

Right... I started going thru all those 156 prefs, got down to about 30 left. A lot overlap with what I have covered before (eg in that horrendous 450+ diff monsta thrown on me).
I was going to provide the results of my work eg
/* ALREADY COVERED: by master pref extensions.pocket.enabled ***/
    extensions.pocket.api                                                ""
    extensions.pocket.oAuthConsumerKey                                   ""
    extensions.pocket.site                                               ""
/* INFO URLS ETC: require user interaction (e.g Help>Submit Feedback) ***/
    app.feedback.baseURL                                                 ""
    app.releaseNotesURL                                                  ""
    browser.contentblocking.reportBreakage.url                           ""
    datareporting.healthreport.infoURL                                   ""
    toolkit.crashreporter.infoURL                                        ""
    toolkit.telemetry.infoURL                                            ""
    privacy.trackingprotection.introURL                                  ""
/* DEFAULT IS SAME
   this is generally a bad idea: if FF disables something due to a security concern, the
   end user who doesn't keep up to date with changes (IF you do them) is now fucked over) ***/
    browser.offline-apps.notify                                          true
    browser.safebrowsing.passwords.enabled                               false
    html5.offmainthread                                                  true
    security.sri.enable                                                  true
    security.ssl3.ecdhe_ecdsa_aes_128_gcm_sha256                         true
    security.ssl3.ecdhe_ecdsa_aes_256_sha                                true
    security.ssl3.ecdhe_ecdsa_chacha20_poly1305_sha256                   true
    security.ssl3.ecdhe_rsa_aes_128_gcm_sha256                           true
    security.ssl3.ecdhe_rsa_aes_256_sha                                  true
    security.ssl3.ecdhe_rsa_chacha20_poly1305_sha256                     true
/* NOT PRIVACY etc related ***/
[i] browser.download.animateNotifications                                false
    browser.tabs.closeTabByDblclick                                      true
/* covered by dom.enable_performance (& also RFP) ***/
    dom.enable_performance_navigation_timing                             false
/* is only exposed to chrome ( https://trac.torproject.org/projects/tor/ticket/27268#comment:2 ) ***/
    dom.mozTCPSocket.enabled                                             false
/* only used in a single test ***/
    browser.formfill.expire_days                                         0
/* specifically removed because people don't understand it (and we don't want to encourage Tor over FF) ***/
[i] network.dns.blockDotOnion                                            true

and so on, but I've had enough.
@intika Good luck with your project, and feel free to drop in and share stuff and ask questions

@Thorin-Oakenpants thanks a lot for taking time doing that it actually was help full... i am cleaning the whole thing for the new version... and as my project is tied to yours don't worry about difference i will post important one my self here, you don't have to check ;)
thanks again :+1:

The project was renamed to Librefox... i still did not release v2 but it's coming.
I do experienced some idle communication to mozilla (with default user.js), i am adding a section in v2 to block those connections... i will let you know here the result after the release ;)
Keep the good fight :+1:  :)
Thanks

One last thing i am reorganizing the project sections to make it easily reviewable
with section like "not present in ghacks"  "deprecated" etc

I do experienced some idle communication to mozilla (with default user.js)

Do you mean ours or yours? Startup always checks for updates unless you block it using Enterprise Policy (it also does this when you into Help>About and into Options, AFAIK). Also check no addons are doing anything (like getting an icon!)
Also our default does not block SB and blocklist updates.

One last thing i am reorganizing the project sections to make it easily reviewable with section like "not present in ghacks" .. etc

Do you really want to do that? It's a bit of overhead for you. Up to you, but then you could be mis-representing what we have when we make changes. It would be better to leave that out, but for sure, saying WHY you set something as you did is always good.

don't worry about difference i will post important one my self here

That would be cool. Share the knowledge brother :kiss:

Do you really want to do that?

Both... trying to make a firefox version with zero automated request ^^

Both... trying to make a firefox version with zero automated request

That's super easy / doable ... but it just creates roadblocks for end-users (eg trying to update) and puts them at risk (blocklists, revoked extensions+graphic cards etc, SB lists)

@intika on your readme: https://github.com/intika/Librefox#about under contributors you list @Thorin-Oakenpants @claustromaniac and @earthlng
I know you based almost all of your prefs on our work, and that's fine (this repo is attributed :+1:  and that's enough), but I'd rather not have my individual name listed as some sort of contributor (sure, I pointed out that there are a bunch of dead prefs, but that's nothing). The reason is I do not agree with a number of "things" (not just some settings).
I'll let the other two decide for themselves if they want their name listed. Thanks

I don't mind being mentioned there, but I reckon listing Contributors that don't appear as contributors here without mentioning how they contributed is very ambiguous. @intika, if your intent is simply to give everyone in that list credit because our work helped you in one way or another, I suggest you to either be more descriptive, or to reword it to something like Acknowledgments (thank you's) or something of the sort. My 2 cents :cat:

@Thorin-Oakenpants thank you for the feedback no problem i will remove that :)
@claustromaniac i will update that to something more clear like Thanks/Acknowledgments @Thorin-Oakenpants do you also want not being listed on a "thank you" section ?

Thorin-Oakenpants do you also want not being listed on a "thank you" section ?

It was more along the lines of what claustromaniac said. "Contributor" is not the right word - it makes me sound like part of the project, when I'm not. Also the donations is not my thing. I would rather not be individually named.
Also this line "Librefox uses more than 500 privacy/security/performance settings (gHacks and additional options)... " .. implies that you're using ghacks settings, and I do not want people to think that. Could you change it to something more like
"Librefox uses more than 500 privacy/security/performance settings (we used the work and research from the ghacks user.js, added a few more preferences, and configured it to our liking)... " .. or something like that
Thanks in advance :+1:

i removed the donation link and updated the about section https://github.com/intika/Librefox#about let me know if i can keep https://github.com/intika/Librefox#comparing-changes-and-updates or if you want any modification to what is written there
Also no donation where made (just to let you know) and the donation link was just there as additional info like i do on all my projects and it was there from the get go. (i was not asking explicitly for donation).
i am sorry if i heart the feeling of anyone.
for the section https://github.com/intika/Librefox#librefox-browse-with-freedom- i just removed this '(gHacks and additional options)' to avoid confusion let me know its okay that way.
Any way let me know if its okay the way it is right now and if you want me to do any modification.

Thanks, it's a lot clearer now :) :+1:

... Going back to the main purpose of this... While working on Librefox i found some differences with gHacks that are worth a discussion:
// Pref : 2803: set what history items to clear on shutdown
// [SETTING] Privacy & Security>History>Custom Settings>Clear history when Firefox closes>Settings
// [NOTE] If 'history' is true, downloads will also be cleared regardless of the value
// but if 'history' is false, downloads can still be cleared independently
// However, this may not always be the case. The interface combines and syncs these
// prefs when set from there, and the sanitize code may change at any time
//defaultPref("privacy.clearOnShutdown.siteSettings", false); // Site Preferences
defaultPref("privacy.clearOnShutdown.cache", true);
defaultPref("privacy.clearOnShutdown.cookies", true);
defaultPref("privacy.clearOnShutdown.downloads", true); // see note above
defaultPref("privacy.clearOnShutdown.formdata", true); // Form & Search History
defaultPref("privacy.clearOnShutdown.history", true); // Browsing & Download History
defaultPref("privacy.clearOnShutdown.offlineApps", true); // Offline Website Data
defaultPref("privacy.clearOnShutdown.sessions", true); // Active Logins

This could be simplified with
defaultPref("privacy.sanitize.sanitizeOnShutdown", true); and defaultPref("privacy.cpd...
This is not present in gHack
// Pref : Preferred language for displaying websites...
// The first settings overflow the second one
defaultPref("privacy.spoof_english", 2);
//defaultPref("intl.accept_languages", "en-US, en");

This one should be set to false ?
/* 0906: disable websites' autocomplete="off" (FF30+)
 * Don't let sites dictate use of saved logins and passwords. Increase security through
 * stronger password use. The trade-off is the convenience. Some sites should never be
 * saved (such as banking sites). Set at true, informed users can make their own choice. ***/
user_pref("signon.storeWhenAutocompleteOff", true); // default: true

Not present in gHacks
// Pref : Allow extensions access to list of sites
// https://github.com/mozilla/gecko/blob/central/toolkit/mozapps/extensions/AddonManagerWebAPI.cpp
lockPref("extensions.webapi.testing", false); // hidden prefs // default false

Not present in gHacks
// Pref : Disabling performance addon url [FF64+]
lockPref("devtools.performance.recording.ui-base-url", "");
// Default Value : https://perf-html.io

Thanks
privacy.sanitize.sanitizeOnShutdown only controls whether to sanitize, it does not control what to sanitize. same with cpd. The cpd items you can change when you ctrl-shift-del .. it just makes sense to provide the info for people, and to reset it each startup (people can change them to suit so they have one set for closing and one for manual). Same reason we add the time range to clear for cpd (as everything / all time - because by time-range can't clean IDB)
privacy.spoof_english is handled internally, from memory, as part of RFP. And forcing it etc can cause issues
signon.storeWhenAutocompleteOff - that's up to you.
I'm not sure about the webapi testing thing - it's probably (99% sure) harmless. I do not see an issue with the perf in devtools ..
 When I first looked, a quick scan had me horrified, there are, or at least were, some settings that actually put people at risk, and lots of silly (to me) decisions such as not updating info like blocked extensions/graphic cards) and lots more. But I'm not going to analyze it for you.
And as for the killing of every external request, it's not as black and white as that. You need to look at each item in isolation.

Yes true i know a many settings are controversial... moonchild from palemoon came with an analyze about those... https://forum.palemoon.org/viewtopic.php?f=4&t=21123&#p158437...
The project is very young, it was intended at first to be an alternative hardened Firefox (mixing settings and addons) for my personal needs and sharing it for those who would be interested... and to be honest i did not expect at all that much interest in the project... i did post 2 reddit to get some feedback about my work, but it kind a went viral... now it's normal that this or that setting would not match everyone's need... i have to come with a flexible release (settings page or so) to let every user configure the settings as he wish.

@Thorin-Oakenpants thank you for your feedback, you don't need to waste your time to analyze it but if you want to i will add your comment to https://github.com/intika/Librefox/issues/53

Yup, more than welcome to do that :)
At the end of the day, and we've been at this for 4 years (and myself longer), some people think this template of ours is too harsh - because it breaks webrtc, webgl, videos (gmp. widevine, eme, cdm) and a couple of other items. That's about it. Easy as F to remedy of people flipped a handful of prefs.  It's a shell of a browser and it's kinda dangerous (IMO, see below)
And I kind of feel you're just reinventing the wheel, our wheel. It's like you've come along, slurped up 4 years of labor, and thousands of hours of research and testing etc, and wham, in a few days you get 600 followers (kudos to you!). But your project is "dangerous" (in quote marks because I haven't really looked at your settings), and you're going to have to do a lot of work (work we already considered and did, and tested, etc). And you've added prefs from god knows where (was it some 250+ we haven't got - we don't add everything for a reason, so you'll need to look at that as well), and the diffs are huge (with prefs in common), and then there's the lock pref stuff. AND, you're stripping things out like Safe Browsing (as far as i know), but decided now to drop recommending extensions. So new users are now put at risk. I think that's irresponsible.
People can achieve what you're done with a user.js - sure, I haven't exactly followed what core FF changes you have done, but they aren't needed IMO. So as much as I like you, I really don't like the project, at all - at least in it's current state.
Pro Tip: You have to assume that anyone who uses your product has no knowledge or skills :) That's how I treat mine: so it's SB on by default, auto-update checks for extensions on by default, and so on. And I provide a wiki full of things like important stuff to check when first getting it. Recommended extensions. And so on.   Just because that's how they like it, doesn't mean it's a good default (I have read some ludicrous ideas from some of them already).
Good luck buddy :beers:

Thank you for you feedback i am adding important notice to https://github.com/intika/Librefox/issues/53 ...

PPS: don't listen to some of the rabid commentators on your repo. Just because that's how they like it, doesn't mean it's a good default (I have read some ludicrous ideas from some of them already)

I know, those users make a lot of noise ^^ indeed

decided now to drop recommending extensions

Yes but not in the current state of the project this is for next release, the "dangerous" thing will be first solved and the browser will have a default state much more acceptable compared to the current one and the idea is to provide a settings page for advanced users to let them switch whatever they want easily without going through a 3000 line file.

advanced users to let them switch whatever they want easily without going through a 3000 line file

then they aren't advanced users. You need to define and clarify for users what your target market is

then they aren't advanced users. You need to define and clarify for users what your target market is

Yes of course, i noticed a lot and lot of newbie users just grabbing Librefox without any questioning and you are right i should treat all users as newbie... it's why i am willing to change a lot of default settings... but advanced technical users are a must for the project to survive (my self included) so an advanced settings page would be the thing that would make the project differ from Firefox... it's all about giving the choice right ? so the choice will be given in an easy interface

Also one important thing

And I kind of feel you're just reinventing the wheel, our wheel. It's like you've come along, slurped up 4 years of labor

It's been almost 2 months now that i am working on this almost full time... what can i do regarding regarding your comment ?
Also as i already said i am planning to change the cfg/user.js integration into a gui. it will be different when it will be done.

You're not doing anything "wrong" - the ghacks user.js is there to be used and built on, as long as it's attributed, as per the license.
It's me, not you :grin:  It's just weird that I struggle to get any attention and have been hammered by years of negativity and attacks and whammo, you get almost as much as me on here in 2 days as i did in 2 years. Maybe I'm a little jealous and feel like I've been ripped off (but I know I haven't) .. sorry for that. And maybe I can do without so many "shouty" people and the million views they bring. Maybe its a good thing :)
Oh yeah, I totally get that you have spent a lot of time on it already and changed it, and added new things. Didn't mean to imply that.

I think that it draw attention because it's kind a accessible for anyone (binaries) even if i did not meant that when i created the project (not for beginners). and because of its name too; also the extensions... and also may be kind a saying yes to any request...
Where gHacks is kind a meant for advanced user, and getting the hands dirty... (even if i know it could be applied easily) may be building a binary for gHacks would attract more users, kind a patcher that would apply the ghacks settings. like the one used in https://github.com/overdodactyl/ShadowFox.
But to be 100% honest i think it's about posting the right thing at the right moment in the right place  (https://www.reddit.com/r/linux/comments/a8ru20/librefox_mainstream_firefox_with_a_better_privacy/) other users did posted an equivalent post before i came with the binaries without success. i did so just after releasing the version i thought good enough to be published.
and i never did ask anyone to post anything. i just posted twice on reddit... and people did the rest, it's all about communication ;)
Any way just to summarize (and this is just my opinion)

Develop a patching binary multi-platform x32/x64 - Win/Linux/Mac (6 versions)
Post a reddit under r/linux and an other one under whatever you think it's good.
Drop the ego, and use the critiques to enforce the project.

Note : i need you to survive, keep going and get more attention for my project looool :p ... it's why i gave you as much credit in the first place in my readme page...

No worries mate :) :kiss:

Just as example, https://github.com/intika/Linux-Application-Firewall this is a very interesting project but because there where 0 communication the project have 0 stars

I kind of like the @intika idea and his drive for Librefox.
For sure the project is young and there are many wrong directions/choices/decision (as always at start and missing mileage).
With a, for example, wisdom of @Thorin-Oakenpants , @earthlng , @claustromaniac and others... and if @intika will take those seriously then Librefox might become a great browser.
Don't you think so?

@crssi yes indeed and i am listening to every one :) but ghacks deserve more attention in the current state of the project (ghacks) the attention will continue to grow continuously but a little/big push wont hurt. i don't know what @Thorin-Oakenpants is deciding about that


KDE Activities and Atom

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
I am using Atom on a Kubuntu 16.04, unfortunetly Atom can seem to be able to be open in several activities on KDE.
Steps to Reproduce

Open Atom in one activty
Create a new activity
Open Atom in the new activity

Expected behavior:
Atom should open in the new activity.
Actual behavior:
Atom open in the first activity.
Reproduces how often:
100%
Versions
atom --version:
Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

apm --version :
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.12
git 2.7.4

I am using a kubuntu 16.04.

It seems like activities are basically like Ubuntu workspaces with more functionality?  If so, I think this is the same/super similar to https://github.com/atom/atom/issues/11610?

Indeed, it seems to be the same problems.

👍 - I'll go ahead and close this one as a duplicate.


addedNav

Title and Issue number

Title :
Issue No. :
Code Stack :
Close #<issue_no>

Video/Screenshots (mandatory)

Checklist:

[ ] I have mentioned the issue number in my Pull Request.
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

@shreya9x1 On which issue you are working??????
This PR has no info.

Respected sir,
As I'm new to open source contribution and it was hard for me to solve an
issue.
I tried to add "about us" button in navigation bar.
I apologise that I couldn't fill the info in PR as I was following the
steps to commit the request.
On Sat, 20 Jan 2024, 18:33 Arpan Chowdhury, @.***>
wrote:

@shreya9x1 https://github.com/shreya9x1 On which issue you are
working??????
This PR has no info.
—
Reply to this email directly, view it on GitHub
https://github.com/apu52/Travel_Website/pull/102#issuecomment-1902089349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BC5OCHGXJOYCSZ66DWHLIULYPO6DPAVCNFSM6AAAAABCDFEGQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGA4DSMZUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Respected sir, As I'm new to open source contribution and it was hard for me to solve an issue. I tried to add "about us" button in navigation bar. I apologise that I couldn't fill the info in PR as I was following the steps to commit the request.
…
On Sat, 20 Jan 2024, 18:33 Arpan Chowdhury, @.> wrote: @shreya9x1 https://github.com/shreya9x1 On which issue you are working?????? This PR has no info. — Reply to this email directly, view it on GitHub <#102 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC5OCHGXJOYCSZ66DWHLIULYPO6DPAVCNFSM6AAAAABCDFEGQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGA4DSMZUHE . You are receiving this because you were mentioned.Message ID: @.>

No matter @shreya9x1 . It's always challenging when you first explore open source.I will just suggest you to go through the CONTRIBUTING.md file before making a PR & also first raise an issue & only then After assigning submit your PR

@shreya9x1 Sorry to close this PR. but it's  a good issue. I want to suggest you to raise the issue .


Documents cannot be uploaded to ADP

Describe the bug
No documents can be uploaded to ADP making it  unusable.
To Reproduce
Steps to reproduce the behavior:

Open ADP
Go to some perspective with document upload
Upload document
You get an error

Expected behavior
I can upload docs to ADP

This is being resolved by Labs and fix is expected in next iFix


feat: add lnurl withdrawal

Fixes #6
Description
Adds LNURL Withdraw
Screenshots

@im-adithya nice! what did you use for generating the two different types of vouchers?

I'm using the LNURLw plugin from LNBits here (ran an instance for 21 sats, funded the wallet with NWC and installed the plugin and followed this video (make sure you install v0.1.13 otherwise it won't work))

Addressed ✅

Min & Max amounts

For now I added code to throw error if amount is < min or > max, confirm button won't be disabled


Error Cloning private github repository within an organization

I have installed a readthedocs local server following the instructions but I am unable to build private github repositories from my organization through django-allauth.
I have admin privileges on all my repositories, and I have configured django-allauth in the admin panel:

Adding the Client ID and Secret key to "admin/socialaccounts/socialapplications".
Adding an access Token into "admin/socialaccounts/socialtoken".
Adding the following configuration to the "admin/oauth/remoterepository":

Repository clone url: https://github.com/my-organization/my-project.git
HTML url: https://github.com/my-organization/my-project
VCS: Git
Private repository: Checked
Has Admin privileges: Checked
Serialized api response: {}

Every time I try to build I get the following error:
Failed to import project: Failed to get code from 'https://github.com/my-organization/my-project.git' (git clone): 128 git
clone error output: fatal: could not read Username for 'https://github.com': No such device or address

Readthedocs is able to create the webhook in Github for triggering new builds but it is unable to clone the repository, how is that possible?

Fixed using token: http://stackoverflow.com/questions/43399148/failed-to-clone-private-github-repositories-on-a-readthedocs-local-server


Aux window: closing the window should bring back editors

Testing #196195
It would be great if we can have a command to bring back those editors to the main window.

Verification:

open a floating window with some editors (e.g. by dragging an editor tab out of the window)
close the floating window, e.g. from the X window button
verify all editors of the floating window are moved back to the main window


Categorical variables and multiple imputation

For categorical variables I understand we one hot encode variables and take the argmax as the imputation result.
With multiple iterations, numerical values are averaged and the resulting mean is taken as the model's prediction. What is the recommended way to do this for categorical variables? Should the plurality be taken as the final imputation?
Additionally, would it be valid to simply take a single iterations imputation result as the model's prediction? Are there any bounds on the bias of the model as a function on the number of iterations?
Thanks!

Some advice on these issues can be found in Section 3.2 of: Lall, Ranjit. "How multiple imputation makes a difference." Political Analysis 24, no. 4 (2016): 414-433.
What do you plan to do with the m imputed datasets? If you'll be analyzing them, you should leave the imputed datasets as they are and combine the results of the m separate analyses using the "Rubin combination rules."
In general, you'll need at least several imputed datasets for valid estimation. Lall's suggested rule of thumb is that m should be equal to the average missing-data rate of all variables in the imputation model.


Rewrite iTyped

I’ll comment details.

Some of the changes
No async forEach
Used just plain old JavaScript timers to manage asynchronous behaviour.
Use ES6 features to handle parameters
Used default values and simulated named parameters.
Configure optional cursor with only one intuitively-called cursor parameter
By default, iTyped shows a cursor with the character |. You can customiza the character or disable he cursor by passing cursor: "" or cursor: false.
Use document.getElementById
I think it was misleading to use document.querySelector. The user should use an id anyway. Unless they want to use iTyped in several elements at the same time, targeting them by class or tag, but, even then, it wouldn’t have worked because we weren’t using querySelectAll.
If the user is going to be bored, it’s better he know in advence what they have to tweak instead of having to find where the bug is.

Very thanks @felipe-campos! I liked! Please, submit your PR to develop! ;)


Add policyrules

Note: last 2 commits are the relevant ones, the rest is rebase from previous PR

Looks good overall


Users/shdeb/fix release

Update Build and Release workflows to v3.2
This is done to resolve the issue in release workflow where sign and publish tasks were failing. The latest version of workflow consists the fixes required.

The few "Possible Null reference assignment" can we tracked as a separate work item and analyzed / cleaned up.


docs: basic layout and navigation for doc site

Duplicate of #469 but built off master instead.

Coverage remained the same at 88.482% when pulling 5b3f8b485381cd6bfaa929b8ee23841782b38ec3 on abutterworth/doc-site-nav into 0af23a5a66bb63f07e57cacd8efc2b7cec5e347f on master.


Issue with v1.33

Hi,
after upgrading to v1.33, I get an error when trying to run tests:
Error: Cannot find module '@playwright/experimental-ct-core/lib/mount'
Require stack:
- C:\Git\es-web-components\node_modules\.pnpm\@sand4rt+experimental-ct-web@1.33.0_@playwright+test<EMAIL_ADDRESS>
I've updated Playwright as well to v1.33 - is there anything else I need to update/do?

Hey @holen82, thanks for creating the issue! Could you verify if this is resolved in v1.33.1?


Use int as the file descriptor type

Convert back from int32_t to simply int when storing file descriptor values,
conforming to the usual Linux standards for this topic.

This would address issue #56.


Updated header UI

Using organisationName and productName in config to populate header and page titles fully.
Updated logo used in header to no longer contain text.
Cleaned header styling.

Preview of updated header UI.


OHRI-1606: Remove Timeline and Previous pregnancies from the mother's MNCH Summary

Remove Timeline and Previous pregnancies from the mother's MNCH Summary

I have not deleted the timeline and previous pregnancies components


Ensure whoami failures (i.e. present but broken tokens) at startup don't break commands

Right now, if your token is invalid - i.e. expired, or for the wrong service (staging vs prod) or somehow corrupted - then every command fails, including help and login, because they try to get your username up front for analytics and that explodes. That's pretty bad. This stops everything exploding.
There's some other parts to complete this full, but once this is released in combination with https://github.com/resin-io/resin-sdk/pull/414 and https://github.com/resin-io-modules/resin-request/pull/105, this will solve #443 :champagne:

How about also adding a cathReturn after events.trackCommand(cli) in app.coffee? Makes sense that Tracking errors should never prevent you to do your actual task.

Another excellent idea :+1:.
Done, in the definition of trackCommand itself rather than the calling code, since nobody should ever be waiting on that.
I've also added a timeout, so if it works but it's just a bit slow, we don't wait around. Thought about not waiting for the promise at all, but it'd be nice to increase the odds we'll get events for commands that run pretty quickly (resin help).

Would it make sense to do something like this?
Promise.all([
	events.trackCommand(cli)
	cli.global?.help ?
		capitanoExecuteAsync(command: "help #{cli.command ? ''}")
		capitanoExecuteAsync(cli)
])

So that the actual command can start the processing right away?

Nice, definitely, done.


Skip F# net framework test

cc @pranavkm
@ryanbrandenburg FYI

Tracking issue https://github.com/aspnet/templating/issues/365


Cannot restore bak file

https://github.com/microsoft/sqlworkshops/blob/master/SQLServerMLServices/notebooks/03-Phase 1 - Business Understanding.ipynb restores the database. It mentions a file Activity.bak but the link it provides downloads Analysis.bak. This is the code:
/* Restore Database */ USE master; GO RESTORE DATABASE Activity    FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Backup\Activity.bak'; GO
Fixed code:
/* Restore Database */
USE master;
GO
RESTORE DATABASE Analysis
   FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Backup\Analysis.bak';
GO

Also, on my test machine with just one desk I cannot restore the Analysis.bak file, since it looking for D:\temp:
Msg 5133, Level 16, State 1, Line 3
Directory lookup for the file "d:\temp\tpcxbb_1gb.mdf" failed with the operating system error 3(The system cannot find the path specified.).
 Msg 3156, Level 16, State 3, Line 3
File 'tpcxbb_1gb' cannot be restored to 'd:\temp\tpcxbb_1gb.mdf'. Use WITH MOVE to identify a valid location for the file.
 Msg 5133, Level 16, State 1, Line 3
Directory lookup for the file "d:\temp\tpcxbb_1gb.ldf" failed with the operating system error 3(The system cannot find the path specified.).
 Msg 3156, Level 16, State 3, Line 3
File 'tpcxbb_1gb_log' cannot be restored to 'd:\temp\tpcxbb_1gb.ldf'. Use WITH MOVE to identify a valid location for the file.
 Msg 3119, Level 16, State 1, Line 3
Problems were identified while planning for the RESTORE statement. Previous messages provide details.
 Msg 3013, Level 16, State 1, Line 3
RESTORE DATABASE is terminating abnormally.

Corrected - good catch!


Marketing Asset Guidelines

@lindy65 please help with initial review on

structure of the document
asset guidelines
style guide and grammar review

Notes: We might want to add specific size guidelines for asset and screenshot dimensions depending on where they appear (Twitter banners, blog posts, ...)

Thanks @lindy65! Ready for review

Taking WIP label out, this should be ready for PM review as well

Looks good, submitted a small tweak to the relative links


Tuned BuildEnricher with respect to offline mode

TODO: There should be a more specific datum to decide whether the build is running in an Fabric8 CD environment or not.
BUILD_ID is to generic as it is set for every Jenkins build.

LGTM

[merge]


Email assessment results

Take list of results and email to a participant. This requires:

An email server (like Sendgrid) to send the email
UI/UX to let a user insert an email address

http://www.sinatrarb.com/faq.html#email


Find all references does not work in VS

Describe the bug
Find all references does not seem to work in Visual Studio.
Screenshots
Even though the highlighting is correct (i.e. the language server accurately finds all occurrences), the find all references query does not show any results:

System information
Windows 10, Microsoft Visual Studio Enterprise 2019 Version 16.9.10

@ricardo-espinoza Could you please take a look and make sure this is properly tracked and processed?


Quickstart WAYAT Backend Prepare Secret Management

Handled by main ticket https://github.com/devonfw/hangar/pull/309


missunderstanding about .model file type

Hello! Just tested video inference of this repo and noticed that pretrained model have .model format, not tensorflow .pb file.  My question is - which framework of DL has  .model saved model format? I have never seen this format before.
Also, I'm using C3D-Keras repo for training c3d models, and models are saving to keras .h5 format. Can I use my .h5 models to do inference in this repo, should I convert it from .h5 to .model format?

Same issue


xdem.coreg.ICP fails very underscriptively when not enough points are available

I tried wrap my head around an error I got which even took me to the OpenCV C++ source code. Ooga booga!
When running .fit_pts() on a dataset that eventually didn't have enough points for registration (I'm still trying to figure out where the problem is; might be another issue coming up), ICP fails with a very strange error:
error: OpenCV(4.7.0) /build/source/modules/core/src/matrix.cpp:749: error: (-215:Assertion failed) m.dims >= 2 in function 'Mat'

Some debugging later and I realized one of the point clouds were empty, which the above error is obviously trying to tell me.
There's already an exception handler (see below) for this but for some reason the exception is new. Easy fix is to just catch both exceptions and print the nicer error message.
https://github.com/GlacioHack/xdem/blob/3956073ef6c1846ffc6de3ac5368269f45131f42/xdem/coreg/affine.py#L543-L553

The cause of this might have been SciPy map coordinates default prefilter removing data points: https://github.com/GlacioHack/geoutils/pull/484


Update Detekt config file

When building the project, detekt throws some issues with deprecated configuration settings.
We should update the configuration file.

[ ] Deactivate wildcard rules


[BUG] Engine crash when clicking while loading assets

Describe the bug
Engine crash if the user clicks while loading.
To Reproduce
Steps to reproduce the behavior:

Remove all *.meta to force a new import
Open Engine
Click on the screen while the loading bar is showing.
See error

Expected behavior
Not crashing.

Popup is not blocking Input by our side, so we must control this. I will work on this on my branch, I will link the PR when done!

This is gonna be solved in #27

Also is the same problem as #30, so I'm closing it


[FEATURE] mlflow - model model version registration - await_creation_for

Problem Statement
Mlflow python api model version registration has a natural wait built in to wait til the registration has completed. Would like that in the databricks-sdk version as well.
Proposed Solution
I'd like the model_registry.create_model() to accept an input of await_registration_for: Number of seconds to wait for the model version to finish being created and is in READY status.

@smurching can you add x-databricks-wait to the relevant place in the specs?

Sure! Although @lufeiwang one question about your use case - would it suffice to use the MLflow Python client to create new model versions?
Some broader context: we recently launched models in Unity Catalog, which we expect to be the future of the MLflow model registry on Databricks. We're planning to launch an SDK for models in the Unity Catalog and deprecate the SDK for the workspace model registry (which you're currently using) in the coming weeks. However, the MLflow python client is supported for both models in Unity Catalog and the workspace model registry, so using that may save you some migration cost

@smurching sure let me share some context here. I need to use the databricks sdk over the mlflow native python library because we have model registration workflows both within and outside of databricks, and i'm trying to align the behaviors of the two access patterns. One example is that I want to make it so that models are always registered under service principles rather than individual users - and this doesn't seem to be the case when using mlflow on databricks, as the owner field is set automatically, and afaik there is no way to alter that.

@lufeiwang appreciate that, thanks for the details!

we have model registration workflows both within and outside of databricks,
On this point, the MLflow Python client can actually be used to run workloads against Databricks from outside Databricks, e.g. as described here. I believe the auth setup is the same as the Python SDK.

One example is that I want to make it so that models are always registered under service principles rather than individual users - and this doesn't seem to be the case when using mlflow on databricks, as the owner field is set automatically, and afaik there is no way to alter that

Got it - for any client running against the Databricks REST API, the owner of the model version or other entity will be set as the principal who authenticates to make the request - so if you use the MLflow python client but authenticate using a service principal's API token, the model versions etc will be created as the service principal

@smurching sorry can you elaborate on how within databricks i can get the owner to be the service principal? when running outside of databricks, mlflow seems to be picking up the service principal auth properly and registering actions under that account; but under databricks, my service principal seems to be ignored and everything is going through as the user instead.

one more q on the topic of databricks-sdk deprecating model registry related calls - does this include model_registry.create_webhook related calls?

one more q on the topic of databricks-sdk deprecating model registry related calls - does this include model_registry.create_webhook related calls?

Right (btw was nice to chat today - sorry for the slow responses here!) - this SDK will be deprecated (as we try to encourage adoption of models in Unity Catalog) but we won't drop it or break the underlying REST API

how within databricks i can get the owner to be the service principal? when running outside of databricks, mlflow seems to be picking up the service principal auth properly and registering actions under that account; but under databricks, my service principal seems to be ignored and everything is going through as the user instead.

Chatted with Kimberly about this, if you can file a ticket with her we can take a better look - it should be possible to authenticate the same way using the MLflow Python client and Databricks SDK


Notify the user when the connection is rejected because of authentication

The idea is to propagate 443 status codes to the user and let them know they are not authorized

Good idea. I changed it as suggested. The only variation is that I am not passing the project as it is not available in the context in which we make the call


CMYK Object creation - Not an Issue

Hi Yan,
Can you guide me in creating CMYK object?
I did try the below, But its not working.
.withMember(new AfpBuilder() .with(AfplibPackage.SEC__COLSIZE1, 0) .with(AfplibPackage.SEC__COLSIZE1, 0) .with(AfplibPackage.SEC__COLSIZE1, 0) .with(AfplibPackage.SEC__COLSIZE1, 255) .create(SEC.class))
I am trying to simulate a working AFP and it looks like the below when open in AFP explorer.
SEC CMYK=0,0,0,255

@bintesh,
try this instead:
new AfpBuilder()
    .with(AfplibPackage.SEC__COLSIZE1, 0x000000ff)
    .create(SEC.class);

@bintesh,
can you confirm this is what you expected?

Hi Yan,
Unfortunately not working.. still not creating CMYK object.

@bintesh,
ok then I need a little more context here - what do you want to achieve. Do you have any sample files?
y

I am trying to recreate a page which has a specific color ( kind of pink/ash... .) In source AFP the color is specified by CMYK  (CMYK 0,0,0,13). The only way to exactly match the color I believe is to have the exact same value for the CMYK object.
see the screenshot below, hope this helps.

Have a look at this snippet:
https://raw.githubusercontent.com/yan74/afplib/cf5cfe6589bf6409f1c6925f4c9821bb1f81462b/org.afplib.samples/src/main/java/org/afplib/samples/snippets/CreatePage.java
	PTX ptx = new AfpBuilder()
			.withMember(new AfpBuilder()								// Text Orientation -> Left to Right // Top to Bottom
					.with(AfplibPackage.STO__IORNTION, STOIORNTION.CONST0DEGREES_VALUE)
					.with(AfplibPackage.STO__BORNTION, STOBORNTION.CONST90DEGREES_VALUE)
					.create(STO.class))
			.withMember(new AfpBuilder()
					.with(AfplibPackage.AMB__DSPLCMNT, 1440)			// Text Cursor to 1 inch from top edge of the paper
					.create(AMB.class))
			.withMember(new AfpBuilder()
					.with(AfplibPackage.AMI__DSPLCMNT, 720)				// Text Cursor to 0.5 inches from left edge of the paper
					.create(AMI.class))
			.withMember(new AfpBuilder()								// Text Color
					.with(AfplibPackage.SEC__COLSPCE, SECCOLSPCE.CONST_CMYK_VALUE)
					.with(AfplibPackage.SEC__COLSIZE1, 8)
					.with(AfplibPackage.SEC__COLSIZE2, 8)
					.with(AfplibPackage.SEC__COLSIZE3, 8)
					.with(AfplibPackage.SEC__COLSIZE4, 8)
					.with(AfplibPackage.SEC__COLVALUE, new byte[] { (byte) 0x90, (byte) 0xB2, 0x00, 0x00} )
					.create(SEC.class))
			.withMember(new AfpBuilder()
					.with(AfplibPackage.SCFL__LID, 1)					// identifier mapped in MCF above
					.create(SCFL.class))
			.withMember(new AfpBuilder()
					.with(AfplibPackage.TRN__TRNDATA, text)
					.create(TRN.class))
			.create(PTX.class);

The code above is responsible for placing the text (Hello World) in pink. The complete snippet does create a full page including font mapping. This is how it looks like:

Hope that helps!

Thanks Yan. It worked!!!


Add support for JSON array payloads for multiple config messages

We use retained config messages to auto-configure devices, therefore we need a way to support multiple configs in a single message, since we no longer have a separate config topic per index.

Originally raised in StateMonitor firmware here


Overseas passport - DRY up cost info

Paired with @chrisroos.
We've DRYed up the cost/fee table and associated information that were previously rendered in multiple places in both the ips_application_result_online template and the _cost partial.
We've grouped logic relating to a particular concern in the following partials:

_courier_fee_information
_fee_information
_passport_fee_table
_payment_instructions

This grouping will hopefully make it easier to remove country specific branches from the partials as they are not spread in multiples files.
Expected changes
None. This is a refactoring and doesn't affect the external behaviour of the app.

Since you paired on this, perhaps it doesn't need to be code reviewed?

Since you paired on this, perhaps it doesn't need to be code reviewed?

I'll leave this for you to decide, @pmanrubia. I'd be happy for you to merge this without review given that we essentially reviewed it as we went.

Rebasing with master, and force pushing in preparation for merging

Hi @chrisroos, this card finally went live today.
Sorry it took so much time, but we forgot about this PR 😊
Thank you for your work on this 👍