Fixed Solarized Theme Colour Constrast

PR as requested by Gonzalo Peña-Castellanos

Hello @grantcarthew! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/config/appearance.py:

Line 438:1: W391 blank line at end of file

For ref: https://github.com/spyder-ide/spyder/pull/12561


protobuf version conflict while trying to integrate with kfp

/kind feature
Describe the solution you'd like
While trying to use KFP version 2.6.0 for parallel pipelines that includes a step for training a model and then a step that deploys the trained model using KServe version 0.13.0, a custom component or container step that interacts with KServe APIs to deploy or update an InferenceService. Facing issues with protobuf version, as kfp 2.6.0 depends on protobuf<5 and >=4.21.1 where as kserve 0.13.0 depends on protobuf<4.0.0 and >=3.19.0.
With next future stable release of kserve, expecting protobuf version to be upgraded to >=4.21.1 as this is most compactable version with most ML modules.

duplicate #3730

Will be resolved by #3751

@SaiKireeti2905 does kfp plan to support protobuf version 5 ?

resolved by #3881


bruteforce-crc.cc: Fix errors with initial

Fixes #4.

Since initial was declared to be uint32_t, the conversion of the
argument should likewise be converted to uint32_t. size_t converts
it to 8-bytes, which will not fit into 4-bytes.

probe_initial should be set to false by default to prevent the
current bug. The current bug causes the program to ignore the user
specified value --initial x and bruteforce crc seeds.

Signed-off-by: Solomon Tan<EMAIL_ADDRESS>

See Issues #4 and #5 for description on how PR #6 will solve them. Ready for review and merge, please.


act_on for identity

This exponentially improves perf on density matrix simulator for identity gates with several qubits.
(Edit:) Note this doesn't create a similar improvement for the normal simulator. So maybe there's some improvement that could be done in the DM's act_on_fallback itself to improve cases like this. Haven't dug into it.

Per the question in the description, SV simulator uses apply_unitary, which for the identity just returns the input. DM doesn't call apply_unitary. This addition of act_on for the identity handles the DM case (and all other simulators), and I don't see much ROI in adding new op-application methods specific to DM for any other operations. So this seems like the right thing to do and the only thing to do.


train problem

Hello, I have deployed the environment strictly according to the file you provided, with CUDA version 11.1. I encountered the following error during runtime. What are the correct versions of PyTorch, torchvision, and cudatoolkit that I should use?

I'm also encountering this error while running the eval script. I guess it's due to some compatibility issues with timm (version is not specified in the environment.yaml file) and pytorch versions which are installed when running conda env create -f environment.yml.
@ken2576 would you be able to provide us with the version of timm + pytorch you used, if you still have your old env?
thanks!!


Batch normalization support

To compile aten._native_batch_norm_legit*, we need a batch norm op in tt-metal.

Training mode requires native support (to update parameters on the fly)
Probable performance gain in inference mode, compared with a handful of pointwise ops (add, mul, rsqrt)

Hi @eyonland, just to check is this already on your radar and is somebody working on it?
We can decompose batchnorm in compiler into smaller ops, but we would prefer to avoid that work if ttnn will soon have native support for batchnorm.

@tt-aho  and @yugaoTT , would either of you be able to look into this?

we will be taking on this work

Great, thanks for the update @eyonland!

Is the intent here to help with improving performance? If so, how much of an improvement do you believe this to be for your training?

There are couple of intents from our side:

To avoid workarounds in compiler - If we can just lower batch norm into ttnn.batch_norm then we don't have to implement decomposition workaround to decompose batch norm into bunch of smaller ops that compositely make batch norm. This is our main concern.
Performance - We hope that it would be more performant if there is dedicated ttnn op for batch norm than manually calling bunch of ops in pipeline to produce the same result, but this is not our main concern at the moment. I am also aware that ttnn could still in the background do the same thing and do the decompose.

This needs to be implemented as device op.


rebased: new command spfx project externalize

supersedes #1090

Coverage remained the same at 100.0% when pulling 5fb3508e05405b75540caaf6779b6be1f6d75101 on baywet:feature/externalize-rebased into 5b02758c6d266e2fc47b8b0aad135bebb998e247 on pnp:master.

Perfect! I'll go through it asap. Thank you! 👏

@waldekmastykarz Thanks! so the comments you just added are already implemented right? or do I need to go through those?

Correct. Despite the few adjustments on my part, you've done a great job and I can't wait to get it out in the next beta and hear from folks how they like it. Great job! 👏

It wouldn't have been possible without help from you and @VelinGeorgiev ! Community at work 🦾

Merged manually. Awesome job and I'm looking forward to hearing what folks think about it. 👍


Make logs depends on feature or env_logger

To prevent loggins this:
[2024-12-27T08:43:19Z INFO  rsonpath::engine::main] SIMD configuration:
     avx2;fast_quotes;fast_popcnt
[2024-12-27T08:43:19Z INFO  rsonpath::engine::main] SIMD configuration:
     avx2;fast_quotes;fast_popcnt

I don't get this one. rsonpath-lib just uses log, we don't override any configurations.
If you're using env-logger in your project you can tell it to silence our logs with the env variable:
RUST_LOG="info,rsonpath=warn"


incluid vps

Is there any way to configure with a vps instead of firebase? firebase has a very short limit

Firebase is stable , easy to configure and have multi-platform support.
Whereas not everyone have access to VPS.
90% of people using this tool are students.

If I have access to some vps accounts, I was wondering, is there any way to link arivat with vps?


As a viewer, I need to see the content of pages in the language I speak fluently.

First, lightest weight option might be to put a Google Translate button on the site

It would be ideal switch the site over to rely on a database of key value pairs. Does anybody have a suggestion for the best (ideally, open source) tool to integrate into the City72 app?

@sconover do you have any suggestions I might look into?

This has been broken down into smaller issues. See:
https://github.com/city72/city-72/issues/156
https://github.com/city72/city-72/issues/153


[DOCFIX] Update chinese doc of Powered-By-Alluxio.md

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11443/
Test PASSed.

LGTM


Gemma tokenizer issue

