eventstore: 4.1.0 -> 4.1.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/EventStore/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/sv7b0cs1a4vhh5zs4a0ync4rhs0az7gi-EventStore-4.1.1/bin/clusternode -h’ got 0 exit code
ran ‘/nix/store/sv7b0cs1a4vhh5zs4a0ync4rhs0az7gi-EventStore-4.1.1/bin/clusternode --help’ got 0 exit code
found 4.1.1 with grep in /nix/store/sv7b0cs1a4vhh5zs4a0ync4rhs0az7gi-EventStore-4.1.1
directory tree listing: https://gist.github.com/952ce30807022dab867694094dd49497

cc @puffnfresh for review

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: eventstore
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: eventstore
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: eventstore
Partial log (click to expand)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Reverted ./src/EventStore.Transport.Http/Properties/AssemblyInfo.cs
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Reverted ./src/EventStore.Projections.Core.Tests/Properties/AssemblyInfo.cs
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Reverted ./src/EventStore.Common/Utils/VersionInfo.cs
installing
/nix/store/4wbgv0x3xw8dycjxkffvagb49s2xkp12-EventStore-4.1.1

I currently get:
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. --->
System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.TermInfoDriver..ctor (System.String term) [0x00058] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.ConsoleDriver..cctor () [0x00062] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.Console..cctor () [0x000a8] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
   --- End of inner exception stack trace ---
  at EventStore.ClusterNode.Program.Main (System.String[] args) [0x00018] in <c2a2594c29784e0688544358d16f481c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.TermInfoDriver..ctor (System.String term) [0x00058] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.ConsoleDriver..cctor () [0x00062] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
  at System.Console..cctor () [0x000a8] in <7eb7eae4ee6347c2a517b26ca3918ed8>:0
   --- End of inner exception stack trace ---
  at EventStore.ClusterNode.Program.Main (System.String[] args) [0x00018] in <c2a2594c29784e0688544358d16f481c>:0

when running /nix/store/4wbgv0x3xw8dycjxkffvagb49s2xkp12-EventStore-4.1.1/bin/clusternode.
This might be fixed by a newer mono version.

@Mic92 you get this with this patch and you don't without?

Also seems to happen in the old version.

Since the bug exists with or without this update we might as well merge it.


Unexpected error occured

An unexpected error occurred:

Error: Failed to compile modified contracts for namespaced storage:

ParserError: Function, variable, struct or modifier declaration expected.
   --> contracts/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Smart.sol:141:6:
    |
141 |      ;
    |      ^

Please report this at https://zpl.in/upgrades/report. If possible, include the source code for the contracts mentioned in the errors above.

I am upgrading a contract that is a beacon proxy.  The original implementation did NOT have a library, and the new implementation does have a library.  The library is a separate read-only contract and is just referenced using an Import at the top of the implementation.   I believe trying to perform this kind of upgrade is throwing this error for me.
Anyways this is my commit
https://github.com/teller-protocol/teller-protocol-v2/commit/c6b3f33aa57e6a54d8bdd7e3664cca52d0a66a7c
and my contracts that are most pertinent to this error are LenderCommitmentGroup_Smart.sol and UniswapPricingLibrary.sol

Hi, can you check which version of @openzeppelin/upgrades-core is installed?  I don't see this error when using<EMAIL_ADDRESS>

Actually i solved the issue - i was trying to upgrade it as a regular proxy
but it is actually a beacon proxy. And im doing the upgrade via a defender
proposal so .. there be dragons .   Maybe we just brush this under a rug
for now lol
On Thu, Sep 26, 2024 at 3:43 PM Eric Lau @.***> wrote:

Hi, can you check which version of @openzeppelin/upgrades-core is
installed? I don't see this error when using
@@.***
—
Reply to this email directly, view it on GitHub
https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/1085#issuecomment-2377793997,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPVWLZM3TMZMUIQEPAZ6KLZYRPVRAVCNFSM6AAAAABO5LJUZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXG44TGOJZG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

This issue looks similar to https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/1016 which was fixed in<EMAIL_ADDRESS>I notice in your latest commit https://github.com/teller-protocol/teller-protocol-v2/pull/178/commits/2e7a3be4aa8390448b35e6498f1add73a2decb26 , you've updated the dependencies from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>which is the latest release and contains the above fix.
So it looks this was resolved by the dependency update.  Let me know if you have further issues though, thanks.


Unable to upgrade to 1.x from 0.1.0

What happened?
pulumi up operation with refresh flag throws error below and I tried the approach suggested in this thread but unfortunately it didn’t work either as running refresh gave me the same error.
panic: interface conversion: interface {} is nil, not string

Another method I’ve tired was ran up without refresh while it didn’t emit the error, it wanted to replace the kafka topic which we cannot do as doing so would cause data loss in our prod environment.
So I am looking for the right way to upgrade the package.
Steps to reproduce

Create provider alongside minimal Kafka resources using 0.1.0
Upgrade package to 1.x e.g 1.1.1
Run pulumi up

Expected Behavior
up should run successfully. If code changes are required as mentioned in that thread, I should run up without issues after changes are made.
Actual Behavior
It throws error and stops the operation.
Output of pulumi about
CLI
Version      3.31.0
Go Version   go1.17.9
Go Compiler  gc
Plugins
NAME            VERSION
aws             5.6.0
confluentcloud  1.4.0
docker          3.0.0
kubernetes      3.22.1
nodejs          unknown
Host
OS       debian
Version  11.3
Arch     x86_64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @DavidHe1127, thanks for the issue! I've taken a look at this (and the linked issues). I tried upgrading from 0.1.0 to 1.1.1 following the instructions in #14 and it seems to have worked. Could you tell me if what I am doing differs from your approach?

Create a new pulumi project with the 0.1 version of the provider:

$ pulumi new typescript
  <configure new project>
$ npm install<EMAIL_ADDRESS>

Add the example from #14 to index.ts. I copied this exactly, just changing the names (stack72-2).
Run pulumi up, and see the following 7 resources:

 +   pulumi:pulumi:Stack                     cc-test-dev  created (0.65s)
 +   ├─ confluentcloud:index:ServiceAccount  roo-test     created (1s)
 +   ├─ confluentcloud:index:Environment     roo-test     created (1s)
 +   ├─ confluentcloud:index:KafkaCluster    roo-test     created (6s)
 +   ├─ confluentcloud:index:RoleBinding     roo-test     created (41s)
 +   ├─ confluentcloud:index:ApiKey          roo-test     created (123s)
 +   └─ confluentcloud:index:KafkaTopic      roo-test     created (12s)

Upgrade to v1.1.1 of the provider:

$ npm install<EMAIL_ADDRESS>

Run pulumi up again. This reports no changes: Resources: 7 unchanged.
Run pulumi refresh. This shows the diff from httpEndpoint to restEndpoint, as expected:

     pulumi:pulumi:Stack                     cc-test-dev
     ├─ confluentcloud:index:Environment     roo-test
     ├─ confluentcloud:index:RoleBinding     roo-test
 ~   ├─ confluentcloud:index:KafkaCluster    roo-test     update     [diff: +restEndpoint-httpEndpoint~__meta]
 ~   ├─ confluentcloud:index:KafkaTopic      roo-test     update     [diff: +restEndpoint~__meta]
     ├─ confluentcloud:index:ServiceAccount  roo-test
 ~   └─ confluentcloud:index:ApiKey          roo-test     update     [diff: +disableWaitForReady]

In index.ts, we can now swap the httpEndpoint: cluster.httpEndpoint in the Kafka topic to restEndpoint: cluster.restEndpoint, so our code matches the state.

Hopefully this is an acceptable upgrade path? If your process or your code differs from what I did here, could you share it so we can try and find where the problem is occuring? Thanks!

Thanks for your quick response @roothorp. Did you include --refresh flag in your up operation? That's what I did which could explain why it didn't happen to you? We are planning to remove --refresh flag as it seems it doesn't work as expected sometimes.

Will close this issue now as I've found a fix


Add max_context_length parameter to HookedTransformer

Description
Adds a max_context_length parameter to HookedTransformer.from_pretrained,  HookedTransformer.from_pretrained_no_processing and loading_from_pretrained.get_pretrained_model_config, which caps the context length. By default, it is set to 2048 for from_pretrained, and None for the others (which leaves it uncapped).
Due to attention masks being stored ahead of time, memory usage grows with the square of context length, leading to some models (e.g. mistral) being unable to fit on consumer GPUs.
Could potentially be breaking if the longer context was relied on.
Fixes #490
Related to #479
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

BTW, thanks a lot for all the PRs recently!

BTW, thanks a lot for all the PRs recently!

I'm glad to help, its a very useful library
Also lmk if there are any other particular issues that would be good to solve

Closing this in favor of #493, its perhaps worth adding the option to extend the context length, but there seems to be no need to shorten it given how little memory it should use


