VB Support partial not working in custom module

Problem Description
I am trying to get server side data and use $vb_support = 'partial' but it is not working. I am using the code below and i get output on front hand but not able to to partial data on builder mode.
Steps To Reproduce

use this code in render
$final_post_types = array();
$all_post_types = get_post_types(array('public' => true), $output);
 $skip_post_types = array(
     'attachment',
 );

 if($output === 'names'){
     return array_diff($all_post_types,$skip_post_types);
 }

 foreach($all_post_types as $name => $post_type){
     if(!in_array($name,$skip_post_types)){
         $final_post_types[$name] = $post_type->label;
     }
 }

 echo $final_post_types;

Is there any solution for this

QA Checklist
Reporter

[ ] Helpful title used

Helpful title format: Scope(s) :: One Sentence To Describe The Issue
Example: VB :: Floating Toolbar :: Jumps To Top Of Page

[x] Detailed description
[x] Steps to reproduce included
[ ] Support Ticket URL included
[ ] Image and/or gif

Developer

[ ] Steps to reproduce proven solved
[ ] Test included and coverage acceptable and all Tests passing?
[ ] PR description has layman's description of problem and solution and "Areas Affected" listed/explained?
[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Estimated points on issue
[ ] Proper code documentation and conventions?
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Peer Review

[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Steps to reproduce proven solved
[ ] Affected areas are tested and ok
[ ] Proper code documentation and conventions
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Quality Assurance

[ ] All tests passed on CircleCI.
[ ] Steps to reproduce passed, the fix works.
[ ] No errors in console or output
[ ] Affected areas are tested and ok
[ ] The fix does not change a customer's website in any surprising or unintended way

[ ] If Divi's design is adjusted, settings are migrated gracefully and invisibly

Design Review

[ ] UI is to spec
[ ] UX is to spec
[ ] Design is to spec
[ ] No surprising visual changes to a customer's website will be experienced after updating

[ ] Any/all visual changes are migrated gracefully

Dev Review

[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?
[ ] i18n used if applicable
[ ] Implementation acceptable, DRY, Scaleable, future safe
[ ] Best practices used, cleverness and grokage, ES6 use, etc.

Hi! We'll need to see more of the code, preferably the entire module in order to advise you on the issue.

Hello this is new separate code for your test.
In this code i am getting list of post on base of category.
`<?php
class BPD_Test extends ET_Builder_Module
{
public $slug = 'bpd_test';
public $vb_support = 'partial';

public function init()
{
    $this->name = esc_html__('Test Control', 'bpd-booster-pack-divi');

}
public function get_fields()
{
    return array(
        'post_category' => [
            'label'           => esc_html__( 'Meta Data', 'bpd-booster-pack-divi' ),
            'type'            => 'categories',
            'taxonomy_name'   => 'category',
            'toggle_slug'     => 'layout_settings',
        ],
    );
}
function render_prop( $value = '', $field_name = '', $field_type = '', $render_slug = '') {
    $order_class = self::get_module_order_class( $render_slug );
    $output      = '';

    if ( '' === $value ) {
        return $output;
    }

    $option_search  = array( '[', ']' );
    $option_replace = array( '[', ']' );

    switch ( $field_type ) {
        case 'options_list_checkbox':
            $checkboxes = '';
            $value          = str_replace( $option_search, $option_replace, $value );
            $value          = json_decode( $value );
            $checkbox_name  = sprintf( '%1$s_%2$s', $order_class, $field_name );

            foreach ( $value as $index => $option ) {
                $checkbox_id  = sprintf( '%1$s_checkbox_%2$s', $checkbox_name, $index );
                $is_checked   = 1 === $option->checked ? true : false;
                $option_value = wp_strip_all_tags( $option->value );

                $checkboxes .= sprintf(
                    '
						<input type="checkbox" id="%1$s" class="input" value="%2$s"%3$s>
						%2$s
					',
                    esc_attr( $checkbox_id ),
                    esc_attr( $option_value ),
                    $is_checked ? ' checked="checked"' : ''
                );
            }

            $output = $checkboxes;
            break;
        default:
            $output = $value;
            break;
    }

    return $output;
}

public function render( $attrs, $content = null, $render_slug ) {

    $args = array( 'posts_per_page' => 5,'category' => $this->props['post_category']);

    $myposts = get_posts( $args );
    echo "

";
    foreach ( $myposts as $post ) : setup_postdata( $post ); ?>

            <a href="<?php echo get_the_permalink($post->ID); ?>"><?php echo get_the_title($post->ID); ?>

    <?php endforeach;
    echo "

";
            wp_reset_postdata();
}

}
new BPD_Test;
`

what was the answer?

@jking2076 no answer yet, I am also waiting for answer.

I'm new here. What does partial mean, anyways? I know that doesn't help answer your question, but I'd appreciate the tip! I don't see any mention of partial in the docs.

This issue has been fixed in the latest version of Divi :smiley:
@bdombro You can learn about it here.

instead of full or "on" compatibility ( https://www.elegantthemes.com/documentation/developers/divi-module/compatibility-levels/ ), you can specify "partial" and not rely on jsx to render modules in VB. This mechanism uses ajax to render every change to options.

yes, it has been fixed and I am ecstatic!  Some conversions of older modules would be almost impossible, so this is good.  I hope partial is not done away with.  Creating new modules with jsx is the way to go as long as they are not complex, IMO.

@SatishKumarPrajapati Could you check to see if the issue is still present with the latest version of Divi?

@lots0logs issue has been solved with latest version.


Export to library produces empty folder when name has a trailing slash #1985

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes

Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 76.466% when pulling efe9a86a3ca60cd2818c8290b50cbfd28ac053db on arunnattarayan:patch-1 into 2f93bb969bd1a2130b942caedb098f303870d012 on node-red:master.


Unknown server protocol version

I'm trying to use the .NET pusher client and I'm having some problems.
Like this:
Pusher Warning: 0 : Websocket connection has been closed
Pusher Error: 0 : Error: System.Exception: unknown server protocol version

From what I understand, the problem is the Sec-WebSocket-Version header. The error happens on the WebSocket4Net library:
private const string m_WebSocketVersion = "Sec-WebSocket-Version";
...
if (string.IsNullOrEmpty(websocketVersion))
{
    session.FireError(new Exception("unknown server protocol version"));
    session.CloseWithoutHandshake();
    return;
}

I don't know if this is a Poxa problem or some bug on the .NET Client. Do you have any information that can help me?

The problem was on my nginx configs. I have to configure de websockets proxy as explained here


[Pods] Adding filter bar to PodInstancesView

⚠  Requires #1069 to be merged Merged!
⚠  Requires #1077 to be merged Merged!
⚠  Requires #1078  to be merged Merged!

This PR integrates the PodViewFilter to the PodDetailInstancesTab

Not all depending PRs have merged. Could you take a look at rebasing this?

Rebased on top of #1078 so make sure we merge it first ;)

Adding tests 🔍

Rebased this for you

As far as I can tell, the same tests are failing now

Other than that, I think it looks good!

@mlunoe regarding https://github.com/dcos/dcos-ui/pull/1079#issuecomment-247729293, I changed the fixtures and forgot to change all the tests. Should be fixed 👍


Null locationUrl tagging release on TFS 2017.2

Hi Colin
Thank you very much for this extension! :-)
We're getting on our way to promote our builds/releases via tagging but are experiencing the error below when trying to apply a tag in a release definition on a release:
(node:3652) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'locationUrl' of null
There is no further output from the task in the console view apart from the 'task header' and the above error message.
I believe it's from this line of code
let releaseApi = vsts.getReleaseApi(releaseResourceArea.locationUrl);
We're using TFS 2017 update 2 (on-premise with private agents), which I believe have a different API as compared to current VSTS?
If I try tagging the primary build artifact instead, I don't get any errors and build is tagged as expected.

I'm getting the same error, also on TFS 2017 update 2 on-premise.

Hi @llykke - thanks for reporting. I'll have a look at this in the next couple days.

@llykke and @Jay-Harlow Can you guys please try the latest release (1.1.174) and let me know if the task works?

I can confirm, that with release 1.1.174 I am now able to tag a release, from within the same release.
This is using TFS 2017 update 2 (on-premise).
The build tagging of the primary artifact also (still) works as expected.
I've only tested applying a single tag. I've not tested with multiple tags.
Thank you! :-)

Thanks @llykke for the confirmation!


Remove item from facts in actions (then)

Assume I had facts {name: niaz, age : 3} which I want to remove age attribute when "when" condition is true. I know I can add/modify facts but don't find a way to remove an attribute. pl guide. btw this library is excellent 👌

Hi,
To remove a fact, you can use Facts#remove method.

btw this library is excellent 👌

Thank you! Glad you like it!
Kr,
Mahmoud.


Checker

Hi! Im currently using this with your kit. Does this have version checker for APK if apk has been updated on playstore? And can this also show patch notes or change log?

It is a different thing, You actually should upload a file with the version number somewhere and use Unity's WebRequest class to read the file.
You may look a this example https://github.com/insthync/simple-version-checker

I don't know that ,Pastebin has a api to get just content or not.

@insthync Thanks for the tip tho.. Im sorry I have been asking and have been quite a hassle for some time now. But i really appreciate your doings.


fix an issue where sidebar headings dont redirect you to a 404 page

This fixes the sidebar issue where the sidebar headings lead you to a 404 page.

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


Adding auth to audio-features

Closes #47

Coverage remained the same at 93.407% when pulling 3e99e2cf9be7b62b9544510f1a65490c85022433 on fix/audio-features into 90544ff0770e2f33bbe75784ee20dec05f0fe6f8 on master.

@kdumovic Hmmm that's strange. Cause the minified version was included in there. I'll try and release a new minified version

@kdumovic Can you try with the new version?

It's working now! Thanks.
Weird though.


Minor Issue: "Qualify" doesn't show as syntax color

Noticed this today.  While working in Teradata, "Qualify" isn't recognized as part of syntax and therefore shows with the regular text color (black) instead of the sql syntax color (red).
On the list of things that are important to worry about, this is, of course, minor, but I didn't see a report of it yet.

Fixed


Remove Gitter Reference

Coverage remained the same at 100.0% when pulling 0b810b8f10d6422f111944eba2aba23e7bb09d4d on joseph-mccarthy-patch-1 into 26cffc2b4408068843864cfa5f453f5aa607bf5e on master.

Coverage remained the same at 100.0% when pulling 0b810b8f10d6422f111944eba2aba23e7bb09d4d on joseph-mccarthy-patch-1 into 26cffc2b4408068843864cfa5f453f5aa607bf5e on master.


send PR to Heterocephalus to fix up documentation

I'll do this next week.

Sent at https://github.com/arowM/heterocephalus/pull/7


lxd: fix failing builds when C headers are missing or too old

Signed-off-by: Christian Brauner<EMAIL_ADDRESS>

Testsuite passed

jenkins: test this please


support promise based interface

This will allow this library to support both callbacks and promises and let users choose whichever suits their coding style the best

Det code is so simple now that it looks fine to support both styles, but I think it gets messy with more complexity. My understanding is that promises it the way forward, so I would recommend only supporting promises.

Luckily the current scope of this library is just one method, so I don't think that the additional complexity of supporting both will be a problem.  I would prefer to support both for now, even if just for backwards compatibility for the people who are already using the uuid generator.


Allow empty index as shortcut for all colons

Indexing into a column to get all data currently requires using as many colons (or 1:N UnitRanges) as there are dimensions.  As a convenience, it would be nice if one could use empty indexing to get all data.  This also avoids having to know the dimensionality of the data, which can aid exploration of the data format.
Instead of:
antpos = table.ANETNNA[:POSITION][:,:]

one could use:
antpos = table.ANETNNA[:POSITION][]

FWIW, HDF5.jl uses this convention to read data from HDF5 Datasets.

This is in dev now, and will be in v0.2 when released.

Awesome, thanks!


Add toggle for "Show Polygons"

Make the "Show Polygons" toggle state configuration, maybe add to clientSideOptions. Show Polygons toggle can be locked behind perms so will need to check that perms are respected.

I believe it's just: https://github.com/WatWowMap/ReactMap/blob/e95b25c2eb77d4267ea6d2aa6341a20d98f6eda0/server/src/configs/default.json#L434

Thanks. Setting that to true enables the button for everyone to use but the default state of the button is off. I was hoping there'd be a way to have the state be always on.
I have gym/raid visibility on for everyone regardless of roles. Since I enabled scanNow/scanNext there are a now lots of gyms outside my defined scanning areas which can be misleading as people may think I scan those areas. Having Show Polygons always on would be helpful in this case imo
Actually now that I type this maybe I should just find where the button is defined to change the default state?

Ah yes that did the trick... Silly me.
Thanks for your time!


HBASE-27535: Separate slowlog thresholds for scans vs other requests

HBASE-27535
Scans by their nature are able to more efficiently pull back larger response sizes than gets. They also may take longer to execute than other request types. We should make it possible to configure a separate threshold for response time and response time for scans. This will allow us to tune down the thresholds for others without adding unnecessary noise for requests which are known to be slower/bigger.
This PR introduces two new dynamically configurable keys:

hbase.ipc.warn.response.time.scan
hbase.ipc.warn.response.size.scan

By default, scans will fallback to using the values of the original keys without a .scan suffix. Because of this fallback this change is a no-op by default.
I've loaded this changeset onto a test cluster and verified the intended behavior, both in the case where these values are specified and unspecified.
cc @bbeaudreault

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 57s
Docker mode activated.

 Thank you in advance 😄

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 26s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 27s
master passed

+1 :green_heart:
compile
5m 41s
master passed

+1 :green_heart:
checkstyle
1m 14s
master passed

+0 :ok:
refguide
3m 21s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotless
0m 46s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
9m 51s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 44s
the patch passed

+1 :green_heart:
compile
4m 53s
the patch passed

+1 :green_heart:
javac
4m 53s
the patch passed

+1 :green_heart:
checkstyle
1m  5s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
2m 19s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
hadoopcheck
12m 23s
Patch does not cause any errors with Hadoop 3.2.4 3.3.4.

+1 :green_heart:
spotless
0m 42s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
8m 59s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 22s
The patch does not generate ASF License warnings.

69m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile refguide

uname
Linux 67438dee7dba 5.4.0-137-generic #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Eclipse Adoptium-11.0.17+8

refguide
https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-5188/3/yetus-general-check/output/branch-site/book.html

refguide
https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-5188/3/yetus-general-check/output/patch-site/book.html

Max. process+thread count
178 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 25s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 33s
master passed

+1 :green_heart:
compile
1m 44s
master passed

+1 :green_heart:
shadedjars
4m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  6s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 28s
the patch passed

+1 :green_heart:
compile
1m 44s
the patch passed

+1 :green_heart:
javac
1m 44s
the patch passed

+1 :green_heart:
shadedjars
4m 33s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  2s
the patch passed

_ Other Tests _

-1 :x:
unit
224m  5s
root in the patch failed.

253m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 85d84fc1fdea 5.4.0-1094-aws #102~18.04.1-Ubuntu SMP Tue Jan 10 21:07:03 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Eclipse Adoptium-11.0.17+8

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/testReport/

Max. process+thread count
2463 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 22s
master passed

+1 :green_heart:
compile
1m 32s
master passed

+1 :green_heart:
shadedjars
4m 14s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 45s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 48s
the patch passed

+1 :green_heart:
compile
1m 36s
the patch passed

+1 :green_heart:
javac
1m 36s
the patch passed

+1 :green_heart:
shadedjars
4m 15s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 45s
the patch passed

_ Other Tests _

-1 :x:
unit
297m 29s
root in the patch failed.

325m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 71aa888cc99d 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Temurin-1.8.0_352-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/testReport/

Max. process+thread count
2603 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/3/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 49s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 27s
master passed

+1 :green_heart:
compile
4m 45s
master passed

+1 :green_heart:
checkstyle
1m  4s
master passed

+0 :ok:
refguide
2m 13s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotless
0m 42s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
8m 44s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 21s
the patch passed

+1 :green_heart:
compile
4m 46s
the patch passed

+1 :green_heart:
javac
4m 46s
the patch passed

+1 :green_heart:
checkstyle
1m  9s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
2m 19s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
hadoopcheck
12m 20s
Patch does not cause any errors with Hadoop 3.2.4 3.3.4.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
9m 10s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 21s
The patch does not generate ASF License warnings.

64m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile refguide

uname
Linux d938a64daf9f 5.4.0-137-generic #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Eclipse Adoptium-11.0.17+8

refguide
https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-5188/4/yetus-general-check/output/branch-site/book.html

refguide
https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-5188/4/yetus-general-check/output/patch-site/book.html

Max. process+thread count
178 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 21s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 17s
master passed

+1 :green_heart:
compile
1m 47s
master passed

+1 :green_heart:
shadedjars
4m 37s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  7s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 18s
the patch passed

+1 :green_heart:
compile
1m 49s
the patch passed

+1 :green_heart:
javac
1m 49s
the patch passed

+1 :green_heart:
shadedjars
4m 38s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  4s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
260m 34s
root in the patch passed.

290m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 4baa890ecfee 5.4.0-1094-aws #102~18.04.1-Ubuntu SMP Tue Jan 10 21:07:03 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/testReport/

Max. process+thread count
4885 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 55s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 55s
master passed

+1 :green_heart:
compile
1m 34s
master passed

+1 :green_heart:
shadedjars
4m 15s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 46s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 48s
the patch passed

+1 :green_heart:
compile
1m 34s
the patch passed

+1 :green_heart:
javac
1m 34s
the patch passed

+1 :green_heart:
shadedjars
4m 15s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 46s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
351m 26s
root in the patch passed.

380m 35s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5188

JIRA Issue
HBASE-27535

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 3c0c33e01ca9 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 269586c4cf

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/testReport/

Max. process+thread count
4362 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5188/4/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Thanks @rmdmattingly and @bbeaudreault !!


Build a Shopping Fresh Fiori App in SAPUI5

Tutorial URL: https://developers.sap.com/tutorials/cp-apim-shoppingfresh-create-fioriapp.html
Please specify the step you are referring to:
Step 3: Create SAP Fiori app
Item 7:
I get this error:
The application cannot be subscribed to product eCommerceProduct using service 'salesTrackerAPI'.  Please contact your System Administrator.

Screen shot attached.

This is suddenly now working after waiting one day.


feature: add Azerbaijani (az ) version

I did this pull request to include the work of @themahabbat

@themahabbat Are you ok with this pull request ?

Yes

Thank you


Upgrade to latest msal/browser library breaks this sample

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Upgrade current sample to latest version of msal-browser
npm install @azure/msal-browser @azure/msal-angular@latest

Click Login In Button and log in - F12 and look at console window - it has an error when trying to get the claims.
Any log messages given by the failure

core.js:6210 ERROR ClientAuthError: access_token_entity_null: Access token entity is null, please check logs and cache to ensure a valid access token is present.
at ClientAuthError.AuthError [as constructor] (http://localhost:4200/vendor.js:130540:20)
at new ClientAuthError (http://localhost:4200/vendor.js:130792:24)
at Function.ClientAuthError.createAccessTokenEntityNullError (http://localhost:4200/vendor.js:131129:12)
at Function. (http://localhost:4200/vendor.js:135387:35)
at step (http://localhost:4200/vendor.js:130119:19)
at Object.next (http://localhost:4200/vendor.js:130049:14)
at http://localhost:4200/vendor.js:130021:67
at new ZoneAwarePromise (http://localhost:4200/polyfills.js:2387:23)
at __awaiter$1 (http://localhost:4200/vendor.js:130000:10)
at Function.ResponseHandler.generateAuthenticationResult (http://localhost:4200/vendor.js:135349:12)
Expected/desired behavior

Shows table with claims detail in the home.component.html file

Browser and version?

Google Chrome Version 90.0.4430.93

Versions

This is in the project - "ms-identity-javascript-angular-tutorial/1-Authentication/2-sign-in-b2c/"

Mention any other details that might be useful

Thanks! We'll be in touch soon.

@profteck this is a known issue and a fix will be coming with the new release. For now, please downgrade to a previous version.

What I've done is create a brand new project.  I've copied the ts / html / css files from your sample project. I'm fairly new to angular!!
This is how I tried to use an earlier version
 npm install<EMAIL_ADDRESS>(installs ok)
 npm install<EMAIL_ADDRESS>(not found when I try to install)

So what I then tried is:
In the package.json file I've copied in this dependencies from the sample project.
"@azure/msal-angular": "^2.0.0-beta.3",
"@azure/msal-browser": "^2.13.1",
"core-js": "^3.8.0",
Then I use "npm install" to install any missing packages.
But I'm still getting the same error.
The only way I can get my project to work is to replace the node_modules folder from the sample project and it will then work.
But if I do an "npm install" again it goes back to the original error (which is not ideal).
I know I'm missing something.  Any ideas?
Thanks

@profteck no worries! here's how you should approach (no need to copy paste files):

delete node_modules folder and package-lock.json file
run npm cache clean --force
modify package.json as to have:

"@azure/msal-angular": "^2.0.0-beta.3",
"@azure/msal-browser": "^2.13.1",

run npm install again

The alternative approach could be to apply the temporary fix mentioned here. I'm assuming you are using sample 1.2)sign-in-b2c. There, modify app.module.ts like:
export function MSALGuardConfigFactory(): MsalGuardConfiguration {
  return {
    interactionType: InteractionType.Redirect,
    authRequest: [ "CLIENT_ID_OF_YOUR_APP" ]
  };
}

Apologies for the trouble. This will be fixed as soon as the new version releases.

@profteck a new version msal-browser and msal-angular just released. This should fix the issue, can you update your packages to the latest and give it a try again?

Hi
I tried that and yes, the error that I was having has gone.  One thing I have noticed - I'm using your sample project - "ms-identity-javascript-angular-tutorial-main\3-Authorization-II\2-call-api-b2c\SPA".
Before you log in, you get this screen:

After you log in - it used to display the following automatically:

After the update, the page has to be refreshed before this appears.
I've noticed that the claim that is returned is a different format.  This was the old format - I added a Console.log to the method - getClaims()
getClaims(claims: any) {
    this.dataSource = [
      {id: 1, claim: "Display Name", value: claims ? claims['name'] : null},
      {id: 2, claim: "Object ID", value: claims ? claims['oid']: null},
      {id: 3, claim: "Job Title", value: claims ? claims['jobTitle']: null},
      {id: 4, claim: "City", value: claims ? claims['city']: null},
    ];

    console.log(claims);
  }

.
On the latest update the claims output looks like this:

Maybe there is an update required on the sample project?
Thanks for all your help.
Ann

@profteck thanks for catching this! Will get this fixed in PR asap.

Thanks a mill.  Your samples really do help me to understand the concepts.


Temporality API

For each inference, we currently store metadata that include date of inference and derived date of the source imagery (this is currently unavailable because we are using a mosaic). The idea here is for a single project/feature type, we can use the temporality to build easy map comparisons for example with a slider.
cc @developmentseed/pearl

We can actually do this with NAIP based on @vincentsarago's work on adding yearly mosaics https://github.com/developmentseed/lulc-infra/pull/453


Relicense under dual MIT/Apache-2.0

This issue was automatically generated. Feel free to close without ceremony if
you do not agree with re-licensing or if it is not possible for other reasons.
Respond to @cmr with any questions or concerns, or pop over to
#rust-offtopic on IRC to discuss.
You're receiving this because someone (perhaps the project maintainer)
published a crates.io package with the license as "MIT" xor "Apache-2.0" and
the repository field pointing here.
TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback. However, this is not the
primary motivation for me creating these issues. The Apache license also has
protections from patent trolls and an explicit contribution licensing clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT really
require reproducing the whole thing?" I'm not a lawyer, and I can't give legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
How?
To do this, get explicit approval from each contributor of copyrightable work
(as not all contributions qualify for copyright, due to not being a "creative
work", e.g. a typo fix) and then add the following to your README:
## License

Licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.

and in your license headers, if you have them, use the following boilerplate
(based on that used in Rust):
// Copyright 2016 awesome-bot Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

It's commonly asked whether license headers are required. I'm not comfortable
making an official recommendation either way, but the Apache license
recommends it in their appendix on how to use the license.
Be sure to add the relevant LICENSE-{MIT,APACHE} files. You can copy these
from the Rust repo for a plain-text
version.
And don't forget to update the license metadata in your Cargo.toml to:
license = "MIT OR Apache-2.0"

I'll be going through projects which agree to be relicensed and have approval
by the necessary contributors and doing this changes, so feel free to leave
the heavy lifting to me!
Contributor checkoff
To agree to relicensing, comment with :
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Or, if you're a contributor, you can check the box in this repo next to your
name. My scripts will pick this exact phrase up and check your checkbox, but
I'll come through and manually review this issue later as well.

[ ] @rockneurotiko

+1

@rockneurotiko could you please do this? I believe adding a comment and clicking a checkbox is a very small move for you, but it has a large influence on the ecosystem as a whole.
Please take 15 seconds to do this.

@berkus first of all, thanks for your time.
I usually license my open source projects with Beerware license, but I'm not against the Apache license either.
I'll wait for your answer if licensing it with Beerware is enough, if not I'll just relicense under the Apache 2.0.
The Beerware license would read like this:
"THE BEER-WARE LICENSE" (Revision 42):
<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote this project. As long as you retain this notice you can do whatever you want with this stuff. If you meet us some day, and you think this stuff is worth it, you can buy us a beer in return.

I would recommend licensing under triple of Beerware/MIT/Apache-2.0 in this case, as looking at the list of compatible licenses beerware is not even mentioned, however MIT/Boost licenses are needed for gplv2 "compatibility".
Wdyt?

I like that, yeah, I'll mark the checkbox and then add the Beerware license.
Thanks for your help @berkus !

Thank you!
I'm currently porting my Kotlin bot to Rust, will send a PR with changes to the new async telegram-bot api as soon as it works.


Pick components for nrdk v2

Pick the best parts to wrap in a javascript library, like nrdk.

Address much later.


Why MRuby instead of CRuby?

CRuby is generally faster but causes more overhead than MRuby, so was it decided to use MRuby instead?

The main reason I chose to use MRuby is because I wanted something that could be compiled into a single executable file for ease of distribution. I also knew that MRuby was more portable than CRuby (with Android and WASM being my primary concerns)
Another reason is because you can keep your source code safe while distributing your game by using mrbc which to the best of my knowledge is not able to be decompiled (at least in any meaningful way).
I've not built a native extension based gem before but it feels like Taylor could be refactored to make it a possibility, but I don't have any interest in doing that myself.


Collapsed quick filter bar display issues

Description
There are at least 2 issues w/ collapsed quick filter bar displays

When a table has frozen columns and horizontally scrolls, the quick filters do not draw properly for the frozen columns

When a table has frozen columns w/ a collapsed quick filter bar, the bar does not draw on frozen columns when horizontally scrolled more than 1 column to the right

When a table has a collapsed quick filter bar, it does not extend to the right edge. This is easiest to see the inconsistency by adding a sort to the table as well (ignore the missing burger menu in this screenshot)

Versions

Deephaven: 0.11.8

Don is saying the frozen column filter and the header should get a double border, too.


doesn't work with sso

We are using SSO in our organisation where hardenks can't find credentials and it fails
hardeneks --region us-east-1 --cluster XXX --context XXXX

hi, thank you for creating an issue. I will take a look at it in the next 2 weeks.

hi, so hardeneks uses boto3 and kubernetes python api underneath. In your case boto3 should be able find the credentials using one of the methods below:
Passing credentials as parameters in the boto.client() method

Passing credentials as parameters when creating a Session object

Environment variables

Shared credential file (~/.aws/credentials)

AWS config file (~/.aws/config)

Assume Role provider

Boto2 config file (/etc/boto.cfg and ~/.boto)

Instance metadata service on an Amazon EC2 instance that has an IAM role configured.

https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html. In your case would it be feasible to use one of the above methods?

Hi Doruk ! I think a additional option to consider could be to add --profile to the arguments for selection , like the AWS CLI  aws --profile <profile name> ec2 describe-instances. At the moment, the env variables needs to be manually set before executing this project.  Happy to work on this sometime.
something like this:
hardeneks --context clustedev --region us-east-1 --cluster mycluster --profile  developerprofile

Hi, I like the idea and it makes a lot of sense. I can review and can even implement this in couple weeks (after reinvent :) )

Hi @mohan-kumar-sp

We are using SSO

Once you have logged in to AWS Console, you can try to create AWS access key then use it for login using AWS CLI.


SiriusXM continuously skipping

What version of Music Assistant has the issue?
2.4.0b4
What version of the Home Assistant Integration have you got installed?
2024.11.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When playing a radio station from SiriusXM, the station is skipping/stopping every few seconds, and the following error is occurring repeatedly in the logs:
2024-11-07 12:57:08.881 INFO (MainThread) [/app/venv/lib/python3.12/site-packages/sxm/client.py] Received status code 403 on playlist, renewing session
2024-11-07 12:57:15.286 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__
    result = await fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/client.py", line 401, in get_segment
    raise SegmentRetrievalException(
sxm.client.SegmentRetrievalException: Received status code 403 on segment, renew session
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 123, in sxm_handler
    data = await get_playlist_chunk(segment_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 88, in get_playlist_chunk
    data = await get_segment(segment_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 44, in get_segment
    data = await sxm.get_segment(path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
    return await copy(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__
    do = await self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter
    result = await action(retry_state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner
    return call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/__init__.py", line 419, in exc_check
    raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f42d0712450 state=finished raised SegmentRetrievalException>]
2024-11-07 12:57:15.295 INFO (MainThread) [/app/venv/lib/python3.12/site-packages/sxm/client.py] Received status code 403 on playlist, renewing session
2024-11-07 12:57:24.353 INFO (MainThread) [/app/venv/lib/python3.12/site-packages/sxm/client.py] Received status code 403 on playlist, renewing session
2024-11-07 12:57:30.774 INFO (MainThread) [/app/venv/lib/python3.12/site-packages/sxm/client.py] Received status code 403 on playlist, renewing session
2024-11-07 12:57:38.114 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__
    result = await fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/client.py", line 401, in get_segment
    raise SegmentRetrievalException(
sxm.client.SegmentRetrievalException: Received status code 403 on segment, renew session
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 123, in sxm_handler
    data = await get_playlist_chunk(segment_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 88, in get_playlist_chunk
    data = await get_segment(segment_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/sxm/http.py", line 44, in get_segment
    data = await sxm.get_segment(path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
    return await copy(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__
    do = await self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter
    result = await action(retry_state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner
    return call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/tenacity/__init__.py", line 419, in exc_check
    raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f42cee5b050 state=finished raised SegmentRetrievalException>]
2024-11-07 12:57:38.122 INFO (MainThread) [/app/venv/lib/python3.12/site-packages/sxm/client.py] Received status code 403 on playlist, renewing session

How to reproduce
Play any radio station from SiriusXM. In my case I was playing Holiday Traditions.
Music Providers
SiriusXM
Player Providers
Chromecast
Full log output
music-assistant.log
Additional information
No response
What version of Home Assistant Core are your running
2024.11.0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

@btoconnor

Little update, today things appear to be working fine so far. Wondering if there was some sort of service issue that could have caused the above? May still be worth looking into to see if there's a way to prevent the exception stack, but otherwise not sure if this can be reproduced if it is due to an intermittent service issue :(

@nikito thanks for the update. Indeed if this cannot be reproduced it is difficult to address.if this is still working for you then please close.

Monitored this over the weekend when I had streams going for many hours, issue did not occur again. Going to chalk this one up to some sort of API/Service issue at SiriusXM's side and close. :)


Any reason why this hasn't been submitted to the App Store?

Sorry to ask this via an issue, but it seemed the best way to reach out.
This app works really well as a way to enable U2F support on iPhones, especially given that Bluetooth Yubikeys still seem to be a long way off. I'm looking to roll it out amongst a handful of staff at my company, and I'm working out the options for how to distribute it. I can't seem to find it in the App Store, so I was wondering if that was because you didn't want to have to support it there, or if there was something in the code that made it unlikely to pass review?
(I know another option is an Enterprise certificate, I just wanted to understand if there were other options first)

There are a couple reasons I haven't published this. This first is that I don't want to deal with maintaining an app in the app store. I had been reaching out to companies that publish popular security apps to see if they would want to include the extension in their apps. One company started working on it, but the project stalled out. The other reason is that it requires a polyfill in order to work for any given site. I reached out to folks at other companies that use U2F (Google, Facebook, Dropbox, etc...). There was a bit of interest in adding the polyfill, but nothing ever happened.

Thanks for the clarification. A bit unfortunate that the polyfill causes so many issues.


ndt5: server should close download connection after 10sec

The legacy server used to close the download test connection immediately after it was done sending.
Large client populations are reported failures due to timeout because the new ndt-server waits to close the test connection until sending the TestFinalize message on the control connection.
For single-threaded clients, it is simpler to block on the test connection and then continue reading on the control connection.

Blocking https://github.com/m-lab/dev-tracker/issues/401

Resolved by https://github.com/m-lab/k8s-support/releases/tag/v1.2.5

As reported in https://github.com/ooni/probe/issues/877#issuecomment-552773939, we noticed that the issue has resurfaced for OONI, so I'm opening this issue again.
With @robertodauria today we tested a fix that, deployed on sandbox, seems to fix OONI and all other clients that assume that the server closes the connection.

Thanks to @robertodauria & @bassosimone we tracked this down to an apparent accidental regression in closing all fds while collecting performance stats in https://github.com/m-lab/ndt-server/pull/179 -- @robertodauria has a fix in progress.

@robertodauria - to confirm and then close.


Getting value from EditView always returns Some

Describe the bug
Get value from edit view using call_on_name. Always returns Some even if EditView has no content.
To Reproduce
Call get_content on EditView, from inside call_on_name
Expected behavior
I believe the design could be improved by changing field in EditView content: Rc, to EditView content: Option<Rc>.
That way we would get meaningful answer from get_content, either Some(content) or None if there is no content.

Hi, and thanks for the report!
I would say "empty content" is a valid content. As you noticed in https://github.com/gyscos/cursive/pull/570, making it optional brings quite some added complexity to handle the None case, while everything works naturally with an empty string.
As for the API, I think it is simpler by just returning access to the content, whether it's been edited or not. Most of the time users don't care if a field is empty because it was left untouched or changed and emptied again (and for those who want that, it's easier to wrap the EditView and detect if any event was received).

Fair enough, although even the "perceived" complexity when you think about it avoids unnecessary processing in number of cases where there is no content, but in general, I agree, let's keep things simple.


fix: add root folder with zip name

SFCC requires that imported zip files have a root folder with the same
name as the zip file. Before this commit, if you imported the
imgix_data.zip file to SFCC and tried to import it you'd get an error.
After this commit, the import succeeds.

Current dependencies on/for this PR:

main

PR #324   (this PR)

This comment was auto-generated by Graphite.

@frederickfogerty mind double-checking that this was in fact broken?
I couldn't get the metadata import to work as we've outlined in the docs, which is why I changed the folder structure. But if the issue is in the docs and not the repo, would rather update the PDF and not the folder structure.

Closing this as users haven't reported an issue importing the custom preferences.


Reconsider versioning scheme

For some of your suggestions, I think my hands are tied until the next major version bump. My versioning scheme is tied to Binaryen's, so until they release a new version I can't make breaking changes, bumping from 0.110.0 to 0.111.0. Perhaps tying the crate versions to Binaryen versions will turn out to be a mistake.

I think the best practice here involves semver's "build metadata".
See https://crates.io/crates/libgit2-sys/versions.
For example you might have:

wasm-opt 0.1.0+binaryen.0.110.0 (initial release)
wasm-opt 0.1.1+binaryen.0.110.0 (a nonbreaking modification of the Rust side of things)
wasm-opt 0.2.0+binaryen.0.110.0 (a Rust breaking change without Binaryen update)
wasm-opt 0.2.1+binaryen.0.110.1 (pulling in a Binaryen nonbreaking update)
wasm-opt 0.3.0+binaryen.0.111.0 (pulling in a Binaryen breaking update)

I was not familiar with build metadata. Seems like a good idea.
I have to decide how to clean up the mess I've already made for us since we're now at version 0.110.0, some projects have already integrated that version, and I don't want to bump to 1.0. Yanking every major version and dropping back to 0.1.0 will probably cause confusion for projects already working with this crate. Bumping just to 0.111.0 will cause confusion because it looks like the binaryen version but isn't.
I'm inclined to bump to 0.200.0 and start fresh. What do you think @dtolnay?

I think you should do #93 in the form of keeping wasm-opt as the name of the bin crate, which will include literally no Rust code beyond a dummy main.rs containing just #![no_main], and possibly some rustdoc. Thus it makes sense to keep its versions equal to the binaryen versions from which 100% of its source code comes. Separately you'll make a new crate name for the lib, starting at 0.1.0 + build metadata.


Incorrect footer role tag

Validating the site using https://validator.w3.org/nu/?doc=https%3A%2F%2Fdesignsystem.gov.au%2F it appears that the footer HTML element is using an unnecessary role="content-info" tag
Bug Report

[x] I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I’ve read and agree to the Code of Conduct.
[x] I’ve searched for any related issues and avoided creating a duplicate issue.

This includes updating the design system website and the footer component.

The HTML5 footer element defines a contentinfo landmark when its context is the body element
The HTML5 footer element is not considered a contentinfo landmark when it is descendant of any of following elements:

article
aside
main
nav
section

Since we don't know how our users are going to be using the footer tag, we should exclude the role="contentinfo" from the component.
Thoughts @alex-page ?

Is there a link to this justification?

@alex-page yup added

This has been fixed in #228 and can be seen here:
https://designsystem.gov.au/components/footer/rationale/


mWeb - List - Initial value required tag is not shown if list value is entered later

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.20
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Go to https://staging.new.expensify.com/home
Tap profile icon -- workspaces -- workspace
Tap more features -- enable report field
Tap report field -- add field
Enter name
Select type "list"
Enter a list value & save
Tap save & note " Initial value field" required error displayed
Enter any value and save it
Tap add field
Enter name & select type as "list" and save it.
Open the newly created field
Enter a list value and save
Note initial value field displayed but "required" label not shown

Expected Result:
Initial value required tag must be shown even if list value is entered later
Actual Result:
Initial value required tag is not shown if list value is entered later
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/9c5c88b6-ec68-4806-8c92-78bf8a1e7ca4
View all open jobs on GitHub

We think that this bug might be related to #vip-vsp

@twisterdotcom  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
Initial value required tag is not shown if list value is entered later
What is the root cause of that problem?
The initial value item is shown without rightLabel here
https://github.com/Expensify/App/blob/4c3aceb78809e751ed58fcdac2630f162e04a3dd/src/pages/workspace/reportFields/ReportFieldsSettingsPage.tsx#L112
What changes do you think we should make in order to solve the problem?
We should add rightLabel for initial value item as we do when we create the report field list value
rightLabel={translate('common.required')}

https://github.com/Expensify/App/blob/4c3aceb78809e751ed58fcdac2630f162e04a3dd/src/pages/workspace/reportFields/ReportFieldsSettingsPage.tsx#L112
OPTIONAL: We can only show the require label if the initial value is empty or we can auto assign the first value of the list as initial value when we add the value to list after creating the report field.
What alternative solutions did you explore? (Optional)
NA

Initial value required tag is not shown if list value is entered later

I'm not sure we do always require an initial value. I don't think we should require one, should we? We've never required it on oldDot:

We just shouldn't be showing the requirement for an initial value at all when creating a list ever.

We just shouldn't be showing the requirement for an initial value at all when creating a list ever.

Yeah. I too think likewise. If the List values can be empty even the Initial value can be empty as demonstrated in OldDot.
@Krishna2323 proposal LGTM to prevent showing Required for initial value and also allows to reset if already set to some value.
🎀👀🎀 C+ reviewed

Not overdue, just assigned a contributor!

How are we doing here @rojiphil?

@twisterdotcom Gentle bump on payment summary here. Thanks.

Okay, it looks like this required an update as it caused a deploy blocker: https://github.com/Expensify/App/pull/47828#issuecomment-2313139319
So you're right, 7 days after that is today. I'll update the amount to reduce to $125 though as per this:

If a PR causes a regression at any point within the regression period (starting when the code is merged and ending 168 hours (that's 7 days) after being deployed to production):
payments will be issued 7 days after all regressions are fixed (ie: deployed to production)
a 50% penalty will be applied to the Contributor and Contributor+ for each regression on an issue

Payment Summary:

@Krishna2323 paid $125 via Upwork here (Contributor)
@rojiphil paid $125 via Upwork here (C+) Needs accepting.

$125 via Upwork here (C+) Needs accepting

@twisterdotcom Accepted offer. Awaiting payment. Thanks.


Update to Swift 4.2

Update to Swift 4.2

Merged. Thanks!
https://github.com/seaburg/IGIdenticon/commit/8f81cdec30e9b02dbcfcca3b188dae30b6bea695


Gamemode ROG Ally Controller Issue

I ran an update last night and I noticed that HandyGCCS has been added. Which is fantastic. However I think on an ROG Ally there might be some config required. On my Ally which boots straight into gaming mode, specific buttons are not detected and the Xbox 360 controller seems to not be registering correctly. I'm assuming that for each 'type' of PC handheld the config file needs manual editing to set it up?

Support is inprogress: https://github.com/ublue-os/bazzite/pull/162

Oh right so is that a driver issue for the non 'standard' xbox 360 components of the Allys controller and HandyGCCS falling over. I really should have a look to see what the logs look like.
Previously after a mishap with secure boot interfering with the ability to load the 360 driver, once I sorted that out the controller part of the Ally had been behaving itself. So I'm assuming the HandyGCCS being recently added means the 'new'  service is interfering in some fashion.

Merge completed, closing.


Bump sphinx from 7.2.6 to 8.0.2 and sphinxawesome-theme from 5.2.0 to 5.3.1

Description
Bumps sphinx from 7.2.6 to 8.0.2 and sphinxawesome-theme from 5.2.0 to 5.3.1

/rebase test=true

/merge


retrieves the current Appaloosa build number for a specified app.

version = get_build_number_from_appaloosa
retrieves the current version number
version = get_build_number_from_appaloosa(with_increment: true)
retrieves the current version number an increment it by 1
version = get_build_number_from_appaloosa(group_name: "test")
retrieves the current version number of our app. parked on a specific group
0 is returned if the app is not found

Hey @sylvek,
Thanks for your fastlane pull request, this looks great!
We recently introduced the new fastlane plugin system that allows you to distribute and maintain your own plugins, and still be exposed to fastlane users.
We'd love this new action to be a fastlane plugin so people who want to use it, can easily add it to their project.
Please let us know how the integration goes, and if you need any help getting up and running 🚀

thks, i'll read that.
Regards.


Added dummy routetable for network policy only mode

Description
This PR adds a config flag for felix named RouteSyncDisabled:

The default value is false.
Setting this to true will prevent felix from doing any updates on the route table.
This is applied to all instances of RouteTable (IPv4, IPv6, VXLAN and Wireguard).

In order to make sure no operations are done against the linux routing table, a new implementation of RouteTable called DummyTable was added. While using the DummyTable all operations are skipped, enabling the use of felix as a network policy controller only.
Related issues/PRs
More information on the context for this change can be found in #5247.

Release Note
None required?

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

Thanks @juanfresia for the PR. There are multiple places need to be updated in order to add a Felix configuration.

./api directory. https://github.com/projectcalico/calico/blob/master/api/pkg/apis/projectcalico/v3/felixconfig.go and auto generated files
./libcalico directory.  CI and auto generated files

Thanks you both for the comments, I'll send a commit to address them shortly

Hi @song-jiang @fasaxc sorry for the delay. I've just updated the PR with the requested changes.

I added the same change for `IPv6, VXLAN and Wireguard, which are all the uses of RouteTable I could find.

I think IPv6 and IPv4 are quite similar; but I'm not super familiar with the other two. If you know of any side effects of this change for those, you can point me in the right direction to fix them; or maybe it'd be an alternative to keep this flag from affecting VXLAN and Wireguard.

I also changed the semantics to be RouteSyncDisabled with a omitempty config and a false default.
api and libcalico-go sub-projects have been updated (hopefully, in the right way).

Also updated the PR's original description.
Let me know if there are any more needed changes/or ideas to be added here. Since this is basically adding a Dummy implementation of an interface, I'm not quite sure which tests would be valuable here; let me know if you have any ideas here as well.

@juanfresia I've reviewed your changes and added couple of comments. Thanks!

@song-jiang Just fixed the log level as per your comment. I had left you some question regarding your other comments, what do you think would be the best alternative?

@juanfresia I'm sorry I somehow missed this thread and have been on vacation lately. Thanks for all your work.
I'd like to get input from @mikestephen on changes related to wireguard, but the rest code changes LGTM.
By the way, could you please rebase on master branch again?

Thanks @song-jiang , I'll rebase the changes

@juanfresia looks like this still needs a rebase.

/sem-approve

Hi @mikestephen! I believe @song-jiang wanted your input on this change, do you have any thoughs on this?

@juanfresia I had a chat with @mikestephen and @caseydavenport , we think at this point, the PR is good to get merged. I'll raise a follow up PR to address two improvements:

Fix Calico doc for the new

@juanfresia I had a chat with @mikestephen and @caseydavenport , we think at this point, the PR is good to get merged. I'll raise a follow up PR to address two improvements:

Fix Calico doc for the new

/sem-approve

/sem-approve

@juanfresia looks like this needs another rebase and then it's ready to go with the passing tests.

/sem-approve

Thanks @mgleung, I'll sync it again against master shortly

/sem-approve

Hi @song-jiang, you mentioned some documentation PRs missing; is there an example I can use as an example? Do you think we can merge this PR or should we keep it open until documentation is ready?
Other than that, is there anything we are missing to merge this change?

@juanfresia Sorry I missed your comment. I think we can just merge this PR. We need to do the following:

Fix Calico doc for the new felix parameter.
Make wireguard start using the routeTable interface.

I can take care both point but please let me know if you are happy to do the first one. Thanks.


build: add target configuration of "riscv64imac-unknown-none-elf"

This addition facilitates better integration and usage with IDEs like VSCode and RustRover.

You may forget to change this commit message  for accurate expression. Hope you will pay more attention in your future contribution.


Cluster Provisioning: Create Cloud Credential - DigitalOcean

Rancher version v2.6 master-head (05/18/2021) 55f0bb2
Validated while working on RKE1 DO provisioning issue https://github.com/rancher/dashboard/issues/2773


Disable TLS 1.3 in the C-core (backport to v1.31.x)

Backport #23608 to 1.31.x.
CC @matthewstevenson88

@markdroth  Do we need a -pre3 tag  for this change?

That's up to @srini100, but I don't think so.  AFAIK we don't have any specific tests that use TLS 1.3.


use citation for author list given by Gwen

Ignore the tests, since those are a master issue and not relevant to this PR.


Offchain-worker: enable http2 support

Without this, the request will fail after the protocol is upgraded.
And can this change backport to v0.9.12?

fixed by #10305


Server Deployment

[x] get a server

set up stuff on server:

[x] Clone Repository
[x] Install Pango
[x] Install pip3 and python3
[x] run pip3 install -r requirements.txt
[x] Run sudo apt install libfreetype6-dev libharfbuzz-dev
[x] Run python3 setup.py install --user

make Production Mode

[x] put the server in the autostart
[x] restart server after crash
[x] commands for (re)booting/shutting down the server
[x] logs
[x] backups for the db
[x] change database path
[x] change database type (Postgres or MySQL probably)
[x] migrations? what happens if we remove/add fields (with default value)?
[x] documentation

Migrations: https://github.com/HPI-SWA-Lab/BP2016H1/issues/188


Added updated poetry lock

Closes #47.
Updated the poetry.lock file by deleting it and running poetry install on a new environment. If this works, it should be performed every once in a while to update the files.
Or at least mention in documentation to delete the file.

poetry install failed to find setuptools 67.7.2 (present in pyproject.toml). Setuptools in poetry.lock was setuptools>68. Not sure if that's the reason. Fixed for me with poetry update setuptools and then it passed all tests.
poetry.lock file has 2 versions of setuptools noted, 67.8 and >68 in different locations. Idk why or how that works. The setuptools installed is 67.8.0 in my experience. Then tested that another new python3.10.4 env poetry installs fine with no problems and passes tests.
I think probably best to merge and come back to it if there are any more problems. If there's a ATI runner easy to setup for testing pip and poetry install we should think about having that run upon merge to main

poetry install failed to find setuptools 67.7.2 (present in pyproject.toml). Setuptools in poetry.lock was setuptools>68. Not sure if that's the reason. Fixed for me with poetry update setuptools and then it passed all tests.
poetry.lock file has 2 versions of setuptools noted, 67.8 and >68 in different locations. Idk why or how that works. The setuptools installed is 67.8.0 in my experience. Then tested that another new python3.10.4 env poetry installs fine with no problems and passes tests.
I think probably best to merge and come back to it if there are any more problems. If there's a ATI runner easy to setup for testing pip and poetry install we should think about having that run upon merge to main

Might be worth just removing the poetry.lock file as it automatically generates when someone installs the package using poetry, and doesn't actually need to be there before hand. Should fix all issues with the installation

Merging as poetry.lock was removed.


Fix fake recurcive on allOf references

Fixes #490

Coverage decreased (-20.6%) to 61.041% when pulling d3d2e3cd5f3f900ca3397bb4be76687f0b405122 on jderusse:fix-non-recurcive-allof into 6b1e8e75b030f5a19b5f8bb90438baac17f696c8 on Rebilly:master.

Looks like this is not the right way to fix the circual issue.
It goes beyond my understanding of the code. I'm closing this PR unless someone give me hints

@jderusse Any updates ? I'm burdened with the same issue

Dereferencing code became too complex. It is hard to reason about and to review this PR.
I have on-going work of rewriting parser completelly: https://github.com/Rebilly/ReDoc/tree/dereference-all
Not sure when I manage to finish it. It so far looks good but I have to test it very carefully and maybe improve it a bit more.
Also it is based on manual changes to external libraries so not sure how to procceed.
@jderusse, I'm sorry but I can't review this PR properly.
I am going to close this. If you are interested, you can look at the https://github.com/Rebilly/ReDoc/tree/dereference-all branch
Thanks for understanding and for your efforts!


[BUG] XTS Satellite Name column

Describe the bug
In the dbtvault.xts macro, the satellite name is being materialised as a column instead of a constant text. The source_model does not generate a column called SATELLITE_NAME which the macro requires to render into s.{{satellite_name}} AS SATELLITE_NAME. The
Versions
dbt: 1.0.0+
dbtvault: 0.7.9
To Reproduce
Steps to reproduce the behavior:

Create an xts.sql using this code

{{ config(materialized='incremental')         }}

{%- set source_model = 'my_dv_stage' -%}
{%- set src_pk = "CUSTOMER_HK" -%}
{%- set src_satellite = {"SATELLITE_CUSTOMER": {"sat_name": {"SATELLITE_NAME": "sat_customer_details"}, "hashdiff": {"HASHDIFF": "CUSTOMER_HASHDIFF"}}} -%}
{%- set src_ldts = "LOAD_DATETIME" -%}
{%- set src_source = "RECORD_SOURCE" -%}

{{ dbtvault.xts(src_pk=src_pk, src_satellite=src_satellite, src_ldts=src_ldts,
                src_source=src_source, source_model=source_model) }}

Click Compile then gives this

-- Generated by dbtvault.

WITH

        satellite_sat_customer_details_from_my_dv_stage AS (
            SELECT s.CUSTOMER_HK, s.CUSTOMER_HASHDIFF AS HASHDIFF, s.sat_customer_details AS SATELLITE_NAME, s.LOAD_DATETIME, s.RECORD_SOURCE
            FROM DEV001_ODS.dv.stg_ifs_customer_details AS s
            WHERE s.CUSTOMER_HK IS NOT NULL
        ),

union_satellites AS (
    SELECT * FROM satellite_sat_customer_details_from_my_dv_stage
),

records_to_insert AS (
    SELECT DISTINCT union_satellites.* FROM union_satellites
)

SELECT * FROM records_to_insert
limit 500
/* limit added automatically by dbt cloud */

Click Preview and then get this error

Server error: Database Error in rpc request (from remote system)
000904 (42000): SQL compilation error: error line 4 at position 67
invalid identifier 'S.SAT_CUSTOMER_DETAILS'

Expected behavior
The satellite name ought be included as a string output in the SELECT statement.
-- Generated by dbtvault.

WITH

        satellite_sat_customer_details_from_my_dv_stage AS (
            SELECT s.CUSTOMER_HK, s.CUSTOMER_HASHDIFF AS HASHDIFF, 'sat_customer_details' AS SATELLITE_NAME, s.LOAD_DATETIME, s.RECORD_SOURCE
            FROM DEV001_ODS.dv.stg_ifs_customer_details AS s
            WHERE s.CUSTOMER_HK IS NOT NULL
        ),

union_satellites AS (
    SELECT * FROM satellite_sat_customer_details_from_my_dv_stage
),

records_to_insert AS (
    SELECT DISTINCT union_satellites.* FROM union_satellites
)

SELECT * FROM records_to_insert
limit 500
/* limit added automatically by dbt cloud */

At first glance it looks like your metadata is wrong. Please change to:
{{ config(materialized='incremental')         }}

{%- set source_model = 'my_dv_stage' -%}
{%- set src_pk = "CUSTOMER_HK" -%}
{%- set src_satellite = {"SATELLITE_CUSTOMER": {"sat_name": {"SATELLITE_NAME": "SATELLITE_NAME"}, "hashdiff": {"HASHDIFF": "CUSTOMER_HASHDIFF"}}} -%}
{%- set src_ldts = "LOAD_DATETIME" -%}
{%- set src_source = "RECORD_SOURCE" -%}

{{ dbtvault.xts(src_pk=src_pk, src_satellite=src_satellite, src_ldts=src_ldts,
                src_source=src_source, source_model=source_model) }}

Thanks, Alex. That helps a ton. This is a lot clearer than the existing documentation which is probably where I went wrong.
The fact that I would want multiple satellites coming from one stage caused me to think that you wouldn't include a derived column but what you've specified there sheds some more light on it.

No worries. Thanks for your feedback!
I've updated the documentation, here.
Let me know if you feel that this helps clarify the current usage of the src_satellite parameter and I will close this issue.
As I mentioned, I think we can drastically reduce the complexity of the parameter to make it easier to use. I will open up a separate issue to track the change.
In the meantime I hope this helps others use the XTS macro.


fix: Use locale when formatting clock

Fixes #1393
When formatting the clock, pass the locale to the fmt function.

Thanks!


ES6 (esnext:true), jshint says "Foo is not defined"... but it's defined!

I have some code that looks like
import _ from 'underscore';
import template from 'header.hbs';
import ViewBase from 'ViewBase';

/**
 * @class Header
 * @extends {ViewBase}
 */
export default
class Header extends ViewBase {

  /*
   * Method documentation.
   */
  someMethod() {
    // ...
  }
}

// Other stuff to document for the Header class, using underscore to extend the prototype.
_(Header.prototype).extend({

  /*
   * @property {Function} template A handlebars template function.
   */
  template: template
});

and jshint says
/path/to/views/header.js
  line 21  col 3  'Header' is not defined.

  ⚠  1 warning

The app works, Header is defined, and the template loads. This seems like a bug with the esnext feature.

I found the problem. jshint fails with
export default class Name extends Other {}
console.log(Name); // error, Name is not defined.

but works with
class Name extends Other {}
console.log(Name); // no error
export default Name;

Is that a problem with jshint? Or is there something in the ES6 spec that prevents the default export from being used after being exported?

When part of an export statement, the class becomes a ClassExpression, not a ClassDeclaration. ClassExpressions do not create a new entry in the environment record.

@jugglinmike This was the case, but changed at some point in the last 6 months (I don't have the bandwidth to search at the moment), but this should suffice: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports-runtime-semantics-evaluation


document installation for macOS

Address 3rd review 2nd round "conda installation on macOS difficult".

working on branch feature/macos. in addition, also a notebook.


Feature request: Allow overlapping matchers

It seems like overlapping matchers end up raising an error.  It would be helpful if matchers could simply take precedence over each other, e.g. according to the order in which they are specified.
This could allow specifying default (non-null) behavior for a function as well as a different result for specific inputs.
This would make it easy to effectively implement https://github.com/TypeStrong/ts-mockito/issues/41 on my own.

Can you provide a code sample of what you expect and what is not working as expected?


The milvus.milvus.io stunk in Deleting status

Hi, I was trying to delete a milvus using kubectl delete -f milvus-sample.yml, however the deleting was stunk, even the --force --grace-period=0 won't help.
When describing milvus, it was stunk in Deleting status.
NAME                             MODE         STATUS     UPDATED   AGE
milvus.milvus.io/milvus-sample   standalone   Deleting   True      91m

It could be stunk for hours. During the stunk, no Error was seen in the milvus-operator pods logs. The pod utilization was also not high.
Btw, I re-deployed the milvus-operator before I deleted the milvus. Would this be an issue?

@yuzs2 Thank you for the feedback. It's a bug of assuming foreground deletion. it's fixed in #51. The patch will be included in next release (v0.8.6).
For now you can delete it by kubectl delete --cascade=foreground.


Feat/kne startup config

closing because this will obviously require bunches of rework later anyway. also considering eliminating the container lab and kne apis and just having topology and then letting clabverter convert stuff into that format (from either source topo kind)


fix links to code types in specification 3.14, 3.15 and 3.16

Currently, all links to code types lead to 3.17 page, even from other versions

@NTaylorMullen can you please have a look.
The idea of the linking is still that we can restructure the document. To not force use to do this for older versions I would argue that we better not offer linking for the old versions. I want to ensure we are not causing any maintenance effort in those.
@corentinguillerme I see that you did the work for the old documents. It might not make it due to the argument above. I hope that is OK for you.

I see, it's OK for me.
In that case, maybe it would be better to remove the links in the old documents instead of linking them to another version (as it is now)?
This will prevent a user from unintentionally changing versions by clicking on these links.

@NTaylorMullen friendly ping

To not force use to do this for older versions I would argue that we better not offer linking for the old versions.

Ya that's a fair point. However, we couldddd potentially not change the older document styles/structure and only change the newer ones. Not sure how much we care about consistency

I think it is fine to only update the 3.17 specification with the links.

@NTaylorMullen could you please look into scoping the link work to >= 3.17.

https://github.com/microsoft/language-server-protocol/pull/1373

@NTaylorMullen  #1373 didn't work. See my comment in the PR.

I will close the PR since it got very stale due to inactivity.


[suggestion] Button to reset filter text

Would it be possible to add a button to clear the text in the search/filter bar and place cursor in the bar so you can start typing your next search?
Very rough example:

As a quick solution for now, I updated the search input to have the correct type, which automatically comes with such a button in Chrome:

It doesn't work on Firefox, but I'm not sure when I'll get some more time to work on this project so I decided to go with this tentative solution for now, until I have a cross-browser one.


Docs workflow is failing

The publish-docs workflow has been failing for the last few tries.

Fixed in accd9f5b696f82e79605d3869525496abec6e4bb.


GMGridViewCell ExportAttribute selector is wrong, breaks build

[Export("initWithFrame:frame")]
public GMGridViewCell (CGRect frame) : base(frame)
Should be
[Export("initWithFrame:")]
public GMGridViewCell (CGRect frame) : base(frame)

I merged your PR and published 0.0.9 of the package to Nuget just now. Should be updated within a couple of minutes. Thanks for noticing and providing a fix!


fix: resolve peerDependencies issues

Description
This updates a number of components' package.json files, where the versions of dependencies listed as peerDependencies did not match the versions listed as devDependencies.
Another team tried to install @spectrum-css/card via npm install and encountered an "unable to resolve dependency tree" error. This error is due to how npm handles peer dependencies in versions newer than 6.x.x. Running npm install xxxx --legacy-peer-deps will get around this issue, but shouldn't be relied upon in long-term scenarios. There's a good Stack Overflow post here with more information.
Specifically for Spectrum CSS, it appears that we have incorrect peer dependencies defined in a few of our packages which is causing this issue. This PR should fix that issue.
How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

[ ] This pull request is ready to merge.

@lazd @GarthDB am I missing anything here? Is there any danger in bumping to these newer versions?

I think this is good, but isn't gulp checkPeerDependencies supposed to do this automatically? Looks like there's a bug in there! Perhaps we should investigate why this script (which runs before every release) is missing the peer deps in this PR? https://github.com/adobe/spectrum-css/blob/main/gulpfile.js#L32-L64

Great thought. I'll dig into it. It would be nice to have this covered automatically and I'm suspicious as to why it didn't catch these.

Closed in favor of #1444


Table scrolling

Looks like the project "GoTop" implemented this feature: https://github.com/cjbassi/gotop/blob/35223403c1b9cb3c12aaf485f964a9905d694745/src/termui/table.go


Integration with official Prometheus ruby client

Thanks for the great gem. It worked like a charm.
I was, however, wondering if there was any best practice for integrating this with the official ruby client so that the /metrics endpoint exposes both Rails and Sidekiq metrics?
Appreciate any pointers.

You are welcome ❤
Can you please clarify a bit what do you mean? Maybe you can share some examples or links?
Official ruby client more/less do exactly the same, but with lots of additional functionality, you can create your own metrics and exporter can easily chip them in. If you mean something like "how can I chip in these metrics with my Rails metrics I already have" the answer will be not so easy.
The official client holds pre-aggregated counters/gauges, here we do on-demand computations. And if you run sidekiq as a separate service/process you just can't merge them together or we should use multi-process handler from official library

Hey @duboff, is everything fine? Does the answer close your question?

@Strech Yes, all good. It occured to me that it would be good to expose all metrics together, but we eventually decided to switch to Discourse's Prometheus exporter that does both Rails & Sidekiq metrics.

@duboff 👍 thanks


i18n(ko-KR): update configuration.mdx

Description

update configuration.mdx
#1958
#1530

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
reference/configuration.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Watch callback not triggered for '$props' of router-view

Version
Latest
Reproduction link
https://jsfiddle.net/clickemdianh/z0ofevy6/43/
Steps to reproduce

On the Home page, click on "Driver 1" to open the view of driver 1
On that view, click on "Driver 2"

What is expected?
Watcher for '$props' should be triggered (as the props 'uuid' has been changed from 1 to 2) to load data corresponding to new props
What is actually happening?
Watcher is not triggered

It is likely that in case of '$props', oldProps and newProps refer to the same object


Change manufacturer and device name

Every example I searched for ESP8266 / ESP32 and alexa integration found out to be just a faking of some existing device protocol like Philips Hue or WemO
You have done a great work as this is only code that work seamlessly with my devices, and my Alexa Echo dot discovered all added device immediately.
But what i'm searching for is to add native discovery to my device. Like Alexa should be able to understand my device name and company/manufacturer name after discovery, as i want to use for production purpose. I need similar SSDP like functionality for my devices.
I tried searching for it but could find a proper documentation.
Do you have any idea about how it can be done?

I'm glad that you like my code, thank you!
Alexa is fully closed source, which means sadly we can only use the protocols that are supported, as-is. I'm only aware of the WeMo and Philips protocols which work locally without an external server. I've just tested if I could change the manufacturer name in the protocol, but as soon as I change it to anything but "Royal Philips Electronics", discovery fails.
Furthermore, I don't understand why Alexa doesn't has a properly customizable and reliable local API... Beause hue lights primarily rely on a cloud service also, even this Philips local API may get removed without notice, rendering Espalexa and any projects relying on it useless.
I hope this will happen later rather than sooner, but for this reason and because it's not possible to change the manufacturer name, I have to advise against using Espalexa for anything but hobbyist use, as much as I'd love to see it deployed on a production scope.
If you are a smart device manufacturer, Amazon seems to expect you to have a fully working cloud service that can control your devices and to be willing and able to write an Alexa "skill" to support it. Of course, having such a complicated online infrastructure is near impossible to achieve for individuals and smaller companies and also introduces other risk factors like downtimes, account management and security. It makes me really sad that there isn't an "official" way to connect local devices and in my opinion, this is a big oversight from the Alexa development team.
I'm so sorry that I'm not currently in the position to offer something to you that would satisfy your use case.

Ive done this finally long back, as was searching through many docs of  Alexa Voice service and found one method to do it officially.
Obviously you cant do it locally.
Ive setup my cloud with oAuth2 user and device management support.
And my device has MQTT running on it.
So Flow is like:
Alexa App->Alexa-skill->AWS Auth->My Cloud Page for login and Auth->Returns Auth Token for reuse latter.->Skill Connected for a user.->Back to skill->Run Device Discovery
Run Device Discovery from skill->Check for user Auth->Alexa Lambda with discovery code->Connec to My cloud with last token->Fetch all Registered devices->Alexa speaks # devices discovered.
Alexa Voice command->Alexa Device->Alexa-skill->AWS Lambda for skill->Call MQTT command with specific topic for that device to turn on/off
Lot of work but I have everything..
So working fine.
Im still searching for better MQTT security with oAuth and other things.
Hope this will help someone as Ive not found any blog or docs for this yet.


[Volunteer] exclusion log4j dependency in shenyu-bootstrap

Volunteer help
exclusion log4j dependency in shenyu-bootstrap

see https://github.com/apache/incubator-shenyu/pull/3170


Specify output tensor for ops from python

Sometimes for efficiency it's good to specify the memory in which to write the output of an op (e.g writing to a contiguous part of memory from two functions to save a concat call). Is this supported (it's not in the docs)?

Do you have a use case for it in mind?
Tensorflow is trying to optimize memory layout for you. It needs to do that in order to decide on plan for optimal utilization of your compute resources like cpu / gpu(s).

yeah -- say i want to do, W1x1 + W2x2, where x1 and x2 are the outputs of respective subgraphs. It is more efficient to specifically tell each subgraph to write x1 and x2 to a contiguous block of memory, such that W1x1 + W2x2 becomes W*[x1 x2]. This comes up in complicated recurrent networks.
I was looking at the code and I see that the op kernels themselves do take outputs to fill. Is it hard to expose that to the python interface? if not, could you maybe tell me how to start and I look into it myself?

Ok, I understand what you are trying to do. But I'm not sure why would you want to do it from python. Python is great high level abstraction to express your algorithm. The memory layout has to be under control of execution framework (C++ code in tf). Don't worry it is doing a good job there. And certainly will do even better in future.
If you really want to do it... I don't think it is currently exposed in python. But take a look at swig wrappers. There is already some swig infrastructure in place. You can expose a lot more (all of it) in swig wrappers and you will have access to everything.
BTW: Just the example you say sounds like premature optimization you may not want to do by hand. Think you it. You will have 2 GPUs. Tensorflow will compute those two subgraphs outputs one on each GPU. x1 on gpu0 and x2 on gpu1. It may already have there even the weights - W1 on gpu0 and W2 on gpu1. It can do those two multiplications on the two gpus and just add the result. If you try manually force creating one vector W and one X you will spend a lot of time copying a lot of data. And that is slow.

I think TensorFlow should probably handle this underneath rather than giving control over to the user (which would permit user-caused bugs).  We probably don't do the most optimal things today but over time we hope to evolve to automatically do this.