Error running the 'az kusto database-principal-assignment create' command: The value for property 'location' in the input object cannot be empty.

This is autogenerated. Please review and update as needed.
Describe the bug
Note that location is not a valid parameter for this command. The extension may need to provide this value.
Command Name
az kusto database-principal-assignment create Extension Name: kusto. Version: 0.4.0.
Errors:
(InvalidPropertyValue) The value for property 'location' in the input object cannot be empty.
Code: InvalidPropertyValue
Message: The value for property 'location' in the input object cannot be empty.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az kusto database-principal-assignment create --debug --cluster-name {} --database-name {} --principal-assignment-name {} --resource-group {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.33.1 *

Extensions:
azure-iot 0.13.0
kusto 0.4.0

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

@til10 Thanks for reaching out to us. I was able to run the above command in my box and it worked fine. Could you please use the most recent version of Azure CLI and try to run the command again ? If you face the issue again, Please share the output of the command with --debug parameter. Awaiting your reply.

@navba-MSFT I've upgraded to the latest version of Azure CLI. The error remains the same with a couple different cluster locations and SKUs. Perhaps it has to do with the extension-swapping workaround related to the cluster creation issue, and documented in the PowerShell below.
az extension remove -n kusto # previous kusto extension seems to work better for cluster creation

Run "Kusto: create cluster" (
	az kusto cluster create --resource-group $rg `
		--location $adxClusterLocation --name $names.ADX `
		--sku $sku.ADX.SKU --capacity 2
)

az extension add -n kusto --yes # upcoming kusto extension seems to work fine for database creation

Run "Kusto: create database" (
	az kusto database create --cluster-name $names.ADX `
		--resource-group $rg --database-name $names.ADXDB `
		--read-write-database location=$adxClusterLocation
)

Run "Kusto: assign database principal" (
	az kusto database-principal-assignment create --debug --cluster-name $names.ADX `
		--database-name $names.ADXDB `
		--principal-assignment-name $principalName --resource-group $rg
)

The last command results in the error.

Requested trace with --debug flag:
az -v
azure-cli                         2.34.1

core                              2.34.1
telemetry                          1.0.6

Extensions:
azure-iot                         0.13.0
kusto                              0.4.0

cli.knack.cli: Command arguments: ['kusto', 'database-principal-assignment', 'create', '--debug', '--cluster-name', '<prefix>adx', '--database-name', '<prefix>adxdb', '--principal-assignment-name', '<principal name>', '--resource-group', '<RG name>']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Init colorama.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x030640B8>, <function OutputProducer.on_global_arguments at 0x030D1F10>, <function CLIQuery.on_global_arguments at 0x031FAAD8>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'kusto': ['azext_kusto']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: kusto                     0.361        15        77  C:\Users\<username>\.azure\cliextensions\kusto
cli.azure.cli.core: Total (1)                 0.361        15        77
cli.azure.cli.core: Loaded 15 groups, 77 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : kusto database-principal-assignment create
cli.azure.cli.core: Command table: kusto database-principal-assignment create
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x034C97C0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\<username>\.azure\commands\2022-03-09.10-47-12.kusto_database-principal-assignment_create.9720.log'.
az_command_data_logger: command args: kusto database-principal-assignment create --debug --cluster-name {} --database-name {} --principal-assignment-name {} --resource-group {}
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x0351B418>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x0351B4F0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x035765C8>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x030D1F58>, <function CLIQuery.handle_query_parameter at 0x031FAB20>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x03576580>]
az_command_data_logger: extension name: kusto
az_command_data_logger: extension version: 0.4.0
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=KustoManagementClient
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\<username>\\.azure\\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.identity: _load_msal_http_cache: C:\Users\<username>\.azure\msal_http_cache.bin
cli.azure.cli.core.auth.identity: __load_msal_http_cache: C:\Users\<username>\.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
<snip>
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 6d6cf63b-1666-4485-bd0b-b489790398b3
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/<subscription>/resourceGroups/<RG>/providers/Microsoft.Kusto/clusters/<prefix>adx/databases/<prefix>adxdb/principalAssignments/<principal>?api-version=2021-08-27'
cli.azure.cli.core.sdk.policies: Request method: 'PUT'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'Content-Length': '2'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'f3534223-9fd0-11ec-a5fe-005056ba91a2'
cli.azure.cli.core.sdk.policies:     'CommandName': 'kusto database-principal-assignment create'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--debug --cluster-name --database-name --principal-assignment-name --resource-group'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.34.1 (MSI) azsdk-python-kustomanagementclient/unknown Python/3.8.9 (Windows-10-10.0.18362-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: {}
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "PUT /subscriptions/<subscription>/resourceGroups/<RG>/providers/Microsoft.Kusto/clusters/<prefix>adx/databases/<prefix>adxdb/principalAssignments/<principal>?api-version=2021-08-27 HTTP/1.1" 400 124
cli.azure.cli.core.sdk.policies: Response status: 400
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '124'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'e59a9d16-65c1-486f-993a-f0df6f24664e'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-HTTPAPI/2.0'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-requests': '199'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'cccd02b0-3d71-4aa7-9c2e-b2e64cf358d6'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTUS2:20220309T174715Z:cccd02b0-3d71-4aa7-9c2e-b2e64cf358d6'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Wed, 09 Mar 2022 17:47:14 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"error":{"code":"InvalidPropertyValue","message":"The value for property 'location' in the input object cannot be empty."}}
cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
cli.azure.cli.core.util: Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "C:\Users\<username>\.azure\cliextensions\kusto\azext_kusto\generated\custom.py", line 722, in kusto_database_principal_assignment_create
    return sdk_no_wait(no_wait,
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 678, in sdk_no_wait
  File "C:\Users\<username>\.azure\cliextensions\kusto\azext_kusto\vendored_sdks\kusto\operations\_database_principal_assignments_operations.py", line 290, in begin_create_or_update
    raw_result = self._create_or_update_initial(
  File "C:\Users\<username>\.azure\cliextensions\kusto\azext_kusto\vendored_sdks\kusto\operations\_database_principal_assignments_operations.py", line 236, in _create_or_update_initial
    raise HttpResponseError(response=response, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: (InvalidPropertyValue) The value for property 'location' in the input object cannot be empty.
Code: InvalidPropertyValue
Message: The value for property 'location' in the input object cannot be empty.

cli.azure.cli.core.azclierror: (InvalidPropertyValue) The value for property 'location' in the input object cannot be empty.
Code: InvalidPropertyValue
Message: The value for property 'location' in the input object cannot be empty.
az_command_data_logger: (InvalidPropertyValue) The value for property 'location' in the input object cannot be empty.
Code: InvalidPropertyValue
Message: The value for property 'location' in the input object cannot be empty.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x034C98E0>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 3.099 seconds (init: 0.413, invoke: 2.687)
telemetry.save: Save telemetry record of length 3358 in cache
telemetry.check: Negative: The C:\Users\<username>\.azure\telemetry.txt was modified at 2022-03-09 10:47:02.663864, which in less than 600.000000 s
cli.azure.cli.core.auth.identity: _dump_msal_http_cache: C:\Users\<username>\.azure\msal_http_cache.bin

@til10 Thanks for sharing the commands and debug output. I was able to run the same above commands in order and it worked fine for me. I had used --sku 'Standard_D11_v2'  and --location 'eastus' in my command. Could you please test with the same and let me know if that helps ? Awaiting your reply.
On a side note, I also see that you are removing the kusto extension before creating the cluster. Please be aware that this command is implicitly deprecated because command group 'kusto cluster' is deprecated and will be removed in a future release. Use '"az extension add -n kusto" to install the supported Kusto extension' instead. The same has been documented here. So my recommendation would be to use the kusto extension even during cluster creation.

@til10 This is a quick follow-up to check if you had a chance to look at my above comment and try my suggested action plan? Awaiting your reply.

@til10 Please let me know if you have any update on this issue.

Thanks for the comments @navba-MSFT. Pretty sure I had attempted a cluster with Standard_D11_v2/D12_v2 and westus2 values. After some trial and error, I found that using the deprecated command for cluster creation was the only viable option for the SKUs I needed, and that's why I've a) resorted to extension swapping in our PowerShell-driven AZ CLI installation script and b) filed the cluster creation issue #4508. Perhaps we can wait on the resolution of #4508, and then test these two issues at the same time to ensure we are on the same page.

@til10 Thanks for getting back. Sure that makes sense. We can wait for the fix to be deployed for the other issue and then test.
I am tagging @zoharHenMicrosoft here for visibility. This thread can be updated once the fix is released. We appreciate your patience on this.

Following up with @zoharHenMicrosoft  offline for the update on the fix.

@til10 Apologies for the late reply. The PR Azure/azure-cli-extensions#4625 is still under review phase. We will update this thread once we have done some progress on this. We appreciate your patience on this.

@til10 Apologies for the late reply. We appreciate your patience on this. I see that the above PR has been merged now. Could you please update to the most recent version of the kusto CLI extension (0.5.0) and then run the command again.

az extension update --name kusto

Please let us know if you still face the same issue. Awaiting your reply.

@til10 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please upgrade to the most recent version of the kusto extension and let us know if you still see the same issue. Awaiting your reply.

@til10 We will now proceed with closure of this github issue. If you see the same issue after upgrading your kusto extension,  please feel free to reopen this thread. We would be happy to help.


New stat parse

thoroughly tested commit that introduces stats to parse, using a class StatObject(name is bad, I agree). Such an implementation does not degrade the performance in a noticeable way, and allows us to (1) simplify the code for pairsamtools stats themselves (2) introduce stats gathering into pairsamtools parse in a least obtrusive way(not very obtrusive, let's put it this way).
I've tested the reimplemented stats (including merge) on test data and in a big data scenario, where I merged 13 chunks of .stats files into one. Stats match perfectly with previous implementation, except for the total_single_sided_mapped, which was initialized with 1 instead of 0 for some reason. I fixed it tostats['total_single_sided_mapped'] = 0.
Let me know if an implementation using a class is not desirable, and please feel free to rename class methods, which I dislike greatly, but cannot come up with anything better. Complementary distiller PR is coming right away.

build is failing because there is a wrong number of total_single_sided_mapped in the assertion, it should be 3 instead of 4, check input:
https://github.com/mirnylab/pairsamtools/blob/master/tests/data/mock.pairsam
I can count only 3 total_single_sided_mapped - do I misinterpret something?

Looks good! Though, the Methods subsection is probably overkill. Sphinx autodoc can take care of that when we eventually add sphinx docs.

S0 - acepting as is? or waiting for the nested dict/parsing the file solution ?

I'm happy accepting as is. @golobor?

I've implemented StatObject that would parse .stats file properly and return the same type of object as you would expect from building up StatObject from scratch (empty init and then update with pairs information).
I had to imply a rigid structure of the OrderedDict underlying StatObject, i.e., while parsing it explicitly implies that the nested sub-dicts should be names pair_types, chrom... and dist_freq and parses each category differently. dist_freq in particular, since the corresponding distribution is stored in ndarray. I've tried to make use of exceptions to the best of my knowledge - mostly copying your patterns of exceptions usage.
I also had to make from_file a factory method or @classmethod for it become another constructor.
I also implemented nested indexing -  the flatdict style: "pair_types/CX"  is a valid key, so you can say: s = StatObject.from_file('in.stats') and then s['pairs_type/CX']. Why do we need this I don't know, but it's there and it's consistent with the structure of a .stats file


ExApp ai_image_generator_bot initialization timed out (2400m)

Hi thanks for the development of this app.
I tried multiple times to enable it and it always get stuck at 79% of initialization.

[app_api] Fehler: ExApp ai_image_generator_bot initialization failed. Error: ExApp ai_image_generator_bot initialization timed out (2400m)  -- um 08.05.2024, 09:35:01
Do you have a tip, on where I could increase the timeout?
What is the best way to recover, form the broken state, what needs to be deleted so that the app will reinitialize?
Update
The Timeout says something like 2400m, but actually, it occurs after roughly 40*60 seconds.  I think it is more an issue of the app_api.

Solved with issue in app_api


Fix rwmutex copy

fix sync.RWMutex copy

Codecov Report

Merging #1214 into master will increase coverage by 0.04%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master    #1214      +/-   ##
==========================================
+ Coverage   56.02%   56.07%   +0.04%
==========================================
  Files         298      298
  Lines       26941    26941
==========================================
+ Hits        15094    15107      +13
+ Misses      10418    10410       -8
+ Partials     1429     1424       -5

Impacted Files
Coverage Δ

pkg/upstream/servicediscovery/dubbod/pub.go
76.66% <66.66%> (ø)

pkg/upstream/servicediscovery/dubbod/sub.go
64.70% <66.66%> (ø)

pkg/upstream/servicediscovery/dubbod/common.go
85.71% <100.00%> (ø)

pkg/module/http2/server.go
81.70% <0.00%> (-0.08%)
:arrow_down:

pkg/module/http2/frame.go
84.47% <0.00%> (+0.30%)
:arrow_up:

pkg/module/http2/transport.go
78.76% <0.00%> (+0.43%)
:arrow_up:

...ream/faulttolerance/regulator/default_work_pool.go
93.18% <0.00%> (+4.54%)
:arrow_up:

pkg/stream/stream.go
60.00% <0.00%> (+13.33%)
: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 10606da...fcf36af. Read the comment docs.


Add engine helper functions

Coverage remained the same at 99.408% when pulling 479f32ea5b1313e2e712f6791e686f6f7a976418 on engine-helpers into f3c46771c5261f9bef0dabba514c2323d6525289 on master.


Support for OpenUI5 modules

I have the OpenUI5 walkthrough, databinding and odata v4 tutorials fully working in a custom c# wrapper using bridge.
However, the weakest point is the lack of OpenUI5 module support from bridge.
OpenUI5 modules are very similar to AMD modules with a few differences.
The changes needed to implement them are:

Use sap.ui.define instead of define. Maybe something similar to the loader.loaderFunction could be done for the define function
The modules are path based. Currently, path based modules do not work properly:
https://github.com/bridgedotnet/Bridge/issues/3549
The current AMD implementation creates everything in a $scope. OpenUI5 does not need that $scope as it puts everything in the global scope.
OpenUI5 needs some custom code to inherit from a base class and to add custom metadata. This code cannot be generlized. So there should be some custom code called after the class definition. Maybe adding another entry  (like "AfterClassDefinition") to the InitPosition enumeration for the Init attribute would do. The return value of the function passed as the second parameter in the define call should be able to be modified by the custom function with the [Init(InitPosition.AfterClassDefinition)]

Is there any chance to have something like that implemented?

I have tried implementing this but I don't see it feasible:

Some of the UI5 modules correspond to a class (f.e. sap/ui/core/UIComponent corresponds to sap.ui.core.UIComponent), however, others like sap/m/library have a lot of classes in it. So, that will need manually adding more information about each module in the OpenUI5Sharp project.

Bridge loads too many dependencies automatically. If a method returns sap.ui.core.Control, sap/ui/core/Control gets loaded as a dependency even if the method returns null.

It is difficult to get information about the class we're extending in Translator/Emitter/Emitter.OutputModule.cs, and that is needed to generate calls to extend to inherit from the base class.

A new naming strategy is needed in BridgeTypes.GetCustomName. Also, the UI5 module wrapping will need to call Glue.CreateRawClassObject from OpenUI5Sharp. I don't know if that will be accepted in the main Brdige distribution, and surely I don't want to mantain a modified bridge version around.

So, for all those reasons I'm closing this.


mouse input handler - input.js - proper solid mask

This is quite an extensive pull request.
Some changes:

Added input.js for handling mouse input:

It exposes easy-to-use events, such as ondragstart, ondoubleclick, etc, and handles left, right, and middle mouse buttons. It is much easier to implement new features using this abstraction, and it handles canvas coordinates by itself. the plan is that when we implement the infinite canvas, it also should perform automatic translation of coordinates according to viewport.
Example code for mask implementation:

We can see that it becomes much simpler to implement, without boilerplate code to track previous mouse states and whatnot.

The mask now uses a solid color instead of a transparent one; the mask layer itself is now semi-transparent to allow viewing through the mask. The mask's opacity shouldn't make a difference for stable diffusion, and so the mask should reflect that:
Before:

Now:

The new mask implementation should make the implementation of a mask history (undo/redo) to be quite simple to achieve, using the onpaintstart and onpaintend events.
Little by little, I will work on migrating other functionality to the new input system. It will be hard to work much on this during the week, but I plan to extend the input.js to allow for keyboard inputs and add shortcut support (for now mainly to use on undo/redo stuff).

Middle mouse support was added more for a "why not" reason, and it wasn't really difficult. It may be useful in the future for implementing viewport drag for infinite canvas.

good heavens, yeah, extensive is definitely the right word for it lol; i've already glanced at a few sections i don't immediately understand which was To Be Expected i suppose ;) will give this a more thorough overview and merge it once i get that "aha" moment

It will be hard to work much on this during the week

WOW holy crap no worries at all, you generous wonderful people throwing these marvelous PRs at me have already probably written more of this than i have; by all means feel no pressure to keep up your heroic pace so far lol

good heavens, yeah, extensive is definitely the right word for it lol; i've already glanced at a few sections i don't immediately understand which was To Be Expected i suppose ;) will give this a more thorough overview and merge it once i get that "aha" moment. as always, huge thanks!

