Updated aws V2 module versions

Description
Updated all dependencies for github.com/aws/aws-sdk-go-v2 so that they are compatible with the version in use.
Issue reference
Please reference the issue this PR will close: #3551
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Great PR, thanks! Please resolve the conflicts

Closing as you guys already went beyond the mod versions i was submitting.
Thanks


Typescript definition for CardPreAuthorizationData does not match api documentation

Hi,
Since the introduction of multicapture on preauths, the api documentation states a RemainingFund property on card preauth (https://docs.mangopay.com/endpoints/v2.01/preauthorizations#e183_the-preauthorization-object) but typescript type does not reflect this property (https://github.com/Mangopay/mangopay2-nodejs-sdk/blob/master/typings/models/cardPreauthorization.d.ts).
Would it be possible to update typings so they reflect the current state of the API ?
Kind regards

Hello @fredleroy,
We are looking into it.
Have a nice day,

Fix in 1.30.1


test(IAM Access Groups): Restored integration tests that were temporarily disabled...

PR summary

Restored tests that were temporarily disabled.
Fixes: https://github.ibm.com/IAM/uum/issues/2348
PR Checklist
Please make sure that your PR fulfills the following requirements:

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

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

Some integration tests were disabled due to intermittent failures.
What is the new behavior?

All tests now run
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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


Parent Select Plugin

This adds the plugin hooks and functions necessary to do parent selection in a plugin, and provides an example plugin to do so.
To use it, create a strategies.yaml per https://docs.trafficserver.apache.org/en/latest/admin-guide/files/strategies.yaml.en.html
And then on a the remap line add @plugin=parent_select.so @pparam=etc/trafficserver/strategies.yaml @pparam=example-com where the param is the name of the strategy.
This achieves parent selection with a real remap plugin, with minimal changes to core.
My previous attempt "registered" an object, which was severely limited in what it could do, because it didn't have access to Continuations and wasn't using real Hooks. The other option seemed to be large changes to the core State Machine, to make every parent selection function (findNextHop, markNextHop, etc) its own state.
I believe this idea is the best of both worlds: small core change with real hooks.
It does this by allowing plugins to set a small struct in the core SM, "response_action" which has the data for how to behave with the response.
It exposes the following symbols from core:
enum TSHostStatus
enum TSHostStatusReason
TSReturnCode TSHostnameIsSelf(const char *hostname);
TSReturnCode TSHostStatusGet(const char *hostname, const size_t hostname_len, TSHostStatus *status, unsigned int *reason);
void TSHostStatusSet(const char *hostname, const size_t hostname_len, TSHostStatus status, const unsigned int down_time,  const unsigned int reason);

And adds the following new symbols:
struct TSResponseAction {
  bool handled;
  bool fail;
  const char *hostname;
  int port;
  bool retry;
  bool nextHopExists;
  bool responseIsRetryable;
  bool goDirect;
  bool parentIsProxy;
};
void TSHttpTxnResponseActionSet(TSHttpTxn txnp, TSResponseAction action);
void TSHttpTxnResponseActionGet(TSHttpTxn txnp, TSResponseAction *action);

And then everywhere in Core (HttpTransact.cc) that was if (strategy) { } else { /* old parent */ } becomes if (response_action.handled) { } else if (strategy) { } else { /* old parent */ }.
There are 2 commits: the core changes, and the plugin. I figured it might be easier to look at them separately.

@rob05c you'll need to run 'make clang-format'

@rob05c something went wrong, I can't compile as the branch seems to be missing tscpp/api/parentresult.h

@jrushford Ah, I missed adding those files. They're added now.

@rob05c a change has broken the unit tests in /home/jrushf1239k/trafficserver/proxy/http/remap.  Try running the unit tests there.

[approve ci autest]

The parent_result->retry is set when the retry window on a marked down parent elapses.  In HttpTransact, if retry is true and the transaction is successful to the parent, HttpTransact will mark the parent up.  That’s the only way markParentUp is ever called.
From: Robert O Butts<EMAIL_ADDRESS>Date: Tuesday, February 16, 2021 at 10:11 AM
To: apache/trafficserver<EMAIL_ADDRESS>Cc: Rushford, John<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [apache/trafficserver] Parent Select Plugin (#7467)
@rob05c commented on this pull request.

In proxy/http/HttpTransact.cchttps://urldefense.com/v3/__https:/github.com/apache/trafficserver/pull/7467*discussion_r576991520__;Iw!!CQl3mcHX2A!UZlne5ZEj-rTs35tBbyWCwBIUiORa1xSvCjhLcH4yG6lTwkpduxv5WYD7WOeZFqpQUq9slA$:

@@ -178,12 +178,22 @@ inline static void

findParent(HttpTransact::State *s)
{
url_mapping *mp = s->url_map.getMapping();

if (mp && mp->strategy) {

return mp->strategy->findNextHop(reinterpret_cast(s->state_machine));

if (s->response_action.handled) {

s->parent_result.hostname = s->response_action.action.hostname;

s->parent_result.port     = s->response_action.action.port;

s->parent_result.retry    = s->response_action.action.retry;

The plugin needs to know, for markdown and other things. The core does know, it's tracked in parent_result.retry. I guess we could add code to set that independent of the response_action, but that code doesn't exist today, it was previously in the old parent path that's not taken for response_action/strategy. I'm not sure exactly where it'd have to be added.
I'm also not 100% sure there isn't a use case where a plugin would want to set retry=false even though it is, to elicit certain behavior. It seems strange, but I'm not certain it isn't valid.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/apache/trafficserver/pull/7467*discussion_r576991520__;Iw!!CQl3mcHX2A!UZlne5ZEj-rTs35tBbyWCwBIUiORa1xSvCjhLcH4yG6lTwkpduxv5WYD7WOeZFqpQUq9slA$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABCXE3TCFEWAE2NSBQSFM4TS7KRLPANCNFSM4W5RGSFQ__;!!CQl3mcHX2A!UZlne5ZEj-rTs35tBbyWCwBIUiORa1xSvCjhLcH4yG6lTwkpduxv5WYD7WOeZFqp0NewP1o$.

The parent_result->retry is set when the retry window on a marked down parent elapses.  In HttpTransact, if retry is true and the transaction is successful to the parent, HttpTransact will mark the parent up.  That’s the only way markParentUp is ever called.

Hm, if markParent* is the only thing that's needed for, maybe it can be removed. The markParent* calls aren't done by Core for the Plugin, it does its own markdown entirely self-contained. I'll look over the code, to see if maybe that field can just be removed.

Yeah, I don't see any other uses in Core, except that markParentUp. The plugin still needs to know, I'll look into moving that into the plugin's self-contained strategyTxn. That'll be good, one less thing in core.

[approve ci]

[approve ci]

[approve ci]


FAQ - update 'rooted_devices' entry

Changelog:

Remove "also" from english heading
Change answer to "yes"

Saying "yes" here is, in total, a good change. Users should not be discouraged from using the app for no reason. However, the article should mention that unlocking the bootloader or similar modifications may cause SafteyNet checks to fail, meaning that users cannot participate in PPDD features. (https://github.com/corona-warn-app/cwa-wishlist/issues/356)

@fynngodau I added your remarks. Pls double-check if what I wrote is correct :)

@heinezen Installing microG is technically not really similar to unlocking the bootloader, but both will cause SafteyNet to fail in many cases, so it can be left as is. :+1:

LGTM, but let's get internal approval for this one.

@dsarkar
What is the intention for this PR about Android rooted devices? It has not made any progress for several months.
According to https://github.com/corona-warn-app/cwa-app-android/pull/4135 CWA 2.12 will introduce a root check:
"Die App prüft bei einem Neustart, ob auf Ihrem Smartphone Administrator-Berechtigungen (auch bekannt also Root-Berechtigungen) aktiv sind, und zeigt gegebenenfalls einen Sicherheitshinweis an."
so it would be good to plan an update of the article in time for the release of 2.12 (the release after the next one - we are currently at 2.10).

DE

EN

@Ein-Tim Yep, should have done to branch darkar-release-2-12

@dsarkar I guess we're close to the 2.12 release? If yes, we can probably leave it like this for now...

PR https://github.com/corona-warn-app/cwa-website/pull/1072


Enhance TestCase::assertLocalizedHolidays

TestCase::assertLocalizedHolidays now considers all categories of holidays, but doesn't consider subdivisions holidays.  However, in Switzerland, for example, there are only a few national holidays, and the test looks like this:
    def test_l10n_en_us(self):
        self.assertLocalizedHolidays(
            "en_US",
            ("2023-01-01", "New Year's Day"),
            ("2023-05-18", "Ascension Day"),
            ("2023-08-01", "National Day"),
            ("2023-12-25", "Christmas Day"),
        )

If we include provincial holidays, the test will look like this:
    def test_l10n_en_us(self):
        self.assertLocalizedHolidays(
            "en_US",
            ("2023-01-01", "New Year's Day"),
            ("2023-01-02", "Berchtold's Day"),
            ("2023-01-06", "Epiphany"),
            ("2023-03-01", "Republic Day"),
            ("2023-03-19", "Saint Joseph's Day"),
            ("2023-04-07", "Good Friday"),
            ("2023-04-10", "Easter Monday"),
            ("2023-04-13", "Battle of Naefels Victory Day"),
            ("2023-05-01", "Labor Day"),
            ("2023-05-18", "Ascension Day"),
            ("2023-05-29", "Whit Monday"),
            ("2023-06-08", "Corpus Christi"),
            ("2023-06-23", "Independence Day"),
            ("2023-06-29", "Saints Peter and Paul"),
            ("2023-08-01", "National Day"),
            ("2023-08-15", "Assumption Day"),
            ("2023-09-07", "Genevan Fast"),
            ("2023-09-18", "Prayer Monday"),
            ("2023-09-25", "Saint Nicholas of Flüe"),
            ("2023-11-01", "All Saints' Day"),
            ("2023-12-08", "Immaculate Conception"),
            ("2023-12-25", "Christmas Day"),
            ("2023-12-26", "Saint Stephen's Day"),
            ("2023-12-31", "Restoration Day"),
        )

Should we do this or is it an impractical overkill?

Yes, it'd be great to have subdivs covered as well. I didn't look into the implementation details yet.
@KJhellico  do you want to work on the implementation?


Use the windows-sys crate

The windows-sys crate is only 2.5MB, compared to 11.5MB for the windows crate.

Thanks for the continued tweaks.


Input Sequence Example Needed

There is no example that covers the reading of input sequences referred to in the Input Sequence section.  All references point to depricated API functions.  Recommend a short example that covers this.
[Enter feedback here]

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

ID: fc536527-f75d-5a03-7b5a-338a08e40d2f
Version Independent ID: 097f43d9-243f-466e-1f99-6cfa1f4bfb1f
Content: Console Virtual Terminal Sequences - Windows Console
Content Source: docs/console-virtual-terminal-sequences.md
Product: console
GitHub Login: @miniksa
Microsoft Alias: miniksa

OK, I'll try to get around to this. Thanks for your feedback.


fix(tests): prevent clang from optimizing new away

Fixes #937

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b1bc8e7) 64.41% compared to head (1292061) 64.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1017   +/-   ##
=======================================
  Coverage   64.41%   64.41%
=======================================
  Files          18       18
  Lines        3229     3229
  Branches     1071     1071
=======================================
  Hits         2080     2080
  Misses        727      727
  Partials      422      422

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Right align contact info in header with outer margin

Done when contact info in header is aligned with outer margin

just the phone + email line? Not the header links? logo on the left? or the footer stuff? This is coming from bootstrap, I think, so I'm not eager to start overriding it needlessly.

@lwei wouldn't it make more sense to align the email+phone with other right-aligned content, as opposed to the outermost margin of the page. Doing the latter would make this page look weird.

@afred the email+phone and the other nav links below should be right aligned. I initially thought they should be pushed to the right outer margin, but now looking at the mobile phone view, where the dark blue background goes away and the content margin becomes the outer margin... I think it makes sense to keep top and bottom nav links aligned with the content margins instead of the outermost margins.

So it sounds like the status quo is fine? Closing. @afred, correct me if I'm mistaken.


Extract remoteDotSegments

removeDotSegments() is currently a static function in DocumentRoot, it should be extracted to a function.

This has been implemented.


Implement HyDSDS back-end to ADES web application developed by SOAMC project

Conform to the ADES interfaces for method signatures. Use the Otello client library to interact with the Mozart API.

Stub implementation was developed and demoed to the group.


Doesnt fully reset terminal state.

Some part of the interface is left in the shell as garbage output. Also scrollwheel start functioning as up/down arrows.

Without information about the version of DUA used as well as the OS used, I
don't think this can necessarily be reproduced. On OSX, for instance, there
is no such issue.
On Sun, Jun 16, 2019 at 9:38 PM Solitude<EMAIL_ADDRESS>wrote:

Some part of the interface is left in the shell as garbage output. Also
scrollwheel start functioning as up/down arrows.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Byron/dua-cli/issues/16?email_source=notifications&email_token=ADTXPGWUQAROZ7QEKA3ZZPTP2Y65BA5CNFSM4HYRGLQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZXZ76A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTXPGUXWLQOSDCVNU2MKYTP2Y65BANCNFSM4HYRGLQQ
.

--
Sebastian Thiel 李乐乐
Rust and TWU Advocate
Email<EMAIL_ADDRESS>Telephone +49 (0) 40 300 95 880 <+49+(0)+40+300+95+880>
[image: ThoughtWorks]
http://www.thoughtworks.com/?utm_campaign=sebastian-thiel-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator
ThoughtWorks Deutschland GmbH Großer Burstah 46-48D-20457 Hamburg
Sitz der Gesellschaft: Hamburg Geschäftsführer: Dr. Peter Buhrmann - AG
Hamburg - HRB 115336

This might be related to stdout not being flushed on drop, which is where the terminal should be reset. Alternatively, things don’t work as expected in the terminal that @SolitudeSF is using, making it a termion problem. Without further information, it’s impossible to tell.

I have the same problem, using konsole on KDE. It only happens when I quit the UI via Ctrl+C when it's still scanning.

I think this can be fixed, it would have to start handling signals. It
seems the default signal handler aborts the program without panicking.
On Mon, Jun 17, 2019 at 12:13 PM MaT1g3R<EMAIL_ADDRESS>wrote:

I have the same problem, using konsole on KDE. It only happens when I quit
the UI via Ctrl+C when it's still scanning.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Byron/dua-cli/issues/16?email_source=notifications&email_token=ADTXPGW65LKCXHSX3FWOII3P24FQBA5CNFSM4HYRGLQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZ7SYQ#issuecomment-502528354,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTXPGWPURI3W2JLIE4YSOTP24FQBANCNFSM4HYRGLQQ
.

--
Sebastian Thiel 李乐乐
Rust and TWU Advocate
Email<EMAIL_ADDRESS>Telephone +49 (0) 40 300 95 880 <+49+(0)+40+300+95+880>
[image: ThoughtWorks]
http://www.thoughtworks.com/?utm_campaign=sebastian-thiel-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator
ThoughtWorks Deutschland GmbH Großer Burstah 46-48D-20457 Hamburg
Sitz der Gesellschaft: Hamburg Geschäftsführer: Dr. Peter Buhrmann - AG
Hamburg - HRB 115336

Actually in the 2.1.9 and newer, an issue with stdout not flushed was fixed. If the application is quit with Ctrl+c and q, stdout was not necessarily flushed, thus failing to reset the state.
Closing this issue in good faith, please let me know if you encounter anything else related to incorrect terminal handling.

Issue seems to be fixed with the latest update :+1:


Basic C interface to the Rubble capsule

This adds an interface to the rubble capsule added in https://github.com/tock/tock/pull/2036.
The rubble capsule currently exposes very little functionality, and this interface is thus equally minimalistic. I've based it, and the test app, on a reduced version of the existing ble_advertising interface and test app.

Sorry, catching up with this now.
Why do we want a Rubble BLE interface and a BLE interface? I.e., why doesn't Rubble just implement the API in ble.h? Is this so we can have two implementations in parallel?

I would say the main benefit of having two interfaces is that we can then support both implementations in parallel.
I think we should work on removing the current BLE implementation and replace it with Rubble, but that won't happen straight away even if at all.

I think @phil-levis's question is in the same vein as the discussion currently going on at https://github.com/tock/tock/pull/2233. We've historically held the libtock-c merges until the kernel merges are ready/done -- but I think this is fine once the other half is ready.

I think @phil-levis's question is in the same vein as the discussion currently going on at https://github.com/tock/tock/pull/2233. We've historically held the libtock-c merges until the kernel merges are ready/done -- but I think this is fine once the other half is ready.

Rubble project EOL'd mid-2022 :(.


Refactor Watch interface

https://github.com/coreos/go-etcd/blob/master/etcd/watch.go#L24
// If a receiver channel is given, it will be a long-term watch. Watch will block at the
//channel. After someone receives the channel, it will go on to watch that
// prefix. If a stop channel is given, the client can close long-term watch using
// the stop channel.
func (c *Client) Watch(prefix string, waitIndex uint64, recursive bool,
receiver chan *Response, stop chan bool) (*Response, error) {

It comes that responses may be got from result value or receiver channel.
I think it may be rather confusing.
Could we return chan *Response always?

Also, is there a way to know when watch has started? How do you create a long term watch, but also Get() the current state first? As I understand it, there is a tiny window of opportunity to miss out on events that happens after get but before watch. Or is that where you can use waitIndex?

@balboah Do a Get() first, use the EtcdIndex+1 in its response as the `waitIndex

@schmichael ah great, thanks. Just tried that actually but didn't think about +1


[Feat] New Template - Feature Request

There are a lot of awesome ideas generated by the community daily. I think a template that enables a quick description of a suggested feature would help save a lot of time
What do you all think?

Thanks @Akshu-on-github , what ideas do you have for the template?


Error on boot

I am always getting this error on boot. But the integration works fine after that.
Logger: homeassistant.helpers.event
Source: custom_components/bodymiscale/body_metrics.py:20
Integration: Bodymiscale (documentation)
First occurred: 9:33:01 AM (1 occurrences)
Last logged: 9:33:01 AM

Error while processing state change for sensor.ben_weight_kg
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 272, in _async_state_change_dispatcher
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 433, in async_run_hass_job
    hassjob.target(*args)
  File "/config/custom_components/bodymiscale/__init__.py", line 169, in _state_changed_event
    self.state_changed(event.data.get("entity_id"), event.data.get("new_state"))
  File "/config/custom_components/bodymiscale/__init__.py", line 192, in state_changed
    self._update_state()
  File "/config/custom_components/bodymiscale/__init__.py", line 219, in _update_state
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/config/custom_components/bodymiscale/__init__.py", line 305, in state_attributes
    lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
  File "/config/custom_components/bodymiscale/body_metrics.py", line 20, in __init__
    elif impedance > 3000:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

this is my config:
bodymiscale:
  ben:
    sensors:
      weight: sensor.ben_weight_kg
      impedance: sensor.ben_impedance
    height: 165
    born: "1975-02-05"
    gender: "male"
    model_miscale: "181B"

and my scale reports me in Lbs so I have to convert it to kg before using bodymisle using the following:  ben_weight_kg is defined as a template:
sensor:
  - name: ben_weight_kg
    unique_id: ben_weight_kg
    unit_of_measurement: "kg"
    icon: mdi:weight-kilogram
    state_class: measurement
    state: >
      {% set weight = states('sensor.ble_weight') | float %}
      {% if 135 <= weight <= 150 %}
        {{ (states('sensor.ble_weight') | float / 2.20462) | round(1)}}
      {% else %}
        {{ states("sensor.ben_weight_kg") }}
      {% endif %}

finally the sensor.ble_weight is comming from Passive BLE monitor integration

Also whenever I do not record a weight for more that 24hrs and I do a system reboot, all values go to 0. If I have measuered within 24hrs then all is fine.
Thanks
Ben

@benquan This is because the sensor does not keep the value in memory after the reboot. My advice is to switch to a sensor per node red. Install the companion https://github.com/zachowj/hass-node-red.
Watch my node for inspiration.
https://community.home-assistant.io/t/exemple-xiaomi-miscale-select-the-person-who-weighs-himself-notif-action/299321
Since then I have no more problems

This was my solution https://github.com/dckiller51/bodymiscale/issues/31#issuecomment-917733640

I did something similar to solve the "resetting value" but instead of MQTT, I used helpers (input_number).
bodymiscale:
  ben:
    sensors:
      weight: input_number.ben_weight_kg
      impedance: input_number.ben_impedance
    height: 165
    born: "1975-02-05"
    gender: "male"
    model_miscale: "181B"

and then an automation:
alias: Ben Weight
description: ''
trigger:
  - platform: state
    entity_id: sensor.ble_weight, sensor.ble_impedance
condition:
  - condition: template
    value_template: >-
      {{ trigger.to_state and trigger.from_state and trigger.to_state.state !=
      trigger.from_state.state }}
  - condition: numeric_state
    entity_id: sensor.ble_weight
    above: '135'
    below: '145'
action:
  - service: input_number.set_value
    target:
      entity_id: input_number.ben_weight_kg
    data:
      value: '{{ states(''sensor.ble_weight'')|float  / 2.20462 }}'
  - service: input_number.set_value
    target:
      entity_id: input_number.ben_impedance
    data:
      value: '{{ states(''sensor.ble_impedance'')|int }}'

It all works as expected, but I am still getting the error nagging error boot:
Logger: homeassistant.helpers.event
Source: custom_components/bodymiscale/body_metrics.py:20
Integration: Bodymiscale (documentation)
First occurred: 12:45:09 AM (1 occurrences)
Last logged: 12:45:09 AM

Error while processing state change for input_number.ben_weight_kg
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 272, in _async_state_change_dispatcher
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 433, in async_run_hass_job
    hassjob.target(*args)
  File "/config/custom_components/bodymiscale/__init__.py", line 169, in _state_changed_event
    self.state_changed(event.data.get("entity_id"), event.data.get("new_state"))
  File "/config/custom_components/bodymiscale/__init__.py", line 192, in state_changed
    self._update_state()
  File "/config/custom_components/bodymiscale/__init__.py", line 219, in _update_state
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/config/custom_components/bodymiscale/__init__.py", line 305, in state_attributes
    lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
  File "/config/custom_components/bodymiscale/body_metrics.py", line 20, in __init__
    elif impedance > 3000:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Values after boot are fine, but I always get the message in the log
The error seems to point towards the impedance being type 'NoneType'? Is it that bodymiscale is running before the input_number gets restored?

I did something similar to solve the "resetting value" but instead of MQTT, I used helpers (input_number).
bodymiscale:
  ben:
    sensors:
      weight: input_number.ben_weight_kg
      impedance: input_number.ben_impedance
    height: 165
    born: "1975-02-05"
    gender: "male"
    model_miscale: "181B"

and then an automation:
alias: Ben Weight
description: ''
trigger:
  - platform: state
    entity_id: sensor.ble_weight, sensor.ble_impedance
condition:
  - condition: template
    value_template: >-
      {{ trigger.to_state and trigger.from_state and trigger.to_state.state !=
      trigger.from_state.state }}
  - condition: numeric_state
    entity_id: sensor.ble_weight
    above: '135'
    below: '145'
action:
  - service: input_number.set_value
    target:
      entity_id: input_number.ben_weight_kg
    data:
      value: '{{ states(''sensor.ble_weight'')|float  / 2.20462 }}'
  - service: input_number.set_value
    target:
      entity_id: input_number.ben_impedance
    data:
      value: '{{ states(''sensor.ble_impedance'')|int }}'

It all works as expected, but I am still getting the error nagging error boot:
Logger: homeassistant.helpers.event
Source: custom_components/bodymiscale/body_metrics.py:20
Integration: Bodymiscale (documentation)
First occurred: 12:45:09 AM (1 occurrences)
Last logged: 12:45:09 AM

Error while processing state change for input_number.ben_weight_kg
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 272, in _async_state_change_dispatcher
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 433, in async_run_hass_job
    hassjob.target(*args)
  File "/config/custom_components/bodymiscale/__init__.py", line 169, in _state_changed_event
    self.state_changed(event.data.get("entity_id"), event.data.get("new_state"))
  File "/config/custom_components/bodymiscale/__init__.py", line 192, in state_changed
    self._update_state()
  File "/config/custom_components/bodymiscale/__init__.py", line 219, in _update_state
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/config/custom_components/bodymiscale/__init__.py", line 305, in state_attributes
    lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
  File "/config/custom_components/bodymiscale/body_metrics.py", line 20, in __init__
    elif impedance > 3000:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Values after boot are fine, but I always get the message in the log
The error seems to point towards the impedance being type 'NoneType'? Is it that bodymiscale is running before the input_number gets restored?

I think your problem is that your input_numbre must be acceptable after the custom_components.
Can you give it a try with a sensor template.
- platform: template
  sensors:
    ben_weight_kg:
      friendly_name: "BEN WEIGHT KG"
      unit_of_measurement: 'kg'
      value_template: >-
        {{ states("input_number.ben_weight_kg") }}
    ben_impedance:
      friendly_name: "BEN IMPEDANCE"
      unit_of_measurement: 'ohm'
      value_template: >-
        {{ states("input_number.ben_impedance") }}

bodymiscale:
  ben:
    sensors:
      weight: sensor.ben_weight_kg
      impedance: sensor.ben_impedance
    height: 165
    born: "1975-02-05"
    gender: "male"
    model_miscale: "181B"

I tried your test but it still gives me the same error on boot:
Logger: homeassistant.helpers.event
Source: custom_components/bodymiscale/body_metrics.py:20
Integration: Bodymiscale (documentation)
First occurred: 10:48:03 AM (1 occurrences)
Last logged: 10:48:03 AM

Error while processing state change for sensor.ben_weight_kg
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 272, in _async_state_change_dispatcher
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 433, in async_run_hass_job
    hassjob.target(*args)
  File "/config/custom_components/bodymiscale/__init__.py", line 169, in _state_changed_event
    self.state_changed(event.data.get("entity_id"), event.data.get("new_state"))
  File "/config/custom_components/bodymiscale/__init__.py", line 192, in state_changed
    self._update_state()
  File "/config/custom_components/bodymiscale/__init__.py", line 219, in _update_state
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/config/custom_components/bodymiscale/__init__.py", line 305, in state_attributes
    lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
  File "/config/custom_components/bodymiscale/body_metrics.py", line 20, in __init__
    elif impedance > 3000:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

as always data is displayed correctly, its just the boot error.

I just found out this is the same error reported here: https://github.com/dckiller51/bodymiscale/issues/22
His error was gone on new version of HA but I am up to date and get the same message

@benquan Can you confirm that the update provided by @stefangries fixed your problem?

@dckiller51 Fixed! thanks

Great 🥳


NUI inventory screen

Description
This pull request converts the in-game inventory screen to use NUI. It should function almost identically to before, however it may look a bit different. Any UI design critiques would be appreciated also.
Testing

This pull request affects all screens that use the inventory's functionality.
The following screens are affected and should be double-checked against an older build to identify possible regressions:

TutorialManager
BuyItemsScreen
SellItemsScreen
ChangeShipScreen
ChooseMercenaryScreen
GiveItemsScreen (give items to a mercenary)
HireShipsScreen
ShowInventory (the "Items" screen)
TakeItems (take items from a mercenary)

As a guide, at least the following things should be checked:

Is the appearence similar to before (or better)?
Do all of the key-bindings work as before?
Does the screen function the same as before (or better)?

Notes

This depends on #631.
Until #631 is merged, it might be easier to view the changes made in this pull request by viewing the diff between the two of them at https://github.com/BenjaminAmos/DestinationSol/compare/nui-main-menu...nui-inventory-screen.

I should have mentioned before that https://github.com/MovingBlocks/TeraNUI/pull/66 and https://github.com/MovingBlocks/TeraNUI/pull/67 contain bug fixes that should help with testing this pull request.

There is another bug fix for NUI which allows this pull request to render correctly: https://github.com/MovingBlocks/TeraNUI/pull/69.

This was replaced by #668.


Remove play button from center of videoplayer when playback is paused.

Older suggestion from ideas-and-feedback:
er 01/20/2020
one suggestion: dont display that large green play button in the middle of videoplayer screen when it is started playing and then paused. sometimes one needs to pause playback in order to read/inspect something in this frame and this huge thing just is in a way. its plenty to toggle play/pause icons at bottom/left.
Another one from help:
Jason Khanlar (@jasonkhanlar) Today at 12:36 PM
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh, double you teee eff? How come in the LBRY.tv website, when I pause a video, there is a play icon covering the center of the video? That is so annoying and disruptive! I want to take a screenshot of something quickly, but now I need to edit the CSS to hide that icon!
Adding to it that "minor ui thing" or not, its in a users face every time he uses lbry. Each and every time he plays/pauses something. Wants to read some text in video frame, wants to screenshot... It should not be classified as minor.

Just a little history about this one - this was done as a workaround to how autoplay is handled on different browsers. Without the play icon, some users would not be able to play a file if it was paused by the browser.
Thanks for filing!

but play/pause in videoplayers bottom control-bar - they dont get to see them?

https://github.com/lbryio/lbry-desktop/commit/2d56518ffe1a95bac6d5667bb5d4032c9190b6b4 fixes this for non-mobile views. We need a better solution to properly handle failed autoplay on mobile


Tengine reload single config nginx

Hi Team,
I not found feature that support 'Reload single config nginx' in your Tengine document.
I have various nginx config files, I want reload single nginx file configuration at time.
Help me, thank bro.

是这个吗?
nginx -s reload

@buisongtoan The operating parameters of Tengine are the same as Nginx.

Hi Team,
I not found feature that support 'Reload single config nginx' in your Tengine document.
I have various nginx config files, I want reload single nginx file configuration at time.
Help me, thank bro.

English của người việt 😆


Wasm updates

Fix emscripten compilation/linking issues
Fix compiler warnings
Turn off warnings for jq, sqlite3, and yajl

Reduces noise from the compiler output.

Replace echo -e with printf to avoid printing -e for tests

See https://stackoverflow.com/questions/11675070/makefile-echo-n-not-working for details.
FreeBSD test color codes are working now.

Format usage text for alignment
Misc other minor improvements in Makefile(s) etc.

Signed-off-by: Azeem Sajid<EMAIL_ADDRESS>

@liquidaty: Please review and merge. Thanks!

Closing.
The required changes from this will be part of the zsv playground PR.


Latest Docker tag points to old version

Current Behavior
Latest Docker tag points to old version
Yesterday I downloaded the latest Docker tag which pointed to nodered version:4.02.

This morning I get a notification that a new image is available :latest, but to my surprise when I pull the latest tag from the docker registry I get a nodered version of 3.11
The latest tag was tagged by mistake to a very old nodered version

Expected Behavior
Pulling last version with latest docker tag
Steps To Reproduce
pull latest tag with command
docker pull nodered/node-red:latest
Example flow
No flow
Environment

Node-RED version:
Node.js version:4.02
npm version:
Platform/OS: amd64 and arm64
Browser: chrome

Thanks, I know what the problem is. The 4.0.2 builds are re spinning at the moment which will fix it.

@corasaniti should be fixed now, and the build script for the 3.1.x containers has been updated to stop it happening again.

@corasaniti should be fixed now, and the build script for the 3.1.x containers has been updated to stop it happening again.

Thank you

@hardillb
Thank you


Contact page

I believe this just needs the current text, and a new form to send an email.

Ill go ahead and start on this.


add config for maxtime

Thanks but I think maxTime should be set in component.
toLocaleString is a good idea, just used your solution 😂

never mind😂


SlackInteractivityHandler does not handle view_submission payloads from modals

The handleSingleInteractivity() function expects the payload to include payload.actions[] but in a view_submission payload (see https://api.slack.com/reference/interaction-payloads/views#view_submission ) sent when submitting a modal form, there is no list of actions in the payload so the code errors with:
[Nest] 76  - 07/04/2023, 6:08:45 PM   ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'filter')
TypeError: Cannot read properties of undefined (reading 'filter')
    at SlackHandler.<anonymous> (/usr/src/app/node_modules/nestjs-slack-listener/dist/slack/slack-handler.service.js:59:37)

Perhaps the code could be changed to be:
    if (actionId) {
      if (
        payload.actions &&
        payload.actions.filter((action) => action.action_id == actionId)
          .length == 0
      ) {
        return;
      }
    }

In fact the slack documentation seems to suggest using the callback_id field on a modal view to correctly handle returned view_submission payloads, so perhaps also adding:
    if (actionId) {
      if (
        payload.actions &&
        payload.actions.filter((action) => action.action_id == actionId)
          .length == 0
      ) {
        return;
      }
      if (
        payload.view &&
        payload.view.callback_id != actionId
      ) {
        return;
      }
    }

Hi! Thank you very much for reporting! And the callback_id idea perfectly makes sense. I'll fix it right away.

Fixed at the version 1.1.2


Remove addressable from /device api

Signed-off-by: Cherry Wang<EMAIL_ADDRESS>fix #169

Removed device addressable related testcases

/device/addressable/{addressableId}
/device/addressablename/{addressablename}

Removed addressable parameter from POST /device testcases.

FYI I have run these test changes successfully against PR https://github.com/edgexfoundry/edgex-go/pull/1136. Will get these merged today.


Rename refactoring does not respect cursorWordPartRight & cursorWordPartLeft shortcuts

Issue Type: Bug
When the rename factoring is initiated, the rename popup cursor movement does not work with cursorWordPartRight/Left even when their shortcuts are set to CTRL + Left / Right. Instead of moving cursor to the next camel case word, it moves to start/end.
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.18362

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title :flushed: Anyways, searching for issues with the same labels will likely help you :point_right:
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Arename


[feat]

Did Dogecoin has future in the ecosystem? If no could we have possibility to make it. Thanks

Duplicate of #2197


Onlyoffice Workspace SMTP doesn´t work

Hello everyone,
i have a issue with SMTP and Onlyoffice Workspace Server. If i create a new user i don´t get any E-Mail with the new users mail address. If i would like to change my password i don´t get any E-Mail to change them.
SMTP seems to be fine cause i get the testmail from onlyoffice Server.
I have installed Onlyoffice with deb/rpm package and for testing with a docker container but same result.
How can i fix this issue?
Regards
Kevin

Hello @itdkr Are you using the default Onlyoffice SMTP server with notify.onlyoffice.info? Is port 25 open for the server?

Hello @Carazyda with Onlyoffice SMTP and my own SMTP Server i get the SMTP Testmail. But i would like to change my password i don´t get any e-mail. Now i have configured my own SMTP Server. On the Firewall i see the connection between Onlyoffice and SMTP Server. With Port 465 & 587 both are working if i send a testmail.

What about port 25? Also please check svcNotiify.log for errors.

Hello @Carazyda,
Port 25 should be work. But i have configured Port 587. I only get the Testmail with Port 587. Do I need port 25? Cause i didn´t see any traffic.  If i reset my password i can see the connection to the SMTP Server with Port 587 but i don´t get any e-mail.
For testing I have installed Onlyoffice Workspace on Windows Server and everything seems to be fine.
I can get the mail for password reset via Port 25 and Onlyoffice SMTP and via 587 own SMTP Server:
The Windows Server are in the same network with the same Firewall Rules like the Ubuntu Server.
Regards
Kevin
svcNotify.log Ubuntu Server:
2024-04-09 14:12:01,968 ERROR [166] ASC.Notify - Tenant: 1, To<EMAIL_ADDRESS>- System.IO.IOException: Operation on non-blocking socket would block ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <88f564ea69dd4dc8ba9bf979e48d5996>:0
at MailKit.Net.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00006] in :0
--- End of inner exception stack trace ---
at MailKit.Net.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001f] in :0
at MailKit.Net.Smtp.SmtpStream.ReadAheadAsync (System.Boolean doAsync, System.Threading.CancellationToken cancellationToken) [0x0019e] in :0
at MailKit.Net.Smtp.SmtpStream.ReadResponseAsync (System.Boolean doAsync, System.Threading.CancellationToken cancellationToken) [0x000bd] in :0
at MailKit.Net.Smtp.SmtpStream.ReadResponse (System.Threading.CancellationToken cancellationToken) [0x0000e] in :0
at (wrapper remoting-invoke-with-check) MailKit.Net.Smtp.SmtpStream.ReadResponse(System.Threading.CancellationToken)
at MailKit.Net.Smtp.SmtpClient.DataAsync (MimeKit.FormatOptions options, MimeKit.MimeMessage message, System.Int64 size, System.Boolean doAsync, System.Threading.CancellationToken cancellationToken, MailKit.ITransferProgress progress) [0x005dc] in :0
at MailKit.Net.Smtp.SmtpClient.SendAsync (MimeKit.FormatOptions options, MimeKit.MimeMessage message, MimeKit.MailboxAddress sender, System.Collections.Generic.IList`1[T] recipients, System.Boolean doAsync, System.Threading.CancellationToken cancellationToken, MailKit.ITransferProgress progress) [0x00608] in :0
at MailKit.Net.Smtp.SmtpClient.Send (MimeKit.FormatOptions options, MimeKit.MimeMessage message, System.Threading.CancellationToken cancellationToken, MailKit.ITransferProgress progress) [0x0005f] in :0
at MailKit.MailTransport.Send (MimeKit.MimeMessage message, System.Threading.CancellationToken cancellationToken, MailKit.ITransferProgress progress) [0x00000] in :0
at ASC.Core.Notify.Senders.SmtpSender.Send (ASC.Notify.Messages.NotifyMessage m) [0x000d6] in :0

Does this error occur on notify.onlyoffice.info or on your smtp server? Or both?
Operation on non-blocking socket would block
Also check the port usage on your Ubuntu server using netstat.

Hello @Carazyda,
this error occur with onlyoffice smtp and my own smtp....
What i didn´t unterstand why does the SMTP Testmail work with both SMTP Server?! But E-Mail with Password reset doesn´t arrive.
I have a Firewall and can see traffic via Port 25 Onlyoffice SMTP and Port 587 if i configure my own SMTP Server.
Here are netstat screenshot:

Can you try to disable your firewall and try again to send "reset password"?


New Azure Virtual Network Manager API Version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
February 2022
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
January 2022
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[X] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[X] PowerShell
[X] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[X] I commit to follow the Breaking Change Policy of "no breaking changes"
[X] I have reviewed the documentation for the workflow.
[X] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[X] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[X] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[X] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@jago2136 , can you fix the CI check errors?

Hi @raych1 thanks for taking a look! I was confused as to why the required LintDiff check was failing, because the error being thrown is unrelated to my changes. Would you be able to provide guidance on this issue?

@raych1 also, for the ~[Staging] Swagger ModelValidation check, this error is incorrect. The required attribute that is says is not there, actually is. I had this confirmed as an error in the automated checks on a different PR. Thanks!

/azp run


[HUDI-3103] Enable MultiTableDeltaStreamer to update a single target table from multiple source tables.

Brief change log

Modify the HoodieMultiTableDeltaStreamer file so that it can generate the execution context of table based on source tables.
Modify the DeltaSync.java file so that it can associate the source table with other tables.
Modify the UtilHelpers.java file so that it can read the schema of the target table from Hive.

@watermelon12138 Thank you for your contribution. I will be going through your changes in the next couple of days. Can you please resolve the conflicts when you get chance?

@watermelon12138 Thank you for your contribution. I will be going through your changes in the next couple of days. Can you please resolve the conflicts when you get chance?


if zen_multithreading lockers

Hello all! I had many exceptions in multithreading mode with zenject, so this is local fix. Can you please merge or discuss? Thanks.

Thanks for testing multithreading and finding these.  It makes sense that the static memory pool stuff would break multithreading, and ProfileBlock's access to its static cache.  But wouldn't it be better to do the locking inside those classes when they access static data?

Ok I looked into this some more and decided to fix it inside the ProfileBlock class instead of wrapping every call to the ProfileBlock class with a lock.  The new behaviour is to not do anything inside ProfileBlock if not on the main thread.  I see you also added a lock in the Zipper method but this method isn't used anywhere so I just deleted that whole method instead.  So I think that should address the issue


[Github Actions] Allow discovery of workflows from other keys besides uses

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Normally, dependabot detects workflows from the uses key within a workflow
In our use case, we're defining and passing workflows as arguments to other workflows. I'd like to receive upgrades for them as well

test:
    name: 🔮 Test
    uses: org/.github/.github/workflows/update-checker.yml@sha
    with:
      workflow_version: |
        org/repo/.github/workflows/checker.yml@hash
        org/repo/.github/workflows/other.yml@hash

[ ]

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Normally, dependabot detects workflows from the uses key within a workflow
In our use case, we're defining and passing workflows as arguments to other workflows. I'd like to receive upgrades for them as well

test:
    name: 🔮 Test
    uses: org/.github/.github/workflows/update-checker.yml@sha
    with:
      workflow_version: |
        org/repo/.github/workflows/checker.yml@hash
        org/repo/.github/workflows/other.yml@hash


Export ClientRequest and OutgoingMessage for compatibility

While trying to solve pgte/nock#150 I have stumbled upon some incompatibilities between node http module and http-bowserify, namely the lack of some exports. I've added the two I need at the moment, but I there is probably more.

I would really enjoy these changes myself.

Cleaning up my Pull Requests tab.


Error for python -m pyrouge.test

Cannot open exception db file for reading: /usr/local/ROUGE/RELEASE-1.5.5/data/WordNet-2.0.exc.db
Traceback (most recent call last):
File "/home/lab214/.local/bin/pyrouge_evaluate_plain_text_files", line 25, in
main()
File "/home/lab214/.local/bin/pyrouge_evaluate_plain_text_files", line 21, in main
output = rouge.convert_and_evaluate(args.system_id, args.split_sents)
File "/home/lab214/.local/lib/python3.5/site-packages/pyrouge/Rouge155.py", line 361, in convert_and_evaluate
rouge_output = self.evaluate(system_id, rouge_args)
File "/home/lab214/.local/lib/python3.5/site-packages/pyrouge/Rouge155.py", line 336, in evaluate
rouge_output = check_output(command).decode("UTF-8")
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/local/ROUGE/RELEASE-1.5.5/ROUGE-1.5.5.pl', '-e', '/usr/local/ROUGE/RELEASE-1.5.5/data', '-c', '95', '-2', '-1', '-U', '-r', '1000', '-n', '4', '-w', '1.2', '-a', '-m', '/tmp/tmp8bewjckd/rouge_conf.xml']' returned non-zero exit status 13
E.E..
======================================================================
ERROR: test_evaluation (pyrouge.tests.Rouge155_test.PyrougeTest)

Traceback (most recent call last):
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 156, in test_evaluation
pyrouge_output = rouge.evaluate(system_id=11).strip()
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/Rouge155.py", line 336, in evaluate
rouge_output = check_output(command).decode("UTF-8")
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/local/ROUGE/RELEASE-1.5.5/ROUGE-1.5.5.pl', '-e', '/usr/local/ROUGE/RELEASE-1.5.5/data', '-c', '95', '-2', '-1', '-U', '-r', '1000', '-n', '4', '-w', '1.2', '-a', '-m', '/tmp/tmpt78ojqv5/rouge_conf.xml']' returned non-zero exit status 13.
======================================================================
ERROR: test_options (pyrouge.tests.Rouge155_test.PyrougeTest)
Traceback (most recent call last):
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 218, in test_options
pyrouge_output = check_output_clean(pyrouge_command)
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 17, in
check_output_clean = lambda c: check_output(c).decode("UTF-8").strip()
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyrouge_evaluate_plain_text_files.py': 'pyrouge_evaluate_plain_text_files.py'
======================================================================
ERROR: test_rouge_for_plain_text (pyrouge.tests.Rouge155_test.PyrougeTest)
Traceback (most recent call last):
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 173, in test_rouge_for_plain_text
pyrouge_output = check_output_clean(pyrouge_command.split())
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 17, in
check_output_clean = lambda c: check_output(c).decode("UTF-8").strip()
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['pyrouge_evaluate_plain_text_files', '-m', 'data/models_plain', '-s', 'data/systems_plain', '-sfp', 'D(\d+).M.100.T.A', '-mfp', 'D#ID#.M.100.T.[A-Z]', '-id', '1']' returned non-zero exit status 1.
======================================================================
ERROR: test_write_config (pyrouge.tests.Rouge155_test.PyrougeTest)
Traceback (most recent call last):
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 197, in test_write_config
check_output(command.split())
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyrouge_write_config_file.py': 'pyrouge_write_config_file.py'
======================================================================
FAIL: test_config_file (pyrouge.tests.Rouge155_test.PyrougeTest)
Traceback (most recent call last):
File "/home/lab214/anaconda3/envs/torch15tf220/lib/python3.7/site-packages/pyrouge/tests/Rouge155_test.py", line 147, in test_config_file
add_data_path("ROUGE-test_11.xml")))
AssertionError: False is not true

Ran 10 tests in 0.367s
FAILED (failures=1, errors=4)
it token almost 4h to solve these problems, but it does not work, How to solve this?thanks a lot.

how did you solve the error

Any update on this? I have the same error.

Any update on this? I have the same error.

which os are u using?

Any update on this? I have the same error.

which os are u using?

Linux

Any update on this? I have the same error.

which os are u using?

Linux

sorry i solved it on windows

but the problem was that i didn't configured pyrouge properly u can try to reconfigure it by following the guidance properly

@geerangulzar  I'm using windows, could you tell more about how to reconfigure it?


[BugFix] Bugfix GroupByCountDistinctDataSkewEliminateRule

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes # https://github.com/StarRocks/StarRocksTest/issues/1978
for a group-by-count-distinct query,  if the group-by column and the count distinct column use the same column,  do not apply GroupByCountDistinctDataSkewEliminateRule.
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalAggregationOperator.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

@satanson That will be grateful to backport this commit to branch-2.5.


SendPasswordResetEmail argument type String? can't be assigned to the parameter type String for Firebase String? get email

Bug report
The method SendPasswordResetEmail takes in a non-nullable string, but the Firebase email is a nullable string. Cannot enter the nullable string FirebaseAuth.instance.currentUser!.email to the method as it only takes a non-nullable as an input. To get around this, I used "${FirebaseAuth.instance.currentUser!.email}", but this shouldn't be needed.
My recommendation would be to make the input method's string nullable in firebase_auth.dart from this:
Future sendPasswordResetEmail({
required String email,
ActionCodeSettings? actionCodeSettings,
}) {
return _delegate.sendPasswordResetEmail(email, actionCodeSettings);
}
to this:
Future sendPasswordResetEmail({
required String? email,
ActionCodeSettings? actionCodeSettings,
}) {
return _delegate.sendPasswordResetEmail(email, actionCodeSettings);
}

The native sdk methods that are called do not take nullable strings so the delegate cannot do that either.
You should check if the email is not null before sending a password reset email. See the references from the native sdks below.
You cannot send a reset email to a null email address.
https://firebase.google.com/docs/reference/ios/firebaseauth/api/reference/Classes/FIRAuth#-sendpasswordresetwithemail:completion:
https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/FirebaseAuth.html#sendpasswordresetemail_1
Closing as this is working as designed.


lxd/storage/btrfs: Fix recursive snapshots

Closes #4731
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

@brauner should be good to go


Icons: add method fromName(String iconName)

Use case
Could not reopen the issue #145302.
Icon names are retrieved from server.
So a method for getting IconData from icon name is needed.
Icons.fromName(iconName)
iconName is the same as the constant name in Icons class.
pub.dev package material_icon_design_flutter does not contain many of the IconData constants defined in Icons, so it is not designed to provide name mappings for the Icons class.
Proposal
Add a new method for mapping names to IconData constants:
IconData Icons.fromName(iconName)
IconName are those already defined as constants such as more_vert.
IconData fromName(String iconName) {
   if (iconName=='more_vert') return Icons.more_vert;
   ....
}

or build a map from names to IconData constants.

Hi. Interesting use case. Here is a possible solution.
Icon(Icons.more_vert);
If we look at the Icon constructor invoked above in the source code, we will see that the Icon class accepts an argument of type IconData and so Icons.more_vert is actually of type IconData.
In fact, Icons.more_vert is defined as follows:
static const IconData more_vert = IconData(0xe404, fontFamily: 'MaterialIcons');
If we next look at the constructor of the IconData class that is being invoked above, it reads as follows:
const IconData(
    this.codePoint, {
    this.fontFamily,
    this.fontPackage,
    this.matchTextDirection = false,
    this.fontFamilyFallback,
  });

Which means we really only need two pieces of information: the codePoint which is of type int and fontFamily which is of type string.
Instead of saving the string 'more_vert' in your database, you can save these two values and use them to build your icon.
int codePoint = Icons.more_vert.codePoint;
String? fontFamily = Icons.more_vert.fontFamily;
Icon icon = Icon(IconData(codePoint, fontFamily: fontFamily));

From the IconData doc,  instantiating IconData instead of using the predefined IconData constants will cause tree-shaking issue.

@javaone199
I'll reopen the original issue. Just make sure you respond to the question asked by the team member in that issue.
https://github.com/flutter/flutter/issues/145302#issuecomment-2013138780
Closing this issue.


Faulty downgrade on DJA0231

Firstly thanks for the scripts and hardwork, I have previously already flashed two DJA0230's with ease. This time I am trying on a DJA0231 which unfortunately was on 20.3.c.0432-MR21-RA.
I 'successfully' downgraded to 20.3.c.0389-MR20-RA with TFTP, I had to perform the boot-fail steps to get it to boot with the correct bank. This is where the weird issue begins, on the modem it lists the version as 20.3.c.0389-MR21-RA - MR21 meaning Maintenance Release?
The exploit does not work in this case, it just hangs after the first discovery. Then I tested the previous version 20.3.c.0329-MR19-RB which led to the exact same result: 20.3.c.0329-MR21-RB.
It's a weird issue which I cant see anyone else posting about.
Thanks again.

Update: this was fixed by resetting to factory default within the older flashed firmware bank (booted manually), I'll leave the issue open for now in case you would like to update the docs. to include a note regarding this behaviour. Feel free to close the issue otherwise. Thanks!

The MR21-RA suffix is actually stored as part of the configuration, rather than in the firmware itself. This means that if you have a failed upgrade or reset, the wrong suffix can be reported, which is what happened to you. It can also happen if you import a configuration backup that was created on a different firmware versions.
There are a few instances reported in the main Whirlpool rooting thread: https://forums.whirlpool.net.au/archive/2650998
It is already specified in the exploit steps that you should do a reset in the Preparation step.


feat: allow custom icons on custom modules

Allows adding icons on modules where there was no option earlier or was limited to selection
partially address https://github.com/Jas-SinghFSU/HyprPanel/issues/268

LGTM, ty!


ERROR: MissingTemplateParam - src/User/UserRepository.php:17:13 - App\User\UserRepository has missing template params when extending Cycle\ORM\Select\Repository, expecting 1 (see https://psalm.dev/182) final class UserRepository extends Select\Repository

What steps will reproduce the problem?
Command Prompt Psalm Testing Level 6: (4.3 upgraded to 5.4)
C:\wamp64\www\yii3-i>php ./vendor/bin/psalm --show-info=false
Original code without Psalm (.../App/User/UserRepository)
final class UserRepository extends Select\Repository
Original code of Parent with Psalm (...vendor/cycle/orm/Select/Repository.php
**
 * Repository provides ability to load entities and construct queries.
 *
 * @template TEntity of object
 * @implements RepositoryInterface<TEntity>
 */
class Repository implements RepositoryInterface

What is the expected result?  No ERROR
What do you get instead? The above error.
Additional info

Q
A

Version
1.0.?

PHP version
8.1.12

Operating system
Window 10

The following code resolves the error:

/**
 * @template TEntity of object
 * @extends Select\Repository<TEntity>
 */
final class UserRepository extends Select\Repository

Now getting:
ERROR: InvalidArgument - src/User/UserRepository.php:25:29 - Argument 1 of Cycle\ORM\Select\Repository::__construct expects Cycle\ORM\Select<TEntity:App\User\UserRepository as object>, but Cycle\ORM\Select<object> provided (see https://psalm.dev/004)
        parent::__construct($select);

/**

@template TEntity of object
@extends Select\Repository
/
final class UserRepository extends Select\Repository
{
/*
*

@param EntityWriter $entityWriter
@param Select $select
*/
public function __construct(private EntityWriter $entityWriter, Select $select)
{
parent::__construct($select);
}

I will leave this open for the time being.

The above solution is the recommended solution.  44 Errors removed. Updated views/invoice/generator/tempates_protected/Repository.php


Database connection uses wrong type

Is there an existing issue for this?

[X] I have searched the existing issues

Are you sure that this bug is related to this DDEV Integration Plugin?

[X] I am sure

Enter your error report ID (If available)
No response
Describe the bug
On projects with mariadb instead of mysql the plugin generates the following connection string
jdbc:mysql://<IP_ADDRESS>:49153/db?user=db&password=db
The driver is selected correctly, but the connection via url is using mysql.
If use the following connection string and replace mysql with 'mariadb' it works
jdbc:mariadb://<IP_ADDRESS>:49153/db?user=db&password=db
Steps to reproduce

Create DDEV Project with MariaDB
database: type: mariadb version: "10.4"
Open project into PHPStorm
Start ddev
DDEV Integration says running, but db connection fails. ddev describe shows the correct port/user/password is used
PHPStorm database connection is type mariadb but connection string contains mysql

Additional context
Ubuntu 20.04
DDEV v.1.21.1
PHPStorm 2022.2.3
DDEV Integration 1.0.1

It seems this has been raised before in https://github.com/php-perfect/ddev-intellij-plugin/issues/106 but should be fixed.

@nico-loeber understood, sorry for reopening this bug. i could see it in closed but haven't checked against the next release.
If you could mark this with the next milestone for 1.1 it would be visible and hopefully someone else doesn't mention it a 3rd time :)
P.S. i noticed that if you change the type to mariadb, this will only last until you reopen the affected project. The plugin does constantly reset the wrong type after reopening the project.
Thanks for your efforts.

@verdure-peuser, no problem, it was my mistake to close the issue before releasing the fix.
Yes, all automatically configured settings get updated automatically whenever a change to the ddev container could happen (start/restart). As your manual configuration change is seen as a "mistake" it will is corrected by the plugin.
You can avoid this by adding your own data source with another name (not DDEV).
PHP storm will try to connect all configured data sources, so you will probably still get an error message but you can work with auto completion for SQL queries and all the other stuff.
As I already said, I will try to release the fix asap.

@verdure-peuser, could you please confirm the issue is solved for you with version 1.0.3 of the plugin?

@nico-loeber works like a charm, thanks :)

coming from https://github.com/php-perfect/ddev-intellij-plugin/issues/114
@nico-loeber my bad, I thought I was using 1.0.3 but while looking at it today, I have only been offered to upgrade to 1.0.3...
Sorry. Yes, it is working fine with mariadb. Thank you!


Improvements to output from driver execution

Updating the design to supply better (and more model-specific) output files after driver execution.
Additions

Updated Formulation interfaces with functions for getting per-time-step output data, allowing implementations to control the format of what is output from them in a way consistent with the output fields they produce.
Added implementations of aforementioned new functions to Formulation sub-classes.
Updated Formulation implementation for Tshirt_C with additional output meta functions for getting the number of output fields, the output field names, and an array of all currently-calculated values for a specified output field.
Added new unit tests for new functionality.

Removals

Changes

Updating main driver to use new output functions from Formulation instances to build output files.
Fixing bug for Tshirt C-based model, uncovered while verifying new format and content of produced output files, that resulted from models run function expecting input in millimeters per time step, while everything else dealt with meters.
Made corrections to unit tests necessary after making Tshirt_C expect input in meters.

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[ ] Linux

Does the current code produce test.out file as tshirt c-code? Thanks.
On Wed, Oct 21, 2020 at 2:52 PM Robert Bartel<EMAIL_ADDRESS>wrote:

@robertbartel https://github.com/robertbartel requested your review on:
#197 https://github.com/NOAA-OWP/ngen/pull/197 Improvements to output
from driver execution.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/ngen/pull/197#event-3905694644, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACA4SRKPFXJZZ5F7REMGVLLSL43WHANCNFSM4S2HNRPA
.

I have compiled  and run this PR and it seems to work fine.


zappa deploy

Unable to use zappa with this package.
  File "/var/task/warrant/__init__.py", line 8, in <module>
OSError: Cannot load native module 'Crypto.Hash._SHA256'

This should be fixed in the develop branch and it should be fixed in the next release.


Add new entry point to PBRCustomMaterial and a isEnabled property to Layer

Need these for the WebGPU demo!
I have also added the possibility to read the data from a texture "as is", meaning with no conversion. Currently, the data are read as an Uint8Array if the type is UNSIGNED_BYTE and as a Float32Array in all other cases. When using the new parameter, the buffer will be created as (U)Int8Array / (U)Int16Array / (U)Int32Array / Float32Array depending on the type of the texture.

One doc check to go and I ll merge @Popov72


Permission denied on stored procedure is not returning error

Issue
This function should return an error as I don't have permission to execute the procedure. But there is no error
What version of Go are you using (go version)?
go 1.13
require (
github.com/gorilla/handlers v1.4.2
github.com/gorilla/mux v1.7.3
github.com/jinzhu/gorm v1.9.11
)
Which database and its version are you using?
sql server 14.0.2027.2
Please provide a complete runnable program to reproduce your issue. IMPORTANT
Need to runnable with GORM's docker compose config or please provides your config.
func (a *Controller) AddHistory(m model.History) (int64, error) {
	clone := a.db.Raw("Exec addHistorytoDecisions @tid=?, @his=?, @flag=?", m.TaskID, m.Entry, m.Close)
	if errs := clone.GetErrors(); len(errs) > 0 {
		return clone.RowsAffected, errs[0]
	}
	return clone.RowsAffected, nil
}

actual sql error from normal sql query:
Msg 229, Level 14, State 5, Procedure addHistorytoDecisions, Line 1
The EXECUTE permission was denied on the object 'addHistorytoDecisions', database 'Test', schema 'dbo'.

Raw use raw sql as conditions, won't run it unless invoked by other methods

https://github.com/jinzhu/gorm/blob/79a77d771dee4e4b60e9c543e8663bbc80466670/main.go#L492-L494
Probably you should use a.db.Exec().
https://github.com/jinzhu/gorm/blob/79a77d771dee4e4b60e9c543e8663bbc80466670/main.go#L498-L499
By the way, RowsAffected maybe don't work using Exec(), always return 0.
(Sorry, I haven't actually tried it.)

Yes, I switched to exec. Rows affected seem to work for me on exec though.


Any way to change the entire interface's theme dark? Like the tabs area and stuff

I notice in the screenshot the top toolbar, the tab area and all that stuff is still white as a ghost and feels like an eye sore with a dark theme. I've been trying to search for a solution but the closest I got is to buy WindowBlinds which I can't get it to work for Sumatra for some reason.
Can this template be edited in such a manner to allow universal dark theme for ALL the elements of Sumatra?

As far as I know, nope. There are a lot of software for Windows that suffer from the same issue. 7zip dark themes get around this by recompiling the program with changed colors, for example. But I'll do more research and if I can't find anything I'll close this later.

Setted ToolbarColor in FixedPageUI not working.

Setted ToolbarColor in FixedPageUI not working.
Unchecked View -> Show Toolbar may be a little help.

I think I found the exact part of their code that controls this:
https://github.com/sumatrapdfreader/sumatrapdf/blob/7d2e69da4c1a661eef5126981c803072f7ac8f15/src/Theme.cpp#L59-L68
I'm currently talking with SumatraPDF's devs to see if it would be possible to expose that single boolean into the Custom Themes section!

Hi @fabiorzfreitas. I kept this thread open in the hopes that someone would come up with a solution. I am following the other thread but please keep us posted. As soon as a way to do that is confirmed I will update the theme ASAP. Thanks :)


How To Display Playlist

Question Checklist

[x] Updated Amplitude.js to the latest version
[x] I read the docs
[x] I searched for existing GitHub issues

Question Subject

I have everything working fine, but I don't know how to display the playlist
Question Description

I have three songs in the following playlist, I just want to know how I can display them in a playlist, couldn't get a clear way to do it in the documentation.
Amplitude.init({
songs: [
{
"name": "Risin' High (feat Raashan Ahmad)",
"artist": "Ancient Astronauts",
"album": "We Are to Answer",
"url": "../songs/Ancient Astronauts - Risin' High (feat Raashan Ahmad).mp3",
"cover_art_url": "../album-art/we-are-to-answer.jpg"
},
{
"name": "The Gun",
"artist": "Lorn",
"album": "Ask The Dust",
"url": "../songs/08 The Gun.mp3",
"cover_art_url": "../album-art/ask-the-dust.jpg",
},
{
"name": "Anvil",
"artist": "Lorn",
"album": "Anvil",
"url": "../songs/LORN - ANVIL.mp3",
"cover_art_url": "../album-art/anvil.jpg",
}
],
playlists: {
"ancient_astronauts": {
songs: [0, 3],
title: 'Best of Ancient Astronauts'
}
}
});

Hi @teddiey ,
So to do the playlist, you will have to provide some HTML that Amplitude will hook into. The playlists simply organize the songs and provide state. If you check out: https://github.com/521dimensions/amplitudejs/blob/master/examples/multiple-playlists/index.html I have some HTML on how to do playlists. Hope this helps!

Hi @teddiey just following up to see if this helped solve the issue?

Hi @danpastori I managed to have a look at your HTML, but I'm just wondering is there any way that this can be automated in such a way that I don't have to type all that HTML :(
I have a playlist of over 1,000 songs

@teddiey Are you using a reactive front end framework? Otherwise, you could return HTML from the backend.

Closed due to inactivity


Update deps

bors r+

bors r-

This is done as part of https://github.com/rust-analyzer/rust-analyzer/pull/2756 (to check caching strategy as well)


Fix docs image paths

Coverage remained the same at 96.278% when pulling a6045bd9f69e87363ff52636e4beb28e6a14708f on develop into cc821028147ad73d89ae05a1aa91790ce2e16764 on master.


Altering Forced Dependency - Breaking Change on Custom Calendar

What Does This PR Do
SEE SUMMARY A FEW COMMENTS DOWN
In the metric.sql macro, there was a forced dependency connecting any use of the metric macro to the default calendar model created by this package.
This is hard-coded into the macro even when it isn't technically correct. Users can override this relationship and provide their own.
As such, I propose removing it until we can figure out how to dynamically reference the correct calendar model.
EDIT: I figured out how to dynamically reference it. See below.

Summary
Well it turns out that the reason that the bigquery connection was failing is something that @joellabes already identified and included in his custom_calendar model. So 🍳 on my face for not looking at the model.
BREAKING CHANGE: The dbt_metrics_calendar_model will now accept the model name and NOT the ref. I know this breaks with the pattern expressed throughout other parts of dbt but this is the only way of consistently pointing the forced dependency in metric.sql to point at the right calendar model.

Explanation: In metric.sql there is the following line -- depends on: {{ ref('dbt_metrics_default_calendar') }}which establishes a DAG relationship to the default calendar even if you're using a custom calendar.
The reason that we have to change the variable to non-ref is because of the way that it gets parsed in the forced dependency. I tried thinking of other ways to represent the forced dependency without changing the format but wasn't able to.

I tried changing the default value to a ref but that fails on the following compilation error dbt was unable to infer all dependencies for the model "metric_transformation". This typically happens when ref() is placed within a conditional block.

This is a breaking change so we'll want to call it out for anyone who uses it. Given the commented out nature of the forced dependency, we're unable to write in conditional logic for if people use the older version.

If anyone feels that this shouldn't be merged, feel free to let me know here and we can work on other workarounds!

This is awesome work, thanks for tracking this down Callum. It's definitely sub-optimal to have a different naming pattern for the custom calendar than basically everything else we do, but it's probably less suboptimal than having errors in the DAG. If Drew feels good about this I'm fine to merge it in.
As far as breaking changes go - @dbeatty10 should be able to walk you through our SemVer strategy and how we can handle cutting a new release for this.

Agreed. I'm not a fan of breaking our pattern but I figure its the worst of two bad options that we can roll-out without needing to overhaul how core handles forced dependencies.

It's definitely sub-optimal to have a different naming pattern for the custom calendar than basically everything else we do, but it's probably less suboptimal than having errors in the DAG. If Drew feels good about this I'm fine to merge it in.

Agreed. I'm not a fan of breaking our pattern but I figure its the worst of two bad options that we can roll-out without needing to overhaul how core handles forced dependencies.

As far as breaking changes go - @dbeatty10 should be able to walk you through our SemVer strategy and how we can handle cutting a new release for this.

Sweet - I'll sync with him when he's back next week and I've also figured out if we can remove the get metric calendar macro.


GUACAMOLE-1716: Remove usage of AccessController (deprecated in Java 17 and later).

Seems okay to me. I haven't attempted to compile with 1.8, but doesn't look like it introduces anything that would break with 1.8.


Re-enable mixin before declaration when Sass Lint supports more advanced syntax

See https://github.com/sasstools/sass-lint/issues/455 which allows blocks of comments to be ignored.

Re-enable sass-lint.yml checks that can't currently be ignored because inline comment overrides are not yet working.
Initial issue: sasstools/sass-lint#70
Ongoing Pull request: sasstools/sass-lint#677

Added in 1.3


How do i replicate this for other dataset

I tried very hard to replicate this repo for my own dataset but could not do it

I also want to try it on my own colour dataset for unsupervised image clustering. Should I expect it to work ?


Vulkan samples panic when resizing the window

I'm hitting a panic with recent NVIDIA driver on Linux: "Stale / resized swap chain not yet supported."

Hi there, I'm wondering what the correct procedure for handling a resize is? I had a look at the FilamentApp samples and it seems to be:

create a new swap chain?
set the viewport size
recalculate the projection matrix for our camera based on the new size

As you've said earlier, when using the Vulkan backend, an exception is thrown on resizing. When using OpenGL the above steps work, however it still works fine if I omit step one and continue using the old swap chain.
My question is, what is the correct set of steps to follow, perhaps in preparation for when the issues with Vulkan are fixed?
Thanks

There is indeed no reason to recreate the SwapChain if the underlying native window hasn't changed (you didn't get a new pointer).

@prideout @pixelflinger We should fix the samples (or take that into account when we create new ones)

Hello,
Just FYI, there is a similar issue with Dear ImGui (vulkan + SDL2  backend). See https://github.com/ocornut/imgui/issues/2626 for further information.
I traced a bit, but I'm not able to solve the issue, and didn't find any serious track. Excepted a workaround, as explained in the issue above.


Newer release available com_github_fmtlib_fmt: 7.0.3 (current: 7.0.3)

Package Name<EMAIL_ADDRESS>Current Version: 7.0.3@2020-08-07
Available Version: 7.0.3@2022-01-02
Upstream releases: https://github.com/fmtlib/fmt/releases

New version is available for this package
New Version: 8.1.0@2022-01-02
Upstream releases: https://github.com/fmtlib/fmt/releases
New Issue Link: https://github.com/phlax/envoy/issues/102


Unicode Encoding Problems on Windows

Expected Behavior

Gradle Plugin Tasks writing to System.out should work on macOS and windows, E.g.:
System.out.println("Hähö") ;

should output Hähö on windows and macOS (and possibly every other OS where the JVM runs on).
Current Behavior

On macOS it works and prints: Hähö ✅
On windows, however it prints: HΣH÷ ❌

If you call the Java classes directly without Gradle, it works again, so Gradle seems to be the culprit.
Context

I discovered this issue while integrating a REPL task into a gradle plugin: https://github.com/tricktron/frege-gradle-plugin/issues/8.
But it looks like that any Gradle task that writes to System.out with the default charset is affected on windows.

Java is aware of the problem and will introduce utf8 as default in Java 18 with JEP 400, which will help to mitigate such encoding issues because most platforms will then use the same default encoding.
Gradle will then probably follow with https://github.com/gradle/gradle/issues/16763.

Steps to Reproduce

Follow https://github.com/tricktron/jdk11-encoding-issue.
Your Environment

macOS build scan URL: https://scans.gradle.com/s/mv27nreqx5gy6
windows build scan URL: https://scans.gradle.com/s/kcq7gcr4gbopu
Possible Workaround

Configure Gradle to correctly pass through -Dsun.stdout.encoding property on windows.
Remove/Improve the System file encoding advice of setting org.gradle.jvmargs=-Dfile.encoding=UTF-8 because according to Java (JEP 400) this system property was never supported.

See https://github.com/tricktron/jdk11-encoding-issue#workaround-to-make-it-work-with-gradle-on-windows for details.

I can reproduce this on my windows system as well as of March 2022, so this is still reproducing.


Unwrap Pair with two Maybes

Can you help me please. I'm trying to refactor my code and I'm stuck with unwrap Pair.
Here is my code:
const code = 'aabbc'; // valid litera code
// const code = '1231231233'; // valid numerical code
// const code = '123123aaaaa'; // invalid code

const isNumberCode = code => !!/^[0-9]{10}$/.exec(code);
const isLiteralCode = code => !!/^[A-Za-z]{5}$/.exec(code);

// flow :: a -> Pair a a
const flow = code => Pair(code, code)

const numberJust = code => Just({id: code})
const literalJust = code => Just({serial: code})
const isNumberCodeMaybe = ifElse(isNumberCode, numberJust, Nothing)
const isLiteralCodeMaybe = ifElse(isLiteralCode, literalJust, Nothing)

const result =
    flow(code)
        .bimap(isNumberCodeMaybe, isLiteralCodeMaybe)
// here I want unwrap the result

I want write the function that merge or unwrap the Pair:
// Pair Just Nothing -> Just
// Pair Nothing Just -> Just
// Pair Nothing Nothing -> Nothing

Can you help me please?

Hey, what you're looking for is merge and alt. merge will take a function that expects two arguments which will be both sides of the Pair. If we pass in the Maybe's pointfree function alt we'll get the behaviour you're chasing
import { Maybe, Pair, merge, alt, map } from 'crocks'
const { Just, Nothing } = Maybe

const unwrap = merge(alt)

unwrap(Pair(Just('something'), Nothing()))
//=> Just "something"

unwrap(Pair(Nothing(), Just('something')))
//=> Just "something"

unwrap(Pair(Nothing(), Nothing()))
//=> Just "something"

So this is probably not the best put it removes the need for Pair and the potential confusion when looking at the code
import { Maybe, Pair, merge, alt, map, ifElse, fanout, when, objOf, constant, or, unless } from 'crocks'

const { Just, Nothing } = Maybe

// const code = 'aabbc'; // valid litera code
// const code = '1231231233'; // valid numerical code
const code = '123123aaaaa'; // invalid code

const testOn = regex => code => RegExp(regex).test(code)

const isNumberCode = testOn(/^[0-9]{10}$/);
const isLiteralCode = testOn(/^[A-Za-z]{5}$/);

Just(code)
  .map(unless(or(isNumberCode, isLiteralCode), Nothing))
  .map(when(isNumberCode, objOf('id')))
  .map(when(isLiteralCode, objOf('serial')))

Thank you! Your improved code looks very good!

I'm glad you like it, let us know if you have any other questions


performance issue

hello. i'm having a weird performance issue that occurs by doing the following steps:

host a game
land on any moon (i tested this on march)
press escape and return to main menu
host a game again
land on any moon again (i used march again)
after doing these steps, my fps drops by 20-30 fps and i'm not sure why.

the fps drop doesn't occur when i disable LethalExpansion and all the modded moons. i'm not sure if this issue is caused by LE alone or if there is incompatibilty with some other mod. we're using so many mods so i couldn't find which mod is conflicting with LE if incompatibility is the issue. i'll try to diagnose this issue more and get back if i have any more info.

after testing LE alone, this issue doens't occur. in fact, i did these exact step and the fps increased 💀. i think a mod was conflicting with LE.

i have no idea anymore it might be just that each time different entities spawn or somethings 💀. sorry it might not be because of LE or any other mod maybe i'm just dumb. here the profile code, LE and other moons mods are disabled at the end: 018cea6d-1d46-bb27-2ecc-701453def26f.

oh shit damn most of the performance loss comes from custom dungeons (especially Scoopys_Variety_Mod) 💀. sorry for the confusion i'm just dumb.


Update Aiven's free offering in the documentation

Removed the netlify-tutorial.md as that felt unnecessary as the repository has workshop file

Thanks for fixing this!
I was a little ambivalent about removing the netlify-tutorial.md, but I think you're correct that we're not expecting people to use this repository out of the context of the workshop, and for that the workshop script is more relevant. Also, removing the file means we don't have to track its changes with respect to the original (nextjs-netlify) repository.
We can always add it back in again if we want to 🙂


Decide whether to use auto migrations or not

[x] Check if current database code supports this
[x] Test with auto migrations in use and without, determine benefits versus consequences

The autoMigration feature has not been commited to spotify:master from https://github.com/andrewthauer/backstage-example/pull/1 , which gives us an indication that it might not be supported in the short / medium term and thus we will follow a "manual migration" strategy to stay aligned with the overall direction of the backstage project.


misc: temporary fix for "No space left on device" errors

41a13eca480e38cfeeba7a180b4516b90598c39b fixed a longstanding bug that the lab
was relying on. Before the bug was fixed, the get_wwn_id_map function was doing:
    try:
        r = remote.run(
            args=[
                'ls',
                '-l',
                '/dev/disk/by-id/wwn-*',
            ],
            stdout=StringIO(),
        )
        stdout = r.stdout.getvalue()
    except Exception:
        log.info('Failed to get wwn devices! Using /dev/sd* devices...')
        return dict((d, d) for d in devs)

The bug was that "remote.run" was putting single quotes around the string
"/dev/disk/by-id/wwn-*" because it wasn't enclosed in Raw(...). The single
quotes were causing the command to fail, triggering the except clause, and that
was happening 100% of the time.
The fix in 41a13eca480e38cfeeba7a180b4516b90598c39b caused the command to start
succeeding, which caused execution to continue. As a result, MON stores and
OSDs started getting created on the wrong devices, and tests that were
previously succeeding started to fail due to "No space left on device".
In short, the wwn devices on today's smithis are not big enough for
/var/lib/ceph.
This commit "fixes the fix" by dropping the dead code and always returning the
value that qa/tasks/ceph.py has come to expect.
Fixes: https://tracker.ceph.com/issues/42313
Signed-off-by: Nathan Cutler<EMAIL_ADDRESS>

The fix in 41a13ec caused the command to start
succeeding, which caused execution to continue. As a result, MON stores and
OSDs started getting created on the wrong devices, and tests that were
previously succeeding started to fail due to "No space left on device".

This is not precise description, in fact since the scratch contents is used in devs parameter the get_wwn_id_map just returns the empty dictionary:
2019-10-17T11:34:47.802 INFO:tasks.ceph:found devs: ['/dev/vg_nvme/lv_4', '/dev/vg_nvme/lv_3', '/dev/vg_nvme/lv_2', '/dev/vg_nvme/lv_1']
2019-10-17T11:34:47.803 INFO:teuthology.orchestra.run.smithi110:Running:
2019-10-17T11:34:47.803 INFO:teuthology.orchestra.run.smithi110:> ls -l /dev/disk/by-id/wwn-*
2019-10-17T11:34:47.875 INFO:teuthology.orchestra.run.smithi110.stdout:lrwxrwxrwx 1 root root  9 Oct 17 11:28 /dev/disk/by-id/wwn-0x5000c50091dfc3c1 -> ../../sda
2019-10-17T11:34:47.875 INFO:teuthology.orchestra.run.smithi110.stdout:lrwxrwxrwx 1 root root 10 Oct 17 11:28 /dev/disk/by-id/wwn-0x5000c50091dfc3c1-part1 -> ../../sda1
2019-10-17T11:34:47.875 INFO:tasks.ceph:dev map: {}
2019-10-17T11:34:47.875 INFO:tasks.ceph:Generating config...
.
.
.
2019-10-17T11:34:49.857 INFO:tasks.ceph:Running mkfs on osd nodes...
2019-10-17T11:34:49.857 INFO:tasks.ceph:ctx.disk_config.remote_to_roles_to_dev: {Remote(name='ubuntu@smithi110.front.sepia.ceph.com'): {}}

the logs if we revert this behavior with this patch.
2019-10-17T11:41:15.420 INFO:tasks.ceph:found devs: ['/dev/vg_nvme/lv_4', '/dev/vg_nvme/lv_3', '/dev/vg_nvme/lv_2', '/dev/vg_nvme/lv_1']
2019-10-17T11:41:15.420 WARNING:teuthology.misc:The get_wwn_id_map is buggy and deprecated, and will be removed shortly. The qa/tasks/ceph.py should use another method to work correctly.
2019-10-17T11:41:15.420 INFO:tasks.ceph:dev map: {'cluster2.osd.0': '/dev/vg_nvme/lv_4', 'cluster2.osd.1': '/dev/vg_nvme/lv_1', 'cluster2.osd.2': '/dev/vg_nvme/lv_2'}
2019-10-17T11:41:15.420 INFO:tasks.ceph:Generating config...
.
.
.
2019-10-17T11:41:17.393 INFO:tasks.ceph:Running mkfs on osd nodes...
2019-10-17T11:41:17.393 INFO:tasks.ceph:ctx.disk_config.remote_to_roles_to_dev: {Remote(name='ubuntu@smithi101.front.sepia.ceph.com'): {'cluster1.osd.2': '/dev/vg_nvme/lv_2', 'cluster1.osd.1': '/dev/vg_nvme/lv_1', 'cluster1.osd.0': '/dev/vg_nvme/lv_4'}, Remote(name='ubuntu@smithi081.front.sepia.ceph.com'): {'cluster2.osd.0': '/dev/vg_nvme/lv_4', 'cluster2.osd.1': '/dev/vg_nvme/lv_1', 'cluster2.osd.2': '/dev/vg_nvme/lv_2'}}

retest this please

please remove this line:
Fixes: https://tracker.ceph.com/issues/42313

because this ticket is not related to this issue.

please remove this line:
Fixes: https://tracker.ceph.com/issues/42313

because this ticket is not related to this issue.

Disagree -- this fixes the issue described in that ticket. Please stop fighting get teuthology working again.

please remove this line:
Fixes: https://tracker.ceph.com/issues/42313

because this ticket is not related to this issue.

Disagree -- this fixes the issue described in that ticket. Please stop fighting get teuthology working again.

It is different problem, please take a look at the log in the description it is using teuthology of the version prior to this change.

please remove this line:
Fixes: https://tracker.ceph.com/issues/42313

because this ticket is not related to this issue.

Disagree -- this fixes the issue described in that ticket. Please stop fighting get teuthology working again.

It is different problem, please take a look at the log in the description it is using teuthology of the version prior to this change.

Again -- stop fighting this. I updated the description of the ticket.

Test running here: http://pulpito.ceph.com/smithfarm-2019-10-17_12:35:03-rbd-wip-yuri8-testing-2019-10-11-1347-luminous-distro-basic-smithi/

@dillaman thank you, you're my hero.


Create Low-Fidelity Prototype

Create a basic wireframe of the portfolio and its sections.

https://www.figma.com/file/Jr8eQWZjBdH65WWFcsAfff/Portfolio-Wireframe?node-id=0%3A1