There seems to be Gemma support (https://github.com/ml-explore/mlx-swift-examples/blob/main/Libraries/LLM/Gemma.swift), however, the tokenizer library (when using llm-tool) throws a unsupportedTokenizer error as it has not been updated to support Gemma yet. Is there a way to use the Gemma model with a different tokenizer?

You could control which tokenizer was instantiated -- the code is here: https://github.com/ml-explore/mlx-swift-examples/blob/main/Libraries/LLM/Util.swift#L16
But I don't know if you can mix and match tokenizers like that.  Ultimately I think it needs to be supported here: https://github.com/huggingface/swift-transformers

I looked and although the model is ported, all of the configurations on hugging face use GemmaTokenizer

I will look and see if a normal tokenizer can be used -- in Keras it looks like just a standard BPE tokenizer (I think).

I did try simply adding it as a BPE tokenizer by extending the list here : https://github.com/huggingface/swift-transformers/blob/main/Sources/Tokenizers/Tokenizer.swift#L251 but that did not work as it does seem like there are some real differences (you get some array out of bounds issues and such -- did not look deeply).

Yes, it looks like it fails handling this token: "▁ह ै"
The code does this:
        for (i, item) in merges.enumerated() {
            let tuple = item.split(separator: " ").map { String($0) }
            let bp = BytePair(tuple: tuple)

It expects to be able to split on a space but there is no space in this token.

OK, I added a commit where it will use a BPETokenizer load the Gemma saftensors file.  I don't think the tokenizer is working correctly.
As for the splitting of tokens, swift-transformers needs to use String.UnicodeScalarView.split(separator:).  I have a workaround where we discard the merge tokens that it will crash on for now, but ultimately it requires:
https://github.com/huggingface/swift-transformers/issues/51

OK, this works better now -- the RMSNorm wasn't the correct implementation.
A few things to note: the python implementation generates a different prompt given the prompt "hello":
[2, 106, 1645, 108, 17534, 107, 108, 106, 2516, 108]
<bos><start_of_turn>user
hello<end_of_turn>
<start_of_turn>model

produces:
Hello! 👋 It's wonderful to hear from you. How can I assist you today?

Swift, given the same "hello" prompt produces these tokens:
[2, 17534]

which gives:
! 👋

I'm so happy to hear that you're interested in learning more about [topic]. I'm here to help you find the information you need and answer any questions you may have.

What would you like to learn more about today?<eos><eos>The context does not provide any information about what the topic is, so I cannot answer this question from the provided context.<eos><eos><eos>The context does not provide any information about what the topic is, so I cannot answer this

It should have stopped at <eos> but as noted in #4 the tokenizer doesn't expose that (I see what I can do about that).
If we use a prompt more like the python side: <start_of_turn>user hello<end_of_turn><start_of_turn>model we get these tokens:
[2, 235322, 2997, 235298, 559, 235298, 15508, 235313, 1645, 25612, 235322, 615, 235298, 559, 235298, 15508, 2577, 2997, 235298, 559, 235298, 15508, 235313, 2516]

and it generates:
Hello! How can I assist you today?<eos><eos>...

So you may have to adjust the prompt a bit to get what you want until we get a port of the Gemma tokenizer in swift-transformers.

And if I hard code the prompt tokens to match python (e.g. the numbers):
Hello! 👋 It's nice to hear from you. What can I do for you today? 😊<eos>

Added the eosTokenId -- 3f02fcc1cb427aa6621a5eda5e5480d31843f68d

I think this is working about as well as it can without the specialized tokenizer.

OK to close?

Yes, thanks so much for the quick response.


Unable to deploy multiple eventSubscription resources; first one always succeeds, but the subsequent ones fail with "Conflict" error

We are trying to deploy Microsoft.EventGrid/systemTopics resource, which contains several Microsoft.EventGrid/systemTopics/EventSubscriptions resources.
We have no problem deploying the the system topic resource, as well as ONE subscription; however, the subsequent subscriptions always fail with "Conflict" error. We have tried both serial and parallel deployment - it fails with serial as well.
Attached please see the screenshots of the error itself from the portal. The error itself looks like that:
{
"status": "Failed",
"error": {
"code": "Publisher Notification Error",
"message": "Failed to enable publisher notifications.",
"details": [
{
"code": "Publisher Provider Error",
"message": "PUT request for https://management.azure.com/subscriptions/[subscriptionid]/resourceGroups/xio-bicep-resg/providers/microsoft.devices/iothubs/[hubname]/eventGridFilters/event-subscription?api-version=2018-01-15-preview failed with status code: Conflict, code: and message: ."
}
]
}
The bicep code for creating the topics resource and the subscriptions, is attached as well.

How did you set serial - did you use @batchSize(1) decorator above the resource? I don't see the code attached, only the screenshot. Can you share the text here so I can copy/paste it?

Hello Alex. Yes, the screenshot is of the parallel implementation. The serial was tested in exactly the way you described, with the @batchSize() decorator. The code you asked for is below:
resource systemTopics 'Microsoft.EventGrid/systemTopics@2020-10-15-preview' = {
name: '${namePrefix}'
location: 'eastus'
tags: {
billTo: tagBillTo
application: tagApplication
createdBy: tagCreatedBy
managedBy: tagManagedBy
ownerEmail: tagOwnerEmail
environment: tagEnvironment
projectName: tagProjectName
dateCreated: tagDateCreated
}
properties: {
source: resourceId(hubType, hubName)
topicType: 'Microsoft.Devices.IoTHubs'
}
}
@batchSize(1)
resource subscription 'Microsoft.EventGrid/systemTopics/eventSubscriptions@2020-10-15-preview' = [for subscriptionDefinition in subDefinitions: {
name: '${subscriptionDefinition.name}'
dependsOn: [
systemTopics
]
parent: systemTopics
properties: {
destination: {
properties: {
resourceId: subscriptionDefinition.resource
maxEventsPerBatch: 1
preferredBatchSizeInKilobytes: 64
}
endpointType: 'AzureFunction'
}
filter: {
includedEventTypes: subscriptionDefinition.eventTypes
enableAdvancedFilteringOnArrays: true
}
eventDeliverySchema: subscriptionDefinition.schema
retryPolicy: {
maxDeliveryAttempts: 30
eventTimeToLiveInMinutes: 1440
}
}
}]

Thanks - do you also mind providing the schema for the subscriptionDefinition object you are referencing in the loop?

Hi Alex, of course! This is what we used:
{
        name: 'no-sql-event-subscription'
        resource: [insert resource ID of the Azure function here]
        eventTypes: [
          'Microsoft.Devices.DeviceConnected'
          'Microsoft.Devices.DeviceDisconnected'
        ]
        schema: 'EventGridSchema'
      }
      {
        name: 'telemetry-event-subscription'
        resource: [insert resource ID of another Azure function here]
        eventTypes: [
          'Microsoft.Devices.DeviceTelemetry'
        ]
        schema: 'EventGridSchema'
      }

Lev - did the support case get resolved? They should have been able to debug this with you to figure out the root cause, at which point we can figure out which team can fix/mitigate the issue.

Hi Alex. Thanks for checking in. Unfortunately the case is still not resolved. I get regular updates from Irene Rodriguez Zamora and  Sreekanth Minipuri - they are the two team leads collaborating on this issue.  Sreekanth told me in his last update that he was able to replicate the issue, but no resolution as of yet.

Can you ask that they reach out to the product team directly? I'd make it clear that this is a blocking issue (if that is the case) and potentially the severity of the ticket should be increased.

Hi Alex. Here is the latest update. I'll just paste it in its entirety. I guess there is nothing to be done.
Good Day,
Just wanted to let you know that I have an update from the IoT Product Group(PG) team on the unable to deploy multiple IoT hub Eventgrid EventSubscriptions issue. Please find the below impact, root cause, next steps and let me know if you have any questions or concerns.
Summary of Impact: You are using a Bicep template in order to create a IoTHub eventsubscriptions and getting a conflict error message while deploying multiple IoThub eventsubscriptions but do not have any issues in creating one event subscription.
Root cause: This is by design. The update IoT hub operations (which adds the event subscription on IoT hub) is a long running operation on the hub side. When there are multiple event subscriptions, there are multiple ‘Update’ operation calls made from event grid to IoT hub. This will result in a ‘Conflict’ error if the previous update operation is still ongoing.
Mitigation: N/A
Next Steps: We sincerely apologize for the impact to you. Unfortunately, there is no plan to change the behavior in the immediate future. But, we will add a work item to consider improvements in our backlog.

Thanks for the follow up. Do you mind asking the support engineers on your case to reach out to me at<EMAIL_ADDRESS>If the rule is that subscriptions cannot be deployed in parallel, then the @batchSize(1) decorator should have worked. Did they comment on why it didn't? The long running operation of the current create/update of the subscription should complete prior to the next one starting (because there should be a dependsOn between them). Something strange may be happening in their API.
cc @bmoore-msft who may have seen this behavior before

I think they must be returning 200 before LRO is finished (which makes automated orchestration [in templates] impossible).  Probably something we have to take up outside of bicep...

Hi Alex - contacted them and asked them to contact you directly. Meanwhile, if you want to initiate the contact yourself,  reach out to Sreekanth Minipuri<EMAIL_ADDRESS>or Irene Rodriguez Zamora<EMAIL_ADDRESS>

Closing as stale. Hoping the support ticket led to a meaningful resolution.


Observation Images

Plan:
Server Side:

Add S3FileField to Site Observations data with a default value of Null
Create a task endpoint which includes a parameter for the site ObservationId

This task will load up all observations for the site and determine the image type (S3/WorldView) and download the image for the 'collective' (the average bounding box of all images).
It then stores that image in the S3FileField for the site observation so it can be passed back to the client side

The updated site observations should include a reference to the S3FileField URL that is used.

Client Side:

Ability to select multiple individual site observations
When a site observation is selected we can kick of a task for each site observation to download the satellite images for it.
These images can then all be turned on and filtered once they are loaded.
System for caching images based on current time and having a list of enabled images
System for displaying the images on the map over the bounding box that they represent.

More details about the client side implementation:

Probably going to need a secondary panel to show selected observations.
Other panel should indicate the timerange of the observation, number of no_activity, active_construction, no_construction fields.
Indicate the number of images downloaded and ready
Provide a button to hit the post endpoint to get the images
Toggle to turn the images on for the area if they are all complete.

Next up:

Make sure the returned minio URLs reference the base siteURL (localhost) instead of the network container host (minio)
finalize the image retrieval and setup
Switch from using 'video' as the field to 'sattelite_image' or something more descriptive
Prevent it from attempting to download images that already exist
Once images are stored and referenced work on the client side to display them.

A few things I didn't get done with the previous comment:

Removal of selected sites from the list
Auto deselect sites when changing region or toggling model runs
Toggle to deselect site observations
Skip to next/previous image timestamp buttons for site observations that have their images on

Future Update:

enable downloading S3 and L8 Images
Create filtering to be able to filter the S3 and L8 images
Update 'video' reference in DB to be 'image' instead
Possibly add cloudcover information to each site images if they exist

Next up:

Adding a BBox scale to get more area around a site
Adding playback control to initiate playback of the system
Possible fade in/out of the system when changing between times.


[PROCESS] Glossary  Deliverable Type

Topic
We currently declare Definition as a deliverable type. While the act of defining a word requires effort, this work-product type is too granular. Dictionaries or Glossaries.
Data Point
A dictionary is an independent book in which words or terms are arranged alphabetically with their meanings and other details like origin or etymology, etc. A glossary is a specialized list of words and definitions, but not a book by itself.
Concern
The ToIP community needs a simply way to gather, refine and publish WORDS. The CTWG is responsible for enabling such a process. The OUTPUT of the CTWG process can be both Dictionaries and Glossaries, BUT minimally Glossaries as each ToIP WG would consider themselves as specialized producers of a domain of knowledge (collection of words).
Proposal
As eluded to in CTWG Issue 11, we need a Glossary Deliverable Type. This implies the following:

We MUST remove Definitions from our Deliverable Types and fix all diagrams.
We MUST replace Definitions with Glossary and fix all diagrams.
We COULD also add a deliverable type of Dictionary.
We need RESOLUTION to CTWG Issue 22

I thought of "Definition" in our deliverables diagram as being more general than "definition" in the granular terminology sense. In my mental model, a "Definition" deliverable is any artifact that captures/elucidates/clarifies concepts in a careful way as its primary purpose. Thus, a glossary is an example of a "Definitions" deliverable. A series of diagrams might be another "Definitions" deliverable.
Perhaps my mental model is misaligned with that of others. If "Definition" in our deliverables diagram means exactly and only the specification of a single concept (if it truly is the granular meaning), then I see @vinomaster 's concern.
I don't agree with the lexical focus implied by Dan's emphasis on words, however. A dictionary entry for "go" has dozens of potential meanings beneath it -- some verbs, some nouns, etc. We don't want an exhaustive catalog of all meanings of a word; we want to define TERMS (which are lexemes -- words or phrases -- that have precise meaning in a given technical context). Terms can be mapped directly from context to context ("What term does party or community A use for [concept X], and what term does party or community B use for it?"), whereas words are fuzzy ("Party A uses the word "foo" to mean X, but Party B's perception of "foo" overlaps that only 50%). Terms are translatable and concept-centric.
I could endorse "glossary" as a deliverable if we understand it to mean a collection of terms and their meanings, but not if we understand it to mean a collection of words and their meanings. And we should never consider dictionaries (which are word-oriented) as a deliverable.

I agree that one of goals of the CTWG is to define TERMS (which are lexemes -- words or phrases) and not WORDS.

This implies, for CTWG Consumability  Purposes, that the CTWG input process should be simplified from SCOPE, CONCEPTS, TERMS to simply TERMS. See CTWG Issue 23
This implies, A standard basic form (template) should be included in the CTWG Issue creation process for TERMS.

I am ok with the notion that the CTWG will NOT generate Dictionaries.

To restate the resolution proposal:

We MUST remove Definitions from our Deliverable Types and fix all diagrams.
We MUST replace Definitions with Glossary and fix all diagrams.
We need RESOLUTION to CTWG Issue 22

If this is agreeable, I will use this issue to handle 3.1 and 3.2 above.


Default config: use HTTP_ADDR in LOCAL_ROOT_URL

I could be wrong but I think gogs is currently listening on ipv4 only with default config.
The config key server.LOCAL_ROOT_URL is currently set to http://localhost:%(HTTP_PORT)s/. It should use the HTTP_ADDR variable instead of localhost as localhost is very likely pointing to the ipv6 loopback address as well, where gogs isn't listening.

gogs is indeed only listening on ipv4 (a bug IMO and it should be changed to use HTTP_ADDR instead), but the rest is incorrect.
net.Dial will fetch all ip-addresses mapped to localhost and try to connect to them all, first one wins.
A simple test will show this :smile: (after some testing it seems like golang is even doing reverse lookups o.O )
[bkc@bkc-900] $ ADDR="localhost:3000" go run main.go
Serving on  localhost:3000
Trying [::1]
 - [::1] Worked
Trying <IP_ADDRESS>
 - <IP_ADDRESS> Worked
Trying localhost
 - localhost Worked
[bkc@bkc-900] $ ADDR="<IP_ADDRESS>:3000" go run main.go
Serving on  <IP_ADDRESS>:3000
Trying [::1]
 - [::1] Worked
Trying <IP_ADDRESS>
 - <IP_ADDRESS> Worked
Trying localhost
 - localhost Worked
[bkc@bkc-900] $ ADDR="[::1]:3000" go run main.go
Serving on  [::1]:3000
Trying [::1]
 - [::1] Worked
Trying <IP_ADDRESS>
 - <IP_ADDRESS> Worked
Trying localhost
 - localhost Worked
[bkc@bkc-900] $ ADDR=":3000" go run main.go
Serving on  :3000
Trying [::1]
 - [::1] Worked
Trying <IP_ADDRESS>
 - <IP_ADDRESS> Worked
Trying localhost
 - localhost Worked

Code:
package main

import (
	"os"
	"fmt"
	"net/http"
)

func main() {
	serv := &http.Server{ Addr: os.Getenv("ADDR") }
	go serv.ListenAndServe()

	fmt.Println("Serving on ", os.Getenv("ADDR") )
	fmt.Println("Trying [::1]")
	if _, err := http.Get("[::1]:3000"); err != nil {
		fmt.Println(" - [::1] Worked")
	} else {
		fmt.Println(" - [::1] Failed")
	}
	fmt.Println("Trying <IP_ADDRESS>")
	if _, err := http.Get("<IP_ADDRESS>:3000"); err != nil {
		fmt.Println(" - <IP_ADDRESS> Worked")
	} else {
		fmt.Println(" - <IP_ADDRESS> Failed")
	}
	fmt.Println("Trying localhost")
	if _, err := http.Get("localhost:3000"); err != nil {
		fmt.Println(" - localhost Worked")
	} else {
		fmt.Println(" - localhost Failed")
	}

}

The localhost is also used in the git hooks. On my FreeBSD system pushing a repository always took ages because the hook tried to connect to the ipv6 address first, and only retried with ipv4 after the first request timed out.
Or does gogs use Go binaries in git hooks?

Please test out develop branch again.

Close as fixed.


Menu Bar Visibility visible with hidden option

VS Code Version: 1.55.1
OS Version: ArchLinux 5.11.12-arch1-1

Bug: it's possible to show Menu Bar also with the hidden option.

Steps to Reproduce:

Set "window.menuBarVisibility": "hidden"
Open new file
Press: alt + a
Menu should pop up

In this situation pressing alt does not restore the "hidden" situation

Does this issue occur when all extensions are disabled?: Yes

Duplicate #110822
But will it be fixed?


Delete unnecessary forward declarations

These are made in tensorflow/stream_executor/stream_executor_internal.h
Additionally, RngSupport is within perftools::gputools::rng rather than
perftools::gputools::internal.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please


Update Aure CLI because of bug in Version 2.28.0

Description
I hope it's enough to reference the original bug:
https://github.com/Azure/azure-cli/issues/19475
Virtual environments affected

[X] Ubuntu 16.04
[X] Ubuntu 18.04
[X] Ubuntu 20.04
[X] macOS 10.15
[X] macOS 11
[X] Windows Server 2016
[X] Windows Server 2019
[X] Windows Server 2022

Image version and build link
All releases that are released when writing this report (so all latest of them currently)
Is it regression?
Yes. not sure but it worked fine with images that had Azure CLI 2.27.2 running
Expected behavior
az container logs (or delete) works as expected with Azure CLI
Actual behavior
az container logs (or delete) do not work using any image
Repro steps

have an ACI somewhere running
Make a pipeline with the task:

- task: AzureCLI@2
        displayName: Azure CLI
        inputs:
          azureSubscription: ${{ parameters.azureResourceManagerConnection }}
          scriptType: bash
          scriptLocation: inlineScript
          inlineScript: |
            az container delete --name ${{ parameters.containerName }} --resource-group ${{ parameters.resourceGroupName }} -y

See error like

/usr/bin/bash /home/vsts/work/_temp/azureclitaskscript1633914258266.sh
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: 'ContainerGroupsOperations' object has no attribute 'delete'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/container/custom.py", line 66, in delete_container
    return client.delete(resource_group_name, name)
AttributeError: 'ContainerGroupsOperations' object has no attribute 'delete'
To open an issue, please run: 'az feedback'
##[error]Script failed with exit code: 1

is this related to this one ?
https://github.com/MicrosoftDocs/azure-docs/issues/82665


feat(su): add covid fields to events

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


Closing any Instance crashes the others

Note: Running preview build 17666.
Adding the desktop4:SupportsMultipleInstances="true" (and xmlns) is simple enough and does allow multiple instances to open. However, closing any instance causes the UI of the others to crash. What am I doing wrong?

Hi @StephenPSA, can you tell me what docs page this relates to? Then I can route your question to the correct person. Thank you!

Hi @ginami, sorry I did not realize that I had posted this issue in the wrong place until it was too late. Anyway, here's the link (that got me here |--):
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/multi-instance-uwp
Anyway, thanks for the prompt response and regards,
Stephen
PS I'll leave it to you to route the issue. TIA.


Add Shehds 200W LED COB Blinder

Added Shehds 2 Eyes 200W LED COB Blinder. Both 4 and 8 Channel Modes.

This fixture is not valid.
Please either fix it or submit it in the forums
https://www.qlcplus.org/forum/viewforum.php?f=3

This fixture is not valid. Please either fix it or submit it in the forums https://www.qlcplus.org/forum/viewforum.php?f=3

Honestly i cant figure out what whould be wrong with it, QLC+ takes the file just fine and it was created with the original qlc+4 fixture editor, no external editing other than the typo. Github Actions error messages weren't too helpful either.

When you come directly to GitHub, it's basically implicit that you've read all the necessary information how to submit a fixture definition.
If you read this:
https://www.qlcplus.org/forum/viewtopic.php?t=6667
You will find that a fixture validator exists:
https://www.qlcplus.org/fixture_validator.php
And it will tell you the errors you've made.

Sorry for the inconveniences. I fixed the issues, both fixture files validate fine now.

While Shedhs has a website, can you please share the product page of the Somspot fixture?
If it is a no-brand chinese product, withou product page or a manual, then I won't drag it into QLC+, sorry.

I believe Somspot only sells though AliExpress, they don't have a website. They sell quite a large amount out different fixtures with solid quality. Manuals are provided printed with the product, I have a scanned PDF of it, which I could provide if needed.
Product Page:
https://a.aliexpress.com/_Ez6OV1V
Somspot AliExpress Store:
https://a.aliexpress.com/_EG2t61D

Please remove the Somspot fixture.

Merged with errors.
Next time please submit via forums. Thanks
Product page: https://shehds.com/products/shehds-2eyes-200w-led-cob-blinder-cool-white-warm-white-lighting-p0217
Manual: https://drive.google.com/file/d/1K0H8CoFUJ_ob2MJ2JmaJ7ulSAXMqCmTG/view


Remove unnecessary ActiveSupport::Concern

This is a vanilla module. It does not need to be a concern.

:+1:


about new versions of the latest spring config

Thank you very much for seeing this project. At present, does the project adapt to the latest spring config?

I don’t believe it does. I can update that for you if necessary


update command

The ee update command should allow easy update of EasyEngine and should also allow users to switch to Testing/Nightly releases.

The update sequence should be such that,

GitHub Branch
Release Name

release-*
easyengine-release.phar

master
easyengine-nightly.phar

develop
easyengine-bleeding.phar

Github tag (eg: 4.1.0)
easyengine.phar

This has been fixed in #1043


fixing a couple failing tests after TriggerData changes

@aochsner can't thank you enough for all the PRs!  NEST 2.0 being our main priority right now, we haven't had much time to devote to this repo- your help here is really appreciated.
We'll plan to release beta3 in the coming days.
Thanks again!

Sounds good!  Thanks for being so responsive.  We're almost through our steel thread of functionality and testing.  Wouldn't expect a ton of changes after that.  Hopefully we can get done w/ that before beta3.


Filter.QC requires SeuratData installation

FilterQC.Rmd is run during the filter-2 pipeline.
This requires the SeuratData package.
Installing with mamba did not work so I installed via github using R in the terminal

R
Load SeuratDisk via github
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
remotes::install_github("mojaveazure/seurat-disk")

Thanks fixed with #88


Use PostCSS 4.1 API

PostCSS Plugin Guidelines are mandatory right now. Because all of rules are about ecosystem health.

Updated to the postcss 4.1 plugin guidelines.
postcss-pxtorem 2.1.0

Linking to the commit: 17d861f

Thanks!


Refactor and simplify wasm opcode printing

While looking through wasmprinter for other issues I was struck with inspiration to simplify the printing of operators with the for_each_operator! macro to avoid the verbosity of the full trait implementation. Along the way I made a few other adjustments as well:

*RoundingAverage* instructions now use Avgr in the name to match the instruction name.
MemArg now specifies its max_align in a field to uniformly handle this without needing per-instruction treatment.
Alignment of atomic operators now properly validates that the alignment must be specified at the maximum.
The text representation of a relaxed simd instruction was updated to have *_sat_* in the name to match the in-Rust name.

Sorry for being very late. While reading the changes introduced in this PR I noticed that this removed a check for maximum alignment that existed in the removed read_memarg_of_align: https://github.com/bytecodealliance/wasm-tools/pull/795/files#diff-154ee93e092342f2f38473cbc114e5d864ebf78c4a302e5988805f4f659e45f3
This reminded me of this wasmi validation error (note that wasmi uses wasmparser for validation): https://github.com/paritytech/wasmi/issues/570
However, wasmi uses the older version in which this check was still existing. 🤔
I would love to get some clarification. 😅

I removed that because it was duplicating logic already in the validator, and generally where possible we try to have the parser be relatively flexible about what it reads and the validator is what makes sure it's all lined up. With the validator in use there shouldn't have been any change in modules accepted or rejected with this change.

@alexcrichton Thanks a lot for the clarification!


[T5A2][T15-B3]Bartłomiej Woźniak

@bartekwozniak93 Please start each commit message with a very preferably.


Deploy fix

Begin correcting the deployment page to match the state of IDR-0.3.3

Merging to pass off to @manics.


added support & tests for mini_magick

Hi,
I added support for mini_magick, and made a little adjustment to the tests. You can now set the environment variable 'PROCESSOR' to set with which processor to check. All tests were passing on my machine.
Hope you find this useful.
Best regards,
Fabian

Thank you! Merged and added a notice to README.

That was quick, thanks!


[CLOUDGA-13615] Fixed CMK related error

Summary:
Changes required for the recent String to Enum for CMKProviderEnum.
Testing:
Tested manually by creating EAR enabled cluster with AWS CMK Config.

bors merge


App Theme Customization

Hi there. I have this one feature that would make the app experience feel more personal and customizable: the ability to customize the overall colors of the app (i.e. make the app have a more material dark theme by setting a HTML/RUB color code that is specially used for material). Would highly appreciate if this was added, Thanks!

We have an ongoing design project. Have you see: https://github.com/k9mail/k-9-design/blob/master/Flows/K-9 - Account Colors and Themes.jpg ?

Sorry for not responding! And no, I didn't realize that this was already in the works. Thanks for telling me!

Extensive support for customizing the colors, i.e. beyond using the account color more prominently, is not planned.


Add diff for arrays and NonZero* type

Hi @cyphersnake! Thanks for the PR, but before I review it, would you mind resolving the merge conflicts?

@BenHall-7 I use HEAD~1 from master because on the last commit, the path outside from repo is written inside Cargo.toml. Should I still use it?


Robust logging library

Use Slf4j instead of System.out

That was just debugging. SLF4J was used where necessary.


Use latest deps to test.

I recreated the yarn.lock to reproduce #26

#26 was unrelated to this package.


Add the ability to configure serializer/deserialzer settings

I would like to ask to add the ability to configure serialization if you have time for this.

Could you elaborate a little bit?

++

https://www.newtonsoft.com/json/help/html/DefaultSettings.htm


Extend planner plan add with more options. Closes #3345

Closes #3345

That's fast @Jwaegebaert, we'll review it asap! 🎉👍

Merged manually. Thank you! 👏


feat: enhance listFiles api to return additional fields

Describe the feature you'd like to request
I noticed that the files in the dashboard show size and uploaded.

but listFiles api doesn't have.
import { utapi } from "~/server/uploadthing.ts";

const files = await utapi.listFiles();

console.log(files);
/*
 * [
 *  {
 *    id: "7099d109-39ec-43fe-a887-4a4fd87cad88 ,
 *    customId: null, // whatever you set it to when uploading
 *    key: "2e0fdb64-9957-4262-8e45-f372ba903ac8_image.jpg",
 *    name: "image.jpg",
 *    status: "uploaded",
 *  }
 * ]
 */

Describe the solution you'd like to see
I want to use the metadata field to return this additional information.  And through an option in the request body to decide whether to output
Additional information
No response
👨👧👦 Contributing

[X] 🙋♂ Yes, I'd be down to file a PR implementing this feature!

We kind of expect you to store that information in your own DB, listFiles being more of a backup method, hence why it does not return much info.
That said, after talking with the team, we are considering adding additional info to the return from this API. Do note however, we will likely be rate-limiting requests to this endpoint, as we still want to encourage storing this information on your own DB.

@markflorkowski, would you recommend a simple cloud DB with a similar very easy setup for this info?


Update country codes

This adds the United States Minor Outlying Islands, and updates the names of Eswatini and Việt Nam.
It should be merged in conjunction with the matching server update.
https://github.com/OpenBazaar/openbazaar-go/pull/1175

The server code related to this PR has been merged.

The server code related to this PR has been merged.

I'll start working through the PR reviews later today.


Show better progress when creating a function

There were a few places where nothing seemed to be happening and I wasn't sure what was going on.
This one reproed for me on windows, but not every time:

Create js project
Add blob trigger

There was a delay before "index.js" popped up of around 10ish seconds? Idk seems like we can just show progress while creating the function
This one only repros for me on Java, but wouldn't hurt other languages:

Create a project
Select add function
Select workspace folder

Before the quick pick with functions shows up, there was a notable delay. We should do that thing where the quick pick shows progress

Also if the user creates a storage account or Azure resource during this flow, we don't handle that well.


Z-Stack 3.X for CC2530

Hey,
I've got a few of these boards.
I'm not to get any response issuing AT commands using a USB to TTL converter nor wiring it directly to a le potato.
I tried following the instructions from this guide and flashed the CC2530_DEFAULT_20190608 firmware from there onto two of them but still nothing comes back.
Is there a 3.X firmware on here that will work with these boards? I'm a bit stuck now.
Any other advice would be welcome too.
Thanks

Z-Stack 3.x are nor recommended for these old Coordinators - they are cheap,unreliable & outdatetd
in my Opinion it is not worth to engage with it
pls consider upgrade to a up-to-date CC2652x Chipset - they work really stable

Fair, next time I buy some I'll look at modules with newer chips.
I'll try some of the 3.0.X firmwares so these don't just turn into e-waste but I'm bit confused why I can flash it but no able to get any UART working.
I've got TX -> P03, RX -> P02 but no response.


Search for artist, album, song, playlist by pattern?

Would you consider adding the ability to search for content by pattern? This would just require adding a command-line option that would accept a pattern and then grepping that pattern from the osascript output.
For example,
am list -a -r '.*Monk.*'

would search for every artist with the string "Monk" in it, which would capture "Thelonious Monk," as well as "The Thelonious Monk Quartet," etc.
Maybe easier to just have it be a substring rather than regexp match so -r 'monk' would return everything that has "monk" anywhere in it.

I think I might be confused.  Currently you can fzf for an artist, album, or song if you don't provide a pattern arg to the program's play cmd flags.  Are you saying you'd want that same functionality for the list cmd?

I think I might be confused. Currently you can fzf for an genre, playlist, artist, album, or song if you don't provide a pattern arg to the program's play cmd flags. Are you saying you'd want that same functionality for the list cmd?

I think that is what I'm saying -- you can't fzf to see what's available, before picking what you want to play, right?

Sure you can, just execute:
play -s
play -r
play -a
play -p
play -g

And it takes you into fzf.  You can send a kill sig if you want to abort.  The List cmd doesn't currently have fzf integrated, because it is really just for dumping out the contents of a collection.  Please let me know if I am totally misunderstanding.

Oh! I didn't realize that's how those options worked. To be honest, I haven't come across fzf before this. Perhaps you want to tweak the help description if the user doesn't know fzf.

I tried to make it clear with the usage list-out, indicating the no-arg variants pipe in fzf, but maybe that's not inherently obvious.  Thank you for the suggestion!

My suggestion is just changing "fzf" to something like "interactive search" to clarify what it is doing.


Update go version to 1.16 for alpine image

Description
Had to bump the versions over 1.15 due to arm64 bug from golang alpine image
Motivation and Context

[X] I have raised an issue to propose this change (required) https://github.com/openfaas/templates/issues/268

Which issue(s) this PR fixes

Fixes # The issue fixes arm64 faas-cli up which doesn't work on golang alpine image 1.15. It works with 1.16 and 1.17 tho.
How Has This Been Tested?

Get raspberry pi 4/400, install faas-cli, change templates dockerfile to arm64. Do faas-cli up and you will get error about amd64 image tried to fetch git in arm64 system.

This will affect all ARM64 users who want to do deployments with faas-cli.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] Version change (see: Impact to existing users)

Impact to existing users
If you are using arm64 system, you won't be able to do faas-cli up -f stacks.yml, it requires a change in dockerfile and after that is done to linux/arm64 somehow golang alpine image 1.15 still installs amd64 which I think the related issue to docker repository. Official Alpine go images are 1.16 and 1.17 now. 1.15 is no longer supported for arm64.

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Please change this to 1.16.

Done btw

Sorry for the delay here, the PR is appreciated and please do keep sending them.
Approved to run CI, please can you rebase?

Sorry for the delay here, the PR is appreciated and please do keep sending them.
Approved to run CI, please can you rebase?

There is a merge conflict so I think, it is not possible to do rebase anymore

You can rebase, but it looks like you've introduced unnecessary merge commits, which we do not want.
The easiest course of action for you is to reset these commits and apply them again after synchronising your branch.
https://git-scm.com/docs/git-reset

The CI/CD pipeline doesn't look good at the moment due to last change. I will just close and re-open this issue. I am very much against rebasing, it doesn't solve it when I have a merge conflict in a file.

Closing due to aging


Remove/replace deprecated stuff

Fixes a few warnings that were tossed around:

Removes the deprecated minimal-ui meta property.
Replaces the deprecated gulp-clean with del.

minimal-ui is debatable since there are still many iOS 7 devices out there. But let's keep the examples free of console spew.


Change Default to not Seed QR-Codes and provide Utility for custom rollover Seed

From the Documentation:

Profiling of Venues
An adversary can collect this information for a single venue by scanning the QR code and extracting and storing the
data. To mitigate the risk, CWA encourages owners to regularly generate new QR codes for their venues. The more
frequent QR codes are updated, the more difficult it is to keep a central database with venue data up-to-date.
However, a new QR code should only be generated when no visitor is at the event or location, because
visitors can only warn each other with the same QR code.

From an Application-Developers point of view, special care must be taken to decide if and when QR codes should be
changed. A naive approach, i.e. changing the QR-Code on every call, would render the complete Warning-Chain totally
useless without anyone noticing. Therefore, the Default of this Library changed in this PR is to not seed the
QR-Codes with random values. This results in every QR-Code being generated without an explicit Seed to be identical,
which minimizes the Risk of having QR-Codes that do not warn users as expected at the increased risk of profiling of
Venues.
As an Application-Developer you are encouraged to ask you user if and when they want their QR-Codes to change and
explain to them that they should only rotate their Codes when they are sure that nobody is at the location or in the
venue for at least 30 Minutes, to allow airborne particles to settle or get filtered out. Do not make assumptions
regarding a good time to rotate QR-Codes (i.e. always at 4:00 am) because they will fail so warn people in some
important Situations (nightclubs, hotels, night-shift working) without anyone noticing.
To disable rotation of QR-Codes, specify None as the Seed (Default behaviour). This PR gives authors a utility to allow
rotating QR-Codes at a time of day specified by your user:
import io
from datetime import datetime, time

import cwa

# Construct Event-Descriptor
eventDescription = cwa.CwaEventDescription()
# …
eventDescription.seed = cwa.rolloverDate(datetime.now(), time(4, 0))

this will keep the date-based seed until 4:00 am on the next day and only then roll over to the next day.
See test_rollover.py for an in-depth look at the rollover code.

@fkusei @raphaelm

It's definitely a good idea to make setting the seed explicitly required.
The rolloverDate function however seems to encourage a seed that's entirely deterministic (good) from only public information (bad), so anyone can generate tomorrow's qr code. Or did I miss anything?
A simple solution would be another parameter passed to rolloverDate called something like "password" or "private ID" that's added to the seed.

@raphaelm yes, that is a good idea, indeed.

This also is true for the start/end Date. Sticking some derivative of datetime.now() into start & end would result in QR-Codes that would scan and look perfectly but not warn each other, because the Event-ID would be different.


fix ignore_index in the computation of IoU

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes #312
PR review
The way it does is to remove the line and columns of the ignore_index in the confmat. It should work whenever ignore_index is in the correct range but could be tested further.
There are certainly cleaner ways to do this.

@CSautier mind check the failing tests?

@CSautier how is it going? :rabbit:

Sorry, it slipped out of my mind.
I verified the tests, and I believe test_iou(True, 'none', 0, torch.Tensor([0.5, 0.5])) does not make sense. I think the result should indeed be (2/3, 1/2) instead of (1/2, 1/2), which would mean that the current version passing this test is wrong. Similarly test_iou_ignore_index([0, 1, 1, 2, 2], [0, 1, 2, 2, 2], 2, 3, 'none', [1, 1 / 2]) should indeed return (1,1) as my version does and not (1, 1/2) as the test expects.
However there is indeed one correct tests that my computation does not pass
test_iou_ignore_index([0, 1, 1, 2, 2], [0, 1, 2, 2, 2], 1, 3, 'none', [1, 2 / 3])
and it shows a problem in how I remove the ignore_index if it is predicted.
I'm working on it now, and will change my PR if I find a solution.
If you could also verify that I'm correct and test_iou(True, 'none', 0, torch.Tensor([0.5, 0.5])) should indeed return (2/3, 1/2) and test_iou_ignore_index([0, 1, 1, 2, 2], [0, 1, 2, 2, 2], 2, 3, 'none', [1, 1 / 2]) should in fact return (1, 1) that would be great.

Hello @CSautier! Thanks for updating this PR.

In the file tests/classification/test_iou.py:

Line 156:44: E226 missing whitespace around arithmetic operator
Line 156:49: E226 missing whitespace around arithmetic operator

I've updated the PR, and included the two modifications I mentioned earlier in the tests.


Prefill check

Closes #27
Description
Please provide a brief description of the changes in this PR.
Added xml file and media check on prefill method
Changes
List the changes done to fix a bug or introduce a new feature.
Added a new function in ODKFormHandler.kt
Checklist
Please check the boxes below that apply:

[X] All tests pass locally OR confirm CircleCI build passes.
[X] Documentation has been updated or created, if applicable.

How to Test
Please include any additional information or notes about testing here, if applicable.
For UI-specific PRs only
If your PR includes UI-related changes, then:
Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes.
Add a video showing the full UX flow.

Closed in #64


Not authenticated as an upload device

from gmusicapi import Musicmanager
from os import path, listdir

folder = r'C:\temp\m'
cred_file = r'c:\temp\test.cred'

def main():
    mm = Musicmanager()
    mm.perform_oauth(cred_file, True)
    for song in listdir(folder):
        song_path = path.join(folder, song)
        mm.upload(song_path)
    mm.logout()

if __name__ == '__main__':
    main()

Executing this code, after the auth process, when it tries to upload a file I receive this error:
  File "K:\Documents\scripts\gmusic_upload.py", line 29, in <module>
    main()
  File "K:\Documents\scripts\gmusic_upload.py", line 25, in main
    mm.upload(song_path)
  File "<decorator-gen-74>", line 2, in upload
  File "C:\Python27\lib\site-packages\gmusicapi\utils\utils.py", line 616, in wrapper
    return function(*args, **kw)
  File "<decorator-gen-73>", line 2, in upload
  File "C:\Python27\lib\site-packages\gmusicapi\utils\utils.py", line 593, in wrapper
    return function(*args, **kw)
  File "C:\Python27\lib\site-packages\gmusicapi\clients\musicmanager.py", line 460, in upload
    raise NotLoggedIn("Not authenticated as an upload device;"
NotLoggedIn: Not authenticated as an upload device; run Api.login(...perform_upload_auth=True...) first.

I've tried some months ago and all works well, I also have already verified the number of "my devices" inside the google music settings and there is only one device inside the list.
Can you tell me something about it?

I think there's a call to mm.login() missing. The docs have more details, but the gist of this is that you run perform_oauth once to save the credentials, then in your script only call login.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

#693 60b4090 Thanks @threepointone! - init tweaks

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Is there any sample to train tensorflow.lite model

Hi,  I am try to classify image on android,  Is there any sample to train tensorflow.lite model? Incetion-v3 do not work on android.
Thanks.

@pardont Not yet, it's in our roadmap.
Welcome to contribute.
We need more manpower.


wss and self signed certificate?

Can I use this framework with a self signed certifcate?

Thanks for your question!
Can you try and see what happens?
I'd expect you'll see a javax.net.ssl.SSLHandshakeException somewhere. From the Android documentation:

This can happen for several reasons, including:

The CA that issued the server certificate was unknown
The server certificate wasn't signed by a CA, but was self signed
The server configuration is missing an intermediate CA
[...]
In this case, the SSLHandshakeException occurs because you have a CA that isn't trusted by the system. It could be because you have a certificate from a new CA that isn't yet trusted by Android or your app is running on an older version without the CA. More often a CA is unknown because it isn't a public CA, but a private one issued by an organization such as a government, corporation, or education institution for their own use.
[...]
A TrustManager is what the system uses to validate certificates from the server and—by creating one from a KeyStore with one or more CAs—those will be the only CAs trusted by that TrustManager.

-- https://developer.android.com/training/articles/security-ssl.html#CommonProblems
In TubeSock, which is the WebSocket library that we use, there is an open pull request that adds support for a custom TrustManager: https://github.com/firebase/TubeSock/pull/8
As can be seen, this can be implemented with changes in just a few lines.
Does this help?

com.firebase.tubesock.WebSocketException: error while creating secure socket to wss://tailmaters-dev.meteorapp.com/websocket
javax.net.ssl.SSLException: hostname in certificate didn't match: <tailmaters-dev.meteorapp.com> != <www.meteor.com> OR <www.meteor.com> with i am getting this exception and it is happening with api level below 23 and it is working fine with above this version i don't know the exact reason so help me in this

There are some news in https://github.com/delight-im/Android-DDP/issues/101

Now that https://github.com/delight-im/Android-DDP/commit/c4d72267c5c0a9abe7931cc9c4b1255d8c909da9 has arrived, adding support for self-signed certificates should be much simpler.


Data preprocessing is non deterministic due to python's builtin hash function

First of all, thank you for the great paper and package!
The issue
I've been using it to run evaluations on public models, and have found slight variations in model performance on ICL tasks (haven't test all the other tasks yet) across runs.
The cause
Upon examining the code, I've found the data loading is not deterministic. The root cause is the use of python's builtin hash function. For example: https://github.com/princeton-nlp/HELMET/blob/main/data.py#L450-L452
In contrary to common impression, Python's hash function is not deterministic across runs. Please see this community blog post: https://chenna.me/blog/2023/12/25/python-hash-is-not-deterministic/
Proposed changes
Switch to hashlib for all hashing operations.
Related
#8 #6

Thanks for noting this, I will update the code and the results accordingly! This should only affect the ICL, RAG, and Re-ranking tasks.


Quick open scene doesn't work for scenes created in current editor run

How to reproduce:

Open a project
Create a scene on a non root directory
Save it
Quick open scene

The path will be incorrect (root instead of a sub-directory) in the quick open dialog and trying to open the scene will fail.
Workaround:
Restarting the editor will correctly display the scene in the quick scene open dialog.
Opening the scene directly works

Works fine here, probably resolved.

Thanks, closing then.


Page for the whole editor tutorial

Feature Request 🛍

Page for the whole editor tutorial
Use Case

Possible Solution

Context

Detailed Description

Hi Sanket, can you give me brief idea about what exactly you are looking for in this feature.


Import links on main page

Merge this in conjunction with the https://github.com/microsoft/vscode-azureappservice 0.18.0 release.

@fiveisprime 🙂 we can merge this first thing in the morning.


Remove atomic registry

As @vegasbrianc mentioned in #525 , after the acquisition of CoreOS by RedHat, atomic registry is being "replaced" by quay.io

probably need to purge more atomic stuff:
from Travis:

closing this one in favor of #530


Refactor logging

I'm trying to figure out a general refactor for this project but I think this refactor with logging is viable.
Trying to remove as many dependencies from the spider as possible to get an idea of what its responsibilities actually are

Also converted the monkey patches to refinements

Sorry about the spam I did not realize that closing the branch in my fork would affect the PR oops


fix(text): fix out of bounds access triggered by zero-width graphemes

Whilst indirectly fuzzing this library I found a panic in the span rendering logic. This PR provides a minimized reproduction and a small patch to avoid the panic.

Sorry for not looking into this sooner. The source code here is hard to read and a bit confusing. The variable names are also not that helpful to understand what is happening in the code.
I refactored this to easier to understand the logic in my opinion. This basically says "get graphemes while there is width remaining" now. Any thoughts on this?
 impl WidgetRef for Span<'_> {
     fn render_ref(&self, area: Rect, buf: &mut Buffer) {
         let area = area.intersection(buf.area);
-        let Rect {
-            x: mut current_x,
-            y,
-            ..
-        } = area;
-        let max_x = area.right();
-        for g in self.styled_graphemes(Style::default()) {
-            let symbol_width = g.symbol.width();
-            let next_x = current_x.saturating_add(symbol_width as u16);
-            if next_x > max_x {
-                break;
-            }
-            buf.get_mut(current_x, y)
-                .set_symbol(g.symbol)
-                .set_style(g.style);
+        let mut remaining_width = area.width;
+        let graphemes = self.styled_graphemes(Style::new()).map_while(|grapheme| {
+            let symbol_width = grapheme.symbol.width() as u16;
+            remaining_width = remaining_width.checked_sub(symbol_width)?;
+            Some((grapheme, symbol_width))
+        });
+        let Rect { mut x, y, .. } = area;
+        for (grapheme, symbol_width) in graphemes {
+            buf.get_mut(x, y)
+                .set_symbol(grapheme.symbol)
+                .set_style(grapheme.style);

             // multi-width graphemes must clear the cells of characters that are hidden by the
             // grapheme, otherwise the hidden characters will be re-rendered if the grapheme is
             // overwritten.
-            for i in (current_x + 1)..next_x {
+            let x_after_symbol = x.saturating_add(symbol_width);
+            for i in (x + 1)..x_after_symbol {
                 buf.get_mut(i, y).reset();
                 // it may seem odd that the style of the hidden cells are not set to the style of
                 // the grapheme, but this is how the existing buffer.set_span() method works.
                 // buf.get_mut(i, y).set_style(g.style);
             }
-            current_x = next_x;
+            x = x_after_symbol;
         }
     }
 }

(Will result in a merge conflict with #1047. I somewhat use #1047 already in this before-diff. The new code works with and without #1047 and is way easier to understand in my opinion.)

Maybe it's a better idea to reuse Buffer::set_stringn? Then there is a single place to fix a bug instead of multiple ones.

Probably fixed by #1165?

Sorry, I missed your second set of replies. Yep, can't reproduce this on 0.27.0. Thanks!


Update isClaimed

Update isClaimed on Reservation object when user verifies their phone number.

This is currently being handled in the userBeforeSave webhook for any user with a "reservation" property.


Create load_data function with loaddata alias

Function should load all the different types of homogenous data that is byte based (i.e. doesn't have to load bits).  Inputs should be:
filename
date type
number of units to load (default = All)
starting unit to load from (default = 0)
endianness (default = native machine format)
Should return a numpy array containing the values.
The values that should be possible are:
uint8
uint16
uint32
uint64
int8
int16
int32
int64
float32
float64
float128 (if that's a thing?)
and any other normal data that is possible.  It seems like there are a lot of different names for the same kind of thing.  I'd like to be able to handle any of the different types found in "help fread" in Octave.  Here's a readout of that:
     "uint8" (default)
          8-bit unsigned integer.

     "int8"
     "integer*1"
          8-bit signed integer.

     "uint16"
     "ushort"
     "unsigned short"
          16-bit unsigned integer.

     "int16"
     "integer*2"
     "short"
          16-bit signed integer.

     "uint"
     "uint32"
     "unsigned int"
     "ulong"
     "unsigned long"
          32-bit unsigned integer.

     "int"
     "int32"
     "integer*4"
     "long"
          32-bit signed integer.

     "uint64"
          64-bit unsigned integer.

     "int64"
     "integer*8"
          64-bit signed integer.

     "single"
     "float"
     "float32"
     "real*4"
          32-bit floating point number.

     "double"
     "float64"
     "real*8"
          64-bit floating point number.

     "char"
     "char*1"
          8-bit single character.

     "uchar"
     "unsigned char"
          8-bit unsigned character.

     "schar"
     "signed char"
          8-bit signed character.

Starting work on this...

We should avoid ambiguous types like int, uint, float, short, long, etc.  We're not animals.

This should be ready for testing once we have data.


chessboarjs doesn't go well with ionic

I tried to use chessboard js with ionic you can checkout the code in my github repository here https://github.com/rohandalvi/ionicChess/blob/master/www/js/controllers.js .
Here I am using the Integration of chessboardjs with chessjs as provided on the website link to only allow legal moves, here:
http://chessboardjs.com/examples#5000
As you can see from the screenshot below, whenever I try to drag a piece on the board, the piece just disappears until it has been dropped. I am not sure of what the issue is . Here is the screenshot.

As seen in the screenshot, I am trying to play d4 and took the screenshot while I was dragging the piece to the square, the pawn just disappears until I leave the drag. Please let me know if the issue is still not clear. Thanks !

Hi Rohan,
Try adding this to your css.
.piece-417db {
  z-index: 4000!important;
}

Thanks, that worked!


Update and fix japanese trasnslation

Sorry to keep you waiting.
And thank you for your request via email.

Great! Thanks for your work! 😊
I think it's all ok but I would like to review the changes when I will have a little more time, in the next days I mean.


Project is broken by default for new installs due to .env dependency

We have a dependency on the custom-react-scripts package which requires the user to have a .env file present at the root of their project directory. If the .env file is not present, then subsequent npm run start or npm run build commands will fail. Right now, the only customization we require is to enable support for decorators in the .env file i.e. REACT_APP_DECORATORS=true. A couple potential solutions:

Remove .env from .gitignore so it 'just works'
Add documentation to README explaining the dependency
Add preinstall script to generate the file the first time the user runs an npm install
Update to latest version of create-react-app, eject, and make decorator support the default

@andykog Thoughts?
Approaches 1-3 feel like band-aids. Approach 4 initially struck me as overkill but might have some merit. The reason: I leveraged custom-react-scripts to get up and running quickly but the project has not been updated in some time. This may present an opportunity to remove an unnecessary dependency on a package that may no longer actively be maintained.

@hodorswit, option 1 seems to be straightforward solution. If your intent is to get rid of custom-react-scripts, maybe it's better to create a minimal clean setup manually instead of ejecting CRA, as it will overcomplicate things?

Agreed that ejecting would over-complicating things. For now, I will go with option 1 because it solves the problem at hand in the simplest way.
Longer term, I'm not against creating a minimal custom webpack setup, but ideally I would like this project to benefit from the incremental advances being made by the create-react-app team. I will look into what it would take to get custom-react-scripts updated to the latest version and submit a PR, that way other projects can benefit as well.


fix: bump edge-runtime to 1.54.9

What kind of change does this PR introduce?
Bump edge-runtime to 1.54.9
Changes
1.54.9 (2024-06-27)
Bug Fixes

narrow the lifetime of the connection token (#379) (ef3c0a1)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 60.322%

Files with Coverage Reduction
New Missed Lines
%

internal/storage/rm/rm.go
2
89.53%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
6902

Relevant Lines:
11442

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.322%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
6902

Relevant Lines:
11442

💛  - Coveralls


feat: Add proverId to root rollup public inputs

Adds a field element as a prover identifier to the public inputs of the root rollup. This is passed directly from the root rollup inputs, and set via a PROVER_ID env var. The prover id gets emitted as part of the L2ProofVerified event on L1.
Eventually we may want to change the prover id into an L1 or L2 address, but for now it's an arbitrary value.

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 94.5 (+54%)
protocol_circuit_proving_time_in_ms (base-parity): 1,389 (-36%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,717
1,541
702
757 (-1%)
765

proof_construction_time_sha256_30_ms
11,795 (+1%)
3,156
1,415 (+1%)
1,450 (+1%)
1,464

proof_construction_time_sha256_100_ms
43,938 (+1%)
12,095 (+1%)
5,492 (+2%)
5,471 (+3%)
5,394 (+1%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
59.0
88.0

proof_construction_time_poseidon_hash_30_ms
1,518
419
202
234 (+2%)
268

proof_construction_time_poseidon_hash_100_ms
5,614
1,499
686 (+2%)
716 (-2%)
742

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,588
6,594
6,588

l1_rollup_execution_gas
584,264
584,421
584,566

l2_block_processing_time_in_ms
762 (-2%)
1,423
2,808 (+2%)

l2_block_building_time_in_ms
10,801 (-2%)
21,165
41,729 (-1%)

l2_block_rollup_simulation_time_in_ms
10,801 (-2%)
21,165
41,728 (-1%)

l2_block_public_tx_process_time_in_ms
9,049 (-2%)
19,200
39,665 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,116 (+1%)
9,887 (-1%)

node_database_size_in_bytes
12,759,120
16,822,352

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
102 (+2%)
13,790

GasToken:set_portal
13.6 (+4%)
3,339

Token:constructor
125 (+2%)
23,692

FPC:constructor
100 (+9%)
13,592

GasToken:mint_public
86.0 (+3%)
10,158

Token:mint_public
:warning: 94.5 (+54%)
19,034

Token:assert_minter_and_mint
74.8 (-24%)
12,925

AuthRegistry:set_authorized
46.7 (-1%)
7,812

FPC:prepare_fee
259 (+2%)
11,068

Token:transfer_public
47.5 (-5%)
44,012

FPC:pay_refund
93.6 (+21%)
15,961

Benchmarking:increment_balance
1,062
11,281

Token:_increase_public_balance
15.7 (+3%)
15,006

FPC:pay_refund_with_shielded_rebate
138 (+5%)
17,056

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.155 (-2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4
16.8
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.599
0.517 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.2
75.8 (-1%)
131 (-2%)
245
471 (-1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.493
0.466 (-1%)
0.450 (-1%)
0.443
0.439 (-1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.3
111 (-3%)
182 (-2%)
352
697 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.501
0.499 (-2%)
0.483 (-1%)
0.477
0.479 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
73.1
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.520
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
72,014
666,910

Transaction size based on fee payment method
| Metric |  |
| - |  |


Unable to receive response from Bot Emulator . Script is working fine in other systems.

I have disabled the appId and Password for running the emulator in localhost. It works fine.

@Sjtsharma, When this happens, do you see an error message in the emulator or in your bot's debug output?
In the meantime, I'm glad the no-auth configuration is working for you. When you're ready to add auth back in, following the steps in Troubleshooting Bot Framework Authentication may be helpful.
Please also ensure you're using the latest Bot Builder SDK. We've had to make some breaking auth changes in our protocol lately. Because of this, some older versions of the SDK aren't compatible with the emulator. Related: https://blog.botframework.com/2017/05/07/bot-framework-auth-change/

I have attached the screenshots of the Issue . Please have a look on it . Bot was working well till Friday Nyt . On Monday Morning with same scripts and environment , emulator stops responding

From the screenshot it looks like the bot has responded, but the response never reached the emulator. @Stevenic will the BotBuilder SDK's console output print an error message on send fail?
@Sjtsharma I suggest getting a network trace, to get a complete picture of what happened (and what failed). Are you familiar with the network monitoring tool called Fiddler? Fiddler can capture such traffic.

Closing for lack of activity.


extend pytorch, tensorflow and jax backends

currently our default  numpy backend is the most developed backend. For example,
the InfiniteMPS  class only really works with this backend. We need to implement
the missing functions into the other backends as well. The numpy backend can serve as the
"template" API for these methods.

I'll take up pytorch. Does the BaseBackend still contain the full API?

Yes it does. thanks!

@mganahl, am I missing something or are the only missing functions eigsh_lanczosand eigs?

Closing as the eigs are supported in all but TF.


feat: Support plain dart package generation

Description
I was thinking it would be nice to be able to generate an opinionated Dart package starter project that's already hooked up to use very_good_analysis, mocktail, test_coverage and/or anything else that would be helpful to use by default.
For reference, this is the usual Dart command which generates a new Dart package:
dart create --template package-simple my_package
I realized I would be repeating the same steps as the package creation steps here for every Dart package I wanted to make, hence this suggestion.

why not use alias?

This is now available in v0.3.0 🎉
Check out the release notes for usage information.


Support for high resolution metrics

As of last week, CloudWatch added support for high resolution metrics: https://aws.amazon.com/about-aws/whats-new/2017/07/amazon-cloudwatch-introduces-high-resolution-custom-metrics-and-alarms/
Previously, the resolution was 1 data point per minute. Now you can have 1 data point per second.
The way this is done is to specify a StorageResolution value of 1 in the CloudWatch PutMetricData API call. There are only currently 2 valid values for this setting - 1 or 60. It will default to 60 if not specified.
Obviously you don't have to feed in data every second, if you set a StorageResolution value of 1. You can freely feed in, for example, every 10 seconds and 6 points per minute will show in CloudWatch.
It would be great if logstash-input-cloudwatch supported high resolution metrics.

This relies on upgrading the SDK to >= v2.10.8


👌 IMPROVE(carousel): fix missing classname, use data attribute for thumbs

to allow overwriting styles of active thumb, dynamically with isSlideActive using className

Thanks @ahmedrowaihi for your contribution , but i tested the  code for the data-attr modification , and that will not work , since you have forget to add the data-active attr for the button.
As you can see here :

the proper fix will be to add the  data-active={isSlideActive} to the button so it will now that the state of the active data attr has been changed.
The new modification will result :
 ,
the code for that is :
<Button
  ref={ref}
  size="icon"
  data-active={isSlideActive}
  className={cn(
    "h-1 w-6 rounded-full",
    "data-[active='false']:bg-primary/50 data-[active='true']:bg-primary",
    className
  )}
  onClick={() => onThumbClick(index)}
  {...props}
>
    <span className="sr-only">slide {index + 1} </span>
</Button>

Please consider this change if you want the pr get merged.


check_ceph_health --whitelist reports HEALTH_OK when in WARN

# Without whitelist
root@mira021:~# /usr/lib/nagios/plugins/check_ceph_health --name client.nagios -k /etc/ceph/client.nagios.keyring
HEALTH WARNING: noout flag(s) set; 1 backfillfull osd(s); 1 osds down; 1 nearfull osd(s); 14954651/135094260 objects misplaced (11.070%); 12/44437884 objects unfound (0.000%); Reduced data availability: 21 pgs inactive; Degraded data redundancy: 12352137/135094260 objects degraded (9.143%), 3525 pgs unclean, 3169 pgs degraded, 1272 pgs undersized; 10 slow requests are blocked > 32 sec; clock skew detected on mon.mira049, mon.mira060;

# With whitelist
root@mira021:~# /usr/lib/nagios/plugins/check_ceph_health --name client.nagios -k /etc/ceph/client.nagios.keyring --whitelist 'blocked'
HEALTH OK

# Cluster health
root@mira021:~# ceph health detail | grep -v pg
osd.50 is backfill full
osd.87 (root=default,host=mira122) is down
osd.45 is near full
1 ops are blocked > 1048.58 sec
8 ops are blocked > 524.288 sec
2 ops are blocked > 262.144 sec
osds 7,16,41,55,65,71 have blocked requests > 524.288 sec
osd.39 has blocked requests > 1048.58 sec
mon.mira049 addr <IP_ADDRESS>:6789/0 clock skew 0.632786s > max 0.05s (latency 0.194764s)
mon.mira060 addr <IP_ADDRESS>:6789/0 clock skew 0.195608s > max 0.05s (latency 0.655687s)

Shouldn't the clock skew and osd issues still report as HEALTH_WARN?

@valerytschopp It looks like #35 fixed this by moving to parsing JSON.
I think this can be closed.


Why can't the Find function find this string?

See screenshots. I am using NBTExplorer's "Find" function to search for a string and it can't find it for some reason. Would love any feedback you have!

Hello folks, please ignore this issue. I have switched to tryashtar's NBT Studio (the spiritual successor to NBTExplorer) and the find/replace function works great. Thanks.

Any sollution?

switch editors


Compute double robust scores through grf

After https://github.com/grf-labs/grf/pull/723 is available in GRF we can call into grf for score calculation.

Let's instead stick to policytree's Gamma = double_robust_scores, it is more consistent with https://arxiv.org/pdf/1810.04778.pdf:

as opposed to grf'sget_scores which is for a treatment contrast.


Added a format-code.ps1 which parallels format-code for windows

address #1884

Please added the MS copyright header.

Added header and recoded to utf-8

bors r+


WIP. Animation keys redesign.

Prototype for animation key split to components (position, rotation, scale). Number of keys per component can be deferent. Animation resource loading collapse duplicate keys (WIP not final yet).
I confirm I have signed the Contributor License Agreement.

Closing because #1904 supersedes this implementation.


Fedora package

Hi. Thanks a lot for your work.
Did you consider submitting a package to Fedora?
That would be amazing.

Yes I started looking into that (I also have an update for NetHack 3.6 that I want to make available as an 'official' package), but I sort-of assumed something like Swift would have to come from someone more 'official', like Apple or someone with an @apple.com address, than some random person on the Internet. :)
If that isn't the case, then yes, I'll happily go through the process of setting that up.

They seem to have a mailing list and the official swift repository is hosted on github. Maybe it worth asking them if they would take care of it?


[Issue] Problem With Disposing/Destroying A WebClient When There Are Multiple Instances

What platform are you experiencing this issue on?
Windows x64
What version of UWB are you using?
2.2.1
What Unity version are you running?
2023.2.12f
Describe what the issue you are experiencing is.
I am currently working on a program that requires the instantiating and deleting of multiple webpage instances, and it's currently working as intended when enabling the webpages (the webpage and canvas are prefabs that are instantiated and fed a dynamically created CommunicationLayer with unique in and out ports, though they use the same engine configuration and input handler)
Disabling/deleting it using code also works well for a single instance (triggering the WebBrowserClient's Dispose function before deleting the WebBrowserClient and canvas GameObject)
However, when there are two or more instances of the webpage, deleting one of them will trigger the following errors:
[UWB]: Error in data loop! System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
[UWB]: It appears that the engine process has quit!
And I am unable to interact with the remaining instances as they give me this error:
[UWB]: An error occured while executing task SendMouseMoveEvent! System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Provide reproducible steps for this issue.

Make the Canvas with a WebBrowserBasic game object attached to it as a prefab
Instantiate 2 or more of the prefabs through code, giving them a dynamically created TCP Communication layer with a unique in/out port and assigning the initial URL
Trigger the WebBrowserClient.Dispose function of one of the instances before destroying the Canvas game object
Hover mouse over remaining WebBrowserBasic instances

Any additional info you like to provide?
No response

This has been fixed in release 2.2.4.


Milestone: Hooks

For this milestone I:

Deleted class properties at Calculator.js ✂
Built a new arrow function 🏹
Added hooks 🏴☠

Thank you @Lameck1


Remove KygekTeam and replace with KygekDev

As KygekTeam is currently only still open partially, and no other member of KygekTeam has added a commit, I think that KygekTeam should not be mentioned in the README and KygekDev's profile should be put in its place. You may want to ask his permission first, though.

@dugo3number2 Agree with you, KygekTeam is now dead, so it's a good idea to just mention my name, until I have something to replace KygekTeam (and it'll be a great masterplan - only time will tell).


How to get the parsed Pydantic models of an endpoint globally?

I want to access the body of a request in a error handler, but right now I'm having to re-parse the body which is very inneficient.
If this is not possible yet then I leave this as a suggestion
# Not ideal:
@api.error_handler(400)
def log_error_payload(e: HTTPException):
    if flask.request.is_json:
        payload_dict = json.loads(flask.request.get_json())
        log_payload(payload_dict)

# Ideal:
@api.error_handler(400)
def log_error_payload(e: HTTPException):
    if flask.request.openapi.body:
        payload_dict = flask.request.openapi.body.dict()
        log_payload(payload_dict)

flask-openapi3 don't provide an interface such as flask.request.openapi.body.
But you can handle it by your self:
from flask import g, request

@app.post("/book")
def get_book(body: BookBody):
    g.body= body
    request.body= body
    abort(400)
    ...

@app.errorhandler(400)
def log_error_payload(e):
    print(e)
    print(g.body)
    print(request.body)


add markJobSuccessful api call

Add logic in job scheduler to trigger dependencies and Pull out logic for getting new job config with incremented success into method. Add unit tests

Any chance I could get someone to take a quick look over this?

Looks good, thanks!


How do I plot custom coloured lines?

I want to plot three lines on the same plot like this
gnuplot.plot(
   {"Training", epochs, trainLosses, "-"},
   {"Validation", epochs, valLosses, "-"},
   {"Test", epochs, testLosses, "-"}
)

but with custom colours. Is this possible?

You can add gnuplot string style like this:
gnuplot.plot(
   {"Training", epochs, trainLosses, 'with line lt 5'},
   {"Validation", epochs, valLosses, 'with line lt rgb "magenta"'},
   {"Test", epochs, testLosses, 'with line lt rgb "#FFF000"'}
)

You have different choices, for instance with a predefined color number, gnuplot's named colors or  hexadecimal. See here for example http://gnuplot.sourceforge.net/docs_4.2/node62.html


Error while tns run android

@LakshmiEvana can you please share with us the content of your pacakge.json file.
Similar error was logged here - check if you have plugins that are relying on a different tns-core-modules versions

Here is my package.json.
{
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"readme": "NativeScript Application",
"repository": "",
"nativescript": {
"id": "org.nativescript.sample",
"tns-android": {
"version": "3.0.1"
}
},
"dependencies": {
"@angular/animations": "~4.1.0",
"@angular/common": "~4.1.0",
"@angular/compiler": "~4.1.0",
"@angular/core": "~4.1.0",
"@angular/forms": "~4.1.0",
"@angular/http": "~4.1.0",
"@angular/platform-browser": "~4.1.0",
"@angular/router": "~4.1.0",
"nativescript-angular": "~3.0.0",
"nativescript-cache": "^1.0.0",
"nativescript-camera": "^3.0.0",
"nativescript-drop-down": "^3.0.0",
"nativescript-exit": "^1.0.0",
"nativescript-fancyalert": "^1.1.2",
"nativescript-image-cache": "^1.0.3",
"nativescript-imagepicker": "^3.0.1",
"nativescript-loading-indicator": "^2.3.2",
"nativescript-permissions": "^1.2.3",
"nativescript-plugin-firebase": "^3.11.4",
"nativescript-snackbar": "^1.1.6",
"nativescript-telerik-ui": "^2.0.1",
"nativescript-theme-core": "~1.0.2",
"nativescript-toasts": "^1.0.3",
"reflect-metadata": "~0.1.8",
"rxjs": "~5.3.0",
"tns-core-modules": "~3.0.0",
"zone.js": "~0.8.4"
},
"devDependencies": {
"@angular/compiler-cli": "~4.1.0",
"@ngtools/webpack": "1.3.1",
"babel-traverse": "6.4.5",
"babel-types": "6.4.5",
"babylon": "6.4.5",
"copy-webpack-plugin": "~4.0.1",
"extract-text-webpack-plugin": "~2.1.0",
"lazy": "1.0.11",
"nativescript-css-loader": "~0.26.0",
"nativescript-dev-typescript": "~0.4.0",
"nativescript-dev-webpack": "^0.4.2",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.0.2",
"typescript": "^2.3.2",
"webpack": "~2.4.1",
"webpack-sources": "~0.2.3"
}

I just delete the platforms folder each time. This issue only occurred when I the code made native changes

any update on this issue we are facing this issue when we i run on the aot release mode
thanks

Hey, @LakshmiEvana  @u14040426  @Jaishankarb are you guys still hitting this issue with the latest NativeScript  3.2.1 !? If so can someone provide the full error log (archive or as a link) so we could investigate further?

closing due to inactivity


Weight Learning Infrastructure

The weight learning infrastructure needs some re-architecture.
It seems like it can be streamlined with less code duplication.
The atom event framework needs a close look.

Atom event framework is gone.
Another issue looks like the use of trainingMap, especially wrt LazyMaxLikelihoodMPE.
I doubt that LazyMaxLikelihoodMPE worked even as far back as 1.2.1.
LazyMaxLikelihoodMPE does not use a trainingMap, but various code up the chain will use it in their core methods.

This has been merged in.
The tests still need some work.


Order of Call of Cons in Multi-Level Inheritance

Please merge my code with the tag "Hactoberfest-2022 Accepted"

Please add my Code with the tag "Hacktoberfest-2022 Accepted"


Strange behavior on drag cards when fetch a list of "cards" asynchronous

When i start drag the card, he moves to the center.
Code Pen - http://codepen.io/anon/pen/dPRdPj
The only difference between in the example above and the original example, is a "timeout" simulating a call asynchronous to populate the list of cards.

I am seeing the same behavior if the cards are loading in a different view and then you select the view with the cards.  Not sure what the problem is.  @mlynch can you talk a look at this?

I managed to use this workaround in the controller associated with my view:
  $scope.$on('$ionicView.enter', function() {
    // Workaround to fix problem when cards are refreshed in another view
    // Cards were going back to the center of the page after being dragged past the threshold
    var card = $scope.data.cards;
    $scope.data = { cards: cards };
  });

I am having the same issue when I do something like this $scope.cards = Card.query();. Anyone has any suggested temporarily work around?

My work arround is based on ng-if.
Involves the element <td-cards> with a <ng-if> and only set to true to appear when your data is fully loaded.

Can you elaborate as to what that looks like?  Post some code?

Follow the CodePen sample: http://codepen.io/anon/pen/LEjYeY

Any updates on this issue? Was anyone able to get it working?

I'm having the same issues. It seems that your work around ends up with the same glitches...
Did you found anything else?

I temporarily work around it by showing only one card at a time, keeping track of other card data in another variable and adding a card to queue every time a card is swiped. The only downside is there isn't some sort of a 'shadow' of having multiple cards underneath. But I suppose that could be solve using some graphic/CSS. There is also minimal lag for the next card to show up.

You mean having two cards in the collection? One to swipe and one underneath?

I think this issue happens when you swipe two cards fast, not letting the animation to put the new card on the front to finish. If you swipe slow it seems to work always.
Anyone can confirm?

Ok, in my case I didn't have a proper on-destroyed handler, and it's seems that is needed. Now have some glitches but a lot fewer...


⚠ Bofrost.at has degraded performance

In e178132, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2426 ms

Resolved: Bofrost.at performance has improved in 50e5ecb after 21 minutes.


[HxValidationMessage] vs .invalid-tooltip

We should not stick with the .invalid-tooltip implementation of form validation messages.
The components should allow users to pick a way of validation message rendering, incl. the basic .is-invalid.
See https://getbootstrap.com/docs/5.1/forms/validation/ for Bootstrap validation variants.
REMEMBER: We want to avoid changing position of the form submit button to prevent the "no onclick/onsubmit issue when button position changes": http://jsfiddle.net/WV3Q8/3/

The plan is to add HxInputBase.ValidationMode = Regular | Tooltips | KeepSpace.

We found the KeepSpace implementation too offensive for UI layout (our gap in forms would have to be abandoned which would bring many changed needed for current applications to avoid UI changes).
Currently, we are investigating new Floating mode, which will be much more aligned with our original HxValidationMessage implementation (just implemented in a way where the Regular and Tooltip modes will be still possible).


fix: WebAssembly Compilation

Fixed several type errors when compiling to WebAssembly, added flags to build.rs, and added instructions to compile to WebAssembly.
For example:
error[E0308]: mismatched types
   --> src/component.rs:118:9
    |
118 |         size: desc.layout.size() as u64,
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`

error[E0308]: mismatched types
   --> src/component.rs:119:14
    |
119 |         alignment: desc.layout.align() as u64,
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`

systems.rs example Chrome logs:

Looks great! Perhaps we can eliminate the cfg checks by using size_t instead.

Makes sense, updated!

This makes me realize that the current setup for bindings.rs (writing into src folder) may not good for platform specific bindgen? The default is normally to write that to the target folder.

Yeah, I agree, it gets overwritten on every target switched build, which it doesn't seem to catch on some builds for whatever reason (perhaps it needs more rerun-if-changed calls), which causes errors on the other target.

Have you tried building for native and wasm platforms?

Yup, works on both!
$ cargo run --example systems
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/examples/systems`
Systems example starting...
Sys1 - A-0: Position { x: 3.0, y: 6.0
}, Velocity { x: 2.0, y: 4.0 }

$ cargo build --example systems --target wasm32-unknown-emscripten
Finished dev [unoptimized + debuginfo] target(s) in 0.07s