No problems! You can take your time! It's more of a "quality of life" thing for simpler mouse input usage. The last commit (459bc1b) has another usage example for the input lib.

WOW holy crap no worries at all, you generous wonderful people throwing these marvelous PRs at me have already probably written more of this than i have; by all means feel no pressure to keep up your heroic pace so far lol

No pressure whatsoever, I've actually been searching for an easy alternative for sd-infinity that used automatic1111's API - I even modified sd-infinity with a drop-in implementation to try using it with the API - and this project seems to have great potential to be what I was searching for. That's why I'm so excited to help!

so i absolutely meant it when i said i was terrible at JS lol; like, my familiarity with the observer pattern was pretty much the same as my familiarity with being filthy rich: i know it exists and other people probably have a better idea of what to do with it :)
that being said, going through input.js is the most luck i've had with simply understanding the concept and how it works, but things like https://github.com/zero01101/openOutpaint/pull/22/files#diff-1d2688bdcb2d67f9bfc101724ba505e287b0c8da9c69c933062dc22a26163cf3R150 are still black magic as far as i'm concerned :D
anyway, beyond future usability/generally making this whole shebang more extensible and less rickety, the educational aspect of your work is huge and i once again can't thank you enough :)


Invalid Number of Parameters

Hi Walkor,
I am facing issue when sending $raw= true on function
Gateway::sendToClient($clientId, $message, $raw);

public static function sendToClient($client_id, $message, $raw = false)
{
        return static::sendCmdAndMessageToClient($client_id, GatewayProtocol::CMD_SEND_TO_ONE, $message, $raw);
}

In this above function call return static::sendCmdAndMessageToClient $ext_data is missing. Can you please update this

protected` static function sendCmdAndMessageToClient($client_id, $cmd, $message, $ext_data = '', $raw = false)
{

}

In this above function call return static::sendCmdAndMessageToClient $ext_data is missing. Can you please update this
Thank you

Fixed and try again.
If all is ok I will create a new release.

It's working fine now.

v3.0.21 released.


Update repeater.blade.php

Change $el to $root.

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Considering the following PR: https://github.com/filamentphp/filament/issues/5852 it seems the changes have been overwritten.
The issue is that pressing the "Add" button for the repeater makes you scroll all the way up to the top of the page.
awcodes suggested it could be a browser extension, however I've disabled everything, asked 2 other users and tried other browsers. The behavior stays the same; it keeps scrolling up.
I've tested this, changing $el to $root solves the automatic scrolling issue for me.

Thanks, @Cannonb4ll!
Are there any other places where this needs to be updated?
Maybe builder/tabs?

I haven't had any issues with other components so I guess not?
I have to say though, it doesn't completely seem resolved just yet. Repeater in a repeater breaks badly.

Closing for now, this seems more related to a LW3 issue with @entangle.


Support for SqlXmlSchemaCollection

I am unable to build the dacpac because It doesn't understand what to do with Types -> XML Schema Collections It also is using Service broker but i belive the issue is with  XML Schema Collections . Is there any work around or solution to solve the issue?

@greektreat Could you share the contents of your project file and any errors you're getting? That would help us to figure out what the issue is.

@jmezach thanks for the reply here is the detailed error meessages and attached is the csproj as txt

Error	MSB3073	The command "dotnet "C:\Users\mkimonos\.nuget\packages\msbuild.sdk.sqlproj\2.0.0-beta.1\Sdk\../tools/net6.0/DacpacTool.dll" build -o "build/obj\Debug\TCC.Broker.dacpac" -n "TCCBroker.Sql.Build" -v "1.0.0" -sv Sql150 -i "build/obj\Debug\TCCBroker.Sql.Build.InputFiles.txt"   -p Trustworthy=True -p ServiceBrokerOption=EnableBroker         -tdn "TCC.Broker"" exited with code 1.	TCCBroker.Sql.Build	C:\Users\mkimonos\.nuget\packages\msbuild.sdk.sqlproj\2.0.0-beta.1\Sdk\Sdk.targets	229

Error	SQL71501	SqlMessageType: [msTransaction] has an unresolved reference to SqlXmlSchemaCollection [tcc].[Transaction].	TCCBroker.Sql.Build	C:\TFGIT\TransactionBroker.Sql\src\Service Broker\Message Types\msTransaction.sql	2

Error	SQL71501	SqlMessageType: [msTransactionAcknowledgment] has an unresolved reference to SqlXmlSchemaCollection [tcc].[TransactionAcknowledgment].	TCCBroker.Sql.Build	C:\TFGIT\TransactionBroker.Sql\src\Service Broker\Message Types\msTransactionAcknowledgment.sql	2

TCCBroker.Sql.Build.TXT

@greektreat How are you defining those SqlXmlSchemaCollection objects in your SQL scripts? Based on the project file it seems that the XML schema files aren't included in the build, but I guess you'll have to define them in your project somehow. I don't have much experience with XML schemas in SQL.

@greektreat To be honest I have no idea what's going wrong here. Do you have an existing .sqlproj file that you're willing to share where this is working? Perhaps that would give us a clue as to how this is supposed to work.

privately yes

Would it be possible to share just the relevant details? I'm particularly interested to see how the .xsd is referenced from the project file in the .sqlproj case.

Closing as the requested additional information was never supplied.


Fix check on request.GET while request == None

Coverage remained the same at 94.444% when pulling 2be1893021650b15d1b5dbbf07b55a85b12e95ea on derenio:fix_none_request_in_cmstoolbar_tag into e9a1f834c2d1fbd69feadbfaedfad015aa7b7601 on divio:develop.


Open pdf documents in Chrome instead of downloading

When I click a pdf document link, it will be downloaded in fava but directly opened in bean-web (my browser is Chrome).
It makes sense to have the pdf documents directly opened in Chrome instead of being downloaded.
I googled the pdf links' behaviour in Chrome and confirmed that the Chrome PDF Viewer in chrome://plugins/ is Always allowed to run.
So I wonder it may be because the links' difference between fava and bean-web.

fava: 2016-04-05.2016-04.pdf
bean-web: 2016-04-05.2016-04.pdf

Any ideas?
Thanks in advance.

It is because of https://github.com/aumayr/fava/blob/master/fava/application.py#L179

fava should behave like this since 40a16e7ec04ebfc33183f60201fe0ed64bd04473 (which is part of the latest release). Which version are you running?

It is because of https://github.com/aumayr/fava/blob/master/fava/application.py#L179

No, that's for query results, which we want to send as attachments. This is the relevant line.

@yagebu
cool! Things works well now after upgrading to version 0.2.6.
previous my beancount-fava version is 0.2.5.
Thanks @corani.

Ah, you're right @yagebu. Thanks for the clarification. And now that you
mention it, I do remember that change going in... I'm a bit fuzzy lately :-)
On Thu, Apr 7, 2016 at 10:34 PM, Cheng Zhen<EMAIL_ADDRESS>wrote:

@yagebu https://github.com/yagebu
cool! Things works well now after upgrading to version 0.2.6.
previous my beancount-fava version is 0.2.5.
Thanks @corani https://github.com/corani.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/aumayr/fava/issues/251#issuecomment-206933672

--
Best regards,
Daniël Bos
Your government is reading your email. Slow them down with encryption.
My public key: http://goo.gl/gms497 (4096 bit RSA, id EF2D5D91)
Fingerprint  : D8D0 9FBE F075 F709 7B52  2F73 326C 2123 EF2D 5D91


Open menu at the click location

Is there a way to display the menu when I click on the trigger, but have the top-left (or other) corner of the menu at the (x,y) position of the click?

Looks like it isn't really possible right now since I didn't expose the style or listStyle props. :/

Maybe you could do something like what the similar react-contextmenu and simply put class names on the menu elements so people can style. Not a perfect solution, but definitely a step in the right direction.

I'd be happy to take a pull request with that feature, but I probably won't be implementing it myself. I'm devoting most of my free time with my bigger project react-md.


Feat: snapshot listeners

Still missing:

Revisit documentation
Add missing unit tests (like ignoreEmptyUpdates)
Add the ability to listen changes in entities (not only collections)
Return docChanges to the user (maybe as the second param of the watch callback?)

What do we need to finish this PR?

is this PR the main way to use firestore's realtime capabilities? wonder if it will be merged
is there a way to get at the underlying firestore collections from a firerom model so we can mix raw firebase API calls?


Failed to flush to storage

when i run an electron + angular project with nedb ,i get this error, how can i resolve the problem?

I have the same issue on Windows 7. MacOS version works perfectly.

so how to solve in windows?

Unfortunately no, switched to TingoDB.


Add missing semicolon to Tag.scala scaladoc

An example from org.scalatest.Tag is missing a semicolon. This PR is adding that semicolon.

@cla-bot[bot] check


Update AWS archi drawings

Realign the documentation with the latest changes from:

https://github.com/tenzir/vast/pull/2319
https://github.com/tenzir/vast/pull/2355

:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions

Update with cloudmap instead of LB


Process property upgrades in each subproject separately

We should have an annotation processor execute on each subproject individually to process @UpgradedProperty definitions. This is to avoid the need for introducing dependencies from the instrumentation-declarations subproject.

cc: @gradle/bt-execution

I found one issue with annotation processor: currently we do full recompilation of Groovy tests, see:
https://github.com/gradle/gradle/issues/26085
So we need to fix that.

It seems issue https://github.com/gradle/gradle/issues/26085 is specific just for :core where we generate test interceptors.
Although that shows that incremental annotation processing is a problem for projects that have main source set with mix Groovy/Java joint compilation (e.g. :code-quality).
For such projects we can probably keep instrumentation-declarations or maybe we separate Groovy code to a different SourceSet.


'aio discover' shows the file license instead of the description for some plugins

Expected Behaviour
Each plugin shows a description.
Actual Behaviour
For some plugins, some file license <!-- Copyright... is shown as a description.
Steps to Reproduce
$ aio discover

Name                                Version   Description                                                                                Published
@adobe/aio-cli-plugin-doc           0.0.2     Generates a starter documentation website powered by Gatsby.                                                                                July 7, 2020
@adobe/aio-cli-plugin-auth          2.4.0     The IMS plugin to aio supports managing tokens for IMS such as login, logout, and retrieving and using tokens.                                                             July 6, 2020
@adobe/aio-cli-plugin-info          1.1.0     <!-- Copyright 2020 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in c… July 6, 2020
@adobe/aio-cli-plugin-events        1.1.0     <!-- Copyright 2020 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in c… July 6, 2020
@adobe/aio-cli-plugin-console       3.2.0     Console plugin for the Adobe I/O CLI                                                                                July 6, 2020
@adobe/aio-cli-plugin-app           3.2.0     Create, Build and Deploy Adobe I/O Applications                                                                                July 6, 2020
@adobe/aio-cli-plugin-runtime       1.10.0    Adobe I/O Runtime commands for the Adobe I/O CLI                                                                                July 6, 2020
@adobe/aio-cli-plugin-config        2.3.0     Config Plugin for the Adobe I/O CLI                                                                                July 6, 2020
@adobe/aio-cli-plugin-ims           2.0.0     The IMS plugin to aio supports managing tokens for IMS such as login, logout, and retrieving and using tokens.                                                             July 6, 2020
@adobe/aio-cli-plugin-asset-compute 1.3.2     Tool to develop and test Adobe Asset Compute workers                                                                                June 22, 2020
@adobe/aio-cli-plugin-cloudmanager  0.10.0    Cloud Manager commands for the Adobe I/O CLI                                                                                June 12, 2020
@adobe/aio-cli-plugin-aem           1.0.4     AEM-related plugins to Adobe I/O CLI                                                                                June 10, 2020
@adobe/aio-cli-plugin-jwt-auth      2.0.4     JWT Auth Plugin for the Adobe I/O CLI                                                                                June 2, 2020
@adobe/aio-cli-plugin-aep           1.0.5     A plugin for CRUD operations on aep resources                                                                                May 12, 2020
@adobe/aio-cli-plugin-certificate   0.2.0     Generate and validate private certs, and public key pairs for use with Adobe IO Console                                                                                May 6, 2020
@adobe/aio-cli-plugin-cna           0.2.1     Create, Build and Deploy Cloud Native Applications                                                                                October 17, 2019
@adobe/aio-cli-plugin-target        1.0.1     Adobe Target commands for the Adobe I/O CLI                                                                                June 14, 2019
@adobe/aio-cli-plugin-pgb           1.2.1     PhoneGap Build commands for the Adobe I/O CLI                                                                                May 4, 2019

Platform and Version
$ aio --version
@adobe/aio-cli/3.7.0 darwin-x64 node-v10.21.0

Either plugins have to be fixed or logic to read the description does not deal with the license if present.

I just checked the code, it fetches the description from https://api.npms.io/v2/search?q=aio-cli-plugin. Thus each plugin has to fix its description.

Fixed in https://github.com/adobe/aio-cli-plugin-info/issues/19
Fixed in https://github.com/adobe/aio-cli-plugin-events/issues/17
Will be in the next releases.


Support TimescaleDb

Hi guys, I need to use timescaledb along with kubedb, any prediction to have that possibility in kuedb?

Can you tell us more about it ?

I currently use kubedb in production here at the company I work for manages postgres and redis. We also use influxdb as timeseries. but doing several tests I saw that timescaledb would supply much better than we need because we could use the postgres trigger to feed the reports. without counting that we will have a better performance and less a bank to maintain since timescale is a database based on postgres and that is also a timeseries. then the change would be less painful.
references:
https://www.timescale.com/
https://blog.dnsfilter.com/3-billion-time-series-data-points-dnsfilter-replaced-influxdb-with-timescaledb-d9f827702f8b

We also use timescale DB, I do not think this is a specific thing KubeDB should support. A better approach would be to make it easier to let the users run custom postgres images, in which the user can install any add on / plug-in they desire.
There are 2 PR's that are waiting to get merged at the moment. One which gives the user power to specify image to use, and another one that makes it easier to configure your postgres containers.

Here is the new proposal for supporting extensions
https://github.com/kubedb/project/issues/183#issuecomment-409715800

We have created a new repository to host TimescaleDB docker images https://github.com/kubedb/timescale
@annymsMthd has added an example Dockerfile https://github.com/kubedb/cli/blob/master/docs/guides/postgres/custom-versions/setup.md
Contributions are welcome for Dockerfiles. :)

Is it planned to be officially released? Tnx

I'm running timescale on kubedb with a custom image and can issue a pull request for the Dockerfile we have. However, looking at the kubedb/postgres repo, it seems there is a LOT more to it than just a Dockerfile. Where can I find instructions on setting up this repo properly? Or can I just submit a simple Dockerfile, since the operator and all that are already in the kubedb/postgres base image?

@gboor  - Can you share your Dockerfile somewhere? would be great to take a look at it. I'm also running a custom image version following some instructions found somewhere and it works great but it has a couple of breaking flaws:

if you run it with a custom databaseSecret.secretName it will create your user for you but that user cannot create databases nor can it administer roles
if you run it with the standard auth you cannot login into it since the postgres user gets created without a password it seems

Connection matched pg_hba.conf line 97: "host  all         all         <IP_ADDRESS>/0       md5"
2019-08-16 09:11:15.984 UTC [164] FATAL:  password authentication failed for user "postgres"
2019-08-16 09:11:15.984 UTC [164] DETAIL:  User "postgres" has no password assigned.

@pocorschi a colleague of mine released 2 images on docker hub that are KubeDB compatible;
https://hub.docker.com/r/iamliamc/timescaledb
https://hub.docker.com/r/iamliamc/timescaledb-postgis
The latter one includes both timescale and postgis extensions.
I know that these images work for our setup, but I have not tested them extensively.

@gboor thank you, I'll take a look at them.

This issue has been resolved in KubeDB release v2021.03.17 . Please open a new bug if you still see this issue.


extensions are not loading properly

I am having 2 packages with different command sets. Each command set targeted to one specific document library. When I am accessing the document libraries for the first time, command set are loading properly. But when move back and forth then these commands are not showing propertly.
Steps to reproduce:

Create Command-1 for document library Document1
Create Command-2 for document library Document2 (Both different solutions)
Install both solutions in the app catalog and add respect apps to the targeted site
Navigate to Document1 library and you will see Command-1 button
Navigate to Document2 library using quick links and you will see Command-2 button
Navigate to Document1 library using quick links and you will see Command-2 button. But you supposed to see Command1.

When you run the debug, I noticed that at step 6, Command-1 related logic is not executed. But if I refresh the page then it starts executing it.
Let me know how to handle it.

Appears to be a dupe of a known issue that MSFT is working on https://github.com/SharePoint/sp-dev-docs/issues/4054#issuecomment-539724437. We try to limit dupes, so closing per our process.

Thanks for update. The reference issue number which you provided is closed. But my extensions are not working. Can you please what needs to be done from my side?

The issue I referenced is not closed, it is still open.


Netflix not working in Vivaldi Snapshot when installed with scoop

Bug Report
Package Name: vivaldi-snapshot
Current Behaviour
Since my initial install, I have had extreme difficulty getting Netflix to work in Vivaldi Snapshot when Vivaldi Snapshot is installed with scoop (the excellent Windows package manager). I believe I may have isolated this to Vivaldi Snapshot being installed with scoop, as follows.
Installed with Scoop
When I do a fresh install of Vivaldi Snapshot via Scoop, Netflix throws error M7121-1331 ("This title is not available to watch instantly. Please try another title. -1044") when I attempt to play a video. Some Googling seemed to indicate that this error may be related to the Widevine CDM component.
I have checked that WideVine CDM is up to date in vivaldi://components, and I have also checked that 'Sites can play protected content' and 'Sites can use identifiers to play protected content' are enabled in chrome://settings/content/protectedContent.
When I visit https://demo.castlabs.com/ as suggested by Vivaldi help and attempt to play the Protected • MPEG-DASH Multi-Key DRM test video, I get the attached error output and the attached log output.
Installed with Installer from Vivaldi Website
When I install Vivaldi snapshot using the installer on the Vivaldi website, Netflix initially throws Error Code M7701-1003 ("Please visit chrome://settings/content/protectedContent and make sure 'Sites can play protected content is selected'"). After toggling 'Sites can play protected content is selected' and 'Sites can use identifiers to play protected content' on/off several times and restarting Vivaldi in between, I can eventually get Netflix to work. (Appears to start working once Vivaldi downloads the WidevineCdm component.)
Now, when I visit https://demo.castlabs.com/ and play the DRM video, the video plays successfully.
Summary / Followup
The only difference I can see is the install method: scoop versus the official Vivaldi installer.
Any ideas what might be causing this? I'm fresh out of ideas and wondering if anyone has ever experienced similar - reading around, it looks like Netflix issues have been a point of recurring pain for many Vivaldi users over the years.
I have also raised an issue on the Vivaldi forum to see if anyone there may have additional insight.
Expected Behaviour
Netflix/other DRM-protected sites should work normally.
Additional context/output
Error output and log from https://demo.castlabs.com/ attached.
error.txt
log.txt
System details

Windows 11 21H2 64bit
Vivaldi Snapshot 5.6.5829.3, installed via scoop (Netflix error M7121-1331 → Netflix never works)
Vivaldi Snapshot 5.6.5829.3, installed via Vivaldi installer (Netflix error M7701-1003 → Netflix eventually works)

Root cause identified and documented on Vivaldi forum here.
In short, Vivaldi's built-in Widevine DRM component appears to have trouble with scoop's directory junctioning scheme. Is there anything we can do to make Vivaldi work more seamlessly when installed via scoop?
I 💗 scoop!

Has there been any progress on this?
Spotify wasn't playing any songs properly due to a 403 on the Widevine request when Chrome is installed from Scoop.
I followed the following posts workaround https://forum.vivaldi.net/post/621428 to allow the songs to play, but this is a temporary fix.


Tutorial data link broken

Hej,
I have tried to download the data from the tutorial and is giving me an error:

wget http://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz

--2023-05-25 01:39:46--  http://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
Resolving s3.climb.ac.uk (s3.climb.ac.uk)... <IP_ADDRESS>
Connecting to s3.climb.ac.uk (s3.climb.ac.uk)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz [following]
--2023-05-25 01:39:46--  https://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
Connecting to s3.climb.ac.uk (s3.climb.ac.uk)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-05-25 01:39:46 ERROR 404: Not Found.

I don't think is my connection as I connect to the repository.
Cheers,
Violeta de Anca

Hi, any update on this? I would like to get access to the compare_methylation.py script in example folder

I just looked at previous issues and found this new link -
wget warwick.s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz

@Violeta-de-Anca can you share the location of the documentation with the incorrect link?  It looks like the correct one was included in docs/source/quickstart_call_methylation.rst a few months ago:
https://github.com/jts/nanopolish/blob/21c75db77b0e1338989be2d5c6bc96eca7c86c37/docs/source/quickstart_call_methylation.rst?plain=1#L23
wget http://warwick.s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
tar -xvf methylation_example.tar.gz
cd methylation_example

This documentation that I follow still has the old link - https://nanopolish.readthedocs.io/en/latest/quickstart_call_methylation.html

The person who was responsible for building the read the docs site is no longer in my group and I haven't found the time to do it myself - I'll try to get around to this, sorry!


fix for rspec 3 due to deprecation of share_as and share_examples_for

Sorry for the delayed response - rspec-steps has gone through a lot of changes since this PR was issued - and currently we're discussing how it should move forward.


Allow "accept" filetype validation to contain a blank among the accepted MIME types

The backstory on this change is that on the Windows platform, if you install WinRAR (or WinZip or 7Zip), those tools will very often screw up the extension-to-mimetype mapping of the OS, so the file object's .type has an EMPTY STRING value when it gets here for validation.
The intuitive thing to do is support EMPTY STRING by just putting a comma prefix on the accept value, such as "accept=',application/zip,application/x-zip-compressed'".  But unfortunately that turns the regex into a mess that will accept ANY type.
This patch handles the case of a blank "accept" type before RegExp has to.
(Also, the RegExp has a period where I think a "\." should be, but I made that change in a separate pull req since it's unlikely to be controversial, whereas this one may raise some eyebrows and require further discussion).

Thank you for the contribution. I've merged the other two PRs. This one is certainly more controversial. I don't like that its difficult to even reproduce the issue, so I can't really test this change. Since this is in the "additional" category, I'm okay with landing it anyway.
@staabm any thoughts on this?

Here's an illustration of why those blank choices need to be handled separately by this code and NOT by RegExp.  Basically, the RegExp library that javascript uses has a known bug in it.
Javascript console excerpt:

function m(p,t) { console.log(p.match(new RegExp( ".?(" + t + ")$", "i"))) }
m('gif', 'jpg|jpeg')
null
m('gif', 'jpg||jpeg')
["f", "", index: 2, input: "gif"]

As you can see, RegExp "finds" a match where there really ISN'T a match, just because of the double-| (or blank prefix | or blank suffix |) in there.

I am fine with the change, only thing missing is a test.

There are tests for the accept method in #1373, which fixes another problem with the method. @rskm1 can I interest you in checkout out that PR and merging it with your changes?

Oh, very nice!  #1373 looks good to me, but I'm not sure how to merge someone else's branch into my own using github's web interface.  If you go ahead and merge #1373 into master, this PR will have merge conflicts that I'm pretty sure I can figure out how to clean up, and add more "accept" test cases to.

Well, you can't run the tests from the GitHub web interface either (right?). Making a local clone and editing there shouldn't be a big barrier. Let me know if you need help with that.

@rskm1 are you still interested in this? Your help is definitely very welcome.

Closing, as its very old. if you still need this, please shout out.


Update README.md

Badge
Name
How to get
Needed amount

Heart On Your Sleeve
(???)
   DEFAULT BRONZE SILVER GOLD           (?) (?) (?) (?)

Open Sourcerer
(???)
   DEFAULT BRONZE SILVER GOLD           (?) (?) (?) (?)

Galaxy Brain
Answered a discussion(got an accepted answer)
   DEFAULT BRONZE SILVER GOLD           2 8 16 32

Update

Badge
Name
How to get
Needed amount

Heart On Your Sleeve
User cans obtain this badge by reacting to something on GitHub with a ❤ emoji
   DEFAULT BRONZE SILVER GOLD           (?) (?) (?) (?)

Open Sourcerer
Can be obtained if a user had Pull Requests merged in more than 1 public repository
   DEFAULT BRONZE SILVER GOLD           (?) (?) (?) (?)

Galaxy Brain
Answered a discussion(got an accepted answer)  Community Discussions
   DEFAULT BRONZE SILVER GOLD           2 8 16 32

can u explain me with more info to get Heart On Your Sleeve Achievements pls.


added precise descriptions on netlify deployment

Added more details on netlify continous deployment
Screenshot displaying the automatic build detection by netlify:

Screenshot showing URL handling by netlify

Is the pr stale


Validator - validate cmpt header

Validate composite tiles (cmpt) according to the spec. https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/TileFormats/Composite
A composite tile contains other tiles (possibly even other composite tiles). You will need to extract each of these tiles and run them through their respective validator functions, and only return true if all of them pass. You can check out the Cesium function for ideas on how to extract the interior tiles: https://github.com/AnalyticalGraphicsInc/cesium/blob/3d-tiles/Source/Scene/Composite3DTileContent.js#L174-L235.

@JudyWeng


Improve performance when searching directories

Changed the directory searching to use EnumerateFiles instead of
storing the files in a list.
This allows non-image files to be excluded without waiting for the
entire directory to be processed.
One consequence of this change is that invalid or non-directory paths
are ignored instead of being processed as a potential image file.

It was originally intended that both folders and image files could be loaded. This is probably an unused feature, so I'll accept this pull request which prevents image files from being directly added.


NavigationCardStack doesn't update when state or props in the overlay changes

Because NavigationCardStack implements shouldComponentUpdate with ReactComponentWithPureRenderMixin.shouldComponentUpdate, it only updates when the renderOverlay function changes to a different function.
When the state or props in the overlay change, this goes ignored, as the function is still the same, even if the resulting component would be different should that function be called.
This is unfortunate as our project uses an icon to represent sync status that sits as the rightComponent of a NavigationHeader rendered by renderOverlay.
One option to fix is to simply delete the shouldComponentUpdate function from NavigationCardStack.js (I've tried, it works.) Another is to pass through the actual component as a prop called 'overlay', rather than the function called 'renderOverlay', though I'm not sure what side-effects this might have.
I'm using React Native 0.27.2, Android, Mac, Emulating using Genymotion.

Hi @hedgerwang, thanks for the help! That also works, so now my render method looks like:
'''javascript
render() {
return (
<NavigationCardStack
direction={'horizontal'}
navigationState={{ ...this.state.navigationState }} // Clone so NavigationCardStack detects change
onNavigate={this.handleNavigation}
renderScene={this.renderScene}
renderOverlay={this.renderNavigationBar}
/>
);
}
'''
Although that does seem a bit backwards; imo you shouldn't have to pretend the nav state has updated in order for an update to the overlay to be detected! Also this will obviously kill any perf benefits from the NavigationCardStack having shouldComponentUpdate implemented, as it will think it should update every time now that a clone of the nav state is being sent through, so it becomes a redundant method.
That said, others may not have the same requirement for state-dependent overlays as I do, so I'm happy to use your fix, and leave others to reap the perf benefits of the shouldComponentUpdate function.

See discussion on #8085


make Environment Variables delimiter customizable

The ability to customize the Environment Variable Delimiter.
So we can support something along the lines of my.path as well as MY_PATH.
Separated from issue https://github.com/gestalt-config/gestalt/issues/148

 GestaltBuilder builder = new GestaltBuilder();
Gestalt gestalt = builder
  .addSource(EnvironmentConfigSourceBuilder.builder().build())
  .addModuleConfig(EnvironmentVarsLoaderModuleConfigBuilder
    .builder()
    .setLexer(new PathLexer("__"))
    .build())
  .build();

gestalt.loadConfigs();


Smite smite (lightning smite)

We have all the smites except for the actual smite

With #10196 it should be (relatively) easy to do

I do really want this one though.


[Feature Request] Web Support

This has been requested before (#230), but that issue was closed without support being added.
At least for me, the main reason I'm using RevenueCat is to simplify the process of managing subscriptions across multiple platforms. Requiring usage of a different API on web is contrary to my use case for RevenueCat, and contrary to the idea of Capacitor itself (platform agnostic).
I'm opening this issue mainly for tracking, but I also believe that web support for Capacitor needs to be reprioritized, as frankly, this is something that Capacitor users just assume will work, only to install the plugin and get an error message on web.

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Hey @ecc521! I'll make sure this is on our feedback and feature request radar. I will close this Issue out as well - we encourage feature requests to go through https://app.revenuecat.com/settings/support instead of opening an issue, and you can also keep an eye on our release notes for updates: https://revenuecat.releasenotes.io/


ValueError Exception on batch_seen variable

Getting this error when trying to train on my own dataset:
ValueError: Exception encountered when calling layer "yolo_layer_2" (type YoloLayer).
in user code:

    File "C:\Users\toby-\Documents\GitHub\keras-yolo3\yolo.py", line 47, in call  *
        batch_seen = tf.Variable(0.)

    ValueError: tf.function only supports singleton tf.Variables created on the first call. Make sure the tf.Variable is only created once or created outside tf.function. See https://www.tensorflow.org/guide/function#creating_tfvariables for more information.

Call arguments received:
  • x=['tf.Tensor(shape=(None, None, None, 3), dtype=float32)', 'tf.Tensor(shape=(None, None, None, 231), dtype=float32)', 'tf.Tensor(shape=(None, None, None, 3, 77), dtype=float32)', 'tf.Tensor(shape=(None, 1, 1, 1, 28, 4), dtype=float32)']

Any ideas?

Got the same error

Getting same error. Did you solve the error ?


Add implementation pointer to ign-common classes

To be merged after #160, for now only classes in graphics have been refactored, rest of the library will follow.

Thanks @luca-della-vedova for getting this cleaned up!


Build a risc0 new project

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Discord first?

[X] This is not a support question.

Description of bug
I've created a new project using cargo risczero new hello-world --guest-name hello_guest
When I run cargo build, I get the following error:
hello_guest:    Compiling ppv-lite86 v0.2.20
hello_guest: error[E0658]: use of unstable library feature 'build_hasher_simple_hash_one'
hello_guest:    --> /Users/acentelles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.11/src/random_state.rs:463:5
hello_guest:     |
hello_guest: 463 | /     fn hash_one<T: Hash>(&self, x: T) -> u64 {
hello_guest: 464 | |         RandomState::hash_one(self, x)
hello_guest: 465 | |     }
hello_guest:     | |_____^
hello_guest:     |
hello_guest:     = note: see issue #86161 <https://github.com/rust-lang/rust/issues/86161> for more information
hello_guest:     = help: add `#![feature(build_hasher_simple_hash_one)]` to the crate attributes to enable
hello_guest:
hello_guest: error: `CStr::to_str` is not yet stable as a const fn
hello_guest:    --> /Users/acentelles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/risc0-zkvm-platform-1.0.5/src/syscall.rs:146:15
hello_guest:     |
hello_guest: 146 |         match c_str.to_str() {
hello_guest:     |               ^^^^^^^^^^^^^^
hello_guest:     |
hello_guest:     = help: add `#![feature(const_cstr_methods)]` to the crate attributes to enable
hello_guest:
hello_guest: error: could not compile `risc0-zkvm-platform` (lib) due to 1 previous error
hello_guest: warning: build failed, waiting for other jobs to finish...
hello_guest: For more information about this error, try `rustc --explain E0658`.
hello_guest: error: could not compile `ahash` (lib) due to 1 previous error
error: failed to run custom build command for `methods v0.1.0 (cryptography/hello-world/methods)`

Caused by:
  process didn't exit successfully: `hello-world/target/debug/build/methods-3ea956e9e7089999/build-script-build` (exit status: 101)
  --- stdout
  Building guest package methods.hello_guest
  cargo:rerun-if-env-changed=RISC0_SKIP_BUILD
  Using rustc: /Users/acentelles/.rustup/toolchains/risc0/bin/rustc
  cargo:rerun-if-env-changed=RISC0_RUST_SRC
  Building guest package: cargo build --target riscv32im-risc0-zkvm-elf
  cargo:rerun-if-env-changed=RISC0_BUILD_DEBUG
warning: build failed, waiting for other jobs to finish...

Steps to reproduce
System: x86_64-apple-darwin
cargo risczero --version
cargo-risczero 1.0.5

cargo --version
cargo 1.81.0 (2dbb1af80 2024-08-20)

rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)