FEATURE - tile-config-generator populate command

Hi folks,
I wanna throw a new command idea out there to see what people think in terms of usefulness and feasibility.
Typically, the tile-config-generator is used to configure Pivotal tiles with the following workflow:

run tile-config-generator generate --pivotal-file-path mysql.pivotal to get [ops-files/, product.yml, default-vars.yml...]
select the necessary ops-files and populate custom vars specific to the users environment (some-ops-files/, custom-vars.yml)
squash [product.yml, default-vars.yml, some-ops-files/, custom-vars.yml] into staged-config.yml
run om configure-product

Step 2 from above is the most cumbersome, and I want to propose a new command: populate to automate it.
populate will essentially reverse the above workflow.

run om staged-config -p msyql > staged-config.yml
run tile-config-generator populate --staged-config-file-path staged-config.yml to get [product.yml, default-vars.yml, some-ops-files/, custom-vars.yml]

Voila, step 2 from above is now pretty easy.
NOTE:

i haven't dug too deep into the details but there's a chance metadata.yml from the tile will also need to be provided to populate
I'm not attached to the name populate, my reasoning for the name was it sorta populates the template that the generate command outputs.

Thoughts? Criticisms?
Thanks,
Alex

@melnikalex  Thanks for the request... Just trying to dig in a bit more to make sure I understand...
Is this about how if you already have a tile installed can you quickly reverse engineer to give you which ops-files (selectors, optional properties) are currently used and also which values deviate from the defaults?

@calebwashburn yup that's exactly it!

Does this sound feasible?

This sounds feasible/desired but will be a fair amount of work to implement.  Will update this issue once we have a MVP for this.

@calebwashburn I have a basic POC here: https://github.com/pivotalservices/tile-config-generator/pull/21

I'd love to know what you think. It still needs a little refactoring/cleanup but I want to get the conversation started on what the command will look like.

The functionality of this tool has been moved into the officially supported om tooling.  https://github.com/pivotalservices/tile-config-generator/blob/master/README.md#deprecation-notice Please re-open this issue in that repository as that will get prioritize by team focusing on the future development.


Help of custom command not displayed properly

What version of CUE are you using (cue version)?

$ cue version

cue version v0.4.3

Does this issue reproduce with the latest release?
yes
What did you do?
Created a custom command with documentation and tried to access the help

import (
    "tool/cli"
)

command: testcmd: {

    $short: "Short description"

    $uasge: "Usage"

    $long: "Long description"

    write: cli.Print & {
        text: "Hello"
    }
}

if I ask for help for the builtin commands e.g. cue eval --help, then the relevant help is displayed.
For my custom command cue testcmd --help or cue cmd testcmd --help gives an error; cannot find package "--help"

What did you expect to see?
The help text
What did you see instead?
cannot find package "--help" message
Maybe unrelated, but I've also found that tagging with custom commands works only if tagging comes before the command. So cue --inject env=dev testcmd works, but cue testcmd --inject env=dev fails with a similar message cannot find package "--inject"

On https://cuelang.org/docs/usecases/scripting/ it says User-defined command line flags are not yet supported.
So this answers my question.


error when trying to apply migrations to another database [BUG]

Describe the bug
error when trying to apply migrations to another database
To Reproduce
I have 3 databases on my project:
default - pgsql
external - pgsql
clickhouse - clickhouse
I added clickhouse recently
before its addition there were models for the external pgsql database. migrations were applied without problems.
after adding the clickhouse - I added several models for it where there was a field with the DateTimeField type
I dropped data from an external database and wanted to apply old migrations with the command: python manage.py migrate --database=external , but got this traceback
Expected behavior
migrations must apply
Versions

ClickHouse server version. <IP_ADDRESS>
Python version. 3.11.2
Clickhouse-driver version. 0.2.6
Django version. 4.1.9
Django clickhouse backend version. 1.1.1

Traceback (most recent call last):
  File "/usr/lib/python3.11/runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
    cli.main()
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
    run()
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/home/fleapse/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "/home/fleapse/Projects/django_comments/manage.py", line 22, in <module>
    main()
  File "/home/fleapse/Projects/django_comments/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/base.py", line 96, in wrapped
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 349, in handle
    post_migrate_state = executor.migrate(
                         ^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/db/migrations/executor.py", line 107, in migrate
    self.recorder.ensure_schema()
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/clickhouse_backend/patch/migrations.py", line 142, in ensure_schema
    editor.create_model(self.Migration)
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 444, in create_model
    sql, params = self.table_sql(model)
                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 216, in table_sql
    definition, extra_params = self.column_sql(model, field)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 348, in column_sql
    field_db_params = field.db_parameters(connection=self.connection)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/django/db/models/fields/__init__.py", line 823, in db_parameters
    type_string = self.db_type(connection)
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/clickhouse_backend/models/fields/base.py", line 76, in db_type
    self._check_backend(connection)
  File "/home/fleapse/.cache/pypoetry/virtualenvs/django-comments-CMNQPpe7-py3.11/lib/python3.11/site-packages/clickhouse_backend/models/fields/base.py", line 70, in _check_backend
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: DateTimeField must only be used with django clickhouse backend.

class BaseRouter:
    external_route_app_labels = {"external"}
    clickhouse_route_app_labels = {"clickhouse"}

    def db_for_read(self, model, **hints):
        if model._meta.app_label in self.external_route_app_labels:
            return "external"
        if model._meta.app_label in self.clickhouse_route_app_labels:
            return "clickhouse"
        return "default"

    def db_for_write(self, model, **hints):
        if model._meta.app_label in self.external_route_app_labels:
            return "external"
        if model._meta.app_label in self.clickhouse_route_app_labels:
            return "clickhouse"
        return "default"

    def allow_relation(self, obj1, obj2, **hints):
        return True

    def allow_migrate(self, db, app_label, model_name=None, **hints):
        if app_label == "external":
            return db == "external"
        if app_label == "clickhouse":
            return db == "clickhouse"
        if db == "external" or db == "clickhouse":
            return False
        return None

It’s worth adding that models for the external base are only in the external app, and for clickhouse - only in the clickhouse app

locally it was possible to apply the old migrations - after I commented out the clickhouse app in INSTALLED_APPS

Thank you, I will fix this soon.

@jayvynl, when you will add release with this fix?

@jayvynl, when you will add release with this fix?

In 1 or 2 days.

@Hunter-99 released as 1.1.2

Great!

@jayvynl, The same error occurred. The release is installed 1.1.2. Help, how to fix the error?


add upbound aws provider

What does this PR do?
Adds configurations for the Upbound AWS provider.
Motivation
terrajet is being deprecated and we need to move to the Upbound providers.
More

[ ] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)

[ ] Yes, I have added a new example under examples to support my PR

[ ] Yes, I have updated the docs for this feature

[ ] Yes, I have linked to an issue or feature request (applicable to PRs that solves a bug or a feature request)

Note:

Not all the PRs require examples and docs
We prefer small, well tested pull requests. Please ensure your pull requests are self-contained, and commits are squashed

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Yeah this is tested and works. Currently working on compositions for this provider. Thanks Vara!


The second e-mail domain of Karaganda Medical University

The second e-mail domain of Karaganda Medical University. The first domain @qmu.kz has already been registered with JetBrains. http://kgmu.kz/ redirects to the university's home page https://qmu.edu.kz/

@slavashilke First stage of verification passed, official domain is qmu.edu.kz as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://qmu.edu.kz/en/administration/staff/16

@slavashilke Pull request merged. Thank you!


[Question] Prerelease support with all PRs merged in main branch

Hi Mike,
Just a quick question for the prerelease support. With the current configuration support can I create prerelease that list all the PRs merged between the latest prod tag and main branch? Here is my use case:

I have tag prod-10 created for example and respective release for it added.
I have several PRs merged into main after the prod-10 tag was created. After each PR merge I want to run GitHub action that generate pre-release and list respective PRs as part of it.
Once I create prod-11 tag delete the pre-release and create release for this tag.

Well, I believe this is a bit tricky use case so I was wondering if this is supported. Thank you in advance for your reply.

Hi @dimofeev
If I follow properly you basically want ignorePreReleases always set to true in that case the action will look for the latest full release to collect the changelog

Thank you, Mike. I'll give a try.


Why root directory is hard coded?

I'm running into a problem with this behavior
https://github.com/kostya/eye/blob/145b6ca66bc602d1950a8064676df58a97c0e4fa/lib/eye/local.rb#L9
I run leye as a non-privileged user with no login shell.
When I do this I specify that EYE_HOME should point to some directory.
This makes it so that as a root user I can not run any eye commands because the sock is never found as it always looks in the /var/run directory

You can/should also set EYE_SOCK and EYE_PID

should work in 0.9.4

Thanks!


health check endpoint

Codecov Report

