[KeyVault Keys and Secrets Hotfix 4.0.3] Recordings

The recordings needed for the hotfix.
Related to:

[KeyVault Keys and Secrets Hotfix 4.0.3] Commits to make sure the builds work #8782
[KeyVault Keys Hotfix 4.0.3] Addressing the challenge authentication cache bug #8767
[KeyVault Secrets Hotfix 4.0.3] Addressing the challenge authentication cache bug #8766

The builds for this PR should only fail for keys and secrets, since the tests will default to use playback mode. We could potentially run the live tests if necessary (which should pass).

I'm double checking if this is all the recordings we need. I might need to change some recordings, since I recorded these with the base branch before the builds were fixed.

The main issue is the same as in master, KeyVault changed their secret-related errors. I'm going to push new recordings here, make a new PR to master fixing the tests, then push the test fixes into the hotfix PR for secrets: https://github.com/Azure/azure-sdk-for-js/pull/8766

Ok, this branch should be good to merge now.

Ok here's the issue now:

My browser recordings were stale for keyvault-secrets, I realized on Saturday when I tried to run playback by having git at an intermediate state with both these changes and the actual hotfix changes together. I probably forgot to run them when I made this "recordings" PR (though I did record the secret tests for Node, and both type of tests for keys).
Since I need to re-record the browser tests for secrets, and since the service started replying with different errors (see this for more information: https://github.com/Azure/azure-sdk-for-js/pull/8828 ) I need to apply some test changes in order to be able to record again.
To minimize the test changes, I need to re-record everything again, since we run the same tests for node and the browser.

These test changes are absolutely necessary if we want any live tests for keyvault to pass in any build.
The consequence of this is that I will need to update the recordings in this PR, and update my PRs with the actual hotfixes with the test changes. I already did this for secrets, but I still need to do it with keys and certificates.

Update:
The conversation here: https://github.com/Azure/azure-sdk-for-js/pull/8830#discussion_r422679359 helped me realize that I didn't need to re-generate all the recordings. I'll make sure to update things accordingly now.

Confirmed that keys and secrets are good at this point.


Documentation site has 404 error

I'm submitting a ...
[ *] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

What is the current behavior?

https://akveo.github.io/ng2-admin/ has 404 error

What is the expected behavior?

https://akveo.github.io/ng2-admin/ should have documentation

Please tell us about your environment:

Angular version: 2.0.0-rc.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Hey @sas05, yep sorry, will fix it soon.

Thanks 👍 Nothing to be sorry :) I just informed

Any ETA on this? I need the docs quite a bit :)

Waiting for docs :)

Done, thanks for waiting.


Adding MIDI Notes to Clips in Arrangement View

Hi,
Is it possible to add MIDI notes to a clip in the Arrangement View?

Hi @n1k0la1E, this isn't presently possible; currently, the AbletonOSC API is mostly focused towards interacting with clips in the Session view, but there are certainly internal Live APIs that would enable this.
This would require a new API namespace, something like:
/live/arrangement_clip/add/notes [track_id] [clip_id] [...]

But this would need some thought on how to index and access clips when in arrangement view (compared to in session view, when each clip obviously has a numerical index in the track).
I'll re-open this issue so that it's on the list.

Thank you for the response!
Got it to work by replacing this line: clip = track.clip_slots[clip_index].clip
with this: clip = track.arrangement_clips[clip_index] in the clip_callback in clip.py.


Is null value in line with the specification?

Hello,
I have noticed that SBE tool always creates a null value in enumerations, using the maximum value of the encoding (255 for uint8, 65535 for uint16 - presumably because these are the default null values for these encoding types).
The specification does not mention anything about enumerations being optional and what their null value should be (there are no presence or nullValue attributes there).
In fact, there is even an example of required and optional boolean fields, using enumeration encodings where it is shown that the presence should be handled at the field level.
As another note, if I define a valid value for implicit null that SBE tool introduces, those collide. This:
        <enum name="t_enum_uint16" encodingType="uint16">
            <validValue name="A16">0</validValue>
            <validValue name="B16">256</validValue>
            <validValue name="C16">65535</validValue>
        </enum>

Generates this (Java):
public enum T_enum_uint16
{
    A16(0),

    B16(256),

    C16(65535),

    /**
     * To be used to represent not present or null.
     */
    NULL_VAL(65535);

EDIT: opened clarification request on specification side at https://github.com/FIXTradingCommunity/fix-simple-binary-encoding/issues/85
I think specification should make it illegal to use an encoding type whose null value collides with any of the enumeration's valid values. Then SBE tool can safely pick the null value from the encoding type for the "extra entry".
Hoewever, if the encoding type has "presence=required" the null value should NOT be added at all by SBE tool: it should not create the illusion of an optional enum in that case.

As fields can be optional then all types must support some sort of null value to be consistent. I've found there are numerous inconsistencies in the SBE spec when trying to implement it. The presence being on both type and field makes for a bit of a mess here. The null value needs to be provided in the type if any field can possibly be null. We also optionally generate an unknown type to support the issues that versioning can bring up. Throwing exceptions can raise performance issues due to compiler optimisation restrictions.
Feel free to sponsor work in this area if you would like to see it improved or offer a PR.

I am trying to implement a code generator but with a non-XML input (i.e. an open source DSL specifically for SBE) and ran into quite a few ambiguities.
In the 2.0 release candidate, the presence and null value have been removed from types and are only specified at the field level and in composites. That would make picking up the null value and presence from the type impossible (presence null are illegal there).

I know. I was the one that suggested it.

So you are saying you want to revisit this and have presence/null associated with types?

No

The 2.0 schema now defines simple types as:
	<xs:complexType name="simpleDataType">
		<xs:simpleContent>
				<xs:extension base="xs:token">
				<xs:attribute name="name" type="sbe:symbolicName_t" use="required"/>
				<xs:attribute name="description" type="xs:string"/>
				<xs:attributeGroup ref="sbe:primitiveTypeAttributes"/>
				<xs:attributeGroup ref="sbe:versionAttributes"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>

	<xs:attributeGroup name="primitiveTypeAttributes">
		<xs:attribute name="primitiveType" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:token">
					<xs:enumeration value="char" />
					<xs:enumeration value="int8"/>
					<xs:enumeration value="int16"/>
					<xs:enumeration value="int32"/>
					<xs:enumeration value="int64"/>
					<xs:enumeration value="uint8"/>
					<xs:enumeration value="uint16"/>
					<xs:enumeration value="uint32"/>
					<xs:enumeration value="uint64"/>
					<xs:enumeration value="float"/>
					<xs:enumeration value="double"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="length" type="xs:nonNegativeInteger" default="1"/>
		<xs:attribute name="characterEncoding" type="xs:string" />
	</xs:attributeGroup>

I was also told that length and characterEncoding only apply to the 'char' type.
Does simple type then even make sense anymore?  I can not see a reason to define a simple type other than to define a new fixed-length character array. The purpose of the version attributes is to track when each character array flavor was added?

Length did, and I assume still will, apply to all as it represents an array, e.g. an array of ints which is useful. characterEncoding only makes sense for char where char is a single byte type as variable length would not make sense.
Version is for when the type was added.


Added drawLine method to PDFPage

Hi @Hopding
I added the drawLine function to PDFPage.
I tested the functionality using the scratchpad.
I run all unit tests:

 yarn test
and also all integration tests:
yarn apps:node
yarn apps:web

Everything is fine.
Regards,
Saeed

@samezyane I'm going to change the target branch for this PR to AddDrawLineMethod. From there, I'll go ahead and implement the changes I requested before merging it into master. That way I can save you some time and ensure this is merged in time for the next release (hopefully in a day or two).

@samezyane Thank you for your work on this! The PDFPage.drawLine method will be available in the next release of pdf-lib.


Converting the whole thing into the list view

It's much prettier now too!

Much prettier.

For the final modification ill needed a data layer, so I'm gonna go and create a different pull request for it. Stay tuned!

Pretty list, ladies and gentlemen!


Clarify the meaning of 'additonial information' in lazy completion resolution

In its current form the descriptions around the 'Completion Request' and 'Completion Resolve Request' say that:

The request is sent from the client to the server to resolve additional information for a given completion item.

There is however no explicit list/desciption which of the properties in a completion item can be considered as 'additional information' and subject to 'lazy resolution'.
This question came up in discussion here: https://github.com/Microsoft/vscode/issues/26622
@jrieken interpretation seems to be that the edits can not be lazy resolved. My interpretation was that they can be. I would also argue that it is desirable to consider the edit details to be considered 'additional details', since computing the edits (especially if they are complex) can be expensive; and one would not expect these edits to be needed until the completion item is selected and applied.

I clarified this in the protocol and the node implementation.


Can't make backup work

Hi,
Thanks a lot for all the Dockerfiles you provided. I've got some troubles using this image. I tried the following launch:
docker run --name ldap-service --hostname ldap-service --env LDAP_BACKUP_DATA_CRON_EXP=“* * * * * *” --env LDAP_BACKUP_CONFIG_CRON_EXP=“* * * * * *” osixia/openldap-backup
in order to make the backup every minute.
When entering into it; (docker exec -it ldap-service /bin/bash), I'm waiting for the backup to appear in /data/backup, but nothing happens. Could you help me? Maybe I'm wrong somewhere.
Thanks;

hello,
removing one * should do the trick :)
docker run --name ldap-service --hostname ldap-service --env LDAP_BACKUP_DATA_CRON_EXP="* * * * *" --env LDAP_BACKUP_CONFIG_CRON_EXP="* * * * *" osixia/openldap-backup

You're the best :)
Thanks,


File conflicts on install

Hi,
Upon installation of the plugin I got some conflicts, as you plugin install some files to the root of my project

I would expect for player to install only files in its addons/ folder
It is not a big issue as I can deselect what I don't need.
Thanks for making and sharing the plugin. Will save a lot of work

Hi!, you're right, I'm going to update the project so that everything is organized inside the Addons folder. Thank you!


I cannot import flat world

Despite using the /mv import Wor normal -t flat or even /mv import Wor normal -g flat or /mv import Wor normal or /mv import Wor normal flat commands, I can't import flat type world, because every world I import is normal type. (Wor is name of my world I wanna import)

Try /mv import Wor FLAT
Ensure that the version of MV-core is compatible with your server version.