Steps:
cargo risczero new hello-world --guest-name hello_guest
cd hello-word
cargo build

@Acentelles could you run cargo +risc0 --version and tell us what you get from the output?

cargo 1.70.0-dev (ec8a8a0ca 2023-04-25)

I know you will need to update your toolchain, (use rustup update)
Here is our MSRV in general to reference:
https://github.com/risc0/risc0/blob/e7986bf91180357059195ffd431f60041f3151d2/rust-toolchain.toml#L2
For general questions and problems you are facing with RISC Zero, please search our 🙋｜dev-questions-support-forum first for solutions, by keyword and tags. If you discover no solution, please then ask and questions in our community! We highly encourage everyone also share their understanding by answering questions for others!
Join here: https://discord.com/invite/risczero


system_modes: 0.7.1-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository system_modes to 0.7.1-1:

upstream repository: https://github.com/micro-ROS/system_modes.git
release repository: https://github.com/microROS/system_modes-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.7
previous version for package: 0.6.0-1

system_modes
* Improved metadata for ROS 2 package releases

system_modes_examples
* Improved metadata for ROS 2 package releases

system_modes_msgs
* Improved metadata for ROS 2 package releases

@norro system_modes_msgs is failing to build: https://build.ros2.org/view/Fbin_uF64/job/Fbin_uF64__system_modes_msgs__ubuntu_focal_amd64__binary/4/
23:05:43 CMake Error at /opt/ros/foxy/share/rosidl_generator_c/cmake/rosidl_generator_c_generate_interfaces.cmake:168 (find_package):
23:05:43   By not providing "Findament_cmake_cppcheck.cmake" in CMAKE_MODULE_PATH this
23:05:43   project has asked CMake to find a package configuration file provided by
23:05:43   "ament_cmake_cppcheck", but CMake did not find one.
23:05:43
23:05:43   Could not find a package configuration file provided by
23:05:43   "ament_cmake_cppcheck" with any of the following names:
23:05:43
23:05:43     ament_cmake_cppcheckConfig.cmake
23:05:43     ament_cmake_cppcheck-config.cmake

I'm guessing ament_cmake_cppcheck is not declared properly as a build dependency in the package.xml.


Automatic hole detection (comby diff)

I'm always frustrated when I need to write redundant rules manually.
Describe the solution you'd like
Given two versions of a file, create a minimal rule that extracts changed part.
Additional context
Given.
<time datetime="2019-09-02T08:31:02.637Z">Sep 2, 2019</time>

Then.
<time datetime="2020-07-16T09:06:01.005Z">Jul 16</time>

Calculate a template that will extract hole1="2020-07-16T09:06:01.005Z" and hole2="Jul 16" for the second file.

Hey @abitrolly! I'm a bit slow on this one :-) This is a really great idea and I've thought about it a little. The problem comes down to inferring a transformation based on the common and different parts of a tree. This is, in general, a hard thing to do, mostly because there are multiple ways to express a tree difference. For example, if you had:
foo(bar) => foo(bar, baz) it is possible to express the change as:

foo(:[1]) => foo(:[1], baz) OR
:[f](:[1]) => :[f](:[1], baz) OR
:[f](bar) => :[f](bar, baz)

This is just a simple example for the foo(bar) case, and the possibilities only grow the larger the tree gets (i.e., the more code you have). It might seem obvious which one is best above, but in general it's hard to just do right (or it might be expensive to compute).
But, for simple cases (like yours), I think it's very possible to infer one or more plausible transformations. I don't have a good idea for tackling this at the moment, but I'll leave the issue open.

For foo(bar) => foo(bar, baz) the inferred template would be foo(:[f1]), because the whole content of foo node is changed - instead of single bar leaf there is now a subtree with two siblings bar and baz. I omitted comma from the tree, because the comma is a representation of this sibling relationship when the tree is written as code line.


Devcon2

This PR will add:

IPFS pubsub
uPort integration
Large message option (behind settings flag)
Multiple performance improvements
Loads of small code improvements all around

Closes #137 #136 #37 #100 and #134.

Closes #100


I think this is user error on my part but I get errors with this config.

To reproduce:

clone github.com/olafurpg/scalafix-sbt-example
install scalafix as described by the docs
try example as defined in the scalafix-sbt-example

git clone https://github.com/olafurpg/scalafix-sbt-example
cd scalafix-sbt-example
sbt "scalafix RemoveUnusedImports"
git diff

This works as expected

copy the scalazzi config from here to .scalafix.conf in the root of the project
execute sbt scalafix

See error
12:34 $ sbt scalafix
[info] Loading global plugins from /Users/mmynsted/.sbt/0.13/plugins
[info] Loading project definition from /Users/mmynsted/projects/scalafix-sbt-example/project
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] Set current project to scalafix-sbt-example (in build file:/Users/mmynsted/projects/scalafix-sbt-example/)
[info] Running scalafix --config /Users/mmynsted/projects/scalafix-sbt-example/.scalafix.conf --classpath /Users/mmynsted/projects/scalafix-sbt-example/myproject/target/scala-2.12/classes --sourceroot /Users/mmynsted/projects/scalafix-sbt-example
error: 7 errors
[E0] {"message": "Java collections have better performance, which is what I assume you were trying to do", "regex": "^\\Qscala.collection.mutable\\E.*$"} has no field 'symbol'. Did you mean 'regex' instead?
[E1] {"regex": {"includes": ["^\\Qscala.util.Either.LeftProjection#get().\\E$", "^\\Qscala.util.Either.RightProjection#get().\\E$", "^\\Qscala.util.Try#get().\\E$", "^\\Qscala.Option#get().\\E$", "^\\Qscala.collection.IterableLike#head().\\E$"]}, "message": "not a total function"} has no field 'symbol'. Did you mean 'regex' instead?
[E2] {"message": "prefer scalaz.{Equal, Show, Liskov, etc}", "regex": {"includes": ["^\\Qjava.lang.Object\\E.*$", "^\\Qscala.Any\\E.*$", "^.*\\Q#equals(Any).\\E$", "^.*\\Q#hashCode().\\E$", "^.*\\Q#toString().\\E$"]}} has no field 'symbol'. Did you mean 'regex' instead?
[E3] {"regex": "^\\Qjava.net.URL#\\E.*$", "message": "URL talks to the network for equality, prefer URI"} has no field 'symbol'. Did you mean 'regex' instead?
[E4] {"regex": ["^\\Qjava.io\\E.*$", "^\\Qscala.io\\E.*$"], "message": "legacy blocking API, prefer java.nio"} has no field 'symbol'. Did you mean 'regex' instead?
[E5] {"message": "scala arbitrary precision numbers are broken: https://github.com/scala/bug/issues/9670", "regex": "^\\Qscala.math.Big\\E.*$"} has no field 'symbol'. Did you mean 'regex' instead?
[E6] {"regex": "^\\Qscala.collection.parallel\\E.*$", "message": "parallel collections are low performance and block the thread, prefer scalaz.ApplyN"} has no field 'symbol'. Did you mean 'regex' instead?
scalafix.cli.Cli$NonZeroExitCode: Got exit code InvalidCommandLineOption=8

gist

I think this might be related to the version of scalafix.  I ran this with 0.5.10.


Remove explicit Request.GetBody assignment as it is already set in the request creation

Did you verify that this keeps the desired behvaiour (retry on EOF) intact?

Currently testing. Will leave the PR open until I have enough certainty.


Mystery account appears after unlocking the wallet.

Issue description
I created a second account and deleted it. After deleting the second account, it reappears with the name "Account 2" and a balance of 0.
Wallet version
Firefly v0.3.1
System specification
Windows
Is it a repeatable issue?
Yes, I think so.
Steps To reproduce the issue

Create a second account.
Add tokens to it.
Delete the account.
Let the wallet be inactive long enough to go into its lock screen.
Unlock the wallet and look for a second account with a zero balance.

Expected behaviour
For no mystery accounts to appear.
Actual behaviour

A mystery account appears.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

is it still there after app restart?

Yes

i can confirm this weird account behaviour:

i had 2 accounts "bla" and "bla2", then i deleted "bla2" and added a new one called "ia" -> i ended up with "bla2" and "Account 2"
after adding a new second account, the "My Accounts" pane shows two accounts with both the name of the one i just created (both also show same balance)

Yes

you said you first added some tokens to the second account - did you see this message when you tried to delete it? As normally the wallet will not allow to delete accounts that have still value:

Yes, I did an internal transfer to zero out the balance and then I deleted the account. I can confirm that I had only one account after the deletion. It was shortly after the deletion that the new mystery account appeared.

This will be fixed in the next version. Please open an issue if you face anything similar.


Does not work in IE8

Check in IE8:
Original - http://kenwheeler.github.io/slick/
Angular - http://vasyabigi.github.io/angular-slick/

Has anyone got any thoughts as to why it is not working in IE8? I'm trying to use this angular library and need to support IE8 in my project, but cannot see what could be causing the issue.

I don't know if this will help, but in my project we are using an html5shiv (https://github.com/aFarkas/html5shiv), and there is a method called addElements.  So in a new js file we have the method:
(function () {
window.html5.addElements('slick');
}());
IE8 does not understand custom tags, and  is not a standard HTML5 tag, so we have to 'add' this tag to the library so IE8 figures out how to render it.  I ran into this a few times by creating custom directives and custom tags, and until I added them they would not work in IE8.
Hope this helps.


New task for permeation

This PR adds a task for reproducing a permeation flux curve.
@jhdark don't know if this should be task 9 or task 3 and we bump all the other tasks?
Todo:

[ ] Add a pressure rise experiment
[ ] Add a sweep gas experiment

I think just make it task 9 for now so that we can keep merging prs without conflicts and then we can update the task orders later, but yeah perhaps it would be more suited earlier rather than at the end


Support for multiple versions of R

Enhance the build pack so that it is possible to specify the R version to use.
This could be implemented by including a simple text configuration file with the application (in addition the the init.r file) which contains the R version to use.
If no configuration file is specified, it should fallback to the currently implemented version R 2.15.1.

As an interim solution, you can include the following files in your application source code to override the version of R to use, and the version of the buildpack archive.

.r-version - specify the R version to use. E.g. 3.1.2
.r-buildpack-version - specify the buildpack archive (on S3) to use. E.g. 20150216-2120

NOTE: There is no check to see whether the 2 agree. I.e. That there is an archive for the given R version.
An example of this can be found on the cedar-14 branch under alternate-versions.

Backported the version solution on cedar-14 branch to the cedar (master) branch.


Logs does not automatically fail over to artifact in v2.5.1

I'm not sure if this is quite fixed. On v2.5.1, I'm getting:
 Waiting for data...

When the underlying pod does not exist anymore.
Originally posted by @MrSaints in https://github.com/argoproj/argo/pull/2139#issuecomment-590456761

Woah that was fast. Thanks!


[Bug] Humidity sensor on thermostat exposed as separate service

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When a thermostat also exposes a humidity sensor on the same endpoint, the humidity sensor currently gets configured as a secondary service, and not as the optional CurrentRelativeHumidity characteristic for said thermostat service.
It's (for some reason?) not possible to ungroup these two services, meaning the accessory tile in Home will only show a sensor icon and not the current state of the thermostat.
A possible solution might be to simply skip service creation for humidity sensors in case climate is also exposed on the same endpoint. Adding the optional characteristic should also be rather trivial, because we probably can reuse proven code from #854. 😉
Related devices
No response
Related Devices

RBSH-RTH0-ZB-EU
RBSH-RTH0-BAT-ZB-EU

Steps To Reproduce
No response
Expected behavior
A thermostat service with the optional CurrentRelativeHumidity characteristic gets exposed to HomeKit, and no additional humidity service is created.
Device entry
[…]
"exposes": [
        {
          "features": [
            {
              "access": 5,
              "description": "Current temperature measured on the device",
              "label": "Local temperature",
              "name": "local_temperature",
              "property": "local_temperature",
              "type": "numeric",
              "unit": "°C"
            },
            {
              "access": 7,
              "description": "Temperature setpoint",
              "label": "Occupied heating setpoint",
              "name": "occupied_heating_setpoint",
              "property": "occupied_heating_setpoint",
              "type": "numeric",
              "unit": "°C",
              "value_max": 30,
              "value_min": 4.5,
              "value_step": 0.5
            },
            {
              "access": 7,
              "description": "Temperature setpoint",
              "label": "Occupied cooling setpoint",
              "name": "occupied_cooling_setpoint",
              "property": "occupied_cooling_setpoint",
              "type": "numeric",
              "unit": "°C",
              "value_max": 30,
              "value_min": 4.5,
              "value_step": 0.5
            },
            {
              "access": 7,
              "description": "Offset to add/subtract to the local temperature",
              "label": "Local temperature calibration",
              "name": "local_temperature_calibration",
              "property": "local_temperature_calibration",
              "type": "numeric",
              "unit": "°C",
              "value_max": 5,
              "value_min": -5,
              "value_step": 0.1
            },
            {
              "access": 7,
              "description": "Mode of this device",
              "label": "System mode",
              "name": "system_mode",
              "property": "system_mode",
              "type": "enum",
              "values": [
                "off",
                "heat",
                "cool"
              ]
            },
            {
              "access": 5,
              "description": "The current running state",
              "label": "Running state",
              "name": "running_state",
              "property": "running_state",
              "type": "enum",
              "values": [
                "idle",
                "heat",
                "cool"
              ]
            }
          ],
          "type": "climate"
        },
        {
          "access": 5,
          "description": "Measured relative humidity",
          "label": "Humidity",
          "name": "humidity",
          "property": "humidity",
          "type": "numeric",
          "unit": "%"
        },
        {
          "access": 7,
          "description": "Bosch-specific operating mode (overrides system mode)",
          "label": "Operating mode",
          "name": "operating_mode",
          "property": "operating_mode",
          "type": "enum",
          "values": [
            "schedule",
            "manual",
            "pause"
          ]
        },
        {
          "access": 7,
          "description": "Enable/disable window open (Lo.) mode",
          "label": "Window detection",
          "name": "window_detection",
          "property": "window_detection",
          "type": "binary",
          "value_off": "OFF",
          "value_on": "ON"
        },
        {
          "access": 7,
          "description": "Activate boost heating (5 min. on TRV)",
          "label": "Boost heating",
          "name": "boost_heating",
          "property": "boost_heating",
          "type": "binary",
          "value_off": "OFF",
          "value_on": "ON"
        },
        {
          "access": 7,
          "description": "Enables/disables physical input on the device",
          "label": "Child lock",
          "name": "child_lock",
          "property": "child_lock",
          "type": "binary",
          "value_off": "UNLOCK",
          "value_on": "LOCK"
        },
        {
          "access": 7,
          "description": "Sets the display on-time",
          "label": "Display ontime",
          "name": "display_ontime",
          "property": "display_ontime",
          "type": "numeric",
          "unit": "s",
          "value_max": 30,
          "value_min": 5
        },
        {
          "access": 7,
          "description": "Sets brightness of the display",
          "label": "Display brightness",
          "name": "display_brightness",
          "property": "display_brightness",
          "type": "numeric",
          "value_max": 10,
          "value_min": 0
        },
        {
          "access": 1,
          "category": "diagnostic",
          "description": "Link quality (signal strength)",
          "label": "Linkquality",
          "name": "linkquality",
          "property": "linkquality",
          "type": "numeric",
          "unit": "lqi",
          "value_max": 255,
          "value_min": 0
        }
      ]
[…]

Status update
No response
Messages from this plugin
No response
This plugin
1.11.0-beta.5
Homebridge
1.7.0
Zigbee2MQTT
1.37.1-dev
Homebridge Config UI X (if applicable)
No response

Main tricky part is that two separate converters need to be aware of each others behavior, so they (unfortunately) need to be coupled somehow.
I'll think about what the possibilities are..
Functionally though, you still have all the data available in HomeKit, right?
So you can still make whatever automations you'd want for this?


Null is not an object in iOS

Hi and thanks for the good work.
I'm unable to get it working on iOS, is working fine on Android.
I've followed all the steps but whatever I try I get null is not an object each time I need access to configuration variable.
Do you've any idea/trick to try?
Best,
Leo
`null is not an object (evaluating '_env.default.API_BASE_URL')
create
Api.js:39:30

index.js:39:64
loadModuleImplementation
require.js:303:6

index.js:4
loadModuleImplementation
require.js:303:6

App.js:6
loadModuleImplementation
require.js:303:6

index.js:8
loadModuleImplementation
require.js:303:6
guardedLoadModule
require.js:195:45
`

@ottodriver hey, I'm sorry you have troubles with my library. Could you please provide more information? what is the version of your react-native? did you set up your project via quickstart guide? have you used any tricks from cookbook? It's best if you can provide a reproducible demo project which shows your problem. There's too little information available in your report to begin any troubleshooting.

Hi Max,
Sorry, I'm new to react-native, in fact I'm only building the multi
environment thing.
Finally I went back to react-native-config and get it working so you can
close this.
Thank you very much for your help.
Best,
Leo
El sáb., 6 de junio de 2020 03:41, Max Komarychev<EMAIL_ADDRESS>escribió:

@ottodriver https://github.com/ottodriver hey, I'm sorry you have
troubles with my library. Could you please provide more information? what
is the version of your react-native? did you set up your project via
quickstart guide? have you used any tricks from cookbook? It's best if you
can provide a reproducible demo project which shows your problem. There's
too little information available in your report to begin any
troubleshooting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maxkomarychev/react-native-ultimate-config/issues/14#issuecomment-639995537,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP3HL25WHABV7R4WQLVDOHTRVHQH7ANCNFSM4NUAZYTQ
.


Fixed text clipping in username screen

Error messages no longer cut off. Username no longer clipped at bottom.

looks good to merge!


ERROR:rasa_core.processor:Encountered an exception while running custom action

Rasa Core version:0.12.3
Python version: Python 3.6.8
Operating system (windows, osx, ...):Ubuntu 16.04
Issue:ERROR:rasa_core.processor:Encountered an exception while running action' Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
I have a file named bot.py which performs  the nlu,core training logic and starts the bot.
I have kept my custom actions in file called actions.py.
Endpoint is defined in endpoints.yml as
action_endpoint:
url: “http://action:5055/webhook”
I start with    "python -m rasa_core_sdk.endpoint --actions actions"   to run the action server  and then
"python bot.py --endpoints endpoints.yml" (in different terminals)
to start the bot.
nlu and core training happens smoothly and the bot starts.
The bot is able to run normal utterances but when  it comes to custom actions it throws
ERROR:rasa_core.processor:Encountered an exception while running action 'action_get_shop_location'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
path of the story :-(though i feel the error is independent of the path)
Generated Story -2406084420360357801

greet{"PERSON": "Arghya"}

slot{"PERSON": "Arghya"}
utter_greet

Service_Center_OR_Factory{"workshop_location": "workshop"}

slot{"workshop_location": "workshop"}
utter_city_name

city_name{"customer_location": "Delhi"}

slot{"customer_location": "Delhi"}
action_save_city_name
utter_confirm

mood_affirm

action_get_shop_location
utter_did_that_help

mood_affirm

utter_mood_affirm

mood_deny

utter_goodbye
action_restart

custom code :- (actions.py)
from future import absolute_import
from future import division
from future import unicode_literals
from rasa_core.domain import Domain
from rasa_core.trackers import EventVerbosity
import logging
logger = logging.getLogger(name)
import requests
import json
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet
from rasa_core_sdk.events import UserUtteranceReverted
from rasa_core_sdk.events import AllSlotsReset
from rasa_core_sdk.events import Restarted
class SaveCityName(Action):
def name(self):
return 'action_save_city_name'
def run(self, dispatcher, tracker, domain):
    orig = next(tracker.get_latest_entity_values("customer_location"), None)
    if not orig:
        dispatcher.utter_message("Please enter a valid city name")
        return [UserUtteranceReverted()]
    return [SlotSet('customer_location',orig)]

class SaveModelName(Action):
def name(self):
return 'action_save_model_name'
def run(self, dispatcher, tracker, domain):
    inp = next(tracker.get_latest_entity_values("model"), None)
    if not inp:
        dispatcher.utter_message("Please enter a valid model")
        return [UserUtteranceReverted()]
    return [SlotSet('model',inp)]

class ActionSlotReset(Action):
def name(self):
return 'action_slot_reset'
def run(self, dispatcher, tracker, domain):
return[AllSlotsReset()]
class getServiceCentreLocation(Action):
def name(self):
return 'action_get_service_centre_location'
def run(self, dispatcher, tracker, domain):
print("Checking Location...")
return "Checking Description..."
class getShopLocation(Action):
def name(self):
return 'action_get_shop_location'
def run(self, dispatcher, tracker, domain):
print("Checking Location...")
return "Checking Location..."
class getModelPrice(Action):
def name(self):
return 'action_get_model_price'
def run(self, dispatcher, tracker, domain):
print("Checking Price...")
return "Checking Price..."
class getModelConfig(Action):
def name(self):
return 'action_get_model_config'
def run(self, dispatcher, tracker, domain):
print("Checking Price...")
return "Checking Price..."
Content of domain file (if used & relevant):
%YAML 1.1
---
actions:
- utter_CEO_info
- utter_Customer_enquiry_model
- utter_happy
- action_get_model_config
- action_save_city_name
- utter_Service_Center_OR_Factory
- utter_Oppo_shop_location
- action_slot_reset
- utter_CustomerCare_info
- utter_Oppo_product_comparison
- utter_greet
- utter_about_OPPO
- utter_goodbye
- utter_brand_info
- utter_unclear
- utter_Official_Website
- utter_more_info
- utter_model_name_lookout
- utter_check_another_one
- action_get_service_centre_location
- utter_did_that_help
- utter_mood_affirm
- action_save_model_name
- utter_OPPO_Phones_Price
- utter_city_name
- utter_mood_deny
- action_get_shop_location
- utter_provide_founder
- utter_confirm
- utter_thanks
- utter_deny
- action_restart
- action_get_model_price
entities:
- model
- PERSON
- information
- shop_location
- customer_location
- web_address
- workshop_location
- feature
intents:
- mood_affirm
- greet
- Service_Center_OR_Factory
- city_name
- goodbye
- provide_founder
- about_OPPO
- brand_info
- CustomerCare_info
- Oppo_store_location
- CEO_info
- Official_Website
- OPPO_Phones_Price
- Customer_enquiry_model
- Oppo_product_comparison
- model_name_lookout
- mood_deny
slots:
  PERSON:
    type: text
  customer_location:
    type: text
  model:
    type: text
  shop_location:
    type: text
  workshop_location:
    type: text
templates:
  utter_CEO_info:
  - text: CEO of Oppo is Chen Mingyong.Started his position from 2/11/2017.
  utter_CustomerCare_info:
  - text: Oppo's customer care number is 1800 103 2777
  utter_Official_Website:
  - text: 'Official website is: www.oppo.in'
  utter_Oppo_product_comparison:
  - text: 'Decision is yours:Here is the feature list of {model} and {model}:'
  utter_about_OPPO:
  - text: Oppo Electronics Corporation, commonly referred to as Oppo, is a Chinese
      consumer electronics and mobile communication company, known for its smartphones,
      Blu-ray players and other electronic devices. A leading manufacturer of smartphones,
      Oppo was the top smartphone brand in China in 2016 and was ranked No. 8 worldwide
  utter_brand_info:
  - text: I work for Oppo Mobile
  utter_check_another_one:
  - text: Do you want to make another inquiry?
  utter_city_name:
  - text: Which city are you from?
  - text: Which city are you from?
  - text: Name of the city please?
  utter_confirm:
  - text: 'I will be making inquiry for customer_location: {customer_location}. Is
      that correct?'
  utter_deny:
  - text: That's a shame. Let me know if you change your mind.
  utter_did_that_help:
  - text: Did that help you?
  utter_goodbye:
  - text: Bye and take care!
  - text: Bye
  utter_greet:
  - text: Hey!This is Ollie,your assistant.How may I help you?
  - text: Hi!I am here to help.Shoot!
  - text: Hi,how can I help you?
  utter_happy:
  - text: Great carry on!
  utter_mood_affirm:
  - text: Glad that i was useful.Next Question if any?
  utter_mood_deny:
  - text: Try again!
  utter_more_info:
  - text: Please provide more details so that i can understand your query
  utter_provide_founder:
  - text: Oppo's founder is Chen Mingyong.
  utter_thanks:
  - text: You are very welcome.
  - text: Glad I could help!
  utter_unclear:
  - text: I am not sure what you are aiming for.

Hello, I am struggling with same problem right now. Rasa and building a chatbot is new to me and I followed rasa-workshop-pydata-berlin in Jupyter Notebook. It's obviously an older version of Rasa but I couldn't figure out what to do with this error. Also, that particular example do not include any endpoint file, do I need it? How should it be? I am a bit confused on that topic too. Thank you very much already.
Rasa versions:
NLU: 0.14.6 Core: 0.13.8
Python version: 3.6.4
Operating system: Windows 10
Issue: ERROR:rasa_core.processor:Encountered an exception while running action 'action_ask_question'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
Content of configuration file (config.yml):
pipeline: "tensorflow_embedding"

Content of domain file (domain.yml) (if used & relevant):

intents:
- greet
- inform_from
- inform_to
- inform_depart
- inform_return
- inform_class

slots:
  from:
    type: text
  to:
    type: text
  depart:
    type: text
  return:
    type: text
  class:
    type: text

entities:
- from
- to
- depart
- return
- class

actions:
- utter_greet
- utter_ask_from
- utter_ask_to
- utter_ask_depart
- utter_ask_return
- utter_ask_class
- utter_goodbye
- utter_unclear
- action_ask_question

templates:
  utter_greet:
  - text: "Hey!"
  utter_ask_from:
  - text: "Lütfen girin, kalkış yeri."
  utter_ask_to:
  - text: "Lütfen girin, varış yeri."
  utter_ask_depart:
  - text: "Lütfen girin, kalkış tarihi."
  utter_ask_return:
  - text: "Lütfen girin, dönüş tarihi."
  utter_ask_class:
  - text: "Lütfen girin, bilet sınıfı."
  utter_goodbye:
  - text: "Hoşçakal."

I am basically trying to a very simple chatbot in Turkish, that's why my config.yml file is like that. I do not know if it's the best.


genesis-tool: Byron genesis generator CLI

Issue: https://github.com/input-output-hk/cardano-node/issues/30
TODO

[x] Figure out secret key size discrepancy: 130 bytes in this implementation vs. 203 for actual secret keys in cardano-sl (SHOWSTOPPER).

this appears to be due to VSS keys also being there: https://github.com/input-output-hk/cardano-sl/blob/master/tools/src/keygen/Dump.hs#L48

[x] Key pretty-printing.
[x] Documentation.
[x] Key material migration.
[x] Factor.
[?] Optional random generation of things meaningfully available to random generation (seed, protocol magic, etc.)

bors r+

Thank you, @CodiePP!


Removed public protocol CGFloatConvertible

Changed setProgress(to:) to use ExpressibleByFloatLiteral
The reasoning behind this pull request is to stop the library from exposing the CGFloatConvertible protocol to the user's code, as it is not necessary for the setProgress(to:) function to be able to accept the types: Float, Double and CGFloat.

@TwoLivesLeft Thank you for your contribution sir!


get dashboard with fake graph id returns 200 instead of 404

API
GET  /graphs/{graphid}/dashboards/{dashboardname}

request and response

software version
master : 7c79c26

issue still exists
expected response
response code should be 404
actual response

response code 200 with empty list in body
software version
master : 851d41fa

issue still exists

The ticket was opened for GET  /graphs/{graphid}/dashboards/{dashboardname} not GET  /graphs/{graphid}/dashboards. However, I fixed the other one now. Please check again.


fails to update. Also cannot install pamac in the readme. PGP signature is incorrect.

Requirements

[X] Yes
[ ] No

WSL Version

[X] WSL 2
[ ] WSL 1

Version
Microsoft Windows [Version 10.0.22621.1702]
Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
Repro Steps
sudo pacman -Syu
Expected Behavior
Installs and updates.
Actual Behavior
[brian@DESKTOP-HMN4M4C ~]$ sudo pacman -Syu
error: wslutilities: signature from "WSL Utilities Package Signing Key<EMAIL_ADDRESS>is unknown trust
:: Synchronizing package databases...
core                                               143.6 KiB  49.4 KiB/s 00:03 [##############################################] 100% extra                                             1636.8 KiB  2.13 MiB/s 00:01 [##############################################] 100% community                                            7.0 MiB  8.24 MiB/s 00:01 [##############################################] 100% multilib                                           145.5 KiB   808 KiB/s 00:00 [##############################################] 100% wslutilities                                      1153.0   B  1098   B/s 00:01 [##############################################] 100%error: wslutilities: key "2D4C887EB08424F157151C493DD50AA7E055D853" is unknown
:: Import PGP key 2D4C887EB08424F157151C493DD50AA7E055D853? [Y/n] Y
error: key "2D4C887EB08424F157151C493DD50AA7E055D853" could not be looked up remotely
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

This issue has already been discussed here and I have mentioned how to solve it. Please check if a issue has already been reported before reporting a new one. This is wslu's issue, not ManjaroWSL2's.
I won't be updating pamac from my side. I have provided how to add support. Its up to the user if he wants to use it.

sudo pacman-key -d A2861ABFD897DD37
wget https://pkg.wslutiliti.es/public.key
sudo pacman-key --add public.key
add the unknown showing key  in terminal to    pacman-key --lsign-key "unknown key"
then run :
sudo pacman -S archlinux-keyring
sudo pacman -Syyu


Log "tier" telemetry in all Cody VS Code events

Purpose:

To track the number of "mDAU", or monetized DAU (pro + enterprise DAU), which is going to be a top-line product metric for 2024.

Requirements:

For all VS Code Cody telemetry, add what tier the user is in to the public_argument metadata field.
tier = free | pro | enterprise

This has already been approved by @kelsey-brown

@kalanchan do you think we can get this prioritized before Feb launch? It's ok if not, we can do some data transformations on our end to proxy this

@kelsey-brown / @chenkc805 is this still something we want to add? :)

Yes it is!

Need some help from @bobheadxi getting this into telemetry v2 too. PR for V1 is here: https://github.com/sourcegraph/cody/pull/3508

@kelsey-brown @chenkc805 Tiny change: We'll use an enum mapping to number for easier v2 support, so:
enum CodyTier {
    Free = 0,
    Pro = 1,
    Enterprise = 2,
}


Request a new auth token if connecting to Ably fails due to wrong token capabilities

When a new trackable is added and a connection to Ably is being established, we are entering the presence of a channel. If that operation fails due to the token capabilities, we request a new token and retry the operation. If it fails for the second time we treat that as an error.

Hmm, GitHub has me confused. My intention was to remove @ikbalkaya's soon-to-be-very stale review approval, whilst we keep this PR in a Draft state awaiting the newer ably-android dependency. I don't seem to be able to remove that approval so perhaps safest that I re-request that review so the state isn't approved. 😅


Added Card stories

Closes #557

@raquelarrojo please review the changes in last commit.
Changes

The action card states are in a new story to avoid collision of focus state with link card.
Pseudo-states and focus function don't work for the action card, so I use tab function.
New function linkStates to indicate interactions to activate link card states.


Blinky cpp gpio logic corrected. Matches correct CS code.

The suggested led wiring and the MainPage::TurnOffLed() call used when the timer is stopped require gpio 5 driven HIGH to turn OFF the led (and gpio LOW to turn it ON). The blinking circle in the UI is also synchronized correctly with this (red for on, grey for off).
Note the CS code is already correct, compare MainPage::FlipLed()  with private void FlipLED()

Thannk you for submitting the fix!