Merging #9 into master will decrease coverage by 1.42%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   92.14%   90.72%   -1.43%
==========================================
  Files          17       18       +1
  Lines         280      291      +11
  Branches       18       16       -2
==========================================
+ Hits          258      264       +6
- Misses         22       27       +5

Impacted Files
Coverage Δ

.../com/ing/wbaa/airlock/sts/service/db/MariaDb.scala
30% <0%> (-30%)
:arrow_down:

...a/com/ing/wbaa/airlock/sts/AirlockStsService.scala
100% <100%> (ø)
:arrow_up:

...scala/com/ing/wbaa/airlock/sts/api/ServerApi.scala
100% <100%> (ø)

Continue to review full report at Codecov.

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


UseStaticFiles with StaticFileOptions/FileExtensionContentTypeProvider breaks server side Blazor

Describe the bug
Passing StaticFileOptions with a FileExtensionContentTypeProvider to app.UseStaticFiles breaks Blazor
To Reproduce
dotnet new blazorserverside
edit startup.cs, replacing  app.UseStaticFiles(); with the following ...
var provider = new FileExtensionContentTypeProvider();
provider.Mappings.Add(".appx", "application/octet-stream");
app.UseStaticFiles(new StaticFileOptions() { ContentTypeProvider = provider });
Expected behavior
Blazor works
Error message
info: Microsoft.AspNetCore.Hosting.Internal.GenericWebHostService[1]
Request starting HTTP/2 GET https://localhost:5001/_framework/blazor.server.js
info: Microsoft.AspNetCore.Hosting.Internal.GenericWebHostService[2]
Request finished in 2.66ms 404
dotnet version
dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview4-011223
Commit:    118dd862c8
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17763
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview4-011223\
Host (useful for support):
Version: 3.0.0-preview4-27615-11
Commit:  ee54d4cbd2
.NET Core SDKs installed:
2.1.600 [C:\Program Files\dotnet\sdk]
2.1.601 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.700-preview-009597 [C:\Program Files\dotnet\sdk]
3.0.100-preview4-011223 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview-19075-0444 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview3-19153-02 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview4-19216-03 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview-27324-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview3-27503-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview4-27615-11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview4-27613-28 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

As is often the way, writing this up made me think about it more.    No it doesn't.

Thanks for contacting us, @glent1.
We do plan to fix this as part of #6349. Leaving this issue open to verify this scenario.

This is fixed for static assets comming out of RCL, but I fear that this is by design for blazor-server side as it brings in an embedded file and to do so it configures the options for the static files middleware. If you use your own options then it misconfigures blazor server-side.
The alternatives are:

Configure options though DI, using services.Configure<StaticFileOptions>(...)
Add two calls to app.UseStaticFiles one with your options before and another one like app.UseStaticFiles() later.

All content but blazor.server.js will be served with your options.

@rynowak @SteveSandersonMS in case we want to reconsider not shipping blazor.server.js as an embedded file, as the reasons against it keep stacking up.

I'm closing this as by design as this is a limitation of the current experience we plan to ship with.


Refactor Header and Navigation

Refactor Header styling
Update the header to follow the mockup on Figma. This mostly consists moving the header to the side panel on desktop view and updating the list items.

[ ] Move the header to the left-hand side of the screen on desktop view
[ ] Header remains on top in tablet and mobile view
[ ] Header expands to the right when hamburger is clicked on desktop
[ ] Header expands down when hamburger is clicked on tablet or mobile

Create new Navigation <li>
Update the list items in the navigation menu. Consider using icons if possible.

[ ] Daily Game
[ ] Continuous Game
[ ] Profile
[ ] Login
[ ] Signup
[ ] Home

Nice work on #12 @Brett-NT 👍

Closed by #51


MDL 2

Hi,
do you intend to port react-mdl to MDL v2 ?
Thanks for your super work anyway !
arnaud.

MDL v2 is far from being released, but yes we'll support it.
React-MDL v2 will be a lot different too. Instead of using their javascript, we'll rebuild every component in a true React way, we'll only use the css they provide.


Use it in IDE

How can I use pycode_similar.py in pycharm ? I want to see the results in the pycharm terminal, how should I do it ?

Just clone the repo, open & run the pycode_similar.py in pycharm.


Add workflow for Linux Arm64

Context: GitHub action must be available that automatically builds, on a schedule, Linux Arm64 wheels of Catalyst
Description of the Change: It builds and tests Catalyst AARCH64 Linux wheels inside a manylinux_aarch64 docker image on the macOS M2 runner
Benefits: Support for a new Linux Arm64
[sc-60597]

Tagging @rashidnhm for a review of the runner setup stuff.