It doesn't work because it's not a world environment. I use the latest version of MultiVerse - 4.1.0, which is for 1.15, which I use on my server (Spigot 1.15.2) so everything is fine here.

Is your world you importing the same version as your server? (I.e. your world is generated on 1.15.2 version)
Try /mv create flat_world NORMAL -t FLAT with caps

The map I want to upload is 5 years ago, but I've previously uploaded other schemes or maps from so many years ago. Now, for the first time, I'm uploading a map with a super flat generator and I noticed an error. I checked the command you entered, but it still doesn't work. Creates a normal world.

If its 5 years ago, assume its around version 1.8.
You need to convert the world using single player first.

Open the world in 1.8
open it in 1.12
Open it in 1.13
Open it in 1.15.2

(My guess is the issue is with 1.12 to 1.13 there is a major change in items id)


"How to fix" window is too small to read

Hi, this is a great first attempt! Thanks for the work.
There is an issue with the How To Fix pop-up window, in that it is far too small to rad and not expandable in any way.

Additionally, there seems to be a path to getting two pop-ups to appear at once, which I would guess was not intended.

Double-click an item in the list to see the details.

Double click will show the details actually, but it seems like a hidden feature.
But yes I think that "preview" is the default in NavigationView, I'll check to implement a fixed size for it.
Thank you for sharing it. @mnrkbys


UX getting messed up in Android (Default font size)

I am told that UI is not completed yet as on 6.01.22. @cakesoft-swati to test and close at an appropriate time.

Verified this issue on dev app v2.0.68(415)


Panic when attempting to update a Flex instance configuration due to an incorrect media type in the request

Issue Summary
Hi, I have noticed that you cannot currently update a Twilio Flex instance configuration using the Twilio Go SDK.
Currently on every POST request the Content-Type header is hardcoded to be application/x-www-form-urlencoded as seen here
This is suitable for the majority of POST requests to the various Twilio API however to update the Flex Configuration, JSON needs to be sent in the request body.
To fix this I believe it will require changes in the Go SDK with the request handler and client being modified. Changes will also be required inside of the API mustache template in this repo.
I was thinking that inside the request handler in the Go SDK, the current Post function would be updated to create a new map that combines the Content-Type header (with the value of application/x-www-form-urlencoded) with the header map which is passed into the function. I was going with this approach to prevent mutating the headers map but if you want the header can either be passed in as another argument to SendRequest or the value could be appended to the headers map.
The current logic to set the Content-Type header inside of send request would be deleted. Another function PostJson would be added which would accept the path, body (of type map[string]interface{}) and the headers. This function would set the value of the Content-Type header to application/json.
In the generator, the API mustache template file will be updated to check if the request media type is application/json then the initialization of the data map (url.Values) and population of the params data into the map will be replaced with the params struct being marshalled into a map of type map[string]interface{} using the build-in Marshal function in the json package. Instead of the Post function being called on the request handler the PostJson function will be called.
If the request media type is not supplied or is application/x-www-form-urlencoded then the current implementation will be used, as per the current implementation.
The JSON and YML Open API templates don't currently include the request body schema which would be used to generate the input/ params struct, so the changes outlined above will resolve the issue highlighted however the Flex configuration cannot be updated using the SDK until the definition has been updated.
As this is an issue with the Open API templates do you want the issue for this raised on the twilio-oai repo?
This implementation should be flexible enough to be replicated to add support for creating a Serverless Asset Version and creating a Serverless Function Version via the SDK, both of which require form data to be supplied.
If you are happy with the changes I am happy to raise a PR for this.
Steps to Reproduce

Copy the code below
Execute the code using go run .go

Code Snippet
package main

import (
  "log"
  "os"

  "github.com/twilio/twilio-go"
)

func main() {
  accountSid := os.Getenv("TWILIO_ACCOUNT_SID")
  authToken := os.Getenv("TWILIO_AUTH_TOKEN")
  client := twilio.NewRestClient(accountSid, authToken)

  resp, err := client.FlexV1.UpdateConfiguration()

  if err != nil {
    log.Panic(err.Error())
  }

  log.Printf("SID: %s", StringValue(resp.FlexServiceInstanceSid))
}

// StringValue is a utility method for obtaining the string value of a pointer
func StringValue(value *string) string {
  return *value
}

Exception/Log
2021/05/26 00:06:04 Status: 415 - ApiError 20415: The server does not support the media type transmitted in the request. (null) More info: https://www.twilio.com/docs/errors/20415
panic: Status: 415 - ApiError 20415: The server does not support the media type transmitted in the request. (null) More info: https://www.twilio.com/docs/errors/20415

goroutine 1 [running]:
log.Panic(0xc000151f68, 0x1, 0x1)
        /usr/local/opt/go/libexec/src/log/log.go:351 +0xae
main.main()
        /Users/RJPearson94/Documents/Code/Twilio/go-sdk/flex/configuration/flex_configuration.go:18 +0x18b
exit status 2

Technical details:

twilio-go version: v0.8.0
go version: go1.16.2

@RJPearson94
Thank you for the in depth issue and details! A corresponding issue in twilio-oai would be appreciated to outline the missing request body schema. We are aware our library doesn't currently support JSON ingress but it's definitely on the horizon! We'd greatly appreciate any PR you're willing to submit (even as a proof-of-concept) to support our effort. If you're submitting PRs to multiple repos (i.e. one for updating mustache templates here, plus any corresponding changes in twilio-go) please be sure they include links to each other in the description. This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

Thanks @eshanholtz, I'll take a look at putting together a few PRs. I'll get the issue raised on the twilio-oai repo too

Hi @eshanholtz,
Apologies for the delay in raising these PRs.
I have raised 2 PR's (twilio/twilio-go#83 and twilio/twilio-go#84) against the Go SDK repo and 1 PR against this repo (#54) to lay the groundwork for resolving this issue. Unfortunately, until twilio/twilio-oai#36 is resolved, Flex Configuration cannot be updated via the Go SDK.
I have tested this locally by replacing the operations for the /v1/Configuration path in the Flex OpenAPI spec YAML file with the YAML below
/v1/Configuration:
  description: Configuration for a Flex instance
  get:
   description: ''
   operationId: FetchConfiguration
   parameters:
   - description: The Pinned UI version of the Configuration resource to fetch.
    in: query
    name: UiVersion
    schema:
     type: string
   responses:
    '200':
     content:
      application/json:
       schema:
        $ref: '#/components/schemas/flex.v1.configuration'
     description: OK
   security:
   - accountSid_authToken: []
   x-maturity:
   - GA
  post:
   description: ''
   operationId: UpdateConfiguration
   requestBody:
    content:
     application/json:
      schema:
       properties:
        account_sid:
         description: The SID of the Account that created the resource
         maxLength: 34
         minLength: 34
         nullable: false
         pattern: ^AC[0-9a-fA-F]{32}$
         type: string
        attributes:
         description: An object that contains application-specific data
         nullable: true
         type: object
        call_recording_enabled:
         description: Whether call recording is enabled
         nullable: true
         type: boolean
        call_recording_webhook_url:
         description: The call recording webhook URL
         format: uri
         nullable: true
         type: string
        chat_service_instance_sid:
         description: The SID of the chat service this user belongs to
         maxLength: 34
         minLength: 34
         nullable: true
         pattern: ^IS[0-9a-fA-F]{32}$
         type: string
        crm_attributes:
         description: An object that contains the CRM attributes
         nullable: true
         type: object
        crm_callback_url:
         description: The CRM Callback URL
         format: uri
         nullable: true
         type: string
        crm_enabled:
         description: Whether CRM is present for Flex
         nullable: true
         type: boolean
        crm_fallback_url:
         description: The CRM Fallback URL
         format: uri
         nullable: true
         type: string
        crm_type:
         description: The CRM Type
         nullable: true
         type: string
        date_created:
         description: The ISO 8601 date and time in GMT when the Configuration resource
          was created
         format: date-time
         nullable: true
         type: string
        date_updated:
         description: The ISO 8601 date and time in GMT when the Configuration resource
          was last updated
         format: date-time
         nullable: true
         type: string
        integrations:
         description: A list of objects that contain the configurations for the Integrations
          supported in this configuration
         items:
          type: object
         nullable: true
         type: array
        markdown:
         description: Configurable parameters for Markdown
         nullable: true
         type: object
        messaging_service_instance_sid:
         description: The SID of the Messaging service instance
         maxLength: 34
         minLength: 34
         nullable: true
         pattern: ^MG[0-9a-fA-F]{32}$
         type: string
        notifications:
         description: Configurable parameters for Notifications
         nullable: true
         type: object
        outbound_call_flows:
         description: The list of outbound call flows
         nullable: true
         type: object
        plugin_service_attributes:
         description: The plugin service attributes
         nullable: true
         type: object
        plugin_service_enabled:
         description: Whether the plugin service enabled
         nullable: true
         type: boolean
        public_attributes:
         description: The list of public attributes
         nullable: true
         type: object
        queue_stats_configuration:
         description: Configurable parameters for Queues Statistics
         nullable: true
         type: object
        runtime_domain:
         description: The URL where the Flex instance is hosted
         format: uri
         nullable: true
         type: string
        serverless_service_sids:
         description: The list of serverless service SIDs
         items:
          maxLength: 34
          minLength: 34
          pattern: ^ZS[0-9a-fA-F]{32}$
          type: string
         nullable: true
         type: array
        taskrouter_skills:
         description: The Skill description for TaskRouter workers
         items:
          type: object
         nullable: true
         type: array
        taskrouter_target_taskqueue_sid:
         description: The SID of the TaskRouter Target TaskQueue
         maxLength: 34
         minLength: 34
         nullable: true
         pattern: ^WQ[0-9a-fA-F]{32}$
         type: string
        taskrouter_target_workflow_sid:
         description: The SID of the TaskRouter target Workflow
         maxLength: 34
         minLength: 34
         nullable: true
         pattern: ^WW[0-9a-fA-F]{32}$
         type: string
        taskrouter_taskqueues:
         description: The list of TaskRouter TaskQueues
         items:
          type: object
         nullable: true
         type: array
        taskrouter_worker_attributes:
         description: The TaskRouter Worker attributes
         nullable: true
         type: object
        taskrouter_worker_channels:
         description: The TaskRouter default channel capacities and availability
          for workers
         nullable: true
         type: object
        ui_attributes:
         description: The object that describes Flex UI characteristics and settings
         nullable: true
         type: object
        ui_dependencies:
         description: The object that defines the NPM packages and versions to be
          used in Hosted Flex
         nullable: true
         type: object
        ui_language:
         description: The primary language of the Flex UI
         nullable: true
         type: string
        ui_version:
         description: The Pinned UI version
         nullable: true
         type: string
       title: UpdateFlexConfigurationRequest
       type: object
   responses:
    '200':
     content:
      application/json:
       schema:
        $ref: '#/components/schemas/flex.v1.configuration'
     description: OK
   security:
   - accountSid_authToken: []
   x-maturity:
   - GA
  servers:
  - url: https://flex-api.twilio.com
  x-twilio:
   defaultOutputProperties:
   - status
   - ui_language
   - ui_version
   - service_version
   pathType: instance

With this updated spec, the following code was generated for the Go SDK
// rest/flex/v1/api_defaults.go
...
// Optional parameters for the method 'UpdateConfiguration'
type UpdateConfigurationParams struct {
 //
 UpdateFlexConfigurationRequest *UpdateFlexConfigurationRequest `json:"UpdateFlexConfigurationRequest,omitempty"`
}

func (params *UpdateConfigurationParams) SetUpdateFlexConfigurationRequest(UpdateFlexConfigurationRequest UpdateFlexConfigurationRequest) *UpdateConfigurationParams {
 params.UpdateFlexConfigurationRequest = &UpdateFlexConfigurationRequest
 return params
}

func (c *DefaultApiService) UpdateConfiguration(params *UpdateConfigurationParams) (*FlexV1Configuration, error) {
 path := "/v1/Configuration"

 var data UpdateFlexConfigurationRequest
 if params.UpdateFlexConfigurationRequest != nil {
  data = *params.UpdateFlexConfigurationRequest
 } else {
  data = UpdateFlexConfigurationRequest{}
 }
 headers := make(map[string]interface{})

 resp, err := c.requestHandler.PostJson(c.baseURL+path, data, headers)
 if err != nil {
  return nil, err
 }

 defer resp.Body.Close()

 ps := &FlexV1Configuration{}
 if err := json.NewDecoder(resp.Body).Decode(ps); err != nil {
  return nil, err
 }

 return ps, err
}
...

// rest/flex/v1/model_update_flex_configuration_request.go
/*
 * Twilio - Flex
 *
 * This is the public Twilio REST API.
 *
 * API version: 1.16.1
 * Contact<EMAIL_ADDRESS> */

// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

package openapi

import (
 "time"
)

// UpdateFlexConfigurationRequest struct for UpdateFlexConfigurationRequest
type UpdateFlexConfigurationRequest struct {
 // The SID of the Account that created the resource
 AccountSid *string `json:"account_sid,omitempty"`
 // An object that contains application-specific data
 Attributes *map[string]interface{} `json:"attributes,omitempty"`
 // Whether call recording is enabled
 CallRecordingEnabled *bool `json:"call_recording_enabled,omitempty"`
 // The call recording webhook URL
 CallRecordingWebhookUrl *string `json:"call_recording_webhook_url,omitempty"`
 // The SID of the chat service this user belongs to
 ChatServiceInstanceSid *string `json:"chat_service_instance_sid,omitempty"`
 // An object that contains the CRM attributes
 CrmAttributes *map[string]interface{} `json:"crm_attributes,omitempty"`
 // The CRM Callback URL
 CrmCallbackUrl *string `json:"crm_callback_url,omitempty"`
 // Whether CRM is present for Flex
 CrmEnabled *bool `json:"crm_enabled,omitempty"`
 // The CRM Fallback URL
 CrmFallbackUrl *string `json:"crm_fallback_url,omitempty"`
 // The CRM Type
 CrmType *string `json:"crm_type,omitempty"`
 // The ISO 8601 date and time in GMT when the Configuration resource was created
 DateCreated *time.Time `json:"date_created,omitempty"`
 // The ISO 8601 date and time in GMT when the Configuration resource was last updated
 DateUpdated *time.Time `json:"date_updated,omitempty"`
 // A list of objects that contain the configurations for the Integrations supported in this configuration
 Integrations *[]map[string]interface{} `json:"integrations,omitempty"`
 // Configurable parameters for Markdown
 Markdown *map[string]interface{} `json:"markdown,omitempty"`
 // The SID of the Messaging service instance
 MessagingServiceInstanceSid *string `json:"messaging_service_instance_sid,omitempty"`
 // Configurable parameters for Notifications
 Notifications *map[string]interface{} `json:"notifications,omitempty"`
 // The list of outbound call flows
 OutboundCallFlows *map[string]interface{} `json:"outbound_call_flows,omitempty"`
 // The plugin service attributes
 PluginServiceAttributes *map[string]interface{} `json:"plugin_service_attributes,omitempty"`
 // Whether the plugin service enabled
 PluginServiceEnabled *bool `json:"plugin_service_enabled,omitempty"`
 // The list of public attributes
 PublicAttributes *map[string]interface{} `json:"public_attributes,omitempty"`
 // Configurable parameters for Queues Statistics
 QueueStatsConfiguration *map[string]interface{} `json:"queue_stats_configuration,omitempty"`
 // The URL where the Flex instance is hosted
 RuntimeDomain *string `json:"runtime_domain,omitempty"`
 // The list of serverless service SIDs
 ServerlessServiceSids *[]string `json:"serverless_service_sids,omitempty"`
 // The Skill description for TaskRouter workers
 TaskrouterSkills *[]map[string]interface{} `json:"taskrouter_skills,omitempty"`
 // The SID of the TaskRouter Target TaskQueue
 TaskrouterTargetTaskqueueSid *string `json:"taskrouter_target_taskqueue_sid,omitempty"`
 // The SID of the TaskRouter target Workflow
 TaskrouterTargetWorkflowSid *string `json:"taskrouter_target_workflow_sid,omitempty"`
 // The list of TaskRouter TaskQueues
 TaskrouterTaskqueues *[]map[string]interface{} `json:"taskrouter_taskqueues,omitempty"`
 // The TaskRouter Worker attributes
 TaskrouterWorkerAttributes *map[string]interface{} `json:"taskrouter_worker_attributes,omitempty"`
 // The TaskRouter default channel capacities and availability for workers
 TaskrouterWorkerChannels *map[string]interface{} `json:"taskrouter_worker_channels,omitempty"`
 // The object that describes Flex UI characteristics and settings
 UiAttributes *map[string]interface{} `json:"ui_attributes,omitempty"`
 // The object that defines the NPM packages and versions to be used in Hosted Flex
 UiDependencies *map[string]interface{} `json:"ui_dependencies,omitempty"`
 // The primary language of the Flex UI
 UiLanguage *string `json:"ui_language,omitempty"`
 // The Pinned UI version
 UiVersion *string `json:"ui_version,omitempty"`
}

I have tested the modified UpdateConfiguration function using the example code below and the code works as expected.
package main

import (
	"log"
	"os"

	"github.com/twilio/twilio-go"
	openapi "github.com/twilio/twilio-go/rest/flex/v1"
)

func main() {
	client := twilio.NewRestClient(os.Getenv("TWILIO_ACCOUNT_SID"), os.Getenv("TWILIO_AUTH_TOKEN"))

	resp, err := client.FlexV1.UpdateConfiguration(&openapi.UpdateConfigurationParams{
		UpdateFlexConfigurationRequest: &openapi.UpdateFlexConfigurationRequest{
			AccountSid: PtrString(os.Getenv("TWILIO_ACCOUNT_SID")),
		},
	})

	if err != nil {
		log.Panic(err.Error())
	}

	log.Printf("SID: %s", StringValue(resp.FlexServiceInstanceSid))
}

// PtrString is a utility method for obtaining a pointer for a value
func PtrString(value string) *string {
	return &value
}

// StringValue is a utility method for obtaining the string value of a pointer
func StringValue(value *string) string {
	return *value
}

Any feedback is greatly appreciated


Encourage organization admins to change the default org description

A lot of organizations that were setup before we added support for providing a description of one's organization on the login page, and many larger organizations haven't set it.  We should advertise this feature more strongly.
We should do the following:

Extract the default value "The coolest place in the universe" as a constant, DEFAULT_ORGANIZATION_DESCRIPTION rather than just a hardcoded value.
Compute on the backend a field organization_profile_incomplete which is True if (1) the organization description is either DEFAULT_ORGANIZATION_DESCRIPTION (2) the organization description starts with "Organization imported from", or (3) the organization doesn't have a custom icon uploaded.  I guess we'd only show this notice to admins with date_created more than a week ago. We should compute this using a function that has tests.
We use the system in static/js/panels.js to show a banner to organization administrators in organizations with an incomplete profile, similar to the email-server banner.  The text can be "Complete your organization profile" with the link going to the "organization profile" settings page.
That banner should be cleared whenever the user edits one of the organization settings fields.

@zulipbot claim

@zulipbot claim

@showell @timabbott I made a Pull Request, please review

I'm abandoning this issue to claim any other issue

@zulipbot abandon

@timabbott, please review

@zulipbot claim

@jessicadong101 hello,  I already fixed this issue. this is my pull request  #14051 can you please take another issue thank you!


Can I use this extension in codespaces?

I'm using K3D in codespaces to develop ARC applications.
When I tried to provision my cluster with ARC: Provision Local Cluster, it's trying to install AKS-EE, what seems wrong for non-Windows environments.
Can you clarify if this extension supports any ARC supported K8s cluster?

Same issue for me, does this only support Azure Edge Essentials


Use an instance of XAPI per instance of Cmi5 in order to support more usage scenarios

Hi, and thanks for xapi.js and cmi5.js! We're using xapi.js in a backend (Node.js) context. We're interested in using the higher-level Cmi5 class, but the strategy of relying on a single static XAPI client (via Cmi5._xapi) just doesn't work in that scenario (we'll have multiple XAPI clients with distinct auth, etc; one for each in-progress AU).
Would you be open to a PR refactoring the Cmi5 class to initialize an instance of XAPI for each instance?

Hi @emmanuel! I'm intrigued by your desired usage of using CMI5 in a backend context.
Looking at an old commit it was previously built so there was one xAPI instance per CMI5 instance but it was then switched to a singleton. I cannot find the exact reason why I decided to make the change to a singleton, but in #85 (Fixes #82) the intention was to only publicly expose the internal xAPI instance but as a by-product of the implementation method it meant it now shares the same xAPI instance.
I'll take a peek at your PR (Many thanks!) and see if the changes are suitable whilst retaining existing functionality.


Redis methods callback not working.

Moved from: https://github.com/RediSearch/RediSearch/issues/2652
@Tarun-sngh
It seems like my callback is not hitting, am not getting any output on my console.
can you please look into it and let me know if there is any issue in my code or what .
Node version am using : 4.0.4
My code:
function getUserProfile(userId, cb) {
    let redis = redisConnect();
    redis.hGetAll( userId, cb);
}

getUserProfile("teams:91, (err, results) => {
    if(err){
        console.log(err);
    }
    console.log(results);
})

as of 4.x the library uses promise base methods iso the callback variants from before.
More info at https://github.com/redis/node-redis/blob/master/docs/v3-to-v4.md

Is there still traditional callback support that isn't implemented over the new [promise by default] implementation? I noticed the v3-to-v4 docs states "Node Redis now uses native Promises by default for all functions." Suggesting the default can be configured?

you can use 'legacy mode' according to this https://github.com/redis/node-redis/blob/master/docs/v3-to-v4.md#legacy-mode


How to use the self-compiled carla-0.9.0

Hi,
I found out that the interface of self-compiled carla-0.9.0 is very different from the 0.8.2 pre-compiled version. In 0.9.0 I cannot see the car as well as other sensor measurement. Is there any tutorial about how to use carla-0.9.0?

Hi @WillenPeng,
Yes, a lot of things drastically changed with Carla 0.9.0. This is a development version, and many things are not well documented yet. You can find an introduction on how the new API works in our latest blog entry: CARLA 0.9.0: Multi-client multi-agent support.
I'm also linking #660 as it's somehow related.


Body Tracking Example Code doesnt work

Hello,
The example code is working on my friend computer however the same code is not working in my computer. I am using PyCharm Community Edition 2020.2 and python 3.6. I got error viewer part of the code and it says "line 490, in init
glutCreateWindow("ZED Body Tracking"). The image of the error has been attached. Could you help me please ?

"

Hello,
Can you try changing the call to glutCreateWindow("ZED Body Tracking") to glutCreateWindow(b"ZED Body Tracking") and see if that fixes your problem ?
It seems that there are issues on how strings are encoded as suggested here : https://stackoverflow.com/questions/27093037/python-glutcreatewindow-error-wrong-type

Thank you so much. It works after this.


JDK Version

github-api was developed with JDK 1.4?

Java 5.

Think it is time to update to a version of Java that isn't end of life?


Register menu on low screen width

Register popup menu seems to be stuck to the bottom of the page when the page is not displayed full screen, so the get started button and everything below it isn't visible. Should we make the menu appear full size? Though I'm not sure if it looks the same on the deployed version on mobile bc I can't find the link to the community page there.

We can change the styling of this menu to do the following things:

Remove the Tech Start logo
Put 'Register' as a title, similar to how it is for the Login thing
Optional: have the same gradient siding that the login menu has (we could put it in SignIn so it applies to both Login and Register?
Get rid of the "get started w" title
Make the subtitle clear that you are making an account to interact with the community page
Make it wider by default
Reduce the vertical padding on the the fields (do this for Login too)

If we do all of those it should fix this problem :)


Update CHANGELOG.md for the 0.3.0 release

This is a follow-up to https://github.com/CoreOffice/OLEKit/pull/9.

@sboh1214 do you actually have permissions for tagging a new release by the way? Let me know if not and I can grant them.

@sboh1214 do you actually have permissions for tagging a new release by the way? Let me know if not and I can grant them.

Awesome, feel free to create one! Updating the changelog is the only thing I hope we as maintainers can do before tagging a release, there's not much else to the release process here 🙂

Awesome, feel free to create one! Updating the changelog is the only thing I hope we as maintainers can do before tagging a release, there's not much else to the release process here 🙂


css class 'rbc-current' gets added to the same date of every month

Lets say the currently selected date is 17-10-2018, the css class 'rbc-current' should only be present on 17-10-2018, but it's added to the 17th day of every month.

@thorion3006 Can you recreate this bug using codesandbox?

No response so closing.


Support Elasticsearch as additional backend

is there any plan to support Elasticsearch as additional backend? I will be useful for those who want to leverage there existing elasticsearch cluster. Zipkins and Hawkular APM uses elasticsearch as backend.

I'd rather see a way (or an example, as I suspect this shouldn't be hard to accomplish) to stream data from Cassandra into an external system. This way, data can be sent to Elasticsearch for aggregations, to a metrics system for alerting, to a BI solution for dashboards and so on.

Unsolicited advice.. the main difference between OpenZipkin and Zipkin was
that we decoupled the project from internal decisions made at Twitter.
Everything else came from there.
It is a tough choice to spend effort on other data stores, but most of the
time when a user asks to use something different it is because they dont
have the ability to support the de facto.
Not saying this is the case here, but a couple years ago when Zipkin had
the same problem of c* only, we wouldnt have been able to solve that by
requiring c* and also another datastore. The lack of c* experience was the
issue.
On 3 May 2017 11:09 pm, "Juraci Paixão Kröhling"<EMAIL_ADDRESS>wrote:
I'd rather see a way (or an example, as I suspect this shouldn't be hard to
accomplish) to stream data from Cassandra into an external system. This
way, data can be sent to Elasticsearch for aggregations, to a metrics
system for alerting, to a BI solution for dashboards and so on.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/jaeger/issues/140#issuecomment-298940320, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD618oHY4_pIHaFpHglrv_HGYVgGI2wks5r2JihgaJpZM4NPXz4
.

@adriancole would you say it was MySQL support that provided the most uplift? I would guess running ES is not much easier than running C*.
We do have some ES implementation that we used for original prototyping, but it was against the old data model, so not sure how much help it would be now. And implementing the integration tests against real ES would be a requirement to officially support ES as a backend store.
cc @objectiser @pavolloffay

@adriancole https://github.com/adriancole would you say it was MySQL
support that provided the most uplift?

Hard to say because mysql was running long before ES was. Making it an easy
to consume of the package wasn't so, once remedied, mysql indeed did help
folks start.

I would guess running ES is not much easier than running C*.

I've not done a survey, but it seems the case people look for one or the
other based on experience. For example, if they already have experience in
c*, they want c*. If they already have experience w/ ES, they want ES. I
don't know much about folks who have neither and what leads them to choose
either...

It would be good to offer ES as an option, even though it may potentially not scale as well as C*, as it offers better analysis capabilities in conjunction with Kibana.

What about druid.io anybody considered that? From my high level perspectiv it sounds like it could fir as well.

ES support has been added in https://github.com/uber/jaeger/releases/tag/v0.6.0


Remove midround zombie outbreaks

About the PR
Midround zombie outbreaks will no longer occur.
Why / Balance
Currently, if a crew hopes to have a long shift, it will almost always end in zombies. They are not just snowballing, but guaranteed round ending. Even if zombies are successfully eradicated everyone who was turned is round-removed and the shuttle needs to be called. They work as a primary roundstart antagonist, but not as a midround antagonist due to how much they overtake everything. Imagine if revs could spawn midround!!
Playing an enjoyably chaotic shift or a story caused by some antagonist and then having it entirely cut off by a consistently unfun midround event SUCKS, and 9/10 survival rounds end with zombies so as soon as you realize it's survival you're just waiting for the moment you hear "eeuurrghh" and biting sounds in the medbay.
Changelog
:cl:

remove: Zombie outbreaks will no longer occur as a midround event.

 Zombies are already irrelevant enough as is. Roundstart II is incredibly easy to shut down most of the time and this just gives less chances for takeovers to happen
Chaos is inevitable.

Maybe it would be fine if it is just much rarer? Like 10% of the current chance? For me midround IIs happening was always the game telling me "this round has been long enough, time to end it". I totally agree this should not happen every time in survival mode, each round should feel unique and different.

Zombies need to be reworked or rebalanced, right now it's "oh the entire station is infected, time to /ghost and wait for 10 minutes for the shuttle"
They should be removed from mid round until they get that rebalancing. I'm usually against removing stuff but this is truly the only thing that really needs to go.

cargo buying 50 guns means the entire crew is armed not 6 people

i would suggest to instead just make them even rarer than they are now, maybe additionally also make them only potentially happen even later into the round
and maybe give cargo better zombie countermeasures they can purchase so if cargo has money they can basically just buy zombies away

the actual solution isnt make it rarer its make dynamic so how a round ends is actually considered and not just a completely random event

Oh yeah sure let's just keep this extremely unfun feature in the game for god knows how long until someone steps up to code a doc for an entirely new gamemode that was merged to docs 9 months ago that will just replace the YML being removed here anyway.

It's unfun for you maybe, I think zombies outbreaks are fun.
If cargo can't get guns fast enough that sounds like a skill issue. They got common radio, the QM can even work with command (Like he should do) to coordinate to contain this.
I dont see how removing this event would help, remember that space station 14 includes chaos, removing zombies because they cause it would be against the idea of this game in my opinion.

radezolid, this pr just removes zombies from midround events. zombie rounds will still be zombie rounds -- this PR just changes it so that survival/traitor rounds are always about surviving events/surviving traitors, instead of ever being about surviving the inevitable midround zombies.

There might be a solution to this particular case without this, but it sure would be easier to handle with #29320

cant you just lower the weighting

In my almost 600 hours playtime majority being on wizards den, ive seen mid round Zombies almost as often as ive seen Rev's, even on Survival.
Theyre designed to be round ending like nukies, but if the crew can work together it can be easily quelled. If theyre spawned at the end of a survival round where people cannot properly coordinate, thats just part of the chaos the game creates that we love so much.
I wouldnt remove them completely, maybe tweak the weighting if you want to change anything. Not to cause any offense but this seems like something made out of spite.

yes i already suggested this just make them happen at minimum an hour in and rarer than they do now

yes i already suggested this just make them happen at minimum an hour in and rarer than they do now

Its an amazing idea having a minimum amount of time required to roll midround zombies so the crew has enough time to have their fun and roleplay, an hour in is right on time for the shift to start becoming stale.

You can set the minimum time for the event in yml.

My personal issue with midround zombies is that it’s just a big middle finger to almost every other midround antag. Sleeper Agents, Lone Ops, Space Dragons, they all get turned into zombies with the exact same goal.

I just ended up doing it myself, will merge after tests finish


suggestion hide the search box from the taskbar.

suggestion
hide the search box from the taskbar.

Oh yes please!

Added via https://github.com/cschneegans/unattend-generator/commit/17a4ec058585570ba0fb3f5e022f940f3fe958ac:

Thanks for the suggestion!


Super CMD

A web command line search experience based on https://saharmor.github.io/react-super-cmd.
Description of PR

What component(s) does this PR affect?

[ ] Back-End (Node.js, Next.js)
[x] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Node.js, Next.js)
[ ] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs

Related Issue

Resolves #
Solution

Type

[ ] 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)
[ ] Docs update
[ ] None of the above

Checklist:

[ ] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

)`>>>)>

Failing tests. Could you check that it is properly synced with master? The other PR has the same issue, we see changes that are already present in master, not sure if the merge was done correctly.

Failing tests. Could you check that it is properly synced with master? The other PR has the same issue, we see changes that are already present in master, not sure if the merge was done correctly.

Yes, it broke on rebase :) Fixed now!


How to trigger a send from outside the EventStream?

Hi @dan-cooke, thanks for the handy library. This is really more a question than an issue:
I have a use case where I need to trigger sending data to the stream originating from another source that will call an API I expose. I've tried using a Node.js EventEmitter to no avail. It seems like attaching an EventEmitter.on handler in Remix's loader function does not work - I've tried attaching it outside, right after the EventEmitter is instantiated, and that works. Do you have any idea how I might be able to achieve this using your library?

@vcheeze hey! Thank you!
So if I understand your use case - you want to trigger a send from within the EventStream but based on some external API retrieving data?
This is actually why i built this library in the first place, I use Polygons Stock market websocket data alongside this library to stream live stock market data to my remix apps.
i can get you an example later, but have you had a look at the example directory?
You would just connect to your external source from within the EventStream and trigger the send function whenever you receive data

Thanks @DanFVR! What a quick response. Actually, the connection to the external source is not through a socket, but rather any time the external source is sending new data, it calls an API endpoint in my app, say /api/newData. My question is then, how do I trigger a send in my SSE resource route, i.e. /sse/data, from within the /api/newData handler?

Hey @DanFVR, just want to let you know I figured out what the issue was. For the dev environment, I had to set the emitter to a global variable like:
if (process.env.NODE_ENV === "production") {
  emitter = new EventEmitter();
} else {
  if (!global.__emitter) {
    global.__emitter = new EventEmitter();
  }
  emitter = global.__emitter;
}

Awesome, little bit of rubber ducking there 🦆  - but glad you solved it


Logitech MX Master Back Button does nothing on Mac, should (Go -> Back)

VSCode Version: 1.8.1
OS Version: MacOS Sierra 10.12.3

Steps to Reproduce:

Using a Logitech MX Master Mouse, set any of the buttons to the "Back" functionality.
Click the back button after navigating in VSCode from one file to another.
Watch nothing happen.

Here are my settings in the Logitech Options software:

Examples:

Spotify: Back Button goes back through the navigation (View -> Go Back).
Chrome: Navigates back through the pages (History -> Back).

Each of the above examples are using different keyboard shortcuts, but both are achieved by pressing the same  back button on the mouse.
I would love to see this functionality in VSCode on the Mac.
Thanks,
John

Still happening?

It seems to be working now. An interesting aspect of testing this functionality is that the 'Go Back' functionality is different from Visual Studio for Mac and Visual Studio for Windows; Clicking on a file in the explorer bar counts as a step within the back history in VSCode, but is not considered a step in the history on VSfM and VSfW. For example, I click on .gitattributes, and then click on line 10. I click my mouse button bound to 'Back' and it moves the cursor to the first line in the file. In turn, traveling through files ends up requiring a second back button press to get through single files.
To note, when clicking on the file in explorer it does not show my cursor flashing on line 1 of that file.
So, as of now, the Back button now executes the "Go Back" functionality (and my new issue is that the go back functionality is different, though may not need to be changed if the differences are intended).
Let me know if you need more info.


Make this a template repo

Just to be "perfect" with the whole "blog from scratch" thingy :+1:
Go to the settings tab and look for a checkbox to make this a template repo. This will result in no history being created when somebody forks your repo and pull requests in subsequent forks being attributed to the respective fork, not the original repo.

I like the idea. It is done.


Document Kea high availability

As title.
See The branch for the easiest review!

Nice. Looks good.


Remove unnecessary promise

Coverage increased (+0.5%) to 82.891% when pulling bf963b308e09a48e3066931366332e120cecc94a on stream into 8c3076421b055e3e0c78bbb5598b2cf3dc1d01e1 on master.

Coverage increased (+0.2%) to 82.609% when pulling 1924349f4c4a6c07bf02b2bf778368896c7c251a on stream into 8c3076421b055e3e0c78bbb5598b2cf3dc1d01e1 on master.


Improved ru lang

Thanks as always @WebVPF! If you have the time, do you mind adding a comment in the Files Changed tab to each line explaining what you changed and why?
I'm fine merging this without that, but I'm genuinely curious to learn more about the type of minor issues that show up in the other languages provided by Winter and the thought process behind picking one translation vs another. Let me know if that's something you could do or if I should just merge this regardless :)

@LukeTowers PR mainly corrects machine translation. There are no new values.

There are fixes for mistranslation
There are fixes for incorrect punctuation where I removed the comma.
There are fixes where machine translation messed up word order.
In Russian, there are letters e and ё. They are alike. For a long time there was a problem due to which the letter e was used instead of ё in computer typing. This problem has not been relevant for a long time. But in machine translation (Google translator), the letter ё is not used in the results. I've edited it to make it easier to read. Now more friendly interface.


Support container level security context

Is your feature request related to a problem? Please describe.
Currently our EKS environment have some pre check on the container level security context, deployment will be blocked if not set
Describe the solution you'd like
Add a field to specify container level security context

will make changes and create PR to this issue

@zamsong123 the containers should inherit the pod level security context, are you setting the field spec.deploymentPlan.podSecurityContext in your ActiveMQArtemis CR?

@brusdev  thanks for your comments, in our case, our EKS supporting team is doing some restriction on this, e.g. if there's no container level "runAsRootUser": true is set, the deployment will be blocked, frankly speaking I am not sure how the inherit works, but I guess they are different configuration for different purpose

@brusdev yes I tried the spec.deploymentPlan.podSecurityContext, it's not working for our EKS requirement

@brusdev  btw, in Confluent Operator, they are also separate config for different purpose

@zamsong123 thanks for the clarification, your enhancement makes sense to me

I will make code change for this issue.

@Eric84626 cool, contributions are always welcome!

This issue is incorporated by #758


no distributable available

gittio install com.kcwdev.audio
[INFO]  com.kcwdev.audio searching...
[ERROR] com.kcwdev.audio:commonjs no distributable available
[ERROR] com.kcwdev.audio:android no distributable available
[ERROR] com.kcwdev.audio:ios no distributable available

Accepting PR's from anyone who would like to make this installable from gittio. You'll probably have to change the module name so it won't conflict with the original..


Running the example

I am newbe to V, trying to run the exemple I get the following :
" error: cannot use &string as &char in argument 2 to C.bson_oid_to_string "

Tried with the one line patch :

Almost there ;) It works until I need "BSON"

I have the libs on my ubuntu mate 20.04

Did you find any solution for this?

You ca try new version v up && v install mongo

Did you find any solution for this?

You ca try new version v up && v install mongo

Now the example seems to work on my side with ubuntu 22.04 packages  and updating V command as you suggested


Migrate from structopt to clap

Structopt is no longer maintained and its functionality has been merged into clap-v3. Migrating to the latter means that som-rs will no longer fail with the cargo security audit tool 1.

Ahh good catch. I've fixed this here (0bc0c29d668cfce21f2c329eac54b27037c3f288), if you're happy I can squash it.

Thanks! I've squashed this down to a single commit: 4c41e72

Hello @Hirevo, anything else you'd like me to do to get this one merged? :)

@jacob-hughes Nope, nothing is left to be done. It was just me slacking too much. I'm sorry about that.
Thanks again for the contribution !


[MCW] Performance optimisation of YoloV4

Executive summary:
The model is implemented in n150 with new conv-api.
Dimension: 1, 3, 320, 320
#11998 resolved with Sankar's fix.
Initially FPS,
     	            FPS (MatMul/Conv Ops only)	        FPS (Other Device Ops)	      FPS (All Ops)
 DS2         	            3667.396	                     616.602	                   557.087
 DS3			    1256.896			     477.782			   376.302
 DS4         	            416.134			     278.574			   181.068
 DS5         	            580.546			     622.847			   357.998

On enabling reshard_if_not_optimal, we got
    	            FPS (MatMul/Conv Ops only)	        FPS (Other Device Ops)	      FPS (All Ops)
DS2         	            3667.275	                     610.144	                   551.839
DS3         	            1256.856	                     476.952	                   375.764
DS4         	            416.179			     277.593			   1180.655
DS5			    643.117			     976.24			   1451.847

After changing the weight's datatype to bfloat8, the results are,
     	            FPS (MatMul/Conv Ops only)	        FPS (Other Device Ops)	      FPS (All Ops)
 DS2         	            4217.736	                     633.051	                   579.713
 DS3         	            1292.711	                     487.04	                   384.33
DS4         	            428.12	                     282.164			   1184.093
 DS5			    649.266			     998.355			   1457.761

Note: For DS3, DS4 and DS5, there is a drop in PCC when I changed the weight's datatype to bfloat8.
After changing the memory config of Concat from interleaved to sharded as mentioned in this issue, we got
     	            FPS (MatMul/Conv Ops only)	        FPS (Other Device Ops)	      FPS (All Ops)
 DS2         	            4217.719	                     646.4	                   590.816
 DS3         	            1257.139	                     483.318	                   379.743

Onchanging the memory config of Concat from interleaved to sharded as mentioned in this issue, but got this issue in both DS4 and DS5
DS2
initial_ds2.csv, reshard_ds2.csv, weights_b8_ds2.csv, concat_ds2.csv
DS3
initial_ds3.csv, reshard_Ds3.csv, weights_ds3.csv, concat_ds3.csv
DS4
ds4_initial.csv, reshard_ds4.csv, ds4_weights_bf8.csv
DS5
ds5_shard.csv, ds5_initial.csv, ds5_weights_bf8.csv

Need to test: #12182

@keerthana-r-mcw , did we test #12182?


[AutoPR] network/resource-manager

Created to accumulate context: network/resource-manager

(message created by the CI based on PR content)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Encountered an unknown error
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/bot_framework.py", line 105, in manage_comment
    response = getattr(self.handler, orderstr)(webhook_data.issue, *split_text)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/sdkbot.py", line 152, in rebuild
    sdk_repo.git.push('origin', branch_name, set_upstream=True)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
  cmdline: git push --set-upstream origin restapi_auto_network/resource-manager
  stderr: 'To https://github.com/Azure/azure-sdk-for-python.git
 ! [rejected]            restapi_auto_network/resource-manager -> restapi_auto_network/resource-manager (fetch first)
error: failed to push some refs to<EMAIL_ADDRESS>hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.'

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Build SDK finished and cleaned


Please curate (fix/suppress) the warnings

$ singularity run -e .datalad/environments/fmriprep/image  --version
fmriprep v1.2.5

It relates to https://github.com/poldracklab/fmriprep/issues/1311 , so addressing this one might resolve it as, but I have decided to submit a separate one breaking list of warnings I have into groups.
Since I don't know if it is inflicted within externals (e.g. pybids/grabbit) or by fmriprep itself, filing here

[ ] pybids/grabbit - linux is quite forbidding with unclosed files, but things might still bite... Windows would have likely crashed.

/usr/local/miniconda/lib/python3.6/site-packages/grabbit/core.py:436: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.6/site-packages/bids/layout/config/bids.json' mode='r' encoding='UT
F-8'>
  domain = json.load(open(domain, 'r'))
/usr/local/miniconda/lib/python3.6/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/zfs1/amanelis/anm212/R03/WM-R03/DIAMOND/bids/task-efnback_bold.json' mode='r' encoding='
utf-8'>
  encoding='utf-8'))

[ ] nipype

/usr/local/miniconda/lib/python3.6/site-packages/nipype/workflows/dmri/mrtrix/group_connectivity.py:16: UserWarning: cmp not installed
  warnings.warn('cmp not installed')
/usr/local/miniconda/lib/python3.6/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
  warn('This has not been fully tested. Please report any failures.')

[ ] skimage

/usr/local/miniconda/lib/python3.6/site-packages/skimage/__init__.py:80: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.6/site-packages/pytest.py' mode='r' encoding='utf-8'>
  imp.find_module('pytest')

[ ] importlib

/usr/local/miniconda/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)

[ ] pytest (????)

Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Captured warning (<class 'ResourceWarning'>): unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.6/site-packages/pytest.py' mode='r' encoding='utf-8'>
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__

[ ] nibabel

/usr/local/miniconda/lib/python3.6/site-packages/nibabel/nifti1.py:582: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
  ext_def = np.fromstring(ext_def, dtype=np.int32)

[ ] nilearn -> scipy

/usr/local/miniconda/lib/python3.6/site-packages/nilearn/image/resampling.py:510: UserWarning: Casting data from int16 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.6/site-packages/scipy/ndimage/measurements.py:272: DeprecationWarning: In future, it will be an error for 'np.bool_' scalars to be interpreted as an index
  return _nd_image.find_objects(input, max_label)

there might be more -- eye fatigued to cherry pick

Addressed via 99afda16fc7a43323d6a960e462915ed40adb367


Kafka in Azure Event Hub

I'm trying to find some example of using Akka.NET Streams to consume Kafka events from the Azure Event Hub. It seems to me that Kafka support does not support the authentication required to connect to Azure Hub, but I may be mistaken. If anyone has an example I would appreciate it very much.
I'm not actually a .Net developer by nature. In Java or Scala using Akka Streams I would configure my application like this:
akka {
  kafka.producer {
    #Akka kafka producer properties can be defined here
    client.id = "proxy-client"

    # Properties defined by org.apache.kafka.clients.producer.ProducerConfig
    # can be defined in this configuration section.
    kafka-clients {
      bootstrap.servers = "my-kafka.servicebus.windows.net:9093"
      sasl.mechanism = PLAIN
      security.protocol = SASL_SSL
      sasl.jaas.config = "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"$ConnectionString\" password=\"Endpoint=sb://my-kafka.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey={key}\";"
    }
  }

On the Gitter channel, Aaron told me that you support these options so it must be the case that you just find them. So an example would be welcome.

@sleipnir Indeed, underlying Confluent Kafka driver supports all of that options - you can see the full list here: https://docs.confluent.io/current/installation/configuration/producer-configs.html#cp-config-producer . Just search for "sasl.mechanism" and others on the page.
To configure this settings, you can set them in code like this on producer configuration:
var producerSettings = ProducerSettings<Null, string>.Create(system, null, null)
    .WithBootstrapServers("localhost:9092")
    .WithProperty("sasl.mechanism", "PLAIN");

I think we do not support HOCON configuration for such things at the moment, so you will need to set all of this in code. But you can use your own HOCON configuration to load this values from file, if you want.
So the idea is to set the settings you need like in the sample above, and they will be passed to internal Confluent Kafka client instance.
Hope this helps!


refactor: do not pollute markup with useless id

Related: https://github.com/vuejs/vue-test-utils-next/issues/219
@afontcu seems we can remove this id. I am not sure about the div - what should we be attaching to?
Also, does testing library use attachTo by default? We need something to mount on - if you are using attachTo, however, maybe we can use that element to mount on, instead of creating our own DIV here?

Hi!
This is the solution I came up with, which makes all related-tests pass at once: https://github.com/testing-library/vue-testing-library/pull/137/files#diff-4f8b5837e5c68e71852f1c3f41f2e98201426d45a94bd7767cddfc98ccd02fc5R66-R68
re attachTo, I'm currently attaching it to container, just as testing lib for Vue 2 (no changes there): https://github.com/testing-library/vue-testing-library/pull/137/files#diff-4f8b5837e5c68e71852f1c3f41f2e98201426d45a94bd7767cddfc98ccd02fc5R57

if you are using attachTo, however, maybe we can use that element to mount on, instead of creating our own DIV here?

This is probably… sensible? I mean, people asked for special behavior when document.body is provided to attachTo. What's the point of letting people set a custom attachTo value, and then wrap it up again in a div? 🤔

I could be wrong about how attachTo is currently working, that might already be the behavior. I will check.
Either way this fix is still good. Seems like your fix in testing library is okay, is there anything else blocking the Vue 3 integration?

is there anything else blocking the Vue 3 integration?

Not really, I'm a bit worried about the third render parameter – a way to access the Vue instance of the component under testing, and how this translates to Vue 3 concept of "app" instead of vue instances:
// testing lib with 2.x
render(Component, {}, vue => vue.use(AnAwesomePlugin))

options.global works in a large chunk of situations (this is going to be quite a big breaking change, and hard to suggest a clear solution or even a codemod 😞), however some people did quite complex trickery with the Vue instance.
Also, integration with VueRouter-next is not there yet, given that we haven't decided how to tackle it in VTU-next (AFAICT). I might go ahead and simply install it as a plugin, and see what happens in the wild.
I guess I'll release an alpha version in the next channel soon, and see if people run into some issues. This might help dogfooding VTU-next, too! :)

localVue changes should mostly be fine with just global.plugins. The localVue change is inevitably a big breaking change for everyone; we can't really avoid this, it's just how Vue 3 works now.
And yep - my experience so far is predicting things is hard, better just to get something out there and let people report issues.


Further reduce number of test queries from 500 to 200

Description
This PR further reduces number of test queries from 500 to 200, so that each integration test will run with less queries and be faster to complete.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

The code coverage report doesn't indicate there is a coverage decrease:
https://codecov.io/gh/apache/incubator-pinot/commit/fd7ba4657b48844a0ff1a14f38a01600b742b4d2
We should be good to merge this PR now.


highlight LspCodeLens with comment color

Currently, code lenses look like regular text when using built in LSP. This highlights them like comments so they stand out visually.
Before:

After:

thanks!


Change to Deployment rather than DC

DC's are OK .. BUT they timeout ...
the Deployment controller always keeps trying .. could be seen as a feature or a bug .. but might be better to switch

the helm chart allows you to change to deployments by setting the Values.deployment=true

fixed up the deployment.yaml .. tested OK. closing.


Make serial audio region width-greedy

this makes it compete with the audiobus field in Voice event, and saves a little bit of space in the UI.

I will merge that even though it's only a temporary fix, as some way of moving it to a new line needs to be implemented for other events too.


Plot direction of edges

Dear all,
thanks for this wonderful toolbox.
I am using OSMNX in order to generate a first sketch for a drainage network layout based on a road network and a custom elevation model. I am missing the possibility to draw edge directions for verifying results. Any suggestions on how to do this are highly welcome.
Best regards
Sebastian

Best to ask how-to questions on StackOverflow as the issue tracker is for bugs, per the contributing guidelines.


ci(pre-commit): config and docs

1. What does this PR implement?

Adds pre-commit hook configuration.
Adds a contributor's guide which includes a section about how to install and run pre-commit.

2. Does the code have enough context to be clearly understood?
Yes
3. Who are the specification authors and who is accountable for this PR?
@AlejandroCabeza
4. Is the specification accurate and complete?
N/A
5. Does the implementation introduce changes in the specification?
N/A
Checklist

[!WARNING]
Do not merge the PR if any of the following is missing:

[X] 1. Description added.
[X] 2. Context and links to Specification document(s) added.
[X] 3. Main contact(s) (developers and specification authors) added
[X] 4. Implementation and Specification are 100% in sync including changes. This is critical.
[X] 5. Link PR to a specific milestone.

I think this is useful even though we have CI for fmt and clippy. I’d like to hear opinions from pthers since I haven’t had much experience in precommit hooks. I’ve relied on only github actions so far.

A nice to have indeed! Also its opt-in so no harm done to anyone that rely on other things.


Can't discover devices | Edit: Front USB working, back USB not!

Problem:
I'm not able to discover any devices with the deconz stick inside the docker.
Setup:

Debian server with current docker version installed
conbee stick from Dresden electronic
upgraded firmware of stick on windows pc (because didn't work on linux)
deconz stick is discovered correctly in Phoscop web app (see image)

command used to start docker:
docker run -d --name=deconz --net=host --restart=always -v /etc/localtime:/etc/localtime:ro -v /docker/deconz:/root/.local/share/dresden-elektronik/deCONZ --device=/dev/ttyUSB0 -e DECONZ_WEB_PORT=8084 marthoc/
Edit:
Ok everything is working fine if I use the front usb ports of my server, with each of the 4 ports in the back it's not working like descibred above. Any idea what the problem is? The stick is discovered correctly even at the back ports at /dev/ttyUSB0 and also in the phoscon web ui...
Log information:

[marthoc/deconz] Starting deCONZ...
[marthoc/deconz] Current deCONZ version: 2.05.47
[marthoc/deconz] Web UI port: 8084
[marthoc/deconz] Websockets port: 443
libpng warning: iCCP: known incorrect sRGB profile
11:45:05:824 HTTP Server listen on address <IP_ADDRESS>, port: 8084, root: /usr/share/deCONZ/webapp/
11:45:05:829 CTRL. 3.16.211:45:05:876 ZCLDB init file /root/.local/share/dresden-elektronik/deCONZ/zcldb.txt
11:45:05:977 parent process /bin/sh
11:45:05:977 gw run mode: normal
11:45:05:981 DB sqlite version 3.16.2
11:45:05:982 DB PRAGMA page_count: 0
11:45:05:982 DB PRAGMA page_size: 4096
11:45:05:982 DB PRAGMA freelist_count: 0
11:45:05:982 DB file size 0 bytes, free pages 0
11:45:05:982 DB PRAGMA user_version: 0
11:45:05:982 DB upgrade to user_version 1
11:45:06:043 DB write sqlite user_version 1
11:45:06:046 DB PRAGMA user_version: 1
11:45:06:046 DB upgrade to user_version 2
11:45:06:052 DB write sqlite user_version 2
11:45:06:056 DB PRAGMA user_version: 2
11:45:06:056 DB upgrade to user_version 6
11:45:06:065 DB write sqlite user_version 6
11:45:06:076 DB PRAGMA user_version: 6
11:45:06:076 DB cleanup
11:45:06:076 DB create temporary views
11:45:06:077 don't close database yet, keep open for 900 seconds
11:45:06:078 don't close database yet, keep open for 900 seconds
11:45:06:079 started websocket server at port 443
11:45:06:080 create default username and password
11:45:06:083 discovery updated announce interval to 10 minutes
11:45:06:084 GW firmware update not supported on x86 linux headless
11:45:06:086 found node plugin: libde_rest_plugin.so - REST API Plugin
11:45:06:088 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
11:45:06:114 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
11:45:06:216 Device firmware version 0x261F0500
11:45:06:232 unlocked max nodes: 200
11:45:06:520 Device protocol version: 0x0106
11:45:06:537 new node - ext: 0x00212effff02a48a, nwk: 0x0000
11:45:06:712 Current channel 11
11:45:06:776 CTRL ANT_CTRL 0x02
11:45:06:888 Device protocol version: 0x0106
11:45:07:080 Current channel 11
11:45:07:144 CTRL ANT_CTRL 0x02
11:45:07:433 DB save zll database items 0x00000888
11:45:07:445 DB saved in 12 ms
11:45:07:447 don't close database yet, keep open for 900 seconds
11:45:07:965 don't close database yet, keep open for 900 seconds
11:45:08:126 don't close database yet, keep open for 900 seconds
11:45:08:229 ZDP discovery done in 268 ms11:45:11:715 Announced to internet
11:45:18:515 CTRL db store gui node 00:21:2e:ff:ff:02:a4:8a
11:45:18:520 saved node state in 0 ms
11:45:19:798 sync() in 1277 ms
11:45:21:513 DB save zll database items 0x00000008
11:45:21:525 DB saved in 12 ms
11:45:21:525 don't close database yet, keep open for 900 seconds
11:45:21:972 created username: 314636F616, devicetype: Phoscon#B1920x938
11:45:26:013 Set bridgeid to 00212EFFFF02A48A
11:45:26:722 DB save zll database items 0x0000000C
11:45:26:734 DB saved in 11 ms
11:45:26:734 don't close database yet, keep open for 900 seconds
11:45:31:076 Updated password hash: $1$8282jdkm$COVKzHivErU9KDVc8E8uY.
11:45:31:096 created username: 700133C00D, devicetype: Phoscon#B1920x938
11:45:32:313 New websocket <IP_ADDRESS>:55180 (state: 3)
11:45:36:318 DB save zll database items 0x0000000C
11:45:36:328 DB saved in 10 ms
11:45:36:328 don't close database yet, keep open for 900 seconds
11:45:38:013 send permit join, duration: 59
11:45:38:827 Websocket disconnected <IP_ADDRESS>:55180 (state: 0)
11:45:47:260 found gateway <IP_ADDRESS>:80
11:45:56:765 Invalid admin password hash: $1$8282jdkm$w.o6XjJEGLzAYkVqLPAYx1
11:45:57:517 scan finished
11:46:00:172 reuse recently created auth username: 700133C00D, devicetype: Phoscon#B1920x938
11:46:00:172 apikey username: 700133C00D, devicetype: Phoscon#B1920x938 already exists
11:46:01:404 New websocket <IP_ADDRESS>:55295 (state: 3)
11:46:02:571 Websocket disconnected <IP_ADDRESS>:55295 (state: 0)
11:46:03:698 New websocket <IP_ADDRESS>:55313 (state: 3)
11:46:05:574 Current channel 11
11:46:07:119 Websocket disconnected <IP_ADDRESS>:55313 (state: 0)
11:46:08:192 New websocket <IP_ADDRESS>:55327 (state: 3)
11:46:11:160 Websocket disconnected <IP_ADDRESS>:55327 (state: 0)
11:46:12:473 DB save zll database items 0x00000008
11:46:12:482 DB saved in 9 ms
11:46:12:482 don't close database yet, keep open for 900 seconds
11:46:13:269 New websocket <IP_ADDRESS>:55344 (state: 3)
11:46:18:352 Websocket disconnected <IP_ADDRESS>:55344 (state: 0)
11:46:19:468 New websocket <IP_ADDRESS>:55371 (state: 3)
11:46:39:013 send permit join, duration: 59
11:47:03:953 Websocket disconnected <IP_ADDRESS>:55371 (state: 0)
11:47:05:064 New websocket <IP_ADDRESS>:55470 (state: 3)
11:47:05:559 Websocket disconnected <IP_ADDRESS>:55470 (state: 0)
11:47:05:573 Current channel 11
11:47:10:839 New websocket <IP_ADDRESS>:55497 (state: 3)
11:47:11:677 Websocket disconnected <IP_ADDRESS>:55497 (state: 0)
11:47:12:786 New websocket <IP_ADDRESS>:55506 (state: 3)
11:47:13:748 Websocket disconnected <IP_ADDRESS>:55506 (state: 0)
11:47:14:821 New websocket <IP_ADDRESS>:55511 (state: 3)
11:47:18:687 Websocket disconnected <IP_ADDRESS>:55511 (state: 0)
11:47:19:785 New websocket <IP_ADDRESS>:55526 (state: 3)
11:47:21:577 Websocket disconnected <IP_ADDRESS>:55526 (state: 0)
11:47:24:801 New websocket <IP_ADDRESS>:55547 (state: 3)
11:48:05:571 Current channel 11
11:48:47:784 Websocket disconnected <IP_ADDRESS>:55547 (state: 0)
11:48:49:061 New websocket <IP_ADDRESS>:55757 (state: 3)
11:49:05:586 Current channel 11
11:49:12:013 send permit join, duration: 59
11:50:05:584 Current channel 11

Conbee in particular is sensitive to interference and this isn't the first report I've heard of the device not working in certain USB ports, especially attached to a large server. Other users have gotten rid of the problem by using a USB extension cable to get the USB stick away from the server altogether (which may also improve the range of the Conbee).
Closing as this isn't a docker-specific issue.


Links to cross-lists and replacements no longer link to top paper in the section

There are links at the top and bottom of arXiv new pages to the first paper in the lists for cross-listings and replacements. After shuffling the papers, these links usually link to somewhere within the section. Ideally the links would be rewritten.

(The javascript browser extension code in #2 doesn't have this issue.)


chore(action): add copyright-year to license rule

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Should be merged before 2024
https://github.com/apache/skywalking-eyes

The copyright year of the work, if it's empty, it will be set to the current year. If you don't want to update the license year anually, you can set this to the year of the first publication of your work, such as 1994, or 1994-2023.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

The feature doesn't work as expected, closed.


Extend List of some good tutorials

I added some amazing development videos for blockchain. So that any one who want to implement in practically they can benefited through this.

Hey @smit-1923 your PR looks good but please create a issue first and then link that with this PR :)


Sometimes autocomplete snippets dont trigger

Continuation of: https://github.com/neoclide/coc.nvim/issues/3754
Server log: https://pastebin.com/EVScjucP
Output: https://pastebin.com/AS0WCiBD

It's tsserver issue.

@chemzqm what can we do about it ?

@chemzqm i did a test on vscode and it inserts the id=""

@otavioschwanck tested coc + coc-html for the <div id issue, got id="", as expected.

@otavioschwanck tested coc + coc-html for the <div id issue, got id="", as expected.

the problem is on typescriptreact

@chemzqm i did a test on vscode and it inserts the id=""

Can't reproduce, please provide verbose output from tsserver

@chemzqm i did a test on vscode and it inserts the id=""

Can't reproduce, please provide verbose output from tsserver

@chemzqm Here:
Output: https://pastebin.com/fpUCSApD
Server Log: https://pastebin.com/8gHGtNiS


Fix incorrect variable name in "warning" block

The "warning" block should only use local.MetricsWarningAlert variable

@dinhkim This issue was fixed as part of this PR. I just merged it. This PR can be closed.

@dinhkim This issue was fixed as part of this PR. I just merged it. This PR can be closed.

@arunpatyal could you please publish a new version of module? Without that, we cannot apply the fix in our terraform project.

Released the new version. Latest version can be found here


iOS L10N Localization support isn't extended to ExtendedFindBy

Describe the bug
In LocalizedAnnotations, there is support for L10N param substitution in ExtendedFindBy for AndroidUIAutomator, but in order to utilize the support for iOS (Predicate or ClassChain), you have to write a FindBy with xpath and then add the additional @Predicate or @ClassChain annotation to have that converted to a MobileBy.  Should extend the if to include support for predicate/classchain in the ExtendedFindBy case.
Log below is for the following code:
@ExtendedFindBy(iosPredicate = "type == 'XCUIElementTypeButton' AND name == '{L10N:eula.agree}'")
private ExtendedWebElement agreeBtn;
When I directly replace the L10N string with Aceptar, the locator works.  I also verified that the FindBy code below works:
@FindBy(xpath = "type = 'XCUIElementTypeButton' AND name = '{L10N:eula.agree}'")
@Predicate
private ExtendedWebElement agreeBtn;
Logs/Links
2021-01-12 09:31:06 L10N [main-1] [DEBUG] [David Kline's iPad] converting key 'Aceptar' to UTF-8
2021-01-12 09:31:06 LocalizedAnnotations [main-1] [DEBUG] [David Kline's iPad] Annotation ExtendedFindBy has been detected. Returning locator : By.IosNsPredicate: type == 'XCUIElementTypeButton' AND name == '{L10N:eula.agree}'
2021-01-12 09:31:06 L10N [main-1] [DEBUG] [David Kline's iPad] converting key 'Aceptar' to UTF-8
2021-01-12 09:31:06 LocalizedAnnotations [main-1] [DEBUG] [David Kline's iPad] Annotation ExtendedFindBy has been detected. Returning locator : By.IosNsPredicate: type == 'XCUIElementTypeButton' AND name == '{L10N:eula.agree}'
2021-01-12 09:31:06 L10N [main-1] [DEBUG] [David Kline's iPad] converting key 'Cancelar' to UTF-8
2021-01-12 09:31:06 L10N [main-1] [DEBUG] [David Kline's iPad] converting key 'Cancelar' to UTF-8
2021-01-12 09:31:10 ExtendedWebElement [main-1] [DEBUG] [David Kline's iPad] waitUntil: TimeoutException: at least one condition to be valid: presence of element located by: By.IosNsPredicate: type == 'XCUIElementTypeButton' AND name == '{L10N:eula.agree}' || visibility of element located by By.IosNsPredicate: type == 'XCUIElementTypeButton' AND name == '{L10N:eula.agree}' || visibility of Proxy element for: com.qaprosoft.carina.core.foundation.webdriver.locator.ExtendedElementLocator@2552f2cb

@dkline-920, could you please verify using 7.0.0 carina version

@dkline-920, could you please verify using 7.0.0 carina version

@okamara , yes, I will try to get to this today.  Our project has dependencies on java < 11, but I should be able to make a branch of the project without that dependency and with an upgrade to 7.0.0 and verify this.

@okamara , yes, I will try to get to this today.  Our project has dependencies on java < 11, but I should be able to make a branch of the project without that dependency and with an upgrade to 7.0.0 and verify this.

I was able to validate all but         } else if (locator.startsWith("By.xpath: ")) { // for @ExtendedFindBy 'text' attribute L10N supporting
return By.xpath(StringUtils.remove(locator, "By.xpath: "));
I didn't have a setup for that.  So, I tested androidUIAutomator, iosPredicate and iosClassChain, all successfully with {L10N:} style annotations in the By.

I was able to validate all but         } else if (locator.startsWith("By.xpath: ")) { // for @ExtendedFindBy 'text' attribute L10N supporting
return By.xpath(StringUtils.remove(locator, "By.xpath: "));
I didn't have a setup for that.  So, I tested androidUIAutomator, iosPredicate and iosClassChain, all successfully with {L10N:} style annotations in the By.

@dkline-920 thank you!

@dkline-920 thank you!


qasm_simulator encountered unrecognized operation "h"

Information

Qiskit Terra version: 0.15.1
Python version: 3.6.7
Operating system: Windows 10

What is the current behavior?
The following code snippet, which is also available in the README.md file, is returning the error as mentioned in the title:
from qiskit import *
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0,1], [0,1])
backend_sim = BasicAer.get_backend('qasm_simulator')
result = backend_sim.run(assemble(qc)).result()
print(result.get_counts(qc))
The traceback is as follows:

_RemoteTraceback                          Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.6/dist-packages/qiskit/providers/basicaer/qasm_simulator.py", line 415, in _run_job
result_list.append(self.run_experiment(experiment))
File "/usr/local/lib/python3.6/dist-packages/qiskit/providers/basicaer/qasm_simulator.py", line 583, in run_experiment
raise BasicAerError(err_msg.format(backend, operation.name))
qiskit.providers.basicaer.exceptions.BasicAerError: 'qasm_simulator encountered unrecognized operation "h"'
"""
The above exception was the direct cause of the following exception:
BasicAerError                             Traceback (most recent call last)
 in ()
6 qc.measure([0,1], [0,1])
7 backend_sim = BasicAer.get_backend('qasm_simulator')
----> 8 result = backend_sim.run(assemble(qc)).result()
9 print(result.get_counts(qc))
3 frames
/usr/local/lib/python3.6/dist-packages/qiskit/providers/basicaer/basicaerjob.py in _wrapper(self, *args, **kwargs)
38         if self._future is None:
39             raise JobError("Job not submitted yet!. You have to .submit() first!")
---> 40         return func(self, *args, **kwargs)
41     return _wrapper
42
/usr/local/lib/python3.6/dist-packages/qiskit/providers/basicaer/basicaerjob.py in result(self, timeout)
93             concurrent.futures.CancelledError: if job cancelled before completed.
94         """
---> 95         return self._future.result(timeout=timeout)
96
97     @requires_submit
/usr/lib/python3.6/concurrent/futures/_base.py in result(self, timeout)
430                 raise CancelledError()
431             elif self._state == FINISHED:
--> 432                 return self.__get_result()
433             else:
434                 raise TimeoutError()
/usr/lib/python3.6/concurrent/futures/_base.py in __get_result(self)
382     def __get_result(self):
383         if self._exception:
--> 384             raise self._exception
385         else:
386             return self._result
BasicAerError: 'qasm_simulator encountered unrecognized operation "h"'
The qc.h(0) part of the code is causing the error. When I commented out qc.h(0), an output of {'00': 1024} was returned.
Steps to reproduce the problem
Just run the above code snippet.
What is the expected behavior?
As per README.md, the output should be {'00': 513, '11': 511}.
Suggested solutions
Honestly, I have no idea how this bug can be resolved by someone like me.

See discussions in #4625 and #4759.

See discussions in #4625 and #4759.

Thanks for mentioning my issue there, @enavarro51. There seems to be a conflict of opinions regarding the resolution of this issue.

I updated the title to cover updating the README so that the examples are all valid code. The issue of whether BasicAer should implement H can be discussed in #4625 .


Fixed default disabling of plugins.

Same change done in parallel branch got merged in. no need for this PR.


Drop log level for test framework dumping

We get a lot of users seeing these "errors" and missing that the error
is a few more lines up the page. Drop these to warnings to make it clear
this is NOT why the test failed, but rather an issue after the test has
already failed

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
fac067cff7d20112ac7e1a8cf1a7e4533e6287b0
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
fac067cff7d20112ac7e1a8cf1a7e4533e6287b0
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest


Text contrast in ThumbnailCarousel

Text contrast in partially visible slides isn't passing accessibility tests. These slides are more "decorative," so I'm not quite sure how to handle this, or even if they are truly decorative or not.
http://localhost:6006/?path=/story/templates-pageimagedetail--base-story

I've removed PageImageDetail from our CI accessibility tests. We should re-enable tests for this component once we work out the best way to handle this.
Another Oddity: The ThumbnailCarousel tests pass. It is specifically how that component is used in PageImageDetail that doesn't pass.

That's an interesting one. I think you could argue that it's not important for the text to be legible, that the whole card is there to hint that there is more in the carousel. Not sure how to tell the automated tests that, though…

Did you try with aria-hidden attribute?


BModal  Initialization bug

Describe the bug: When I have an external JavaScript that inserts a div into DOMContentLoaded, BModal will replace the contents inside.
To Reproduce. Steps to reproduce the behavior:

Go to 'https://stackblitz.com/edit/nuxt-starter-chwmew?file=src%2Fpublic%2Fot.js'

Expected behavior. A clear and concise description of what you expected to happen.
Screenshots. If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Package Version: 0.9 0.10

Having external JavaScript combined with Vue is generally not recommended because of this exact problem.

That's the behavior of a teleport. This is a vue issue. If you want to modify the teleport, you can use teleportTo prop. You're using Nuxt. So plan accordingly. Closing as it's not a Vue bug, not a Nuxt bug, not a bootstrap-vue-next bug.

That being said, a nexttick or somehow waiting a time period may also fix it, but it may not fix it "under all circumstances"


Fonts render differently with SDL3.

The first screenshot is SDL2:

The second screenshot is SDL3:

Can you attach a test program and the fonts you're using?

I wrote a test program and it rendered perfect with SDL2 and SDL3. I review the game code and realized this is a SDL_Texture scaling difference between SDL2 and SDL3. We will need to rewrite some of that code to obtain our preferred font sizes.

If you're referring to the logical presentation mode differences, we're looking at making SDL3 work like SDL2 again. @icculus signed up for that work. :)

This should be fixed in the latest SDL3 code.


Refactoring values

I want to mention that these changes are only for better looking at this moment, because when I try to remove the part under psql: and postgresql: it causes an error where it asks for the password value, so this means that it does not take from the value defined above.
Error: UPGRADE FAILED: error validating "": error validating data: [unknown object type "nil" in Secret.stringData.postgresql-password, unknown object type "nil" in Secret.stringData.postgresql-postgres-password]
Also for the DatastoreRODBPass that we discuss earlier, should I leave it as it is or modify it like we talked?
@Filip3mac

I want to mention that these changes are only for better looking at this moment, because when I try to remove the part under psql: and postgresql: it causes an error where it asks for the password value, so this means that it does not take from the value defined above. Error: UPGRADE FAILED: error validating "": error validating data: [unknown object type "nil" in Secret.stringData.postgresql-password, unknown object type "nil" in Secret.stringData.postgresql-postgres-password] Also for the DatastoreRODBPass that we discuss earlier, should I leave it as it is or modify it like we talked? @Filip3mac

Leave it for now.

Is this commit 9dee813 tested? @sarakoteli

Is this commit 9dee813 tested? @sarakoteli

Yes, it has been tested and passed without any issue.


NIX Sigma 3.0rc2 showing coins as staking

When opening the wallet sometimes coins show up as staking.

fixed


Index validator fix

resolves #13

@petans24 ping, can you hide the func pls? I bet I will forget this till standup 😁