playback on sonos not possible

After importing your example flow and adjusting the settings in the node ttsultimate, I get the following error message in Sonosplayer.

Where can I set the IP and port of the Node-Red?
Many thanks for your support

Hi Chris
in the gitHub README, you'll find all infos. ;-)

Hi Chris
in the gitHub README, you'll find all infos. ;-)

Thank you very much for the quick reply.
Sorry to ask, but where on the Red node can I make this setting?

Thank you very much for the quick reply.
Sorry to ask, but where on the Red node can I make this setting?

Simply double click on the tts-ultimate node, you'll see something like this:

Click the button indicated by the blue arrow.
You'll see something like this.
See the blue arrow.

Simply double click on the tts-ultimate node, you'll see something like this:

Click the button indicated by the blue arrow.
You'll see something like this.
See the blue arrow.

Sorry, I was asleep then! It's great how it works now.
Thanks for this awesome node.
Cheers, Chris

Sorry, I was asleep then! It's great how it works now.
Thanks for this awesome node.
Cheers, Chris


Self-identification: tweak wording & add other section

What this PR does / Why we need it

Tweaks wording from asking about gender to a general "What do you identify as?"
Allow for "Other" option

Some questions

[x] I have read the contributing guidelines
[x] I abide by this repository Code of Conduct
[x] I understand that my PR won't be merged until Travis gives a "green light"

Additional Notes (optional)
Do you want to add anything else? We :heart: to hear your opinions!
@vaidap — your feedback on this would be amazing!
Also, generally: I am not sure what happens to this new column when you export hacker data!

thanks for doing this @qaisjp! ❤
a few comments:

it sounds a bit weird to remove "gender" from the question-- I feel like "What gender do you identify as?" sounds better.
I'd replace "Other" with "Prefer to self-describe", as per this example: https://twitter.com/underskinnyhrt/status/1086275803917111297
As for whether 20 chars is a good max length, i'd increase it to 30-40 if that's not an issue on the backend, as I can think of a few examples that would go beyond 20 chars.

If you're interested, the general advice I follow is the one summarised in @kitation 's slides: https://slidr.io/kitation/asking-about-gender-merseycode#22 and the one right after for an example.

Thanks for the review Vaida!
@casassg, any other thoughts?


Use actions object to get loginSuccess method in DevAuthScreen.

fix for

Great. Thanks for noticing this. I knew I would miss something.


client initialization in pfs/server/driver.go is brittle

Currently, every method of pfs/driver calls initializeClient at the beginning. It turns out that if you forget to make this call, you make get intermittent segfaults (where the code tries d.pachClient to make an RPC, and d.pachClient is null)
Getting the pach client should be gated on initializing the pach client.

Any updates to this issue? How important is this?

This is tech debt. It's importnat.
It can be a nasty gotcha if you don't see / adhere to the convention. I
believe I ran into it recently but asked Matt about it and so I figured it
out. Generally we don't like conventions in the codebase that have bad side
effects ... as its easy to lose track of those, and shoot ourselves in the
foot.
On Fri, Oct 20, 2017 at 5:34 PM, Joey Zwicker<EMAIL_ADDRESS>wrote:

Any updates to this issue? How important is this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pachyderm/pachyderm/issues/2295#issuecomment-338351192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkfwTYX9JPv_Z__F55lgM1ei2C9w1Kjks5suTwsgaJpZM4PZAc-
.

driver has been substantially refactored since this and now passes the pachClient in as an argument (in some cases inside of a TransactionContext. I think that should guarantee we don't see issues like this and afaik we haven't seen one in quite a while. Closing this, feel free to reopen if you hit something like this again.


Query: Multiple Collection/Include materialization on same level

Due to cartesian product, it causes an interesting case where first collection needs to skip rows & second collection needs to iterate once and skip the rest.

Fixed by #16289


Seeding migrations

Description
The feature of having a DAL is super nice but it is ugly to seed data like custom field sets as you have to provide them on activation and update. A migration would suit the needs better in case of a changing structure. The migrations seem not to have access to the container to get a repository to work with data. That would be really helpful as migrations already keep track of being run once or not.
Example
<?php declare(strict_types=1);

namespace FooBar\Migration;

use Doctrine\DBAL\Connection;
use Shopware\Core\Framework\Migration\DataMigrationStep;

class Migration1581949429 extends DataMigrationStep
{
    public function getCreationTimestamp(): int
    {
        return<PHONE_NUMBER>;
    }

    public function updateData(Container $container): void
    {
    }

    public function updateDataDestructive(Container $container): void
    {
    }
}

hey @JoshuaBehrens
the migration system should be as independent as possible from all the other parts of the Shopware core. So it could be run without a running shopware (in theory).

That is... ok. It is understandable. So I just use inserts instead? I can't depend on meta-configuration this way. How do I ensure properly the existance or migration of custom field data? Do I really have to do that like in the 5-days by comparing the updating version and change the custom field sets?

The more annoying part is that these fields get translations in a manner that is unusual in the thoughts on this framework. They are not served as translatation but inside a json field. I know that admin translations are only served as registered key in the Locale object and by translated content. That custom fields are handled like content that is ok... somehow... when you compare them to shopware 5 attributes it was possible to translate them externally by adding some snippets. These custom fields are not because the custom field itself holds itself the translation. Why does it do that? Because this translation is part of the input field attributes that used to generate the editing field. That can be overriden but in sw-form-field-renderer::bind but that is such a hassle an huge overload. How can this be solved in an other way (Translate custom fields like classic attributes in 5)?

I think a decent solution would be, if could provide a snippet in the config and use it as a default. The users could still overwrite it, but the snippet would be the default.
Example Config:
{
  "type": "text",
  "label": {
    "snippet": "myplugin.mycustomfield.label",
    "en-GB": "My label override"
  },
  "helpText": {
    "snippet": "myplugin.mycustomfield.helptext"
  },
  "placeholder": {
    "en-GB": "Code Placeholder"
  },
  "componentName": "sw-field",
  "customFieldType": "text",
  "customFieldPosition": 1
}

You would only need to insert this config once, and you could just update the snippet file.

I solved it currently that way:
const { Component } = Shopware;

Component.override('sw-form-field-renderer', {
    computed: {
        bind() {
            const result = this.$super('bind'),
                config = this.config,
                translatableFields = this.translatedFields[this.componentName] || [];

            translatableFields.forEach(field => {
                if (config[field] && config[field].i18n && this.$te(config[field].i18n)) {
                    result[field] = this.$t(config[field].i18n);
                }
            });

            return result;
        }
    }
});

I provide snippets in addition to that change. And my migration to add this field looks like this
$connection->insert('custom_field_set', [
    'id' => Uuid::fromHexToBytes(self::SET_ID),
    'name' => 'custom_set_product',
    'config' => '{"label": {"en-GB": "Foobar", "de-DE": "Foobar", "nl-NL": "Foobar"}, "translated": true}',
    'active' => true,
    'created_at' => date_create('@' . $this->getCreationTimestamp()),
], [
    'created_at' => 'datetime',
]);
$connection->insert('custom_field_set_relation', [
    'id' => Uuid::fromHexToBytes(self::SET_RELATION_ID),
    'set_id' => Uuid::fromHexToBytes(self::SET_ID),
    'entity_name' => 'product',
    'created_at' => date_create('@' . $this->getCreationTimestamp()),
], [
    'created_at' => 'datetime',
]);
$connection->insert('custom_field', [
    'id' => Uuid::fromHexToBytes(self::CUSTOM_FIELD_ID),
    'set_id' => Uuid::fromHexToBytes(self::SET_ID),
    'name' => 'custom_set_product_baz',
    'active' => true,
    'config' => json_encode([
        'type' => 'switch',
        'label' => [
            'i18n' => 'foobar.customFields.baz',
        ],
        'validation' => 'required',
        'componentName' => 'sw-field',
        'customFieldType' => 'switch',
        'customFieldPosition' => $position,
    ]),
    'type' => CustomFieldTypes::BOOL,
    'created_at' => date_create('@' . $this->getCreationTimestamp()),
], [
    'created_at' => 'datetime',
]);

That is pretty similar to your suggestion. Pull request like this?

For shopware 6.2 I had to change my solution to this:
const { Component } = Shopware;

Component.override('sw-form-field-renderer', {
    computed: {
        bind() {
            const result = this.$super('bind'),
                config = this.config;

            ['label', 'placeholder', 'helpText'].forEach(field => {
                if (config[field] && config[field].i18n && this.$te(config[field].i18n)) {
                    result[field] = this.$t(config[field].i18n);
                }
            });

            return result;
        }
    }
});


no such file to load -- i18n/docs

For some reason I get this error now (using bundler 1.1.3)
gems/bundler-1.1.3/lib/bundler/runtime.rb:74:in `require': no such file to load -- i18n/docs (LoadError)
	from /Users/kmandrup/.rvm/gems/ruby-1.8.7-p358@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:74:in `require'
	from /Users/kmandrup/.rvm/gems/ruby-1.8.7-p358@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
	from /Users/kmandrup/.rvm/gems/ruby-1.8.7-p358@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
	from /Users/kmandrup/.rvm/gems/ruby-1.8.7-p358@global/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
	from /Users/kmandrup/work/repos/circle/htc_one/config/application.rb:13

I resolved it by explicitly declaring which file to require.
`gem 'i18n-docs', '~> 0.1.2', :require => 'i18n-docs'``
Very strange indeed!

this should be fixed


Make enum generate configurable

This PR is to fix #12

Let's also add a txtar test case. Should be able to just add another one that follows the existing pattern. Should be able to basically just copy in the examples from #12

the current test covered the cases mentioned in 12 except for those 2:
Numeric: 0 | 1 | 2 @cuetsy(kind="enum",memberNames="Zero|One|Two")
ErrNamelessNumerics: 0 | 1 | 2 @cuetsy(kind="enum")
I was about to ask you regarding the conversation between you and ryan, how we should manage it.


rename jupyter notebook name

Rename init/jupyter/gravitino-fileset-sample.ipynb to init/jupyter/gravitino-fileset-example.ipynb
Improvement README.md

Could you modify the document in our main repo?

Could you modify the document in our main repo?

Yes main repo already updated.


Remove ATS allows arbitrary loads.

ArcGIS Online has updated it's owning system URL. https://www.arcgis.com/sharing/rest/info?f=pjson
This change should be reflected in

[x] XCode
~README~

@mikewilburn this change has been implemented. Would you test to confirm it has been implemented successfully?
You can confirm this change has been implemented properly if you are able to authenticate with AGOL.

Confirmed this works by signing into https://www.arcgis.com, https://runtime.maps.arcgis.com, or https://arcgisruntime.maps.arcgis.com.


KAFKA-6857: Leader must always reply with undefined offset if undefined leader epoch requested

The leader must explicitly check if requested leader epoch is undefined, and return undefined offset so that the follower can fall back to truncating to high watermark. Otherwise, if the leader also is not tracking leader epochs, it may return its LEO, which will the follower to truncate to the incorrect offset.
Added unit test to verify the behavior.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks @hachikuji ! I created KAFKA-6859 for not sending OffsetForLeaderEpoch for undefined leader epoch, which may be a bit more involved than this fix (which we need anyway).

kafka.admin.DescribeConsumerGroupTest > testDescribeExistingGroup FAILED with DisconnectException. I don't think it is related to this PR.
Retest this please


[Snyk] Upgrade minimatch from 9.0.3 to 9.0.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade minimatch from 9.0.3 to 9.0.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago, on 2024-03-28.

Release notes

Package name: minimatch

9.0.4 - 2024-03-289.0.4

9.0.3 - 2023-07-069.0.3

    from minimatch GitHub release notes

Commit messages

Package name: minimatch

cb4be48 9.0.4
c091ce2 build with tshy, update tap
87c8677 fix: override with fastTest as property on regex object
ef8f267 add github link to typedocs
05b464d ci: remove node 14 from matrix

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 98.209%. remained the same
when pulling 34b8266445868bc136d1f4fcee3759018cad0bfd on snyk-upgrade-c82fca1904f3b3deeedc2ccb41dbfbdc
into d08e8e4755ac209aa7d63f62e22cbc82cc05f43b on main.


Refactor signature of bind method

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch and not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
This commit change the trait bound on bind to FnMut to make it actually
works on practice. It has to call the mem::forget or the closure will
just be dropped.
The instance is also changed with Arc to make user able to reference
count them safely across thread (on Rust side, we "trust" original
webview knows about thread safety)
See example to get a look how these methods are called.

Do we have any kind of performance implications by using Arc? I don't think so but just confirming. Looks good! Way easier to use than the old binding.

@lucasfernog Arc is just a smart pointer with a counter, so it shouldn't bring any overhead. Honestly I would like to have a direct bindings too. But we should set a point to know at which level it is consider Send/Sync are valid.

so let's merge this then!


⚠ Bofrost.fr has degraded performance

In bed3765, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 843 ms

Resolved: Bofrost.fr performance has improved in 37f421b after 32 minutes.


Interpreter as a Struct

Moved the interpreter to a struct, but not sure whether that was the right decision.

This seems to result in quite a speed up! Woohoo!
Results here


tf error : Failed to load the native TensorFlow runtime.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version: 2.1
Python version: 3.7
Installed using virtualenv? pip? conda?: virtualenv
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10
GPU model and memory: NVIDIA Quattro 2000

I have, at the origins tf2.1, which works very well. For some Reason I have wanted to update to tf2.2. But when I did it "import tensorflow" make this error. So I thought that I aven't good composante like GPU, and I try to go back to tf1.15 but nothing changed. so I decided to comme back to the 2.1 version. And now I have also this error. I Don't undestand how a version could worked in the past  but not now.
I precise that I read a lot of issues and try a lot of thinks but nothing works.
Please help me

@zolora
Please refer to this link and let us know as this is a common resolved issue.


SUBMARINE-602. [WEB] Fix some bugs in workspace page

What is this PR for?
Fix some bugs in workspace page

Remove the unknown white block

(1) Implement the function of "click close icon" (2) Move the next step button

Move the previous button and next button

Move the previous button, save button and notebook button

What type of PR is it?
[Bug Fix]
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-602
How should this be tested?
https://travis-ci.org/github/kevin85421/hadoop-submarine
Screenshots (if appropriate)

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@jiwq Thank you for your suggestion! Can you explain the meaning of information further? Do you mean the "initial project" and "preview project" pages? Thanks!

@jiwq Thank you for your suggestion! Can you explain the meaning of information further? Do you mean the "initial project" and "preview project" pages? Thanks!

In create new project, it has three steps. The first step is Basic Information, in here I saw this issue.

@pingsutw Thanks! I will fix it soon.

@pingsutw @jiwq I have fixed the problem. Thanks!

Thanks @kevin85421, will merge if no more comment.


Black rect instead of chart

Sometimes this happens:

Validate SVG and it is all green, so I really dont know what could be the reason for this.

fill="none" fixes the problem


New version: Alibaba.AlibabaCloudCLI version 3.0.225

Created by 🥟 Dumplings in workflow run #8790.

Log
Updated: 3.0.224 → 3.0.225
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-10-13 23:26:38.674 [FAIL] Installer failed security check. Url: https://github.com/aliyun/aliyun-cli/releases/download/v3.0.225/aliyun-cli-windows-3.0.225-amd64.zip Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)


Complete move to auto-imaged windows VMs

Complete the move to the auto-imaged Windows VMs, rather than using the static pool

This is blocked by auto-desktop session startup issues.  We need to be able to actually get a full desktop session to replace the VMs that Roslyn uses


Accept custom nestedField defined using 'type' in its parentField

Issue #
This issue arises from the code changes in lambda-controller for PR #88
Summary
Accept a custom nestedField properly in its parentField
Description
The code in this PR helps in accepting a custom nestedField defined using type as a part of its parentField. In the issue mentioned above when a new field S3SHA256 was defined as a part of Code field, instead of nesting it under Code the generator created a separate field named CodeS3SHA256.
The new field S3SHA256 is defined like this in generator.yaml file:
Function:
    fields:
      Code.S3SHA256:
        type: string

After applying these changes the field S3SHA256 is now considered a part of Code field and is included as a part of Code type.
type FunctionCode struct {
	ImageURI *string `json:"imageURI,omitempty"`
	S3Bucket *string `json:"s3Bucket,omitempty"`
	S3BucketRef     *ackv1alpha1.AWSResourceReferenceWrapper `json:"s3BucketRef,omitempty"`
	S3Key           *string                                  `json:"s3Key,omitempty"`
	S3ObjectVersion *string                                  `json:"s3ObjectVersion,omitempty"`
	S3SHA256        *string                                  `json:"s3SHA256,omitempty"`
	ZipFile         []byte                                   `json:"zipFile,omitempty"`
}

This PR contains code implementation for this functionality and respective model-test to validate the changes
Acknowledgment
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test apigatewayv2-controller-test

/test

/test all

/test dynamodb-controller-test

/test dynamodb-controller-test

/test all

/test iam-controller-test

/retest

/hold

/unhold


Shelly plus smoke - non discovered by MQTT

Describe the bug
Shelly plus smoke configured (with RPC) and visible in MQTT broker (hosted on HA)

Gen2 script started manually (few times)  while device is awake (hold button to wake/test shelly smoke)

via shelly API , HA autodiscover works without issue - this is to confirm network connection.

Expected behavior:
show shelly smoke as a recognized device in MQTT
Versions:

Home Assistant:  2024.10.0
Shellies Discovery GEN2:  2.34.1
Shelly device firmware: 1.4.2-gc2639da

Shellies Discovery GEN2 automation:

id: shellies_discovery_gen2
alias: Shellies Discovery Gen2
mode: queued
max: 999
trigger:

platform: mqtt
topic: shellies_discovery/rpc
action:
service: python_script.shellies_discovery_gen2
data:
id: '{{ trigger.payload_json.src }}'
device_config: '{{ trigger.payload_json.result }}'
service: mqtt.publish
data:
topic: '{{ trigger.payload_json.result.mqtt.topic_prefix }}/command'
payload: status_update

Shelly device MQTT settings:

Show me please shellies announce automation and a debug log.
How to catch a debug log -> https://github.com/bieniu/ha-shellies-discovery-gen2?tab=readme-ov-file#how-to-debug

home-assistant.log

im using both scripts gen1 and gen2 (gen1 works awesome - you are a legend bro!)

id: shellies_announce
alias: Shellies Announce
trigger:

platform: homeassistant
event: start
platform: time_pattern
hours: /1
action:
service: mqtt.publish
data:
topic: shellies/command
payload: announce

id: shellies_discovery
alias: Shellies Discovery
mode: queued
max: 999
trigger:
platform: mqtt
topic: shellies/announce
condition:

condition: template
value_template: '{{ trigger.payload_json.gen is not defined }}'
action:
service: python_script.shellies_discovery
data:
id: '{{ trigger.payload_json.id }}'
mac: '{{ trigger.payload_json.mac }}'
fw_ver: '{{ trigger.payload_json.fw_ver }}'
model: '{{ trigger.payload_json.model | default }}'
mode: '{{ trigger.payload_json.mode | default }}'
host: '{{ trigger.payload_json.ip }}'

id: shellies_announce_gen2
alias: Shellies Announce Gen2
trigger:

platform: homeassistant
event: start
variables:
device_info_payload: '{{ {''id'': 1, ''src'':''shellies_discovery'', ''method'':''Shelly.GetConfig''}
| to_json }}'
device_ids:

shellyplus2pm-485519a1ff8c
custom-prefix/shelly-kitchen
action:

repeat:
for_each: '{{ device_ids }}'
sequence:

service: mqtt.publish
data:
topic: '{{ repeat.item }}/rpc'
payload: '{{ device_info_payload }}'

id: shellies_discovery_gen2
alias: Shellies Discovery Gen2
mode: queued
max: 999
trigger:

platform: mqtt
topic: shellies_discovery/rpc
action:
service: python_script.shellies_discovery_gen2
data:
id: '{{ trigger.payload_json.src }}'
device_config: '{{ trigger.payload_json.result }}'
service: mqtt.publish
data:
topic: '{{ trigger.payload_json.result.mqtt.topic_prefix }}/command'
payload: status_update

you are a legend bro!

Thanks!

device_ids:

shellyplus2pm-485519a1ff8c
custom-prefix/shelly-kitchen

Where is Plus Smoke ID?

There is none , but smoke is communicating with mqtt (screenshot from mqtt explorer) and via Shelly api to HA.  And I don’t own any Shelly 2pm device.  :(

log from python:
home-assistant_python_script_2024-10-05T04-42-03.419Z.log

And I don’t own any Shelly 2pm device. :(

You copied a sample automation and didn't fill it with your own data. You need to enter your device ID here. ID = MQTT prefix.

 Thank you, and sry for trouble. Everything is working.

No worries


v7.1.1 release proposal

[096e3aded5] - gyp: update gyp to 0.6.2 (Myles Borins) #2241
[54f97cd243] - doc: add cmd to reset xcode-select to initial state (Valera Rozuvan) #2235

published, also matches what Myles has already released in npm https://github.com/nodejs/node/pull/35667


Code to Image Converter

I didn't understand
And I am in a group 11
On Wed, 10 Jul, 2024, 1:28 pm DeshAlhan, @.***> wrote:

Merged #14 https://github.com/DeshAlhan/devstar/pull/14 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/DeshAlhan/devstar/pull/14#event-13451647303, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BB7B4IH4LZHY7ZXRLIQQW3LZLTSR5AVCNFSM6AAAAABKPLKKM6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQ2TCNRUG4ZTAMY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Deprecate / remove experimentalAngularNext

Following this PR https://github.com/angular/angular-cli/pull/12709
We no longer use experimentalAngularNext in our code base and this is a hidden option.
https://github.com/angular/angular-cli/blob/f52f043e4f423554d2f5b26e75c5a77e973ce8b2/packages/schematics/angular/workspace/schema.json#L16-L20
If removed, we can clean up:
https://github.com/angular/angular-cli/blob/f52f043e4f423554d2f5b26e75c5a77e973ce8b2/packages/schematics/angular/workspace/files/package.json#L14-L30
In our next team meeting we should discuss if to remove this option since it's hidden and experimental or deprecate this and remove it in V8.

I think we can just remove this one since it wasn't documented.


Add AuthorityHost to AzureConfigKey

Which issue does this PR close?

Closes #6759
Rationale for this change

Expose Azure AuthorityHost to be configurable via key.
What changes are included in this PR?

Add AuthorityHost to AzureConfigKey.
Are there any user-facing changes?

Includes updates for rustdoc.

Ran cargo fmt

Thanks @tustvold  and @zadeluca


Cannot run wis2box-api following the readme

I am trying to install and run wis2box-api by following these instructions https://github.com/wmo-im/wis2box-api#installing-the-package
When I try running
export FLASK_APP=wis2box_api.app
flask run

it returns this error
RuntimeError: PYGEOAPI_CONFIG environment variable not set
when I set that as
export PYGEOAPI_CONFIG=docker/pygeoapi-config.yml
it returns
OSError: Undefined environment variable WIS2BOX_API_URL in config
When I set
export WIS2BOX_API_URL=<http://localhost:5000>
it returns
OSError: Undefined environment variable WIS2BOX_BASEMAP_URL in config
when I set that to
export WIS2BOX_BASEMAP_URL=<http://test.dev>
it returns
OSError: Undefined environment variable WIS2BOX_BASEMAP_ATTRIBUTION in config
when I set that as
export WIS2BOX_BASEMAP_ATTRIBUTION=test
it returns
OSError: Undefined environment variable WIS2BOX_DATADIR in config
when I set that as
export WIS2BOX_DATADIR=data
it runs.
But when I go to http://localhost:5000 it redirects to https://docs.wis2box.wis.wmo.int/en/latest/
So, I tried http://localhost:5000/oapi/admin and it returns internal server error with

[2023-01-16T19:16:08Z] {/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask-2.2.2-py3.10.egg/flask/app.py:1741} ERROR - Exception on /oapi/admin [GET]
Traceback (most recent call last):
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/pygeoapi/util.py", line 355, in render_j2_template
    template = env.get_template(template)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/environment.py", line 997, in get_template
    return self._load_template(name, globals)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/environment.py", line 958, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/loaders.py", line 125, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/loaders.py", line 214, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: admin/index.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask-2.2.2-py3.10.egg/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask-2.2.2-py3.10.egg/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask_Cors-3.0.10-py3.10.egg/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask-2.2.2-py3.10.egg/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Flask-2.2.2-py3.10.egg/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/faysal/sandbox/wis2api/wis2box-api/wis2box_api/flask_admin.py", line 58, in admin
    return get_response(admin_.admin(request))
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/pygeoapi/api.py", line 169, in inner
    return func(cls, req_out)
  File "/home/faysal/sandbox/wis2api/wis2box-api/wis2box_api/admin.py", line 160, in admin
    content = render_j2_template(
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/pygeoapi/util.py", line 363, in render_j2_template
    template = env.get_template(template)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/environment.py", line 997, in get_template
    return self._load_template(name, globals)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/environment.py", line 958, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/loaders.py", line 125, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/jinja2/loaders.py", line 214, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: admin/index.html
[2023-01-16T19:16:08Z] {/home/faysal/sandbox/wis2api/my-env/lib/python3.10/site-packages/Werkzeug-2.2.2-py3.10.egg/werkzeug/_internal.py:224} INFO - <IP_ADDRESS> - - [16/Jan/2023 19:16:08] "GET /oapi/admin HTTP/1.1" 500 -

could you please suggest how to fix this error?
Also I think it would help people getting started with it a lot if the readme discussed the required configurations.

wis2box-api is a service for wis2box, please refer to wis2box-documentation here https://docs.wis2box.wis.wmo.int


Add a configuration option to specify what directory separator is used when building

Feature request
I'm writing a Next app on Windows and deploying it on Elastic Beanstalk. The deployment process involves running next build locally and then deploying the necessary files along with the .next folder to Elastic Beanstalk. However, this isn't possible since the files in the .next build folder use os-specific directory separators, making any build from a Windows machine incompatible with one on a Linux machine.
~What I'd like to see done is have a configuration option that would allow you to specify the directory separator used in build files to either the system default, /, or \.~ or preferrably, replace the directory separators at runtime to support the build in any operating system.
While running next build is still an option, I've personally had issues with permissions doing while building locally works, that is, after manually changing all the directory separators in the config files in the .next folder.
EDIT: after posting this last night, I thought it over and realized that just making the changes at runtime when parsing the build folder would be more user intuitive.

Duplicate of #4920


Android Basics: tip-calculator

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-tip-calculator?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-tip-calculator#3
In which task and step of the codelab can this issue be found?
On the task 'Calculate the tip' and the step 'Format the tip'.
Describe the problem
My phone is currently in Vietnam currency. So when I format the tip like your example code, It's got rounded up (even if the round_up_switch is NOT clicked), which is not what users want.
But when I change my phone's currency to US Dollar. It seems to work fine.
So there is a problem with auto rounding by NumberFormat(Locale).format() when the currency is not USD.
Steps to reproduce?

Run the solution code on Android Studio

https://github.com/google-developer-training/android-basics-kotlin-tip-calculator-app-solution

Change the currency of the phone to Vietnam dong for example.

Type in 50.00 at the Cost of Price TextEdit view.
Toggle off the Round up tip switch.
Choose radio button Okay (15%).
Then press Calculate.

Versions
Android Studio version: Android Studio Chipmunk | 2021.2.1 Patch 1
API version of the emulator: (I use my own phone)
Additional information
Include screenshots if they would be useful in clarifying the problem.

 val formatter = NumberFormat.getCurrencyInstance()   //This line turn off auto round of NumberFormat   formatter.maximumFractionDigits = 4;   val formattedTip: String = formatter.format(tip)   binding.tipResult.text = getString(R.string.tip_amount, formattedTip)
If we add maximumFractionDegits then it works properly.

@caoTayTang
Thank you for reaching out to us and sharing your observation and further solution.


Dropdown in IE9+ fails to replace option text

Failing jsfiddle example: http://jsfiddle.net/fa3kq/
This only occurs in IE8+ using any version of AngularJS from at least 1.2.1 onward.
Using the Tab key, tab until the lower dropdown is highlighted. Then using the arrow keys, press the down arrow to see the unchanged description for the option. If you click on the dropdown, the display is correct.
If I could set the first dropdown's selected option, I would use that syntax. That does not appear to be possible without writing some javascript to set the default value after loading my dropdowns.
HTML:

        <select id="ddApps" name="ddApps" ng-model="app.Answer" ng-options="app.id as app.description for (id, app) in model.apps">
            <option value="" disabled>Select an application...</option>
        </select>
        {{app.Answer}}

                <select id="{{question.id}}" name="{{question.Name}}" ng-model="question.Answer" class="{{question.inputclass}}" ng-required="question.required && question.visible" title="{{question.title}}" ng-disabled="question.enabled == false" ng-cloak>
                    <option value="" disabled>{{question.placeholder}}</option>
                    <option ng-repeat="item in question.lov" value="{{item.value}}" ng-selected="{{item.value == question.defaultvalue}}" ng-hide="{{item.hidden}}" ng-disabled="{{item.hidden}}">{{item.description}}</option>
                </select>

            {{question.Answer}}

Javascript:
var app = angular.module('zquestions', []);

app.controller('questionCtrl', function ($scope) {
    $scope.model = {};
    $scope.model.apps = [{
        "id": 1,
        "programId": 14,
        "description": "Application for something special",
        "active": true,
        "sortorder": 10
    }, {
        "id": 2,
        "programId": 11,
        "description": "Application for something beyond belief",
        "active": false,
        "sortorder": 20
    }, {
        "id": 3,
        "programId": 8,
        "description": "Application for something out of this world",
        "active": true,
        "sortorder": 30
    }];
    $scope.model.questions = [{
        "id": 121,
            "Name": "Contact_State",
            "label": "State:",
            "type": 4,
            "Active": true,
            "required": true,
            "enabled": true,
            "Template": false,
            "title": "Select the state from the list below.",
            "placeholder": "Select state",
            "defaultvalue": null,
            "Answer": null,
            "maxlength": -1,
            "editmask": null,
            "labelclass": null,
            "inputclass": null,
            "lov": [{
            "applicationId": "1",
                "value": "AK",
                "description": "Alaska",
                "hidden": "false"
        }, {
            "applicationId": "1",
                "value": "AL",
                "description": "Alabama",
                "hidden": "false"
        }, {
            "applicationId": "1",
                "value": "AR",
                "description": "Arkansas",
                "hidden": "false"
        }, {
            "applicationId": "1",
                "value": "AZ",
                "description": "Arizona",
                "hidden": "false"
        }, {
            "applicationId": "2",
                "value": "CA",
                "description": "California",
                "hidden": "false"
        }, {
            "applicationId": "2",
                "value": "CO",
                "description": "Colorado",
                "hidden": "false"
        }, {
            "applicationId": "2",
                "value": "CT",
                "description": "Connecticut",
                "hidden": "false"
        }],
            "containerclass": "container container-width-one-quarter",
            "visible": true,
            "MinValue": null,
            "MaxValue": null,
            "LookupID": null,
            "Subform": null
    }];
});

It's now possible to disable options in ngOptions, so I think this use case is covered. I also cannot reproduce the issue with the instructions. Closing.


Libsass compatibility

Hello! This gem sounds awesome - responsive images and srcset media queries anyone? - so I would love to incorporate it in my workflow.
I have to use Libsass (powered by grunt-sass with Libsass 3.0.0-) however. Is there any possibility how to make it work with that?

@cibulka grunt-sass is powered by node-sass, an implementation of libsass. node-sass doesn't support (and perhaps never will) requiring gems like this module. I faced the same problem and converted this module into a node-sass-compatible module: https://github.com/Updater/node-sass-json-importer

@pmowrer Very cool! We'll link to you in the readme.

Updated. Thanks, pmowrer!


this.push doesn't notify changes to computed property

I have array property and computed property that depend on array. When i use this.push() method, my computed property doesn't recompute.

Please include a jsbin that repos the issue.

We're seeing something similar... We think its related to #2007 - The changes now send notification changes of array.#1.prop rather than array.1.prop - so if you set up any observer on that property without the # it won't get called.

I think this is also related
https://github.com/Polymer/polymer/issues/2556

http://plnkr.co/edit/5UW4wKanTR5v9Z7P79P3?p=preview

Using https://rawgit.com/Polymer/polymer/v1.1.5/polymer.html in that demo, I see two console logs
Using https://rawgit.com/Polymer/polymer/v1.2.0/polymer.html, I see one :(
This is a regression.

So I'm told from @kevinpschaaf this was never supposed to work. It's even documented as such: https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#array-binding.

binding to or observing array indices is not supported.  i.e. observer: [ 'myArrayChanged(myArray.1.value)' ] and {{myArray.1.value}}

that was never intended to be supported, so the fact that it changed is a result of relying on an unsupported feature

reason is that all path notifications for arrays are done as keys; observing an index (i.e. as an observer dep or binding) would require reverse lookup from key back to index, which is an O(n) operation for each

Closing as per the observation in the previous comment.

@ebidel please see: http://plnkr.co/edit/iNVTULU8w4bXxjyxunsd?p=preview

@lapteuh computeMyComputedArray(myArray) only re-computes when the myArray reference itself changes.  To re-compute on any deep change to myArray, use computeMyComputedArray(myArray.*):
http://plnkr.co/edit/348Amty1bSJMEZX5g4dy?p=preview

@kevinpschaaf thanks.


logical operators with jit?

This feels like it might be a bug in how boolean values are traced, and if not, it's perhaps a rather subtle sharp bit?
I've run in to some trouble trying to jit a function containing jax.lax.cond, and I've reduced it to a toy example that I can't quite wrap my head around (below). I'm it seems like logical operators might be the problem, b/c things work fine with a predicate like e.g. x<0, but not with x<0 and y<0 or not x<0. Based on my admittedly incomplete understanding, it seems like it ought to be possible to determine that both expressions result  in the same type (ShapedArray((), np.bool_)?), and thus it seem like if jit+jax.lax.cond works for the former it ought to work for the latter as well? Thanks in advance for any insight into this!
Toy example:
import jax
from jax import jit

@jit
def true_fn(x):
    return x - 5000.0

@jit
def false_fn(x):
    return x + 100.0

@jit
def cond_test_1(x, y):
    return jax.lax.cond(x < 0, true_fn, false_fn, x)

@jit
def cond_test_2(x, y):
    return jax.lax.cond(x < 0 and y < 0, true_fn, false_fn, x)

def cond_test_2_no_jit(x, y):
    return jax.lax.cond(x < 0 and y < 0, true_fn, false_fn, x)

Results from running these functions:

>>> cond_test_1(0.3, 0.1)
DeviceArray(100.3, dtype=float32)

>>> cond_test_2_no_jit(0.3, 0.1)
DeviceArray(100.3, dtype=float32)

>>> cond_test_2(0.3, 0.1)
Traceback (most recent call last):

[[...snip...]]

jax.core.ConcretizationTypeError: Abstract tracer value encountered where concrete value is expected (in `bool`).
Use transformation parameters such as `static_argnums` for `jit` to avoid tracing input values.
See `https://jax.readthedocs.io/en/latest/faq.html#abstract-tracer-value-encountered-where-concrete-value-is-expected-error`.
Encountered value: Traced<ShapedArray(bool[]):JaxprTrace(level=-1/1)>
>>>

PS: I'm really loving JAX, It's a revelation! Thanks to the team! <3

The issue here is with Python's and, which calls bool on its arguments. You should be able to use bitwise operators in its place; for example:
@jit
def cond_test_2(x, y):
    return jax.lax.cond((x < 0) & (y < 0), true_fn, false_fn, x)

(don't forget the parens, becuase & has higher precedance than <)
Note that the same thing is in play when x and y are standard numpy arrays: (x < 0) and (y < 0) will error for arrays with more than one dimension, while (x < 0) & (y < 0) will return the boolean mask.

@jakevdp Out of curiosity, is (x < 0) & (y < 0) equivalent to np.logical_and(x < 0, y < 0)?

Yes, I believe so.

thanks @jakevdp!

I'm a newbie and I just ran into the exact same issue. It would be great to see a mention of this in the docs.


[Bug]: MEV is loosing configured releays if client changes

Describe the bug!
At least on Holesky Network, MEV-boost config is loosing specified releays if added to a different client
Attach a Screenshot!
MEV configured to Nimbus with a few releays specified

Installed Lighthouse and configured MEV to Lighthouse via "Edit Node" - releays was automatically set to null

Expected Behaviour
I expected it to keep releays configured as is.
Help us reproduce your bug!

Setup a node with MEV on Holesky via oneclickinstall
After installation open MEV config and add some releays manually
Go to Edit Node and install a second client, for example Lighthouse
Reconfigure MEV to use Lighthouse
Click "Confirm Changes"
Wait that changes are applied (see Taskmanager)
Go back to the default Node page
Open MEV settings and you will see relays as "null"

Launcher Version
2.0.3
Desktop OS
Mac
Node Server OS
Ubuntu 22.04
Affected Service
Flashbots MEV-boost 1.7a1
Relevant log output
No response
Acknowledgment

[X] I looked through the existing bugs of this project

Probably addressed by: https://github.com/stereum-dev/ethereum-node/pull/1707


problem with angular 5

trying to convert an angular 4 project to 5  - but get this error when compiling
ERROR in ./node_modules/t-json-viewer/index.ts
Module build failed: Error: /myapp/node_modules/t-json-viewer/index.ts is not part of the compilation output.

any idea on what could be going on ?
I have
import {TJsonViewerModule} from 't-json-viewer';

[snip]

@NgModule({
  imports: [
    TJsonViewerModule,
[snip]

defined in my module

I have the same problem. Angular 5.1 and cli 1.6

I brought in everything from the src folder into my project and everything works great in Angular 5.1.

any news on this ? would rather keep it as a module than importing it into my project

Same error using  "@angular/cli": "^1.7.0"
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package
the library using the Angular Package Format (https://goo.gl/jB3GVv).

The message is self-explanatory. It's a very bad idea to put pure typescript files into an npm package. I recommend ng-packagr  to the author of the package (ping @temich666).
Meanwhile everybody will have to copy all the source files over into the own project OR fork & fix it! ;-)

Thanks guys, I think I can find time to fix it at near time.


Proper fill-in-middle support

Use prefix/middle/suffix tokens when metadata is present in GGUF, like f.ex. in this one.

See this PR on how to add this metadata to GGUFs that do not have them (recent CodeLlama and CodeGemma GGUFs should have gotten them automatically on conversion).

@CISC thank you for implementing this. And yeah lot's of moving pieces in this method (honestly very long overdue for a refactor) so avoiding doing anything fancy is ideal.


Using the same mnemonic phrase on this library and on Terrastation leads to two different addresses

Hi,
I'm trying to use this library to generate a new wallet on Terra.
However, when I import the generated mnemonic key on Terra Station, the resulting address is different.
This happens both if the mnemonic is auto generated, or fixed.
The exact piece of code I'm using is the readme tutorial.
The expected behaviour should be having the same address generated on terra station and with the sdk.
If you try to recover a wallet using the mnemonic key used inside the link I shared:
satisfy adjust timber high purchase tuition stool faith fine install that you unaware feed domain license impose boss human eager hat rent enjoy dawn
You will notice that the address on TerraStation is this one: terra1dcegyrekltswvyy0xy69ydgxn9x8x32zdtapd8, that is different from the one shown inside the screenshot.
Another thing that I noticed is that the private key that Terra Station lets me to export is bigger that the one shown in the example.
Am I making something wrong in using this library?

I suppose this depends on the derivation path.
I used the default parameters for the mnemonic key, however it doesn't align to what it's generated by Terra Station.
My parameter are:

coin type: 330
account: 0
index: 0

+1


Switch from Homebrew Formula to Cask

Propose to switch to Cask, which install the app into /Applications automatically for the user.
The 1st commit adds two Casks wezterm and wezterm-nightly.
The 2nd commit adds a disable! error to the old formula, and triggers a fake upgrade. When users install, or upgrade from the old formula, an Error pops up with guides for migration to the Casks. Here's what's the output,
❯ brew upgrade wezterm
Warning: Treating wezterm as a formula. For the cask, use wez/wezterm/wezterm
==> Upgrading 1 outdated package:
wez/wezterm/wezterm 20210522-migration-notice
==> Upgrading wez/wezterm/wezterm -> 20210522-migration-notice
Error: wez/wezterm/wezterm has been disabled because it is migrated from
current Formula to Casks 'wezterm' and 'wezterm-nightly'. With the new Casks,
the WezTerm.app will be put into /Applications/ automatically.

You should migrate to the new Cask right now.
If you have formula 'wezterm' installed, uninstall it first,
  brew uninstall --formula wezterm
  rm -rf /Applications/WezTerm.app
Then install WezTerm from the new cask 'wezterm',
  brew install --cask wezterm
or 'wezterm-nightly' for nightly build,
  brew install --cask wezterm-nightly

This formula may remain in the repo for a while to notice users migrate to the cask,
which results a name conflict between the formula 'wezterm' and the cask 'wezterm'.
Please pass '--cask' explicitly when doing an upgrade,
  brew upgrade --cask wezterm

Sorry about the trouble for you guys
!

The same Error pops up when doing brew install wezterm.

I haven't heard about the --no-quarantine flag before reading from your comment. Seems I disabled it globally with defaults write com.apple.LaunchServices LSQuarantine -bool false.
I suggest adding it to the disable! block (the migration tips part) in Formula/wezterm.rb. Just like what you have updated in the doc.
    You should migrate to the new Cask right now.
    If you have formula 'wezterm' installed, uninstall it first,
      brew uninstall --formula wezterm
      rm -rf /Applications/WezTerm.app
    Then install WezTerm from the new cask 'wezterm',
-      brew install --cask wezterm
+      brew install --cask wezterm --no-quarantine
    or 'wezterm-nightly' for nightly build,
-      brew install --cask wezterm-nightly
+      brew install --cask wezterm-nightly --no-quarantine

Done in ebbf38dbb868977a6f0e0bd06bfe67d34a517783


Go team quiet week: issue tracker responses will be delayed

The issue tracker will be quiet from September 24 to October 4, to let Go team members and contributors disconnect and either recharge for a bit or do focused, deep work.
Here at Google, we have been encouraging people to make sure to take time off during this incredibly stressful year and a half. We’ve observed that one problem with taking a week or two off is that various discussions, meetings, golang-dev@ threads and issues happen while we are away, creating a backlog to work through on return. And even if you’re not taking time off, keeping up with this stream of interruptions can make it difficult to focus on individual work.
We have established regular "quiet weeks", once per quarter, with as few interruptions as possible and, for people taking time off, as little to catch up on as possible. The goals for a quiet week are:

Create time for people to disconnect and take a real break, without feeling like they will need to catch up on what they missed when they return.

Create time for people who keep working to do deep work, without all the usual interruptions like meetings and online discussions.

The week (plus weekends) starting Friday, September 24 and ending Monday, October 4 is one of our quiet weeks. We’ve cancelled all our meetings for this week and committed to not having team-wide email or chat discussions either. The same applies to public Go conversations that we are typically part of: for this week, we will not be participating in golang-dev@ nor non-trivial GitHub issue tracker conversations (like proposals or anything trying to arrive at a decision).
We will also be disconnecting as much as possible during the quiet week from other community forums like Gopher Slack, r/golang, and<EMAIL_ADDRESS>The conversations there are mostly not driven by the Go team, so they won’t be as affected, but just know that we won’t be trying to keep up with those either.
When we return on October 4, we will pick up where we left off.
– Russ Cox, for the Go team

Thank you to everyone who has contributed. Enjoy the time - well deserved.

Welcome back everyone!


Update sbt to 1.4.4

Updates org.scala-sbt:sbt from 1.2.8 to 1.4.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-minor

#42's more like it :+1:


Question: How to configure a local V4L2 camera

Hi there!
First of all thank you very much for the great project! I really appreciate your work!
I'm currently about to add a local V4L2 camera (HD webcam), which is connected via USB and already providing a basic http livestream using motion.
Unfortunately I'm struggling with the source property of the config file. I already googled / read the motion documentation days over days and also tried a lot of settings, mentioned in this wiki, but I'm unfortunately not familiar with this topic.
Does anybody have a guess, what I could try to enter as a value for the source field for a local V4L2 camera?
{
  "platform": "Camera-ffmpeg",
  "cameras": [
    {
      "name": "My camera",
      "videoConfig": {
      	"source": " ??? ",
      	"maxStreams": 2,
      	"maxWidth": 1280,
      	"maxHeight": 720,
      	"maxFPS": 15
      }
    }
  ]
}

From the author of this very plugin:
https://mobile.twitter.com/KhaosT/status/960592605808549888

Thank you! That did the trick!


Feature/#63 send e mails for validation/reset password

Added email verifiation for user when new user registers
Added resend verification email to adress
Added reset passwort for user

Looks good to me, now.
(I will rephrase the 418 error message a little bit after merge of PR).


python311Packages.dvc-data: 3.7.0 -> 3.8.0

Diff: https://github.com/iterative/dvc-data/compare/refs/tags/3.7.0...3.8.0
Changelog: https://github.com/iterative/dvc-data/releases/tag/3.8.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 283580 run on x86_64-linux 1

12 packages built:

dvc (python311Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python311Packages.dvc.dist)
python311Packages.dvc-data
python311Packages.dvc-data.dist
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvclive
python311Packages.dvclive.dist


DSD format

To make the Vita into a true high-res audio player.

@joel16 For what reason is this closed?

I don't see any open source libraries to support this, so I don't find it feasible.

@joel16
https://sourceforge.net/projects/sacddecoder/
10 seconds on Google

Ok, then do it yourself?


Disable swagger generation ?

Is there any config to stop generating swagger documentation all together ?

Try https://github.com/rochacbruno/flasgger/blob/6bdacbafd9aa84f6d6f319a5a84b6fb90cc2b5a6/examples/disable_swagger_ui.py#L22

@noviceamateur can you confirm if that solved your problem?

Yeah. It worked. But is there a way to disable the apidocs as well ? Not just the UI

@noviceamateur there is no such option, because the whole point of this extension is to provide the APIdocs.
What is your use case?
from flasgger import Swagger

if app.config['ENABLE_FLASGGER']:
    Swagger(app)

The above will register Swagger only if you have ENABLE_FLASGGER in your config, is that a workaround for you?
Let me know the use case then we can think about adding more options.

Ya. This will work. Thanks.


[RFE] Allow configuration of interfaces without requiring "name"

Right now the interface name is required to configure an interface. It would be nice to be able to apply config to ethernet interfaces by using either the permanent MAC address or the name.
NetworkManager allows you to create connection profiles that are mapped to interfaces by MAC address without requiring the interface name. This is nice because it saves you when certain NIC manufacturers (looking at you, Mellanox...) decide to make changes to drivers or firmware that alter the "predictable" interface names which would otherwise cause host networking to break on boot. Obviously this can be solved with udev rules but it would be nice to not have to resort to them.

This is strongly related to https://github.com/nmstate/nmstate/pull/2301 - note we solved that by writing systemd .link files.

Obviously this can be solved with udev rules but it would be nice to not have to resort to them.

Yes, but note systemd .link files are already declarative and much nicer than udev rules.

Tihs is already supported since 2.2.10. For example:
---
interfaces:
  - name: wan0
    type: ethernet
    state: up
    identifier: mac-address
    mac-address: 1e:bd:23:e9:fb:94
    ipv4:
      enabled: true
      dhcp: true
    ipv6:
      enabled: true
      dhcp: true
      autoconf: true

I have created document at https://nmstate.io/features/mac_identifier.html

@cgwalters ^^

Thanks, great to hear that this is supported now. Can this be used as a way to use MAC addresses to specify bond member ports? Does nmstate match the names used in interface.link-aggregation.port(s) to nmstate interface.name or directly to kernel device names?
i.e. does this work if the kernel device names aren't bond0-member0 and bond0-member1:
interfaces:
- name: bond0
  type: bond
  state: up
  link-aggregation:
    mode: 802.3ad
    options:
      ...
    port:
    - bond0-member0
    - bond0-member1
- name: bond0-member0
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 1E:BD:23:E9:FB:94
  ...
- name: bond0-member1
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 1E:BD:23:E9:FB:95
  ...

Alternatively, is there a way to specify the parent/controller whatever you want to call it of an interface on the child?
- name: bond0-member0
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 1E:BD:23:E9:FB:94
  controller: bond0

For context, we run LACP for the majority of our hosts and the interface renaming hurts the most with bonds because the we end up with no functional members. With non-bonded interfaces, it seems NetworkManager will fall back to a default profile with DHCP on one of the interfaces when no other connection profiles match, so at least we don't lose networking completely. With LACP bonds, when things get renamed we end up without any functional networking at all and have to fix it by getting on the console via the BMC which doesn't scale. I just still haven't found the magic solution that works with LACP bonds AND can be applied via nmstate.

@cathay4t @cgwalters Do either of you know if one of the strategies above allow specifying bond member ports in a way that matches based on MAC and not kernel device name?

@ryanbowen Currently nmstate does not support referring the profile name of a interface as port yet. But workaround could be:

Create bond with empty port list.
Add port to this bond.

For example, apply these two YAML seperately will work for your use case:
---
interfaces:
- name: bond0
  type: bond
  state: up
  link-aggregation:
    mode: balance-rr
    ports: []

interfaces:
- name: bond0-member0
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: c2:9f:53:47:5d:08
  controller: bond0

I have create https://issues.redhat.com/browse/RHEL-1745 to trace the effort on supporting this in single YAML file.

@cathay4t I'm unable to view that Red Hat Jira issue you mentioned (RHEL-1745), unless that's expected. We also have a RH support contract w/TAM services in case it's needed or helps.

@ryanbowen Please contact your TAM or support engineer for access. We are currently planning it for OCP 4.14 or later version, if you need backport to older version of openshift, please mention that to your TAM/support contact. Thank you!

This feature would be great, however all of the last several messages in this issue direct to resources off site and or refer to various commercial support contracts and/or tangental software. Can this issue please get an update that clearly communicates whether this feature is being worked on and if so what the expected release timeline is?
All the top level documentation for this project suggests that PRs are welcome, but pivoting issues to pay walled tickets and support contracts makes it hard to tell if progress is being made and/or coordinate additional contributions to the requested feature.

@drawks You may ignore those redhat links, they just tracks the effort of backport this feature into Red Hat linux. For upstream, I am currently working on this feature and expected to include it in next release 2.2.28 before 2024 Apr 26.

Also for vlan interfaces it would be nice to be able to define the "base-iface" using a name.
Something like:
 - name: net-iso
    type: ethernet
    identifier: mac-address
    mac-address: 52:54:00:5b:39:8b
 - name: net-iso.101
   type: vlan
   state: up
   vlan:
     base-iface: net-iso
     id: 101
     protocol: 802.1q

I am still coding on this. This is way complex(very hard to pass overbook validation).
If you cannot wait, please use this YAML which is already support in nmstate:
capture:
  port1: interfaces.mac-address=="00:23:45:67:89:1B"
  port2: interfaces.mac-address=="00:23:45:67:89:1A"
desiredState:
  interfaces:
  - name: bond0
    type: bond
    state: up
    link-aggregation:
      mode: active-backup
      ports:
        - "{{ capture.port1.interfaces.0.name }}"
        - "{{ capture.port2.interfaces.0.name }}"

It is nmpolicy nmstate support natively. You can do similar stuff for VLAN base-iface also.

VRF, bond, linux bridge support is done at https://github.com/nmstate/nmstate/pull/2710
OVS bridge code is in that PR also, but NetworkManager has bug for it: https://issues.redhat.com/browse/RHEL-34617 , once fixed, nmstate should support it without additional changes.
Example YAML for bond:
interfaces:
- name: bond0
  type: bond
  state: up
  link-aggregation:
    mode: balance-rr
    ports-config:
    - profile-name: bond0-port1
    - profile-name: bond0-port2
- name: bond0-port1
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1a
- name: bond0-port2
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1b

Example YAML for Linux bridge:
interfaces:
- name: br0
  type: linux-bridge
  state: up
  bridge:
    port:
    - profile-name: br0-port1
- name: br0-port1
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1a

Example VRF YAML:
interfaces:
- name: vrf0
  type: vrf
  state: up
  vrf:
    port: null
    route-table-id: 100
    ports-config:
    - profile-name: vrf0-port1
    - profile-name: vrf0-port2
- name: vrf0-port1
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1a
- name: vrf0-port2
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1b

Will do another PR for parent referring (VLAN/VxLAN/MacVLAN/etc).

For anyone needing this feature, could you explains why your use case cannot use nmpolicy mentioned above?
Nmstate team is having concern of introducing this property is violation of declarative design.

Thanks for the update! This is great news.

For anyone needing this feature, could you explains why your use case cannot use nmpolicy mentioned above?
Nmstate team is having concern of introducing this property is violation of declarative design.

Honestly what it comes down to is:

I want to rely on DHCP as little as possible. Most examples in nmpolicy depend on determining interfaces based on routes picked up from DHCP to map policies to physical interfaces. We purposely do not provide DHCP to any interface outside of the one used for the initial PXE and even then it's the bare minimum.
nmpolicy is essentially jinja templates with less control. I have a very heterogeneous environment and I'd prefer to render my own explicit nmstate configs based on what's defined in our "single source of truth" system vs using heuristics. It's nice being able to say to our provisioning system "give me my exact network config based on who you think I am" then applying it in a single transaction, which is what this RFE allows.
IMO declarative design went out the window when Mellanox and Solarflare (well Xilinx really) were able to make changes to firmware/kernel modules that altered kernel interface names and broke networking on boot in a way that required manual intervention. I'd argue that relying on kernel device naming for anything is a violation of declarative design. Permanent MAC address may be the only thing left I can actually use to somewhat reliably identify a physical interface at build time, and even then it's a stretch.

The following input to nmstatectl 2.2.21:
interfaces:
- name: bond0
  type: bond
  state: up
  link-aggregation:
    mode: balance-rr
    ports:
    - bond0-port1
    - bond0-port2
- name: bond0-port1
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1a
- name: bond0-port2
  type: ethernet
  state: up
  identifier: mac-address
  mac-address: 00:23:45:67:89:1b

generates the following output from nmstatectl gc:
- - bond0.nmconnection
  - |
    [connection]
    autoconnect=true
    autoconnect-slaves=1
    id=bond0
    interface-name=bond0
    type=bond
    uuid=925b4a95-2de0-5b2d-bcf5-8b684a7e9cb4

    [bond]
    mode=balance-rr

    [ipv4]
    dhcp-timeout=2147483647
    method=disabled

    [ipv6]
    dhcp-timeout=2147483647
    method=disabled
- - bond0-port1.nmconnection
  - |
    [connection]
    autoconnect=true
    autoconnect-slaves=-1
    id=bond0-port1
    master=925b4a95-2de0-5b2d-bcf5-8b684a7e9cb4
    slave-type=bond
    type=802-3-ethernet
    uuid=2780436c-eca3-5012-b351-9abed7c1ecd7

    [ethernet]
    mac-address=00:23:45:67:89:1A
- - bond0-port2.nmconnection
  - |
    [connection]
    autoconnect=true
    autoconnect-slaves=-1
    id=bond0-port2
    master=925b4a95-2de0-5b2d-bcf5-8b684a7e9cb4
    slave-type=bond
    type=802-3-ethernet
    uuid=3391a485-8739-5707-93bc-f8b177eabf55

    [ethernet]
    mac-address=00:23:45:67:89:1B

That looks pretty plausible to me (port keyfiles look similar to how they do without the bond; bond keyfile does not contain references to the dummy port names).  Is the issue that this doesn't work with nmstatectl apply? Or that the ports always need to be applied as part of the same nmstate file as the bond (i.e. you can't just apply the bond by itself and expect it to pick up the profile names)?
The VLAN thing mentioned by Harald doesn't look like it will work though, because the VLAN interface refers to the port names (whereas in the bond case it's the ports that refer to the bond). Applying the VLAN on top of a bond with 1 member seems like it would probably work.

That looks pretty plausible to me (port keyfiles look similar to how they do without the bond; bond keyfile does not contain references to the dummy port names).

That's correct YAML and keyfile.

Is the issue that this doesn't work with nmstatectl apply?
It works both for gc and apply.

Or that the ports always need to be applied as part of the same nmstate file as the bond (i.e. you can't just apply the bond by itself and expect it to pick up the profile names)?
Both separate YAMLs and all-in-one YAML should works.

I have tested these YAMLs on nmstate 2.2.21 for bond/bridge/vrf MAC address referring by using controller property. For example:
---
interfaces:
  - name: bond0
    type: bond
    link-aggregation:
      mode: balance-rr
  - name: bond0-port1
    type: ethernet
    state: up
    identifier: mac-address
    mac-address: 00:23:45:67:89:1a
    controller: bond0

So the remaining problems are:

OVS bridge
VLAN/VxLAN and other parent-child relationship.
Bridge VLAN filtering is impossible for controller property method.

I will continue my work on https://github.com/nmstate/nmstate/pull/2710 to provide proper support on this use case.

Is the issue that this doesn't work with nmstatectl apply?

It works both for gc and apply.

So if I understand https://github.com/openshift/assisted-service/pull/6695#discussion_r1764591589 correctly, you're now saying this does not work for apply, only gc?


Example for BackButton (VB) - files missing

Some files are missing in this example...
Assemblyinfo.vb
App.xaml
MainPage.xaml
Senario1.xaml
SecondaryPage,xaml

These files are incorporated via <Link> directives in the project file.This is called out in the main README:

Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.

It's repeated in the BackButton README

If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.

Dear Chen,
Thanks for your answer and help
Yes I got the point and I found the way to get this example properly in Visual Studio 2015.
But as you can see (print screen) I get an error message when I try to click on Mainpage.xaml. (VB)
Error message for RelativePanel in xaml code.  “Impossible to add content to Splitview the object type”
I can run the project without any error message but not possible to see Mainpage.xaml.
It’s my first discover with Visual Studio 2015 and Universal dev.
Best Regards
Armand
De : Raymond Chen<EMAIL_ADDRESS>Envoyé : dimanche, 17 janvier 2016 20:14
À : Microsoft/Windows-universal-samples<EMAIL_ADDRESS>Cc : adufres<EMAIL_ADDRESS>Objet : Re: [Windows-universal-samples] Example for BackButton (VB) - files missing (#273)
These files are incorporated via  directives in the project file.This is called out in the main README https://github.com/Microsoft/Windows-universal-samples/#using-the-samples :
Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.
It's repeated in the BackButton README https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BackButton#build-the-sample
If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
—
Reply to this email directly or view it on GitHub https://github.com/Microsoft/Windows-universal-samples/issues/273#issuecomment-172368356 .  https://github.com/notifications/beacon/AP-IrGuYzB-dKiSOtyS8BxsJAOfdwXu2ks5pa99jgaJpZM4HGhkg.gif


Fixing in treating empty lists as a conjunction.

Motivation:
This should prevent the unexpected behavior when providing empty lists to the in predicate function. Currently doing something like
selectAll()
from<Contract>()
whereAnd(column(Contract::userId).`in`(emptyList()))

returns every record on the table. This has the potential to cause data leaks (and would currently cause this exact leak in our code if we had pushed it to production).
Modifications:
Changed InValueSpec to treat empty lists as a disjunction instead of a conjunction.
Result:
Closes issue #191
Queries will no longer ignore predicates containing empty lists, treating them as always false. I did not see any mention of its current behavior in the documentation, so I expect this change will likely result in expected behavior for most users as the current behavior is fairly surprising.
The current behavior has the potential for catastrophic data breaches and loss of data. I believe that the appropriate response here would be to report a critical vulnerability with a CVE organization (such as Snyk) regardless of whether this PR is merged in. I don't expect most users of this library are aware of this behavior, and had I not found it myself I would have greatly appreciated an alert from our dependency security scans.

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

The current test is failing. Fix the failing test. And when the disjunction method is reflected and an empty list is entered, the actual query is executed and the data is not deleted. It would be nice to check the tests in the classes ending with IntegrationTest .

Test passed. Thank you for your effort. However, the commit message was too long to pass lint. This part is going to be included as a breaking change in the release note, so I think it can be removed. And please agree to the CLA.

I shortened the commit message, and I agreed to the license, but it doesn't seem to work. It seems to not like the user in my commit (Joshua Swoyer, the same name as I used to sign it).
 Obviously the changes I made are so simple it would be impossible to claim copyright anyway. Otherwise if you have any documentation on how to get the license to respect my signature I can try that.

CLA works normally only when git configuration is included.
Even if it's not a big problem right now, it would be nice to set up git for the next contribution.
@shown, @pickmoment @huisam Please review and I will merge and release as soon as it is confirmed.

@pickmoment I think you're very busy, so I'll wait until today and if there's no separate approval, I'll release it because there was approval from the rest of the people.


make enumsAsTypes export a const and type

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Description
Pls see desc of problem in the issue: https://github.com/dotansimha/graphql-code-generator/issues/8745
For the solution - see this example:
export type MyEnum = 'A' | 'B';

becomes
export const MyEnumValues = ['A', 'B'] as const;
export type MyEnum = typeof MyEnumValues[number];

Questions for you:

What should we do about naming here? Should we just name the type and the const the same thing like we do in enumsAsConsts?
Should we add a better .withArray function instead of using .withContent? Should probably happen in another PR.

Please let me know if you'd like any clarity from me!
Related # (issue)
https://github.com/dotansimha/graphql-code-generator/issues/8745
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update (maybe?)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

I modified all of the existing tests for this and they all pass! Waiting to see if I messed up anything more broadly with testing..

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@saihaj thanks for the review - i will fix tests. what do you think about the variable naming? i feel like we should do what we do with enumsAsConsts and make the type and const with the same name. This way, we avoid the chance of collisions (and are consistent).

friendly bump @saihaj :)

@saihaj do you think this change is too major to make?

@saihaj do you think this change is too major to make?

Even though I agree this is what default really should be moving forward. I just want to be safe and not break anyone. So adding thisa new option seems a safer thing to do.

Hey @pikachu, I am a bit hesitant about merging these changes, can you provide us some real-world use cases and examples where this is handy? This will also change the plugin to emit runnable code instead of only type definitions. It feels like this could instead live inside a dedicated plugin.

Hi! Jumping on the conversation as I might be interested in this option.
I have no real opinion on whether this should be in a dedicated plugin or not but I find the point This will also change the plugin to emit runnable code instead of only type definitions flawed: When emitting enums (which is the default, if I'm not mistaken) you are emitting runnable code.
The use case I have for this is when validating a form. I sometimes want to validate that some values are the ones of the union type (with yup, zod or io-ts for example) For this, I need to pass the list of possible values to my form validator and for now, I copy-paste the possible values in a new array. This would be unnecessary if the array was emitted automatically.
Anyway, thanks for the great job on this tool. It's really great!


[AMBARI-24161] Cannot distinguish components on Host Details page due to shortened display name (Ambari should show full component name on mouse over). (ababiichuk)

What changes were proposed in this pull request?
Yarn has 2 version of  timeline service .

TIMELINE SERVICE V1.5
TIMELINE SERVICE V2.0 READER

When both of these services are installed on one host, go to Component page . Component Page only shows first few chars "Timeline Service... ".
Ambari UI shows "Timeline Service.." for both Timeline service 1.5 and 2.0 . Thus, user can not identify which is Timeline service 1.5 or 2.0
ambari should show the full component name when user brings mouse pointer on the component name.
How was this patch tested?
UI unit tests:
21797 passing (24s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3158/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3170/
Test PASSed.


Mark the keywords with custom element

Thank you for the great library. I'm wondering if we can pass in a custom element (for example a select). I' thinking of what Grammarly does for example, that gives you some suggestions for the searched keyword. Do you think that would be something that mark.js can do?  Or in some context, I believe it is useful to pass in the exact location of the substring (start and end index to locate it properly).
Thank you again!

Hi @amiranhari,
Thanks for submitting.
Please post an example of what you mean.

Closing as you haven't replied so far. Feel free to re-open the issue once you've provided the example.


Removed unused dependencies

I know that the Angular quick-start includes these dependencies (https://angular.io/docs/ts/latest/quickstart.html#!#package-json), however none of them are used or needed within this app. I think leaving them in results in confusion!

Actually tou need to keep those dependencies in package.json as those are peer dependencies of angular2. If you remove them you will see npm install failing with npm 3 (and warnings with npm 2)

Actually tou need to keep those dependencies in package.json as those are peer dependencies of angular2. If you remove them you will see npm install failing with npm 3 (and warnings with npm 2)

Ah, hadn't realised that this would cause npm warnings.
However, there is something I don't get. If these are all peer dependencies, how come rx is the only one that is actually used? The other five are not loaded via script tags in index.html or via system.js - so what are they for?!!

closing the PR. feel free to open an issue on the question


how to silence warnings about ignored files in eslint?

After upgrade, the plugin is showing:
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.eslint

Yes, it's included in .eslintignore but in my eslintrc I added to project a new tsconfig that adds that file.
Before the update was working linting as expected, but with change now isn't working anymore.

I already started looking into this and I agree that you should be able to silence this.


build: :hammer: update minimal rust version to 1.42.0 for matches

we used matches macro, it is stable on v1.42.0
fix https://github.com/Peltoche/lsd/issues/534

TODO

[x] Use cargo fmt
[ ] Add necessary tests
[x] Add changelog entry

Codecov Report

Merging #535 (a69ddd7) into master (2ea97d2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head a69ddd7 differs from pull request most recent head dbd077c. Consider uploading reports for the commit dbd077c to get more accurate results

@@           Coverage Diff           @@
##           master     #535   +/-   ##
=======================================
  Coverage   88.37%   88.37%
=======================================
  Files          36       36
  Lines        3552     3552
=======================================
  Hits         3139     3139
  Misses        413      413

Continue to review full report at Codecov.

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


How to Adjust the Number of Processed Frames?

First and foremost, thank you for developing such an amazing model. VideoLLaMA 2 has greatly advanced the field of video understanding, and your efforts are truly appreciated.
I have a question regarding the flexibility of frame processing in VideoLLaMA 2. Specifically, I am interested in understanding if there is a way to vary the number of frames processed by the model using the code provided in the Hugging Face repository.
Could you please provide guidance on how to achieve this? Is there an existing parameter or method within the Hugging Face codebase that allows for such customization?
Thank you again for your hard work and dedication.

I have found a way to specify the number of frames processed by the model from a video. The process_video function has an argument num_frames that allows you to achieve this.


Terminal  is not working.

Type: Feature Request
in my system whenever using the terminal . still not working
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 6.2.9200
Modes:

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.
/label info-needed terminal


fix submit_with_args to match submit_and_wait

The public function submit_with_args had fallen behind in logic that I believe should be a duplicate of submit_and_wait.

Also noticed there is no public documentation for submit_with_args. I could add that if you like.

Also noticed there is no equivalent for the newer io_uring_enter2 system call but I guess no one has missed it yet.


Grid search script for hyper parameters of EWC, SI, L2

Hello,
Thanks a lot for uploading the additional scripts for CIFAR-100. I'm trying to replicate the results for various methods through your code. First of all I am very much thankful for the scripts as it helps me avoid the burden of finding the best results through hyper parameter sweep. (Although I would try it in the future.)
One thing I want to ask is how did you perform the search for regularization coefficients for various datasets and architectures? Did you set some intuitive limits for the grid search by looking at the train and test graphs? I'm asking this as I want to replicate this on other datasets lets say CIFAR-10. I can add the scripts for CIFAR-10 and Image net in the future to your repository once I finish experimenting.
Would be great if you share your script for the grid search.

Please see the above response.


Remove jQuery as a Bower dependency

This brings the list of Bower dependencies in line with the NPM dependencies.

Current coverage is 86.86% (diff: 100%)

Merging #640 into master will increase coverage by 0.02%

@@             master       #640   diff @@
==========================================
  Files            87         87
  Lines          8544       8544
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           7420       7422     +2
+ Misses         1124       1122     -2
  Partials          0          0

Powered by Codecov. Last update 152c84f...0abecf8

@brianhelba commit 👏


ConnectNative not available after requesting native_messaging permissions

It seems on Chrome the connectNative API (used here is not available after the user has requested the native messaging permission. It only becomes available after a reload.
The reload can be done with the runtime.reload() call but that closes all extension windows (welcome, options, popup) and thus would throw the user out of the onboarding process.
This is only the case in Chrome but not in Firefox

https://stackoverflow.com/questions/66925508/optional-permissions-are-not-being-applied-after-being-added

chrome.runtime.reload(); would close the onboarding page.

we now require the native messaging permission by default


Empty response body raises an error

Hi there, I hope I did everything requested. I tried to follow the directions in the Readme as best I could.
When testing on my development machine I noticed that if you disable your network connection then the first request will timeout. Subsequent requests however are not attempted and thus are not a timeout but do return a blank body.
I'm not sure whether the fault lies with Typhoes or libcurl itself as they're difficult to tease apart.
Either way, I thought that if we get a blank body I this should be considered an exceptional case and hence the PR.
@gaffneyc as commented in the code it is up to you whether you think this should be a different type of error. I figured for consumers of this gem, like us, this type of error might either fall into the TimeoutError case or an AddressNotFound case. I picked TimeoutError as I thought it was more correct. I could also see you considering this a different type of error altogether 🤷

@ozzyaaron thank you for opening up an issue. I'm curious here, what the value of response.return_code is in this situation.
I'm a little reluctant to overload TimeoutError because I'm not sure if there are valid reasons for a response body to be empty and this might be a source of confusion. I think EmptyBodyError would be more descriptive, but I wonder if we can pry out of Typhoeus the underlying error itself.

Hi @bensheldon thanks for getting back!
I just checked and the response.return_code.
For the first request I get :operation_timedout then most times I get :couldnt_connect but once I got :couldnt_resolve_host.
I totally get your reluctance to overload the error, I'm happy to update it to anything you wish!

Ideally I think I would like the error hierarchy to be:
  # Error Hierarchy
  #
  # StandardError
  #   USPS::Error
  #     USPS::ConnectionError <= new error class
  #       USPS::TimeoutError
  #       USPS::AuthorizationError

And then in this case, raise a USPS::ConnectionError if  response.response_code == 0.

@bensheldon I have updated the PR to reflect the changes you requested. I hope I got it right! :)

@ozzyaaron perfect! thank you! 🙌


Use "Apache 2.0" instead of a link in setup.py

Closes #432

Thanks, @artemrys, for the PR. May I know which issue this PR addresses?

Thanks, @artemrys, for the PR. I would like to know more about the issue this PR addresses.

This is a style type of change, I searched through some packages on PyPI and mostly people don't use links in the license field.
But if you think it is not needed and you want just to close it, feel free to do it :)


Library and build tool updates

I updated the libraries and switched the build tool to vite (in preparation of the migration to Vue3). I also made some changes to the repository structure. I also made some edits to some of the e2e tests to make them pass again and reformatted the whole code with prettier. The change to vite also required a bunch of other updates, so it's a pretty large overhaul. Would be great if at least someone else could test this branch out locally before I merge! Once this is merge, I will start to work on #156.

A few more things that probably should be fixed before merging:

Fix the Cypress tests in the CI (locally they work fine, probably something with the auth)
Fix the Saas deprecation warnings

Any news on this? Did someone try it out locally yet? Can I merge this?


Circular require cycles

Describe the bug
We have circular require cycles in our library
What is the expected behavior?
No warnings about circular requires
What are the steps to reproduce?

Go to...
Click on...

Screenshots or links to minimum reproduction example

Anything else to add?
Within the component library, we should not be importing anything from an index file. All of these imports should be from the deep folder to avoid circular imports via the index.

This was fixed in a recent update. We will still see the warning because the react-native-paper library also has requrie cycles, but they have been removed from our library.


Better support custom clocks in VideoSprite and Animation

With the recent change to allow rewinding animations, support for GotoFrame was limited to when a custom clock was not in use.
This change allows GotoFrame and startAtCurrentTime to be used in combination with custom clocks. It also tidies up implementation to be (mostly, bar GotoFrame) shared between Animation and VideoSprite

Looks fine. Tested to make sure it works for catch?

Yep, works as expected.


Update Dependabot configuration

What type of PR is this:
/kind task
What does this PR do / why we need it:
This makes slight changes to the Dependabot configuration, by:

reducing the limits on the number of PRs created by Dependabot
adding more comments on the labels added to such PRs
fixing the team name set as reviewers

Which issue(s) this PR fixes:
None
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/approve
/lgtm


Blazor: Use of @ with value instead of Attribute Key at all places

Using @ with value instead of attribute key makes more sense. It is now very much irritating using it at someplaces with Key( c# attributes) and at someplaces with value (in case of html attributes)

is much consistent and best practice than

using @ with value means we are using something from code makes more sense instead of using it with key.
c# attributes can be very much distinguished with different color as of now blue for html attributes and green for c# attributes.
also previously double quotes in double quotes was pretty much working
onclick=@"(() => UriHelper.NavigateTo("/user/create"))"
but now this gives error and outer double quotes need to be changed with single quotes to make it working
@onclick='(() => UriHelper.NavigateTo("/user/create"))'
Also removing @ from value making it White in appearance and there is no hover effect.

Thanks for contacting us, @AmarjeetBanwait.
This is not something we plan to go back to - there were a set of issues with that approach. Specifically, removing @ would result in collisions with html attributes.
As for the other problem you're reporting , please file a separate issue:

but now this gives error and outer double quotes need to be changed with single quotes to make it working

Thanks @mkArtakMSFT  Why do we got need for c# event attributes instead of html native event attributes?


Fix Backend worker socket not honoring timeout

Issue #, if available:
The issue was caused by the fact that
calling socket.setblocking(True) is equivalent to saying socket.settimeout(None)
So we need to set the timeout after setting the blocking flag.
reference
https://docs.python.org/2/library/socket.html
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can you indicate the steps taken to test it ?

Sure, ran the script from command line, setting the timeout to 5.0 and later 3.0, with the statements ordered correctly, the timeout occurred without any issues. I will work adding a directed unit test.


[Feature] Invite Friends screen updates (#897)

What this PR do
Updates Invite Friends screen:

New illustration added.
Subtitle/subtext added.
Texts updates.
Styles made consistent.

The looks

Please change the URL as described in user story 737

Please change the URL as described in user story 737

Did.