Hi Raul, the code looks much better, thanks! One minor concern that I have is about the folder naming: you put the scripts into the linux_arm64 folder but scripts use dnf package manager which is specific to RedHat Linux distro family. Same for /opt/rh/* paths. Should we narrow down the folder name to capture this dependency?

Hi @rauletorresc , the code looks much better, thanks! One minor concern that I have is about the folder naming: you put the scripts into the linux_arm64 folder but the scripts use dnf package manager which is specific to RedHat Linux distro family. Same for /opt/rh/* paths. Should we narrow down the folder name to capture the dependency on the RedHat infrastructure?

This is because manylinux_2_28 uses AlmaLinux. Maybe renaming the folder to 'manylinux_2_28_aarch64' would reflect those dependencies better without being too specific?

Hi @rauletorresc , the code looks much better, thanks! One minor concern that I have is about the folder naming: you put the scripts into the linux_arm64 folder but the scripts use dnf package manager which is specific to RedHat Linux distro family. Same for /opt/rh/* paths. Should we narrow down the folder name to capture the dependency on the RedHat infrastructure?

This is because manylinux_2_28 uses AlmaLinux. Maybe renaming the folder to 'manylinux_2_28_aarch64' would reflect those dependencies better without being too specific?

Since these are CI builder specific, and manylinux_2_x is the standard builder for Python wheels, I think it's probably fine to leave as is. If we want to be specific linux_arm64/rh8/build_catalyst.sh could be the path, and should imply compatibility with RedHat8 (incl. AlmaLinux8/manylinux_2_28 and Rocky Linux 8). Though, I'd say this only matters if the goal is to provide bash scripts to end users outside the CI env (i.e. not in the .github folder, but part of the package source scripts).
Though, I'll leave the decision to you both on what to do here.

Hi @rauletorresc , the code looks much better, thanks! One minor concern that I have is about the folder naming: you put the scripts into the linux_arm64 folder but the scripts use dnf package manager which is specific to RedHat Linux distro family. Same for /opt/rh/* paths. Should we narrow down the folder name to capture the dependency on the RedHat infrastructure?

This is because manylinux_2_28 uses AlmaLinux. Maybe renaming the folder to 'manylinux_2_28_aarch64' would reflect those dependencies better without being too specific?

Since these are CI builder specific, and manylinux_2_x is the standard builder for Python wheels, I think it's probably fine to leave as is. If we want to be specific linux_arm64/rh8/build_catalyst.sh could be the path, and should imply compatibility with RedHat8 (incl. AlmaLinux8/manylinux_2_28 and Rocky Linux 8). Though, I'd say this only matters if the goal is to provide bash scripts to end users outside the CI env (i.e. not in the .github folder, but part of the package source scripts).
Though, I'll leave the decision to you both on what to do here.

Leaving it without change would confuse other linux' users I think.
linux_arm64/rh8/build_catalyst.sh looks good, lets go with it!

Hi @rauletorresc , the code looks much better, thanks! One minor concern that I have is about the folder naming: you put the scripts into the linux_arm64 folder but the scripts use dnf package manager which is specific to RedHat Linux distro family. Same for /opt/rh/* paths. Should we narrow down the folder name to capture the dependency on the RedHat infrastructure?

This is because manylinux_2_28 uses AlmaLinux. Maybe renaming the folder to 'manylinux_2_28_aarch64' would reflect those dependencies better without being too specific?

Since these are CI builder specific, and manylinux_2_x is the standard builder for Python wheels, I think it's probably fine to leave as is. If we want to be specific linux_arm64/rh8/build_catalyst.sh could be the path, and should imply compatibility with RedHat8 (incl. AlmaLinux8/manylinux_2_28 and Rocky Linux 8). Though, I'd say this only matters if the goal is to provide bash scripts to end users outside the CI env (i.e. not in the .github folder, but part of the package source scripts).
Though, I'll leave the decision to you both on what to do here.

Leaving it without change would confuse other linux' users I think.
linux_arm64/rh8/build_catalyst.sh looks good, lets go with it!

Done!


Design Page: Instance Threads

Part of #120

[ ] Mockup ready for approval
[ ] Mockup approved

Latest Render

threads

Moved Settings to upper right
Added notifications area to upper right

threads

Moved Settings button to top right
Added Notifications link to top right
Added version number to brand area

Will this view/reports be required with Envoy/gRPC way forward?

Envoy doesn't know any of this stuff. As I understand it, we don't have easy access to this sort of stuff from compiled Go binaries because the code is running bare-metal and not on an intermediate run-time like the JVM or the CLR. I think it would require something like a pprof snapshot, but I don't believe that's currently considering in-scope for the custom golang instrumentation.


[Impeller] Android Preview

The Android migration to Impeller will be similar to that on iOS. Flutter has been OpenGL ES only on Android since the beginning. With Impeller, Flutter will use Vulkan for the first time. Productionizing the Vulkan backend with OpenGL ES fallback.

The work that was prerequisite for the preview has been completed, so I'll go ahead and close this.


[Script]: Converting PDF to Audiobook using PYTHON script

Aim
I would to contribute a python script which can convert any pdf into audioable book.
Details
This script is very helpful for those who want to listen their book and not want to read that.
This also saves time of a person to by convert pdf to audiobook to listen it anywhere.
Keeps eyes safe from the computer devices, etc.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@1e9abhi1e10 @Yashbhadiyadra @avinashkranjan Sirs, please assign this project to me to work on it and contribute a valuable contribution under GSSoC'23 program


Create chapter 6 'vegetable gimmick'

Chapter 6 will introduce 'cheese blocks' instead of a vegetable gimmick.


Visualize coercions with hover

See: https://github.com/intellij-rust/intellij-rust/pull/4768
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Neat.20visualisation.20of.20coecions.20in.20ItelliJ

Bumping this because I think we have all the necessary information for this now, it just needs some code in the hover implementation. Might add some instructions later.

I can do this, gonna touch some stuff up on hover anyways


Update Sfpowerscripts Artifact package version ID in Prepare

@aly76 I dont think we should not update the develop branch with an early update on the package version id, as this feature is not officially released? Can we add a caveat stating if you are using alpha, use this new package?

Codecov Report

Merging #547 (9777db7) into develop (f39432d) will decrease coverage by 4.06%.
The diff coverage is 11.11%.

@@             Coverage Diff             @@
##           develop     #547      +/-   ##
===========================================
- Coverage    80.01%   75.94%   -4.07%
===========================================
  Files           38       39       +1
  Lines         1291     1372      +81
  Branches       226      248      +22
===========================================
+ Hits          1033     1042       +9
- Misses         258      330      +72

Impacted Files
Coverage Δ

packages/core/src/artifacts/ArtifactMigrator.ts
7.69% <7.69%> (ø)

...src/artifacts/ArtifactInstallationStatusUpdater.ts
100.00% <100.00%> (ø)

...es/core/src/artifacts/InstalledAritfactsFetcher.ts
94.44% <100.00%> (+0.32%)
:arrow_up:

Continue to review full report at Codecov.

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

@aly76 I dont think we should not update the develop branch with an early update on the package version id, as this feature is not officially released? Can we add a caveat stating if you are using alpha, use this new package?

Okay, I'll just put the docs in a separate open PR that we can merge before going to prod


Suggestion: Use Event Sourcing as configuration store

Event sourcing could be the configuration store.  The applications can read the configuration from the materialized views and can be event consumers that listen to the configuration changes.  The benefits are:

Full history audit
Configuration recovery by going back to a snapshot or issuing compensating events
Separation of configuration update and configuration read for performance and resiliency

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

ID: 32a97c79-e300-9361-a398-558ae26378ce
Version Independent ID: 30f222db-c119-69c7-f542-87e012890026
Content: External Configuration Store pattern - Cloud Design Patterns
Content Source: docs/patterns/external-configuration-store.md
Service: architecture-center
Sub-service: design-pattern
GitHub Login: @ckittel
Microsoft Alias: chkittel

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 524583

That would indeed be an interesting combination of two cloud design patterns, for the reasons you mentioned. Thanks for sharing your thoughts! This article is less focused on a specific, self-coded implementation; but if we ever decide to provide an example implementation, we'll consider including this as an implementation base.  Might be stuck though trying to balance complexity with instructional value though as well.
At this time, this article is not due for a refresh in the next six months+, so we'll make a note and close the issue (the bots would close it anyway due to it going dormant over the next couple of months).  Thanks again, have a great week!


Migration Info Missing

We're currently on package version 3.0.3 and igniteui-angular 16.1.1. When we decided to update to v17, we faced issue during build - $map.get error was throwing and nothing was happening. Theming package haven't been updated. Updating it to v4.4.0 fixed the issue.
There is no info about required updates (or breaking changes) inside Changelog nor at migration page: https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide
Please, add info about the required theming update.

Did you update to v17 using ng update?


[DatePicker] List items to prioritize for hosting the documentation

Considering that the quality of the documentation is the number 1 factor developers has shared that they would consider when picking a UI library in our latest survey, I think that it worth starting a list of what we want to document/improve in the picker pages as we move:

https://material-ui-pickers.dev/demo/datepicker to https://material-ui.com/components/date-picker/
https://material-ui-pickers.dev/demo/timepicker to https://material-ui.com/components/time-picker/
and so on.

Items I have noticed so far:

[ ] Have the demos work in isolation https://github.com/mui-org/material-ui-pickers/issues/1650.
[ ] Add a customization example. Example of UI we could output

[ ] Have the CSS API documented, for instance: https://material-ui.com/api/autocomplete/#css
[ ] Fix the Algolia no matches. So far we have:

[ ] Fix the warnings throw by the demos
[ ] Add a simple time picker example with the Autocomplete, use this model: https://material-ui.com/components/autocomplete/#disabled-options.
[ ] Content proofread by a native English speaker.
[ ] https://github.com/mui-org/material-ui-pickers/issues/1329 stop mapping the callback with the hook directly

const [selectedDate, handleDateChange] = useState(new Date());
<DatePicker value={selectedDate} onChange={handleDateChange} />

[ ] Improve the accessibility of the demos. I have noticed a bunch of errors, I didn't look closer

report from https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh.

[ ] … as we find new ideas

Some of my notes to not forget:

[ ] Fix ts typings for https://github.com/mui-org/material-ui-pickers/blob/761d0ffe0be23b8b118232962ad3c64137703155/lib/src/tests/createClientRender.tsx#L63

Closing as we mostly have standalone issues for each point now.


fix(test): canary joi package version issue

Fix the failing canary tests in main branch.
The failures are caused by the 'joi' dependency. It is addressed here by resolving it to a specific version.

Codecov Report

Merging #1277 (57ec53f) into main (1790903) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #1277   +/-   ##
=======================================
  Coverage   63.56%   63.56%
=======================================
  Files         295      295
  Lines       18573    18573
  Branches     4487     4487
=======================================
  Hits        11805    11805
  Misses       6150     6150
  Partials      618      618

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


dnssimple-go: needless fork?

Apparently lego uses github.com/weppos/dnsimple-go which is an outdated fork of github.com/dnsimple/dnsimple-go. The latter is better maintained and have issues tracker enabled.
Please consider switching to github.com/dnsimple/dnsimple-go.
Thanks.

Pinging @weppos since he seems to be the maintainer.

@onlyjob @lenovouser I am the maintainer of the dnsimple-go library and I work for DNSimple. I originally started the client under my account, and moved it under the DNSimple umbrella when it was ready.
However, the one under the DNSimple account only supports API v2. I had on my todo list to upgrade lego with the new client, but it will require switching to API v2.
I will provide a patch ASAP.

closed via #363


iOS - VideoPlayerRenderer.DidPlayToEndTimeNotification

Hello,
I have this erreur on iPhone. The player works and displays fine but as soon as the video reaches the end, I have this exception: System.NullReferenceException: Object reference not set to an instance of an object
I created this issue on bitbucket but I'm not sure which one you're using, so sorry for double.
Here is the raw StackTrace :

at Octane.Xam.VideoPlayer.iOS.Renderers.VideoPlayerRenderer.DidPlayToEndTimeNotification (Foundation.NSNotification obj) [0x0009a] in :0
at Foundation.InternalNSNotificationHandler.Post (Foundation.NSNotification s) [0x00000] in /Users/builder/data/lanes/3985/ba11e481/source/xamarin-macios/src/Foundation/NSNotificationCenter.cs:48
--- End of stack trace from previous location where exception was thrown ---
at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3985/ba11e481/source/xamarin-macios/src/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3985/ba11e481/source/xamarin-macios/src/UIKit/UIApplication.cs:63
at LeJeuDesProblemes.iOS.Application.Main (System.String[] args) [0x00008] in /Users/benjaminmico/Downloads/LeJeuDesProblemes/LeJeuDesProblemes/LeJeuDesProblemes/LeJeuDesProblemes.iOS/Main.cs:17

Hi,
Any news on this bug?
Can I provide more information to help?
I'm stuck on the development and really would like it to work.
Thanks

Thanks for your help.
Here is the code I'm using to setup the player :
`videoView = new VideoPlayer()
{
AutoPlay = true,
DisplayControls = false,
FillMode = FillMode.ResizeAspect,
Repeat = false,
Source = info.VideoPath
};
The video path is the path of a video I download and locally save on the phone storage that way :
string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal); var filePath = Path.Combine(path, videoName); File.WriteAllBytes(filePath, contents));
The player works fine on Android with the exact same code (just the local folder path is different obviously).
The video is mp4 video and the path folder is very very long on iphone btw.

Well the fact the video plays tells me it successfully finds the file. So that code seems fine. Can you provide the video file? Even better would be your cleaned and zipped project and I could take a look. You can send it to the outlook email address that issued your license keys.

I will try to provide you a version of my project during the weekend.
I'm still using the trial version with sample videos since the project is still under development.

Hi Adam,
I shared a sample of my projet on bitbucket.
I just added you to the repository Nicolas-Q/ljdp_sample_iphone.
Thank you for your help.

Thanks Nicolas. I am having problems building your solution. However I have been looking through it. Does the stream always fail for any video source you pass or is it just the URLs you get back from Google's API? In your IDE console window you should see a line starting with "Video Source: " that will show you the URL passed into the player. If you could provide that URL, it would be much appreciated.
On a side note, it looks like you have done a lot of extra work to download the video before passing it to the player. AVPlayer is smart enough to open a remote URL path and begin buffering it for playback. So all you should need to do is pass the URL you get back from Google APIs directly into your player.

Sorry about that, It builds on my side so I thought it would be okay.
I simplified the project even more and pushed that on the repository. I hope this it works.
The stream fail also when I pass a URL yes. I tried with the ocean video link that you use for your demo and it does the exact same think.
On the new sample version, I removed the download and just play the ocean video though just an URL.
Thanks for the advice btw, I will see if I can use this the way I want on my project.

Unfortunately I am still unable to run your solution due to some error with Microsoft.Bcl.Build. This component has been popular and I am surprised you are the first person to experience this. Given I am also able to successfully play to the end and others as well up to this point. Nothing stands out as problematic just reviewing the code.
Here are some things that come to mind you could check or try:

Make sure you are not getting a VideoPlayerLicenseException anywhere in your IDE debug output as you stated earlier you were running it as a trial. If the playback time is greater than 15 seconds, you would get a message in the console log: "You cannot play a video longer than 15 seconds."
Although it shouldn't matter, specify the OnComplete event before you assign a media source.
Reset your simulator and clean your solution to make sure there are no cache issues.
If you are unable to follow along with the YouTube tutorial and successfully get a video playing or running the Chill Player example application in this GitHub repo, then that pinpoints the problem to a configuration issue with your system as I have had consistent results from others getting these items to work when their own projects had an issue.
If Chill Player works for you, you could work backwards, copying/pasting/deleting the files from your existing project into the ChillPlayer project and renaming it. I have had to do this before. It's not fun but a last resort when things get weird with my csproj configuration for whatever reason.

I hate to say it but sadly if all else fails, you can always contact the component store and request a refund and implement your own video solution. I am running out of ideas :-(

I updated the repository without the Microsoft.Bcl.Build NuGet so at least this should not be a problem anymore...
I am actually using the "Completed" event (if this is the one that you're talking about) but the crash occurs before this event is triggered.

Yes, the Completed is what I am referring to. My best guess is the exception occurs either because the video player is null (could happen if the player isn't being recycled/reused properly when switching between pages) or because Apple's notification center doesn't like the media meta data and tries to return a bad NSNotification. I suspect the former. Can you provide a specific URL I can try on my end?

Since I am not using video directly from an URL, I had to find a short random one.
This should work, though it's the one I use in my sample so it should be using it already.
https://img-9gag-fun.9cache.com/photo/axV3YyY_460sv.mp4

Hi Adam,
Were you able to reproduce the error on my project?

I tested it out and the video completes successfully and fires the Completed event successfully. I'm sorry I can't be of more help in this instance @Nicolas40a. I would recommend my original suggestion above and try to work backwards from the Chill Player example application that comes packaged with the component, dragging and dropping your files into that project as that approach has consistently worked for the small few people who have had issues with their local builds (solutions # 5). It's a last resort of course but has worked well in the past.

looks like mine is same issue here.
https://github.com/adamfisher/Xamarin.Forms.VideoPlayer/issues/21


sort split from split_wallet_state

split_wallet_state method is returning an unsorted split. Sorting it so that blinded messages in mint request are sorted.

Simple and clean fix, LGTM


fixed issue #49

Related Issue/Addition to code

Issue goes here

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Proposed Changes

I created a new file named rules.js and wrote the function for making the back button work.

Checklist:

[x] My code follows the style guidelines of this project and have read CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

@KendallDoesCoding check this out and accept

Thanks for your contribution @swapn652 .

Thanks for your contribution @swapn652 .

It's fine. Just tell me if there are some other pending issues, that I can work upon.


Persist Selected Filters

In the reporting page, the selected filters for a given table should be persisted on a per user basis. Whenever the user navigates back to the reporting page and selects a report they had previously selected, the previous list of filters needs to be used when building the table. Whenever the user updates the list of filters, the updated list should be remembered so that it can be used the next time the user navigates to the same table. The list of filters selected by one user should not impact the list of filters for another user.
The system needs to remember the filter list even if the user logs out or shuts down the system.

Start by looking at #333 which includes how the API parts of saving user preferences was done.


Wiki: Add examples with excelcize

Add examples with pages (sheets) for each host
Add charts picture for stats sheet

https://github.com/qax-os/excelize
https://github.com/tealeg/xlsx

Would be resolved by https://github.com/vdjagilev/nmap-formatter/pull/156


Fuzzy text search

Is your feature request related to a problem? Please describe.
I would like to eventually move my app to issar. One thing I'd like to do is fuzzy searching, which would allow mispellings, word gap etc, because a literal text search will always miss a ton of content. This especially applies to my app, where many "English" words are transliterations of Hebrew, and everyone types that a bit differently.
Describe the solution you'd like
Even a primitive search with no configurability is better than nothing! Say .where().fuzzyMatches('shumayim') matching text with 'shamayim' with a hard coded "distance" to match would be great.
Describe alternatives you've considered
Literal text search - faster than using online search, but poor results
Using API for text search - better results, but slower
Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: [e.g. 1.5.4]
Isar version: [e.g. 0.5.0]

@yringler Do you have a reference implementation or some example of how you would want this to work? Would a fuzzy filter be enough or do you also want to use an index?

Nope. I saw a Wikipedia article way back with different algorithms, that's as far as my knowledge reaches.
A fuzzy filter would be enough.
This functionality doesn't exist in any other flutter db as far as I'm aware, so missing it doesn't put isar at a disadvantage. But it would be useful to have.

I have evaluated dart fuzzy algorithms and used the best one that suited my use-case, but I suppose it applies to Isar too. I can share my (simple) findings and maybe help with the implementation.

@om-ha that would be great. We won't be limited to dart algorithms because the searching will happen natively in Isar core anyway.

Okay I looked into different algorithms and types of fuzzy matching and I see a few problems:

fuzzy matching can be expensive so we likely want to use an index. That's difficult to implement for many algorithms
there is no "perfect" algorithm. Choosing the right one highly depends on the individual use case (for example soundex vs levenshtein)
it's not trivial to make fuzzy matching work with the existing API. For example because in contrast to other filters, the fuzzy filter should also sort the results by their rank and return the rank

What do you think?

@yringler I think the easiest approach would be to choose a Hebrew phonetic algorithm and store the result in an indexed field. Then you get accurate and super fast fuzzy search

fuzzy matching can be expensive so we likely want to use an index. That's difficult to implement for many algorithms

It's true fuzzy matching can be expensive, and there's a need for index.

there is no "perfect" algorithm. Choosing the right one highly depends on the individual use case (for example soundex vs levenshtein)

From what I see soundex is more limited than levenshtein, as the former depends on the natural human language. In other words, soundex is limited to English. So other variants have to be used for non-English words.

it's not trivial to make fuzzy matching work with the existing API. For example because in contrast to other filters, the fuzzy filter should also sort the results by their rank and return the rank

I haven't looked into filters, but from what I see here, what you are saying checks out. We need complex return results.

All in all, I because levenshtein is more general, there are few implementations based on it that comes to mind:

RapidFuzz, this one is superb and is even more high-performing than TheFuzz.
TheFuzz (previously FuzzyWuzzy)

That being said, I think your statement here is best suited for case-by-case scenario. It is very high performing but limited to the nature of how soundex works.

@yringler I think the easiest approach would be to choose a Hebrew phonetic algorithm and store the result in an indexed field. Then you get accurate and super fast fuzzy search

Okay I looked into different algorithms and types of fuzzy matching and I see a few problems:

fuzzy matching can be expensive so we likely want to use an index. That's difficult to implement for many algorithms
there is no "perfect" algorithm. Choosing the right one highly depends on the individual use case (for example soundex vs levenshtein)
it's not trivial to make fuzzy matching work with the existing API. For example because in contrast to other filters, the fuzzy filter should also sort the results by their rank and return the rank

What do you think?

Maybe we can try a better full text search algorithm instead of only fuzzy search

@tomasweigenast Do you have an example? Maybe from other embedded databases 🙂

Closing this for now since it is not planned near term.


Remove alias from types.Signature to []byte

I ran some checks in the Go playground and it does indeed seem to be an alias problem, and specifically a []byte alias problem (string aliases are fine). Bummer.

Removed the slice copying.

Turns out that they were necessary for compilation, so added back in.

oh


improvementUse key column id to query column statistic table. (#28885)

Use id as where predicate to load column statistic cache. This could improve performance, because id is the first order key in column statistics table.
backport https://github.com/apache/doris/pull/28885
Proposed changes
Issue Number: close #xxx

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

run buildall


Secret variables are not secure

It is very easy for a normal user with no admin rights to get the value of any secret variable. Let the secret variable name be secretVariable and its value secretValue. Then in a PowerShell script simply put the following code:
!$(secretVariable)
The console log then contains the value of the secret variable 4 times in plain text:
2017-05-09T20:09:44.0463696Z ##[error]!secretValue : The term '!secretValue' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At D:\a_temp\2591431a-31f8-4247-84d2-f5891bacdbe0.ps1:7 char:1

!secretValue

  + CategoryInfo          : ObjectNotFound: (!secretValue:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

2017-05-09T20:09:44.2671418Z ##[error]Process completed with exit code 0 and had 1 error(s) written to the error stream.

@ChristophB125 what agent version are you on? i believe we scrub error messages in current agent version

...also note, if you have edit permission to the definition, then you are the admin of that definition.

@EricJizbaMSFT : I am using the 'Hosted' agent. One does not even need to have permission to edit the build definition. A user who can commit code to the repository can simply add the following line to extract the variable without even breaking the build:
try{!$(secretVariable)}catch{}; $value=$error[0].Exception.CommandName; Write-Host "The value of the secret variable is $value"

Secret variables used to ensure that string (1) does not show up in the definition after initially inputting it and (2) does not show up in the web UI or logs when downloading it.
Of course it does not prevent users that can contribute to the automation from getting at the secret.  That is the point of automation.  If I can contribute to the automation, and the automation can get at the secret (that is the point right?  for the task to use the secret) then that contribution can email it off, save it off etc...
The point is not to prevent the automation authors from getting at their own values.  The point is so if the logs are downloaded and sent around or someone with view permission, doesn't accidentally see it.

@ChristophB125 the steps you describe do not repro on the hosted agent. Here is what I did:

Added a secret variable: mysecretvariable with value mysecretvalue
Added an inline ps script: !$(mysecretvariable)
Queued against the hosted agent
The secret value in the error message is masked (replaced with asterisks) in all places: web console log, downloaded build logs zip, and the error issue on the build summary page.

The agent's only responsibility is to scrub the issue text and logs before posting back to the server.

@ericsciple : I had another try over the weekend and I originally though that you had fixed it anyway. It seems that there different versions of the Hosted agent in the cloud. As far as I could see, the logic of the agent is to do a simple string replacement of the secret in the log because if I do a Write-Host my secretvalue (assuming I know the value already), it gets masked as well. I can kind of understand Bryian's point but I like the level of safety that you have now with the masking of log errors as well so that at least accidentally one cannot see the secret. As he rightly argues, there will always be a way to get the password simply because the object type is a string. What I would like to see is the possibility to have the secret variable already in the form of a secure string, which would be the safest way of creating credential objects.

I see. So for the powershell task specifically, provide inputs on the task UI that map into a secure string variable or pscredential variable inside the powershell runspace. I'll forward the feedback along to the PM.


Update PHP URL generation example

String interpolation is a little easier to read and understand as there's no back-and-forth between string format and arguments.
Matches JS version: https://github.com/DarthSim/imgproxy/blob/master/examples/signature.js#L27

Thanks for the contribution!


fix(#4922): Fix flaky TestHealthTrait

Avoid failing assertion on condition status ready=false due to temporary deployment ready condition status

Release Note
NONE

Fixes #4922 and #5345

Probably it has to be backported, thanks.


Animated Pride flags animation in Javscript

Describe the project you want to add with tech stack

I'd create an animation of pride flags, along with a realtime menu for the user to deal with. Using it, the user can modify the flag animation the way they want.
Expected behavior

User executes the index file run and program loads.
User deals with the menu options to increase/decrease the size of the app, change it's orientation, and so on.

HI @pranjay-poddar @MohitGupta121 @TusharKesarwani please assign me this!


Integrate detekt junit

After see #4699 I implemented the Rule MissingTestAnnotation to avoid this kind of issues.
The problem that I see si that this rule set is stored on Jitpack (I want to publish it on mavenCental but each time I think about all those steps...). What do you think? Is it ok to have a dependency from Jitpack?

I really think Jitpack should be a last resort, and this should be published to Maven Central.
You will probably get more users if published there too.

So I'm 👍 to merging but I'd really like to see it published in a more appropriate repo first.

Same. If you move it under the github.com/detekt org, we could reuse some of the Github Actions and Keys setup to publish this as well

I think that was just a suggestion to make publishing easier if you didn't want to go through the steps of setting it up yourself.
I agree that treating the rule set as a third party rule set is a good idea, and not to host in the detekt org, for reasons you outlined.

I know, I know, there was 0 anger or bad vibes on my comment (sorry if it seemed so). I speak Kotlin better than English 😂. It was just my point of push the third-party plugins. But I appreciate the proposal of cortinico, it means that he likes the rules :)

Closing until I upload it to maven central


golang library from python code

I need to import golang-package in python code. I found that this is usually done by compiling a static c-library. Exactly also written in the docs. I also saw that there is a serious restriction on the import of golang structures. Tell me, how can I get around this problem? My functions operate with golang structures. What to do, I do not really understand

Hi,
the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.
Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!
Closing here, since this is not a bug.


Add factories for templates in Daml.Finance.Data

e.g. Observation currently does not have a factory.

Only Clock missing

As discussed during team meeting, Clock is likely to be setup at application initialization, hence no factory required. On the other hand, an interface is required to move it back and forth.


Make non-native pools and heaps the default

This PR makes non-native pools and heaps the safe default unless configured otherwise.

Coverage increased (+0.2%) to 77.915% when pulling eb35833bd8b2313634a9cb5d1e398fd499898e5e on kobolog/id-pool-type-selection into c81f4338f997469ef6e4df70751d433890d61469 on master.

Coverage increased (+0.2%) to 77.915% when pulling a8677a209c9917315a461efb1f9fbdd2b30da947 on kobolog/id-pool-type-selection into c81f4338f997469ef6e4df70751d433890d61469 on master.


generate-sas creates SAS without t after ss= even though I specified table service in --services

I tried to use generate-sas to create a SAS link with access to table service. But the created SAS token doesn't have t after ss==. It seems to intentionally ignore the request. The same command line works fine on my windows box with azure-cli(2.0.0). Is it a regression?
 az storage account generate-sas --account-name ubuntudiagnostic --expiry 2018-12-31T23:59Z --permissions wlacurdp --resource-types sco --services bfqt -o tsv --verbose
se=2018-12-31T23%3A59Z&sp=rwdlacup&sv=2017-04-17&**ss=bqf**&srt=sco&sig=<remove signature intentionally>

Environment summary
azure-cli (2.0.20)
acr (2.0.14)
acs (2.0.18)
appservice (0.1.19)
backup (1.0.2)
batch (3.1.6)
batchai (0.1.2)
billing (0.1.6)
cdn (0.0.10)
cloud (2.0.9)
cognitiveservices (0.1.9)
command-modules-nspkg (2.0.1)
component (2.0.8)
configure (2.0.12)
consumption (0.1.6)
container (0.1.12)
core (2.0.20)
cosmosdb (0.1.14)
dla (0.0.13)
dls (0.0.16)
eventgrid (0.1.5)
extension (0.0.5)
feedback (2.0.6)
find (0.2.7)
interactive (0.3.11)
iot (0.1.13)
keyvault (2.0.13)
lab (0.0.12)
monitor (0.0.11)
network (2.0.17)
nspkg (3.0.1)
profile (2.0.15)
rdbms (0.0.8)
redis (0.2.10)
resource (2.0.17)
role (2.0.14)
servicefabric (0.0.5)
sql (2.0.14)
storage (2.0.18)
vm (2.0.17)
Python location '/opt/az/bin/python3'
Extensions directory '/home/fliang/.azure/cliextensions'
Python (Linux) 3.6.1 (default, Oct 18 2017, 20:41:18)
[GCC 4.8.4]
Legal docs and information: aka.ms/AzureCliLegal

Table service is being moved out of azure storage and integrating with CosmosDB service. Therefore the table will not fall under the storage service's SAS token anymore. We kept the command structure to avoid breaking change in short-term.
To generate a SAS for table service please use az storage table generate-sas command.

I will close this issue for now. Please feel free to reopen if you have any follow up question.

how can I generate a single SAS token for both blob and table? Actually I am following up steps on https://docs.microsoft.com/en-us/azure/virtual-machines/linux/diagnostic-extension to create a Linux diagnostic extension. One of step is to create a SAS token for the extension to access both blob and table service. How can I achieve it now? Additionally, it is a breaking change. Adding some warning message to the output would be super helpful.


Doc updates

A small iteration towards a better documentation.
Preview of the changes: https://jothepro.github.io/djinni-documentation/
Main Feature
The footer now shows links to all important repositories:

about the footer, the names will be like they are, or use the new repo names ?

LGTM!


Convert jpg to png

Please assign me

I'll do it..

After a 30 minute upload, this should be closed.


multi code-block merge function for MarkDown file generator

When it has Multi code-block in one Contents, The md file needs a some generator for merge

This issue has been closed by #136


Cannot compile Godot with Mono: Windows certificate authentication issues.

Godot version:
I've tried the 3.1 tag and e205cbb, both with and without my own custom changes for a C# feature I'm working on.
OS/device including version:
Windows 10
Issue description:
When attempting to make a Mono build of Godot, following the procedure in the docs, I encounter certificate authentication issues that I do not know how to fix.
Steps to reproduce:

Clone the godot repository.
Follow the instructions on building Godot with Mono support.

Get prerequisite libraries and programs
Run mozroots --import --sync. Downloads 155 root certificates. But it also states that it is deprecated and that you should use cert-sync instead, which expects an argument in a "PEM" format.
No documentation mentions anything about this. There is no indication of anything following the PEM format, so I don't know what I would plug into cert-sync anyway.

Attempt to build godot with scons platform=windows module_mono_enabled=yes mono_glue=no tools=yes (I used -j6 too).

Observe the following error:
[100%] MSBuild auto-detection: using msbuild version '15.0' from 'C:\Program Files\Mono\lib\mono\msbuild\15.0\bin'.
WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
Restoring NuGet package DotNet.Glob.2.1.1.
WARNING: Unable to find version '2.1.1' of package 'DotNet.Glob'.
  C:\Users\Will_Nations\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will_Nations\.nuget\packages\'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
  An error occurred while sending the request
  Error: TrustFailure (Authentication failed, see inner exception.)
  Authentication failed, see inner exception.
  Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
    at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

WARNING: Unable to find version '2.1.1' of package 'DotNet.Glob'.
  C:\Users\Will_Nations\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will_Nations\.nuget\packages\'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
  An error occurred while sending the request
  Error: TrustFailure (Authentication failed, see inner exception.)
  Authentication failed, see inner exception.
  Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
    at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

Errors in packages.config projects
    Unable to find version '2.1.1' of package 'DotNet.Glob'.
      C:\Users\Will_Nations\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will_Nations\.nuget\packages\'.
      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
      https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
      An error occurred while sending the request
      Error: TrustFailure (Authentication failed, see inner exception.)
      Authentication failed, see inner exception.
      Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
        at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

NuGet Config files used:
    C:\Users\Will_Nations\AppData\Roaming\NuGet\NuGet.Config
    C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config

Feeds used:
    C:\Users\Will_Nations\.nuget\packages\
    https://api.nuget.org/v3/index.json
    C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
scons: *** [bin\GodotSharp\Tools\GodotSharpTools.dll] RuntimeError : GodotSharpTools: NuGet restore failed
Traceback (most recent call last):
  File "C:\Users\Will_Nations\Documents\GitHub\godot\modules\mono\SCsub", line 312, in mono_build_solution
    subprocess.check_call([nuget_path, 'restore', sln_path])
  File "C:\Users\Will_Nations\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 328, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files\\Mono\\bin\\nuget.bat', 'restore', 'C:\\Users\\Will_Nations\\Documents\\GitHub\\godot\\modules\\mono\\editor\\GodotSharpTools\\GodotSharpTools.sln']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\will_nations\appdata\local\programs\python\python37\lib\site-packages\scons-3.0.1\SCons\Action.py", line 1197, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "C:\Users\Will_Nations\Documents\GitHub\godot\modules\mono\SCsub", line 314, in mono_build_solution
    raise RuntimeError('GodotSharpTools: NuGet restore failed')
RuntimeError: GodotSharpTools: NuGet restore failed
scons: building terminated because of errors.

Nevermind. Thanks to @aaronfranke . Seems this was a duplicate of #25811. Docs definitely need to be updated.

@neikeq Well, I'd thought it was a duplicate, but this seems like a different error message. However, @aaronfranke's suggestion of adding the nuget dependency did fix the problem. You wanted to know if people still have the issue though, so ^ here is what I was dealing with.
Here is the information you requested in #25811:
I am on Windows 10.
"Microsoft (R) Build Engine version 16.2.37902+b5aaefc9f for .NET Framework"
"NuGet Version: <IP_ADDRESS>13"
"I've tried the 3.1 tag and e205cbb [a recent master], both with and without my own custom changes for a C# feature I'm working on."
I cloned the Godot repo.
scons platform=windows -j6
scons platform=windows vsproj=yes
^ I usually do development in Visual Studio 2017/2019. Will build and debug through the GUI.
For the mono build, I went through the documentation explicitly.
mozroots --import --sync
"warning, deprecated. Supposed to use cert-sync. 155 root certificates added."
scons platform=windows module_mono_enabled=yes mono_glue=no -j6
^ Triggers the error message above.

mozroots is giving this deprecation warning for years now but it still works fine.
but anyway:

You can just download curl's list of certificates from https://curl.haxx.se/ca/cacert.pem and then import the list via "cert-sync --user cacert.pem".

from https://mono.github.io/mail-archives/mono-list/2017-April/052431.html

@piratesephiroth I'll try that out and get back to you guys later tonight. If that fixes it, then it'd just be a docs fix.

By the way, I'm on Windows 10 as well, with Visual Studio 2019. Both installed a few weeks ago.
The mozroots command was enough to get the mono version of Godot to compile.

Looks like that didn't work. 139 new root certificates were added to the trust store. Then I built on master and got this:
[ 96%] build_godot_tools_project_editor(["bin\GodotSharp\Tools\GodotTools.ProjectEditor.dll", "bin\GodotSharp\Tools\DotNet.Glob.dll", "bin\GodotSharp\Tools\GodotTools.Core.dll", "bin\GodotSharp\Tools\GodotTools.ProjectEditor.pdb", "bin\GodotSharp\Tools\GodotTools.Core.pdb"], [])
[ 97%] NuGet path: C:\Program Files\Mono\bin\nuget.bat
[100%] progress_finish(["progress_finish"], [])
[100%] Restoring NuGet package DotNet.Glob.2.1.1.
WARNING: Unable to find version '2.1.1' of package 'DotNet.Glob'.
C:\Users\Will\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will\.nuget\packages\'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request
Error: TrustFailure (Authentication failed, see inner exception.)
Authentication failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
    at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

WARNING: Unable to find version '2.1.1' of package 'DotNet.Glob'.
C:\Users\Will\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will\.nuget\packages\'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request
Error: TrustFailure (Authentication failed, see inner exception.)
Authentication failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
    at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

Errors in packages.config projects
    Unable to find version '2.1.1' of package 'DotNet.Glob'.
    C:\Users\Will\.nuget\packages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Users\Will\.nuget\packages\'.
    C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'DotNet.Glob.2.1.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
    https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
    An error occurred while sending the request
    Error: TrustFailure (Authentication failed, see inner exception.)
    Authentication failed, see inner exception.
    Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
        at D:\j\workspace\build-package-win-mono\2019-02\external\boringssl\ssl\handshake_client.c:1132

NuGet Config files used:
    C:\Users\Will\AppData\Roaming\NuGet\NuGet.Config
    C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config

Feeds used:
    C:\Users\Will\.nuget\packages\
    https://api.nuget.org/v3/index.json
    C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
scons: *** [bin\GodotSharp\Tools\GodotTools.ProjectEditor.dll] RuntimeError : 'nuget restore' exited with error code: 1
Traceback (most recent call last):
File "D:\Source\GitHub\godot\modules\mono\build_scripts\solution_builder.py", line 148, in run_command
    subprocess.check_call(args)
File "C:\Users\Will\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files\\Mono\\bin\\nuget.bat', 'restore', 'D:\\Source\\GitHub\\godot\\modules\\mono\\editor/GodotTools\\GodotTools.ProjectEditor\\packages.config', '-PackagesDirectory', 'D:\\Source\\GitHub\\godot\\modules\\mono\\editor/GodotTools\\GodotTools.ProjectEditor\\packages']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\will\appdata\local\programs\python\python37\lib\site-packages\scons\SCons\Action.py", line 1202, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
File "D:\Source\GitHub\godot\modules\mono\build_scripts\godot_tools_build.py", line 55, in build_godot_tools_project_editor
    os.path.join(csproj_dir, 'packages'))
File "D:\Source\GitHub\godot\modules\mono\build_scripts\solution_builder.py", line 167, in nuget_restore
    run_command(nuget_path, ['restore'] + list(args), name='nuget restore')
File "D:\Source\GitHub\godot\modules\mono\build_scripts\solution_builder.py", line 152, in run_command
    raise RuntimeError("'%s' exited with error code: %s" % (name, e.returncode))
RuntimeError: 'nuget restore' exited with error code: 1
Creating library bin\godot.windows.tools.64.mono.lib and object bin\godot.windows.tools.64.mono.exp
scons: building terminated because of errors.

OK, I just wiped all the certificates from %appdata%\.mono\certs\Trust (and also from %programdata%\.mono\certs\Trust, I guess they get copied there at some point).
I've imported curl's certificates with cert-sync from and I'm gonna try compiling the latest commit of mono Godot right now.

Yep, nuget download the package just fine and compilation went as expected.

So I don't know what's going on with your machine...

Well, if I manually call nuget myself, then it works. It only DOESN'T work when using scons. As I mentioned, I was able to resolve the problem by following aaronfranke's suggestion in the other Issue, but neikeq said that we shouldn't have to do that, so I re-opened this Issue to help debug this use case of it failing without the user manually calling nuget.

I'm suire this is something unrelated. Maybe you have more than one nuget installed?
The certificates aren't the issue as mozroots and cert-sync do what they should.

@willnationsdev Which nuget are you running? The one that comes with Mono or another?

@neikeq I'm not really sure. I am running it from the VS x64 native command prompt, but I also added Mono\bin to my PATH. I would assume that the nuget I call from there would be the one that comes with Visual Studio whereas scons would be trying to run the one that came with Mono (my guess?). Is there a command on windows that spits out the path of an executable you provide to it?

Well, never mind. Apparently, I had it working at one point or another when I tried nuget directly, but now that isn't working.
I tried what @piratesephiroth suggested. Cleared the Trusts in those directories, re-ran mozroots and cert-sync with the curl pem, and cleared the local nuget cache. I then tried going to the \modules\mono\editor\GodotTools\ directory and ran nuget restore GodotTools.sln as well as nuget install DotNet.Glob -Version 2.1.1. Both errored with CERTIFICATE_VERIFY_FAILED.
I am really at a loss as to how to fix this problem now. Not sure why it worked that one time.

Perhaps it worked the first because you ran it from the Visual Studio Command Prompt?

@neikeq No, I have always been doing that at every stage.

Also you don't need to run scons from the visual studio command prompt anymore

Oh, ok. Good to know.

Try uninstalling mono and then installing again. MAYBE it helps... 😜

Uh, I think it works now. Try using cert-sync again,
It creates an additional folder that I wasn't seeing before (and that mozroots doesn't create), called new-certs.
After that, nuget begins to work agaain.

I can confirm that this issue is reproducible on Windows 10, with VS 2017, Mono <IP_ADDRESS> and Godot's current master branch.
I tried the document mozroots method, and as described here it doesn't seem sufficient. Whether I'm in the Mono command prompt or Git Bash, it fails the same way.
I'll try the updated instructions in godotengine/godot-docs#2821 now.

Having the same issue here. Unable to build Godot v3.2.1 with mono

@KoukouStudios Just to be sure, can you walk people through exactly what you did? Were you looking at the latest, stable, or 3.2 version of the documentation or an earlier version? Did you use mozroots or cert-sync?

@KoukouStudios Just to be sure, can you walk people through exactly what you did? Were you looking at the latest, stable, or 3.2 version of the documentation or an earlier version? Did you use mozroots or cert-sync?

I used scons on windows. Managed to build it last night by running cmd with admin rights but then exe would crash. I can't recall the error I'm afraid but I couldn't spare any more time so I ended up quiting the idea of c# and started working with c++ and gdscript. Not a big fan of gdscript but it gets the job done well :)


Ignored exceptions

It seems as though exceptions for callbacks are caught and dismissed in failsafe. In the example below, the program proceeds without errors or logging. In my case, I had a method called in onSuccess which eventually lead to an NPE that was caught and ignored inside failsafe - pretty tricky to find that it was in fact failsafe hiding it.
Failsafe.with(policy)
    .onSuccess(result -> {
      throw new RuntimeException("something unexpected happened");
    })
    .get(() -> Math.pow(2, 100));

For this example, I would have expected the exception to have bubbled up to the caller and be thrown. Otherwise, it can be somewhat challenging to debug, especially if the success callback is more complex.
Perhaps there is a purpose for implementing the callbacks this way?

I believe the idea is that event listeners like onSuccess, onFailedAttempt, and onRetry are consumer-only operations whose execution should not affect the main execution; one obvious use is to log execution events.
In addition, asynchronous event listeners are executed in a different thread, where a thrown exception would not propagate back to the thread reporting the event without an expensive polling or interrupt scheme.
If it's important to you to capture unexpected exceptions in event listeners for later, you could wrap them with something that logs the exception.


Can we add the new jailbreak app to the list - https://checkra.in/

Hi Vineet,
Thank you for the sharing the Utility.
I was trying to expand it by adding checkra1n app but I was not able to.
Do you know how we can add this app to the blacklist.
Thank you

Hi @rahulj18,
Sorry for the late reply.
If you have the checkra1n IPA file then you can extract that and check CFBundleURLSchemes value in Info.plist. After that, you can check if that app install or not using canOpenURL similar to this -
https://github.com/developerinsider/isJailBroken/blob/master/IsJailBroken/Extension/UIDevice%2BJailBroken.swift#L29
Alternatively, If you know the app name (EXECUTABLE_NAME) you can directly add that here -
https://github.com/developerinsider/isJailBroken/blob/master/IsJailBroken/Extension/UIDevice%2BJailBroken.swift#L65

Thank you @vineetchoudhary for responding.
We do not have access to the IPA and after installing checkra1n - I use a Filza via Cydia to find out the app name but it was not there in the locations where the other apps were so I thought you might know a bit more about it.


release: prepare 1.0.0-beta.0

Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

Codecov Report

Merging #1481 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1481   +/-   ##
=======================================
  Coverage   40.82%   40.82%
=======================================
  Files          23       23
  Lines        2920     2920
=======================================
  Hits         1192     1192
  Misses       1451     1451
  Partials      277      277

Continue to review full report at Codecov.

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


Some tutorial on making this project

I know this may sound odd, but I want to learn it.
I am new to Front End development, and setting up a development environment is always the most frustrating thing. Lots of tools but I do not know how to choose, or which is better. Webpack, Gulp, Grunt, Babel... And most tutorials ignore telling this HARD process, just let learner choose a favorite text editor.
I analysed package.json in this project, and npm js scripts. But it's too hard for a newbie like me.
So would you please shed some light on how to set up a development environment for Phaser? Just to say telling me how you made this project step by step.
Days ago, I wanted to add source map for webpack for better debug. But it failed. Then I tried to set up a Phaser project from scratch, also no good. Webpack ran, but without showing my index.html, it showed a list of js files.
This is why I made this issue. Or would you recommend me some tutorials on this?
Thank you!

Hey @Majirefy, I'd be happy to write up a step-by-step tutorial series on how to get a Phaser project going and why I chose to do some of the things I did, etc... Not sure of a timeline, as spare time is pretty limited, but I should be able to at least get started on a Part 1 (explanation of a few available options for things like language, build tools, libraries, etc, and why I chose what I did?).
Thanks for the suggestion and your continued interest in my little project :)

@rroylance Thanks!
Why not make a screen cast with some narration on YouTube? That's much straight-forward and saves your time.

I've thought about it before, but, I'm not confident enough for that, I'll stick to the more work way. Maybe add in some GIFs to meet you half way. Haha.
Besides my upload speed is complete garbage, it would take many hours to even upload a video while also making my internet useless during the whole process. UGH.

@rroylance Thanks for your help!!!!


balena_deploy process

Error in some bash 3.2 version
/usr/local/bin/balena_deploy: line 232: saved[@]: unbound variable
docker compose template not found

#11 #13


fix(Usage Reports): add optional name parameters to struct

PR summary
add optional name parameters to data type
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior
Names will now show up when the optional parameter _names is passed
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
•••••••••••••••••••••••••••••••••••••••••••
Ran 65 of 65 Specs in 12.685 seconds
SUCCESS! -- 65 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
ok  	github.com/IBM/platform-services-go-sdk/usagereportsv4	12.953s

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kevin Yudhiswara seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

:tada: This PR is included in version 0.19.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: