[SR SQL Planner Summer Camp] Support RoutineLoadStop Statement in new Parser and Analyzer

What type of PR is this：

[ ] feature

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/starrocks/issues/7949
Problem Summary(Required) ：

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 67 / 153 (43.79%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
0
39
00.00%
[1157, 1158, 1159, 1161, 1162, 1163, 1165, 1170, 1171, 1172, 1174, 1175, 1176, 1178, 1183, 1184, 1185, 1187, 1188, 1189, 1191, 1196, 1197, 1198, 1199, 1201, 1202, 1203, 1205, 1206, 1207, 1209, 1210, 1211, 1212, 1214, 1215, 1216, 1218]

:large_blue_circle:
com/starrocks/analysis/FunctionalExprProvider.java
0
7
00.00%
[145, 147, 148, 149, 151, 153, 154]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
4
00.00%
[834, 835, 836, 838]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
1
00.00%
[936]

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
4
25.00%
[316, 320, 324]

:large_blue_circle:
com/starrocks/sql/analyzer/ResumeRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/StopRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/PauseRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/analysis/ShowRoutineLoadStmt.java
14
25
56.00%
[133, 139, 140, 142, 177, 184, 187, 188, 189, 192, 228]

:large_blue_circle:
com/starrocks/analysis/ResumeRoutineLoadStmt.java
7
8
87.50%
[74]

:large_blue_circle:
com/starrocks/analysis/StopRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/analysis/PauseRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowStmtAnalyzer.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 67 / 165 (40.61%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
0
39
00.00%
[1157, 1158, 1159, 1161, 1162, 1163, 1165, 1170, 1171, 1172, 1174, 1175, 1176, 1178, 1183, 1184, 1185, 1187, 1188, 1189, 1191, 1196, 1197, 1198, 1199, 1201, 1202, 1203, 1205, 1206, 1207, 1209, 1210, 1211, 1212, 1214, 1215, 1216, 1218]

:large_blue_circle:
com/starrocks/analysis/FunctionalExprProvider.java
0
7
00.00%
[145, 147, 148, 149, 151, 153, 154]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
16
00.00%
[837, 838, 839, 841, 846, 847, 848, 850, 855, 856, 857, 859, 864, 865, 866, 868]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
1
00.00%
[936]

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
4
25.00%
[316, 320, 324]

:large_blue_circle:
com/starrocks/sql/analyzer/ResumeRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/StopRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/PauseRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/analysis/ShowRoutineLoadStmt.java
14
25
56.00%
[133, 139, 140, 142, 177, 184, 187, 188, 189, 192, 228]

:large_blue_circle:
com/starrocks/analysis/ResumeRoutineLoadStmt.java
7
8
87.50%
[74]

:large_blue_circle:
com/starrocks/analysis/StopRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/analysis/PauseRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowStmtAnalyzer.java
4
4
100.00%
[]

22:25:21 [ERROR] /root/starrocks/fe/fe-core/src/main/java/com/starrocks/sql/analyzer/Analyzer.java:[415,51] cannot find symbol
22:25:21   symbol:   class ShowRoutineLoadStmt
22:25:21   location: class com.starrocks.sql.analyzer.Analyzer.AnalyzerVisitor
22:25:21 [INFO] 1 error
22:25:21 [INFO] -----------
@shshenhua Hi, the FE compiled failed.

[delete visitShowRoutineLoadStatement method and ShowStmtAnalyzer has …](/StarRocks/starrocks/pull/8985/commits/abd5c6ebfab43a968c53c553f563495bd2430664) …
[abd5c6e](/StarRocks/starrocks/pull/8985/commits/abd5c6ebfab43a968c53c553f563495bd2430664)
…visitShowRoutineLoadStatement method

@shshenhua
delete visitShowRoutineLoadStatement method and ShowStmtAnalyzer has …
abd5c6e
…visitShowRoutineLoadStatement method

[FE PR Coverage Check]
:disappointed: fail : 67 / 165 (40.61%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
0
39
00.00%
[1329, 1330, 1331, 1333, 1334, 1335, 1337, 1342, 1343, 1344, 1346, 1347, 1348, 1350, 1355, 1356, 1357, 1359, 1360, 1361, 1363, 1368, 1369, 1370, 1371, 1373, 1374, 1375, 1377, 1378, 1379, 1381, 1382, 1383, 1384, 1386, 1387, 1388, 1390]

:large_blue_circle:
com/starrocks/analysis/FunctionalExprProvider.java
0
7
00.00%
[145, 147, 148, 149, 151, 153, 154]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
16
00.00%
[944, 945, 946, 948, 953, 954, 955, 957, 962, 963, 964, 966, 971, 972, 973, 975]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
1
00.00%
[936]

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
4
25.00%
[351, 355, 359]

:large_blue_circle:
com/starrocks/sql/analyzer/ResumeRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/StopRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/PauseRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/analysis/ShowRoutineLoadStmt.java
14
25
56.00%
[133, 139, 140, 142, 177, 184, 187, 188, 189, 192, 228]

:large_blue_circle:
com/starrocks/analysis/ResumeRoutineLoadStmt.java
7
8
87.50%
[74]

:large_blue_circle:
com/starrocks/analysis/StopRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/analysis/PauseRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowStmtAnalyzer.java
4
4
100.00%
[]

22:25:21 [ERROR] /root/starrocks/fe/fe-core/src/main/java/com/starrocks/sql/analyzer/Analyzer.java:[415,51] cannot find symbol 22:25:21 symbol: class ShowRoutineLoadStmt 22:25:21 location: class com.starrocks.sql.analyzer.Analyzer.AnalyzerVisitor 22:25:21 [INFO] 1 error 22:25:21 [INFO] -----------
@shshenhua Hi, the FE compiled failed.

delete visitShowRoutineLoadStatement method and ShowStmtAnalyzer has visitShowRoutineLoadStatement method
abd5c6e

run starrocks_admit_test

@shshenhua Hi,  com.starrocks.analysis.ShowRoutineLoadStmtTest.testNormal the UT failed.

@shshenhua Hi, com.starrocks.analysis.ShowRoutineLoadStmtTest.testNormal the UT failed.

fix testNormal
1363ec8

SonarCloud Quality Gate failed.
  0 Bugs   0 Vulnerabilities   0 Security Hotspots   33 Code Smells
 0.0% Coverage  20.5% Duplication

this pr contains stop,pause,resume,show routine load codes, so some codes duplication
please tell me how can resovle this problem
maybe I close this pr and resubmit pr, one pr contains one routine load
@kangkaisen

[FE PR Coverage Check]
:disappointed: fail : 67 / 165 (40.61%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
0
39
00.00%
[1330, 1331, 1332, 1334, 1335, 1336, 1338, 1343, 1344, 1345, 1347, 1348, 1349, 1351, 1356, 1357, 1358, 1360, 1361, 1362, 1364, 1369, 1370, 1371, 1372, 1374, 1375, 1376, 1378, 1379, 1380, 1382, 1383, 1384, 1385, 1387, 1388, 1389, 1391]

:large_blue_circle:
com/starrocks/analysis/FunctionalExprProvider.java
0
7
00.00%
[145, 147, 148, 149, 151, 153, 154]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
16
00.00%
[945, 946, 947, 949, 954, 955, 956, 958, 963, 964, 965, 967, 972, 973, 974, 976]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
1
00.00%
[936]

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
4
25.00%
[356, 360, 364]

:large_blue_circle:
com/starrocks/sql/analyzer/ResumeRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/StopRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/PauseRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/analysis/ShowRoutineLoadStmt.java
14
25
56.00%
[133, 139, 140, 142, 175, 182, 185, 186, 187, 190, 226]

:large_blue_circle:
com/starrocks/analysis/ResumeRoutineLoadStmt.java
7
8
87.50%
[74]

:large_blue_circle:
com/starrocks/analysis/StopRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/analysis/PauseRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowStmtAnalyzer.java
4
4
100.00%
[]

SonarCloud Quality Gate failed.
  0 Bugs   0 Vulnerabilities   0 Security Hotspots   33 Code Smells
 0.0% Coverage  20.5% Duplication

this pr contains stop,pause,resume,show routine load codes, so some codes duplication please tell me how can resovle this problem maybe I close this pr and resubmit pr, one pr contains one routine load @kangkaisen

Which is OK.  you could rebase the latest main code and we will merge this pR.

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 67 / 165 (40.61%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
0
39
00.00%
[1423, 1424, 1425, 1427, 1428, 1429, 1431, 1436, 1437, 1438, 1440, 1441, 1442, 1444, 1449, 1450, 1451, 1453, 1454, 1455, 1457, 1462, 1463, 1464, 1465, 1467, 1468, 1469, 1471, 1472, 1473, 1475, 1476, 1477, 1478, 1480, 1481, 1482, 1484]

:large_blue_circle:
com/starrocks/analysis/FunctionalExprProvider.java
0
7
00.00%
[145, 147, 148, 149, 151, 153, 154]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
16
00.00%
[946, 947, 948, 950, 955, 956, 957, 959, 964, 965, 966, 968, 973, 974, 975, 977]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
1
00.00%
[934]

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
4
25.00%
[367, 371, 375]

:large_blue_circle:
com/starrocks/sql/analyzer/ResumeRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/StopRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/sql/analyzer/PauseRoutineLoadAnalyzer.java
7
13
53.85%
[13, 18, 19, 20, 22, 23]

:large_blue_circle:
com/starrocks/analysis/ShowRoutineLoadStmt.java
14
25
56.00%
[133, 139, 140, 142, 175, 182, 185, 186, 187, 190, 226]

:large_blue_circle:
com/starrocks/analysis/ResumeRoutineLoadStmt.java
7
8
87.50%
[74]

:large_blue_circle:
com/starrocks/analysis/StopRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/analysis/PauseRoutineLoadStmt.java
7
8
87.50%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowStmtAnalyzer.java
4
4
100.00%
[]


Crash when loading UGRID data as NetCDF

To reproduce:

Import the following dataset as NetCDF-CF and then create/enable an Image renderer:

/glade/campaign/cisl/vast/vapor/data/Source/UGRID/NOAA-geoflow/large/*

Related to #3650


Change currency in create listing dialogue is broken

Operating System: Linux Mint LMDE2
OpenBazzar version:
OpenBazaar-Client: git ID:f618035 downloaded 2016-Feb-19 18:36:47 UTC
OpenBazaar-Server: git ID:922cc80 downloaded 2016-Feb-14 20:20:38 UTC
Reproducible: Always
Steps to reproduce:

Click Discover
Click Create Listing
Click "Change currency"
Change from "BitCoin" to "Australian Dollar"
Click "Save Changes"

Observed Behaviour:
Error: Data could not be saved.   Database is locked
Expected Behaviour:
Save of the changed currency

OpenBazaar-Server Console Traceback:
https://gist.github.com/ac225519/88ba7cf63728aec2e6d6

If your database is locked, that's probably not specific to changing currency. We've seen this a few times, we're working on updates to the server that will prevent this.

And closing this issue is helping being reminded to check that the fix in the server code also fixing this reproducible issue ? @hoffmabc @jjeffryes

I can't reproduce it on the client, and I believe we've already fixed the issue in the server.


Implement STM part 6

Codecov Report

Merging #40 (cbda798) into main (e008f18) will not change coverage.
The diff coverage is 62.50%.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   71.96%   71.96%
=======================================
  Files           1        1
  Lines         938      938
  Branches      261      261
=======================================
  Hits          675      675
  Misses         32       32
  Partials      231      231

Impacted Files
Coverage Δ

include/hspp.h
71.96% <62.50%> (ø)

Continue to review full report at Codecov.

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


Print bazelisk version formation when running 'bazel version'

The version information is detected from git tags, with a fallback
to the latest git commit.
Fixes #65

@zegl Thanks a lot! :) I'll merge this!
@fweikert FYI, we should try to change our build.sh script to use Bazel to build the release binaries and verify that the version number has been correctly embedded when we do the next release :)


fix(api): throw error if no valid nozzle has tip

Provide a check in all LLD functions(called manually or automatically during aspirate) that makes sure that if it's a 96-channel pipette, that at least one of the nozzles with a pressure sensor has a tip on it.

Overview

Test Plan

Changelog

Review requests

Risk assessment

Some thoughts on this pertaining to partial tip: Do we intend to allow LLD when handling partial tip configurations? Partial tip layouts of our pipettes can result in situations where the tip sensor is not actually covered by the tips we pick up, which could complicate this kind of check. Theres a handful of approaches to take to that problem, the simplest is probably to raise an error if you are attempting LLD with a partially configured pipette. The second case we could attempt is to only ensure we check for tips on the valid nozzles when we are in Full configuration, otherwise don't bother checking.
Long term, we may want an adaptive approach, where we only check for validation if we are in a pipette configuration that should result in tips overlapping with sensors. This would be the most "accurate" approach, but would introduce a double standard for some configurations, but not others.

The current implementation fixes this I think @CaseyBatten


Parallel task(s) keep on running since v2.2

Hello,
Since parallel v2.2 - the parallel tasks in grumphp keep on running on CI:
https://github.com/phpro/grumphp/actions/runs/4831876707/jobs/9024673371
I am not able to consistently reproduce this on my local machine - but CI does consistently keep on hanging.
The times that I can reproduce, It looks like 1 tasks is not being completed anymore for some reason.
As you can see, the github actions with amp v2.1 (prefer-lowest dependencies) work as expected.
Any clue what could go wrong in this new version of amphp/parallel?
FYI, grumphp's parallel implementation can be found in these 3 filed:

https://github.com/phpro/grumphp/blob/v2.x/src/Runner/Middleware/HandleRunnerMiddleware.php - awaits alll tasks to be done
https://github.com/phpro/grumphp/blob/v2.x/src/Runner/Parallel/SerializedClosureTask.php - the parallel task
https://github.com/phpro/grumphp/blob/v2.x/src/Runner/TaskHandler/Middleware/ParallelProcessingMiddleware.php - the configuration that submits  a single execution of a parallel task

I assume this is due to 37850ff591155c6f5c662173c3fc75682752c918, which was also reported in #179 with tasks hanging. I'm not seeing why this might be happening, and the tests aren't revealing the issue either.

Please update to v2.2.1 and let me know if this fixes your issues.

Yes, that works. Thanks for fixing! :)


add fuse canonical bridge

I am pretty confident that WBTC is fuse canonical, but it doesn't appear you can bridge it any longer


Add Learn Enough Command Line to Be Dangerous

:+1:, although I would note that the book is still currently a draft. I am sure the final edition will still be free. Noting that it is a draft tells someone that all information is not final and may contain errors.


(addons/karpenter): Deployment fails due to missing CRD

Describe the bug
The blueprint deployment fails due to missing CRD for NodePool:
Message returned: Error: b'error: resource mapping not found for name: "default-nodepool" namespace: "" from "/tmp/manifest.yaml": no matches for kind "NodePool" in version "karpenter.sh/v1beta1"\nensure CRDs are installed first\n'
Expected Behavior
Succesfull deployment
Current Behavior
Message returned: Error: b'error: resource mapping not found for name: "default-nodepool" namespace: "" from "/tmp/manifest.yaml": no matches for kind "NodePool" in version "karpenter.sh/v1beta1"\nensure CRDs are installed first\n'
Reproduction Steps
Deps:
"@aws-quickstart/eks-blueprints": "^1.14.0",
"aws-cdk-lib": "2.133.0",
new blueprints.addons.KarpenterAddOn({
        version: 'v0.34.3',
        nodePoolSpec: {
            requirements: [
                {key: 'karpenter.k8s.aws/instance-category', operator: 'In', values: ['t']},
                {key: 'kubernetes.io/arch', operator: 'In', values: [ 'arm64']},
                {key: 'karpenter.sh/capacity-type', operator: 'In', values: ['spot']},
            ],
            disruption: {
                consolidationPolicy: 'WhenEmpty',
                consolidateAfter: '30s',
                expireAfter: '20m'
            }
        },
        ec2NodeClassSpec: {
            amiFamily: 'AL2',
            subnetSelectorTerms: [{tags: {'Name': `${stackName}/${stackName}-vpc/PrivateSubnet*`}}],
            securityGroupSelectorTerms: [{tags: {'aws:eks:cluster-name': clusterName}}],
        },
        interruptionHandling: true,
    })

Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.134.0
EKS Blueprints Version
1.14.1
Node.js Version
v18.17.0
Environment details (OS name and version, etc.)
macOS
Other information
No response

@flo-mair making sure I understand - this is brand new cluster that you are provisioning and not an upgrade of an existing cluster, e.g. moving from lower versions of Karpenter to post 0.32?

yes this is a new cluster

on a new cluster, the Karpenter helm chart should always be installing the CRDs on first install only.
For subsequent installs, #962 will fix this (and as a workaround for this -- but what is the root cause here?)

@jsamuel1 i did several creates of a cluster and always ran into the same issue. Maybe its because I'm using K8s version 1.29? I also tried using blueprints v1.13.1


[doc][hive] update hive config

Purpose of this pull request

reslove https://github.com/apache/seatunnel/pull/8169#discussion_r1867084784

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

@Hisoka-X PTAL


Unable to install on Rasperry CM1 (Revolution Pi)

SerialPort version: 4.0.7
NodeJS Version: 7.2.1
Operating System and Hardware Platform: Revolution Pi (debian wheezy RT-patch)
Are you using an alternative NodeJS runtime? (eg Electron): no
Summary of Problem
Installation quit with error
Steps and Code to Reproduce the Issue
Same Problem with RPi 1 on jessie (non RT-patch)
npm-debug.zip
Help please :)
Thanks,
Martin

That version hint of gcc did the trick. I updated to gcc 4.8 (before I had 4.6). Installed again with --unsafe-perm and finally I could install it.
Thank you
Martin


Pushing a Character Map does not Update Pivot Points or Transform

When pushing a character Map in Unity it seems pivot points from Spriter are not applied, so if I am replacing a Sprite with another one that has a different pivot point then the plugin will simply replace the sprite without changing it's position. Is there any way to fix this or will I have to draw character maps that have exact pivot points.
Original Sprite Pivot Point

Replacement Sprite and Pivot Point

How it looks in spriter

How it appears in Unity

Hey, this looks like a bug. Thanks for reporting.
I think I know what the issue is but just to confirm - do you set any pivot points in animations themselves or just directly on sprites?

I set the new pivot points on the sprites themselves in Spriter.


test: setup jest to test doctor.test.ts

This PR begins an incremental shift away from mocha toward jest for prisma/cli integration tests.
So far Just the doctor test suite is switched over.

I refactored a few things, should be good to go I think.

Looks a lot better to me 💚


No language server is associated with this buffer

Hello, thanks for making this! I'm having trouble getting it working though. Maybe I am misunderstanding how to make it run. I have the following in my .emacs:
(use-package lsp-mode
  :init
  :hook
  (f90-mode . lsp-mode)
  :config
  (use-package lsp-ui
    :ensure f
    :after flycheck))
(use-package lsp-fortran
  :after lsp-mode)

But when I run lsp-capabilities, I get "No language server is associated with this buffer". I have run lsp-fortran-enable but that didn't make any difference.
toggle-debug-on-error also didn't stop on any errors, so I don't know what's going wrong. I do get messages in the log like "Error during redisplay: (eval (lsp-mode-line)) signaled (wrong-type-argument lsp--workspace nil)", but I can't seem to get more information than that.
Am I missing something?

Sorry, I just found the problem! I should use:
  (use-package lsp-mode
    :init
    :hook
-   (f90-mode . lsp-mode)
+   (f90-mode . lsp-fortran-enable)
    :config
    (use-package lsp-ui
      :ensure f
      :after flycheck))

Hi, no problem
Actually your configuration is noteworthy for the README.
Best regards
Magnus


store decoded logs in build metadata (and make it configurable)

+ resolve this FIXME https://github.com/DBuildService/dock/blob/626314e8dea3078d2e034a8639245431280aa69b/dock/util.py#L325

This is no longer relevant. wait_for_command is currently about 20 lines: https://github.com/containerbuildsystem/atomic-reactor/blob/134698cc09832d8d9618c68597c600c0ca0ad7e7/atomic_reactor/util.py


Adapt code to newer networkx version

Hi,
I'm using networkx 2.6.1 and got two errors in pytopkapi/pretreatment.py.
To fix the errors I had to change:

change line 194:
from
ar_label_sort = np.array(nx.topological_sort(network_dag))
to
ar_label_sort = np.array(list(nx.topological_sort(network_dag)))

change line 201:
from
dag_copy = nx.copy.deepcopy(network_dag)
to
dag_copy = network_dag.copy()

heavens above! thank you!!


Sequence abort: The sequence abort does not work when applied on waiting state

Your issue may already be reported! Please search on the issue tracker before creating a new one.
Environment

Client OS (e.g., Linux, macOS, Windows): Windows
Keptn Version (keptn version):  0.10.0-next.1
Kubernetes Cloud Provider (e.g., GKE, AKS):
Kubernetes version (kubectl version):

Affected Component

[ ] Docs
[ ] CLI
[ ] Kubernetes Integration
[ ] Openshift Integration
[ ] Helm
[ ] Istio
[x] Bridge
[ ] Approval
[ ] Datastore
[ ] REST API
[ ] eventbroker / distributor
[ ] jmeter

Describe the bug
When the sequence is aborted in "Waiting" state then an error is thrown and the sequence could not be aborted.
To Reproduce

Steps to reproduce the behavior:

Use api to trigger 2 evaluations one after another against the same service

Go to Keptn application
Go to Sequences page
Here you should see 2 sequences started where 1 of them is in waiting state because 2 evaluation cannot be running at the same time, right?
Click on abort button of the sequence which is in waiting state

Confirm with the red button

Expected behavior
The sequence should be successfully aborted.
Current behavior
The following error is thrown :

and the sequence (which was selected to abort) is being completed successfully in few more seconds.

Screenshots

Additional context

Thank you for bringing this up!
This is a duplicate to https://github.com/keptn/keptn/issues/5472.


Fixed URL Issue

Signed-off-by: Sahil Suman<EMAIL_ADDRESS>Description
Fixed the URL
This PR fixes #4681
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@shubham-tyagi is it okay now?

🚀 Preview for commit 7e4e254ab37855826dfa17dd26b49eaad0a1d767 at: https://61a32bbf229f29d0d68a1c86--meshery-docs-preview.netlify.app

🚀 Preview for commit 55f9eeaea0e0a28511a650f8ceabba432aa14415 at: https://61a3955d360b45f0dc6bdfb8--meshery-docs-preview.netlify.app

Sorry, my bad i missed out on a /.
it'll be {{site.baseurl}}/project/contributing

🚀 Preview for commit 85ebf0e008b34caf4eb7fbe266876e970f97ff02 at: https://61a3976760728cfd26a57dc6--meshery-docs-preview.netlify.app

Sorry, my bad i missed out on a /. it'll be {{site.baseurl}}/project/contributing

Can you please tell me how can I re-edit my pull request?

🚀 Preview for commit e57bd79f6bca7230763b365714985ed08a3c0c19 at: https://61a3989d2cf4d5b16266ecf5--meshery-docs-preview.netlify.app

🚀 Preview for commit 60387f6041590d3dae7f0b70a89d02a39a3de588 at: https://61a39a3460728c0010a57d75--meshery-docs-preview.netlify.app

@warunicorn19 Done Bhaiya.

looks good, but could you please tell me what this adapters.md.swp file is? There's no reason for that to be a part of the commit right?

looks good, but could you please tell me what this adapters.md.swp file is? There's no reason for that to be a part of the commit right?

I don't know bhaiya I just edited that using github directly and this file was created at that time I guess. Should I close this pull request and make a new one with proper signature and rebasing it cause I am not able to add signoff in these new commits.

That would be great @sahilsuman933, Thank you.


Added functions to log message deletion and editing

This will log deleted and edited messages with mentions and dates. Also added a check when a user is kicked to make the output less cluttered and made the imports from Module explicit
This fixes issue #8

Thank you for your contribution!


Implement Backend JWT Authentication

After authenticating with a 3rd party OAuth provider, the backend should generate JWT tokens that will be used in subsequent requests from the frontend to the backend.

Closed via https://github.com/CS3219-AY2324S1/ay2324s1-course-assessment-g20/pull/14


A simple question

I'm sorry, I have a simple question. how to use it, i run it with one obj's file, but meshoptimizer just read and optimize it, not export it. so i am confused that i don't get a optimized file, i hope your answer. thank you

meshoptimizer is a library; as such, by itself it doesn't provide end-to-end optimization tools for .obj. Also .obj doesn't support GPU-ready formats, and part of the point of meshoptimizer is to optimize meshes for efficient rendering.
gltfpack (https://github.com/zeux/meshoptimizer/tree/master/gltf), which is developed as part of this repository as well, provides an end-to-end solution for mesh/scene optimization, and it can take .obj as an input - but it always produces .gltf files as the output, again because of the limitations of .obj format that make it impractical to output optimized meshes as .obj.

well，thank you very much


Fix strict month parsing issue in cs,ru,sk

So I added short and long months parse arrays where they were needed and updated the tests

[x] fix broken locales
[ ] make sure we check for that when we create a locale
[ ] add strict month parsing tests for all locales

fixes #2243, obsoletes #2493, #2527

Merged in c3c412ebdc161a1afb10d031ed437ec0957afe7c

@ichernev thanks you for fix. will you publish it soon?

any plan for release?

@iamstarkov I'm working on it right now, no specific date but should happen soon. You can follow this to cut a release from develop (just for you), which should be good enough for you.

awesome work, look forward for future release


What's the purpose?

https://github.com/igrigorik/ga-beacon/blob/master/ga-beacon.go#L48
confused on that line

PTAL here: https://stackoverflow.com/questions/15130321/is-there-a-method-to-generate-a-uuid-with-go-language :)


kubeadm: add note about a bug in the PublicKeysECDSA feature gate

Add note about that in the FG section of the kubeadm init doc.
xref https://github.com/kubernetes/website/issues/46799

The preview looks good to me.
https://deploy-preview-46879--kubernetes-io-main-staging.netlify.app/docs/reference/setup-tools/kubeadm/kubeadm-init/#feature-gates
/lgtm

/label tide/merge-method-squash

/remove-label tide/merge-method-squash
not needed; keeping a note of the merge base is handy
/approve


Game per day API

Admin API (this will be authenticated for admin) to create game-templates for the game of the day:

POST GamesOTD with a start day, and a number of days, and template type

Games of the day types:

Game6x4Mini
Game6x4
Game8x5
Game5x5x4
GameMix (all types apart from Game6x4Mini)

This stores GameTemplate types to the database
The GameTemplate contains these members:

GameTemplateId
GameType
ActiveDay
NumberCodes
MaxMoves
FieldValues
Codes

API to play:

GET GamesOTD with playername, month (to display the list of the games played with most important information such as victory, duration, number moves)
POST GamesOTD with template-id, returns CreateGameResponse
PATCH GamesOTD - moves

dependent on #39


Assembled chromosome output

Hi gtamazian.
I followed your tutorial how to assembly the chromosome and it did rather smoothly. However when I checked the output file, I noticed the chromosome sequence was seperated by the Fragment identifier like
...TGGCTTGAA
>FRAGMENT2
CTCAGGGA...
Is this result okay?

Yeah I followed your tutorial, the demo_chromosome.fa contains multiple chromosomes in that file.
I also want to consult a another problem. My .fna file contains some scaffolds, but when I blasted them on the reference genome (Bacillus subtilis 168), every scaffold was split and return multiple hits which made me puzzled since I couldn't find the right gap value for the fragment map.
For instance, could you please download this .rar file and look into it? I extracted the sequence of the scaffold 17 and its blasted information in the excel file.
http://www.mediafire.com/file/ar92su98idt4yll/test_chromosomer.rar/file

It is quite normal that the alignments were split and you got multiple hits. According to the file that you attached, there is one high-score hit with the length of 610 bp, the identity of 99% and the bit score 1101. Its bit score surpasses the score of the next hit, that is 235, and Chromosomer will use the high-score hit as an anchor.
The gap value can be obtained by comparing sizes of assembled fragments and a reference genome. If we denote the total size of the assembled fragments by A and the total reference genome size by R, then the required gap size G can be obtained by the following equation:
G = |A - R|/(N - M)
where N is the number of the assembled fragments and M is the number of the reference chromosomes. In your case, R = 4,215,606 and M = 1.

Hi @gtamazian
I'm appreciated for your help, I'll try to solve this with your guidance.


Alternative registries backed by local directories

This patch adds support for declaring alternative registries backed by a local
directory tree, similar to vendoring crates.io. This can be useful when
integrating with external build systems with their own dependency resolution
and download framework, where reaching out to an external server to download
crates isn't possible, feasible, or desirable.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks for the PR! This sounds like a nice addition, but I think it would requiter an RFC. Is there an existing design discussion you could link me to?

Hi, thanks for the feedback. I wasn't sure if this raised to the level of needing an RFC, but I'll be happy to write one to cover this. Consider this on hold for the time being then.

Pre-RFC thread: https://internals.rust-lang.org/t/pre-rfc-cargo-support-vendored-local-directory-alternate-registries/10641

I don't have much to add over what @Eh2406 already mentioned, and I think an RFC is a good start. In the meantime I'm going to close this while the RFC thread progresses.


Use type hints extracted from docstring for native extension

For native code extension modules sphinx autodoc extracts the function signature, including type hints, from the first line of the docstring when autodoc_docstring_signature is set.
I dug around pretty deep in the code and as far as I can tell all of the methods used by this extension tap into the __annotations__ dict, which native functions don't have. Can this extension be configured to use the signature extraction that sphinx provides?
I guess I should add that I'm using napoleon with Google style docstrings, following #15, but writing :param:s directly doesn't make any difference.
Below is my current solution (to be put in conf.py). It works, but it's exceedingly janky and will probably breaks in many exciting ways in the future.
TYPE_HINTS = {}

# Record type hints
def record_type_hints(app, what, name, obj, options, signature, return_annotation):
    TYPE_HINTS[name] = {}
    if signature is not None:
        for arg in signature.strip('()').split(','):
            k, _, v = arg.partition(':')
            k = k.strip()
            v = v.strip()
            if k and v:
                TYPE_HINTS[name][k] = v
    if return_annotation is not None:
        TYPE_HINTS[name]['return'] = return_annotation
    return signature, return_annotation

# Add recorded type hints to function parameters
def add_type_hints(app, what, name, obj, options, lines,
                   __param_pattern=re.compile(r'^:param ([^:]+):')):
    rtype = False
    for i, line in enumerate(lines):
        m = __param_pattern.search(line)
        if m is not None:
            arg = m.groups(0)[0]
            hint = TYPE_HINTS[name].get(arg)
            if hint:
                lines[i] = line.replace(f':param {arg}:', f':param {hint} {arg}:', 1)
        elif line.startswith(':rtype:'):
            rtype = True
    if not rtype and TYPE_HINTS[name].get('return'):
        lines.append(f':rtype: {TYPE_HINTS[name].get("return")}')

def setup(app):
    app.connect("autodoc-process-signature", record_type_hints)
    app.connect("autodoc-process-docstring", add_type_hints)

Is already broken for default values ;)

I'd say the path ahead for this would be to support stub files, for which there's another issue.


Added K nearest neighbours implementation(ML)

Hi @techyminati I have added K nearest neighbours implementation (Machine Learning algo) from scratch. I request you to pls review and merge my PR.

cool


Netlify adapter config sources

Is your feature request related to a problem? Please describe.
Yes. In a monorepo setup, it is common to put the frontend client code in its own directory. But, if you want to configure the base directory for Netlify, the netlify.toml file must go in the root directory. The problem is that the SvelteKit Netlify adapter looks for the config file in the base directory. Of course, its is not there, and an error is thrown "Missing a netlify.toml file."
Example directory structure where site/ is the base directory ...
backend/
site/
site/package.json
netlify.toml

# netlify.toml
[build]
  base      = "site/"
  command   = "npm run build"
  publish   = "build/"
  functions = "functions/"

Describe the solution you'd like
It would be nice to be able to feed these parameters into the adapter. So the config file would look something like ...
const config = {
    kit: {
        target: '#svelte',
        adapter: netlify({
           publish: "build",
           functions: "functions"
       })
    }
};

I also imagine that there would be default values in the case when the parameters are not specified and the netlify.toml is not present. With the approach, the netlify.toml file can be kept at root level, and the adapter still gets the information that it needs without the file needing to present in the base directory.
How important is this feature to you?
This feature is not critical because you can get around this issue by setting the base directory in the Netlify UI and create a netlify.toml file in the base directory that supplies the parameters. But its is important because setting parameters via the UI is not versioned or easily reproducible. Committing the base path via config is essential for achieving infrastructure-as-code.
Additional context
I searched this issue and could not find it being discussed anywhere. My apologies if I am missing something. I am loving SvelteKit so far, excellent work, thanks!

Most platforms Adapters target have their own config files which we want to read to calculate output dirs for SvelteKit builds. Instead of solving this issue ad-hoc, passing different sets of params to the different adapters, I would suggest we pass the config file location, then use that as the root for the computed dest dirs. I have had success with this in the Firebase Adapter.
Thus my suggestion would be:
backend/
site/
  package.json
  svelte.config.js
netlify.toml

// svelte.config.js
const config = {
    kit: {
        target: '#svelte',
        adapter: netlify({
           netlifyConfig: "../netlify.toml"
       })
    }
};

# netlify.toml
[build]
  base      = "site/"
  command   = "npm run build"
  publish   = "build/"
  functions = "functions/"

with the output looking like this:
build/        <-- computed output dirs relative from netlify.toml
functions/    <-- computed output dirs relative from netlify.toml
backend/
site/
  .svelte-kit
  package.json
  svelte.config.js
netlify.toml

i think @jthegedus' solution makes the most sense. no point inlining the config when you'd have to repeat it again. also recommend calling it netlifyTomlPath or configPath rather than netlifyConfig


Cannot decode dataclass with default_factory

I'd like to create an instance of Test without specifying list or dictionary and using default_factory:
>>> from dataclasses import dataclass
>>> from dataclasses import field
>>> import jsonpickle
>>> import json
>>>
>>> @dataclass
... class Test:
...     id: str = None
...     status: str = None
...     my_dict: dict = field(default_factory=dict)
...     my_list: list = field(default_factory=list)
...
>>> jsonpickle.decode(json.dumps({'py/object': '__main__.Test'}))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/dataclasses.py", line 357, in wrapper
    result = user_function(self)
  File "<string>", line 2, in __repr__
AttributeError: 'Test' object has no attribute 'my_dict'

python: 3.7.3
jsonpickle==1.1
Thanks in advance.

Is there a work around to mediate this?

I don't believe there's a workaround for this, sorry. I believe it would require a radical redesign of jsonpickle to support this kind of initialization, if I'm understanding it correctly. To clarify, you want jsonpickle to call __init__ when decoding a class instance, right?


epic: Cortex "App Shell" for v0.1

Goal

Cortex has an "app shell"

e.g. what processes do we spawn?
e.g. where is data persisted?

"App shell" is well documented for internal team + users

Specs
As we work on this epic, we should capture key decisions in the evergreen App Shell architectural spec:

#1115
#1112

Tasklist
Deps

https://github.com/janhq/cortex.cpp/issues/1063

Processes

#1070
#1043

Data Structures

#1121
#1031

Docs:
Key Decisions should be documented here:

https://github.com/janhq/cortex.cpp/discussions/1150
#1115

Things to think about

Why are there separate processes for Server and CLI?

Should we separate logs for Server and CLI?

@dan-homebrew Can you elaborate on app shell?. We are starting server in background and use CLI/other to request. Does this mean instead of running server in background, we will start it as a daemon?


"Next unresolved comment" fails, tries to navigate to wrong path

"Next unresolved comment" button brings me to the wrong file in multi-repo environment, specifically it appends the absolute path relative to the workspace onto the path relative to the gerrit root, giving me:
"frameworks/base/some/file.cpp" -> "frameworks/base/frameworks/base/some/file.cpp" which does not exist and it gives an error :(

I'm guessing this one will be fixed when #70 is fixed too, so I'll get back to it once I've implemented that.


Openlayer map not showing most of the time

Most of my target is Dubai. but later it will be applied to other countries. Map zoomin, zoomout and bottom text from openstreetmap is coming but map is not coming. sometimes it comes when I try to zoomin 2 times.
I am using this code

in console I am getting this
Uncaught TypeError: Cannot read property 'w' of null
at initialize.adjustZoom (OpenLayers.js:185)
at initialize.zoomTo (OpenLayers.js:195)
at initialize.zoomIn (OpenLayers.js:197)
at d.onZoomClick (OpenLayers.js:742)
at initialize.triggerEvent (OpenLayers.js:138)
at initialize.buttonClick (OpenLayers.js:146)
at initialize.triggerEvent (OpenLayers.js:138)
at initialize.handleBrowserEvent (OpenLayers.js:138)
at HTMLDivElement. (OpenLayers.js:63)

This is OpenLayers 2 code, which is nor actively being developed any more. Please use a recent version of OpenLayers.

can i have any example for it sir.

https://openlayers.org/en/latest/examples/simple.html

thanks alot sir


Change default voice font for the emulator

Background
Is your feature request related to a problem? Please describe.
I'd like to be able to test my bots with voice, the current monotone font used by the emulator is very inexpresive and boring... (it matters if you use it all day :))
Describe the solution you'd like
Would it be possible to change the default font to use Jessa or Guy?, having the ability to change the font in settings would be a great plus too.
Describe alternatives you've considered
For a better voice experience, I use webchat that allows me to configure the font, but I need to use ngrok or some other tool to run against localhost.
Note to fixer

[x] Add the custom voice font feature in BotFramework-WebChat
[x] Publish a new Web Chat release (prod or dev)
[x] Transfer the issue back to BotFramework-Emulator
[x] Bump Web Chat to version that support custom voice font
[ ] Add UI and entry points
Consider implementing UI (in Emulator app) for other speech-related features

[x] Custom speech (CRIS)
[x] Provide speech subscription key

UI to support custom speech

Custom speech is a custom speech recognition model, for recognizing words that is not in the dictionary.

The user would need to specify the followings:

Subscription key (or authorization token, which is time-limited)
Endpoint ID for custom speech (not endpoint URL)

UI to support custom voice font

Custom voice font is a custom speech synthesis model, for synthesizing using a pre-trained voice.

The user would need to specify the followings:

Subscription key (or authorization, which is time-limited)
Deployment ID (not deployment/endpoint URL)
Voice name (this cannot be populated thru REST APIs to Cognitive Services)

References

Custom voice font support is done by changing the URL endpoint, documented here, https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/rest-apis#text-to-speech-api.

Web Chat now support Custom Speech and Custom Voice. I have updated the first comment for UI requirements (what things we need from the user to enable these features).
For code, please refer to https://github.com/compulim/web-speech-cognitive-services#custom-speech-support.

@tonyanziano when we implement this, you can refer to BotFramework-WebChat/SPEECH.md for how to do all the jobs. I am outlining here to simplify your reading task. 😉

Basic

Input Cognitive Services subscription key
Input Cognitive Services region (if region is wrong, subscription key will say 401 error)
On save, if you want to test if the subscription key/region works, test by getting an auth token, look at this article
Selecting standard voices (not Custom Voice)

By default, we have a pretty good strategy on selecting a suitable voice, but it seems default to male due to sorting
To list voices and make this a combo box, you will need to play with Cognitive Services REST API, copy some code from here
Not all voice are compatible with all language. If the bot is sending Chinese text, and the developer selected English voice, it will be HTTP 400

Custom Speech

Input endpoint ID
To test: create a speech model, or ask me for one

Custom Voice

Input deployment ID
Input voice model name

Voice model can be enumerated using REST API, look at this Swagger API

To test: create a voice model or ask me for one

Text normalization options

Select between:

Display (add punctuations, capitalization, etc)
Inverse Text Normalization
Masked Inverse Text Normalization
Lexical

AFAIK, all of the above are asks from our customers.

Any movement on this issue?

Hi @jbgh2 ,
We have not made any progress on implementing this feature. However, we will soon be holding our planning discussion to decide what to work on for the next release, so stay tuned.


fdtable entries are not initialized properly with CONFIG_POSIX_API on

When CONFIG_POSIX_API & CONFIG_FDTABLE options are both enabled, the stdin/stdout/stderr entries of fdtable are not initialized correctly. The initialization of member 'lock' of these three entries is missed.

Most of fdtable entries are initialized in function z_reserve_fd() from file zephyr/lib/os/fdtable.c

  int z_reserve_fd(void)
  {
          int fd;

          (void)k_mutex_lock(&fdtable_lock, K_FOREVER);

          fd = _find_fd_entry();
          if (fd >= 0) {
                  /* Mark entry as used, z_finalize_fd() will fill it in. */
                  (void)z_fd_ref(fd);
                  fdtable[fd].obj = NULL;
                  fdtable[fd].vtable = NULL;
                  k_mutex_init(&fdtable[fd].lock);
                  k_condvar_init(&fdtable[fd].cond);
          }

          k_mutex_unlock(&fdtable_lock);

          return fd;
 }

When CONFIG_POSIX_API enabled, the first three entries in fdtable will be initialized statically as below, but member 'lock' is missed.

   static struct fd_entry fdtable[CONFIG_POSIX_MAX_FDS] = {
   #ifdef CONFIG_POSIX_API
           /*
            * Predefine entries for stdin/stdout/stderr.
            */
           {
                   /* STDIN */
                   .vtable = &stdinout_fd_op_vtable,
                   .refcount = ATOMIC_INIT(1)
           },
          {
                   /* STDOUT */
                   .vtable = &stdinout_fd_op_vtable,
                   .refcount = ATOMIC_INIT(1)
           },
           {
                   /* STDERR */
                   .vtable = &stdinout_fd_op_vtable,
                   .refcount = ATOMIC_INIT(1)
           },

We can clearly find the fdtable content in gdb console when running a test, the 'lock' member of these entries are not initialized, waitq should not be all zero.

(gdb) p fdtable[0]
$2 = {obj = 0x0, vtable = 0x101ad7c0 <stdinout_fd_op_vtable>, refcount = 1, lock = {wait_q = {waitq = {{head = 0x0, next = 0x0}, {
          tail = 0x0, prev = 0x0}}}, owner = 0x0, lock_count = 0, owner_orig_prio = 0}, cond = {wait_q = {waitq = {{head = 0x0,
          next = 0x0}, {tail = 0x0, prev = 0x0}}}}}
(gdb) p fdtable[1]
$3 = {obj = 0x0, vtable = 0x101ad7c0 <stdinout_fd_op_vtable>, refcount = 1, lock = {wait_q = {waitq = {{head = 0x0, next = 0x0}, {
          tail = 0x0, prev = 0x0}}}, owner = 0x0, lock_count = 0, owner_orig_prio = 0}, cond = {wait_q = {waitq = {{head = 0x0,
          next = 0x0}, {tail = 0x0, prev = 0x0}}}}}
(gdb) p fdtable[2]
$4 = {obj = 0x0, vtable = 0x101ad7c0 <stdinout_fd_op_vtable>, refcount = 1, lock = {wait_q = {waitq = {{head = 0x0, next = 0x0}, {
          tail = 0x0, prev = 0x0}}}, owner = 0x0, lock_count = 0, owner_orig_prio = 0}, cond = {wait_q = {waitq = {{head = 0x0,
          next = 0x0}, {tail = 0x0, prev = 0x0}}}}}

Environment (please complete the following information):

OS: docker image: ghcr.io/zephyrproject-rtos/zephyr-build
Toolchain: /opt/toolchains/zephyr-sdk-0.16.1/x86_64-zephyr-elf/
Commit SHA: 5cf5282e60ba0a9df91690a4a08a5900bca7b818
target: qemu_x86_64

Thanks for spotting this - I'll see if I can whip up a PR quickly.

Thanks for spotting this - I'll see if I can whip up a PR quickly.

You're welcome, and appreciate your prompt reply. 👍


Kt task/reportsforstats

API modifed to generate pdf by calling the report service

Wrongly raised the PR to this repo


Returning a list of Objects

This is more of a query: How do I return a list of objects as response? So let's say, I have defined a field using Graphene.Field in my query. Now depending on the incoming query, the result may be a single field element or a list of field elements.
Thank you.

Posted on SO: http://stackoverflow.com/questions/35594802/returning-a-list-of-result-fields-using-flask-graphql


Add unit tests for MessageHandlerChain and MessageHandlerChainSet

Hey there,
I feel like the two mentioned classes are complex enough to have some tests added to them. I tested the following behaviour:
In MessageHandlerChainSet and MessageHandlerChain:

notify(..) should invoke the handle(..) method in the correct MessageHandler.
notify(..) should return true if a handled Message does not get terminted.
notify(..) should not invoke a MessageHandler if a Message was terminated before handle(..) was called. (Note that I think no MessageHandler should be called at all if a Message gets terminated before it was even handled. This happens due to the if-statement being placed after the handle(..) call (link to the if-statement)
notify(..) should return false if a handled Message gets terminated.

Also, I chose to manually 'mock' a Message and MessageHandler in order to create better readability. If you'd like me to use PowerMock for that, do tell.
So please have a look at whether a Message should get handled at all if it was terminated in the first place.
Thanks,
Lesley

@BeeHiveJava Apologies for not seeing this sooner!  I'll have a look at it now.


set a random color when initializing the tab

Summary of the new feature / enhancement
Like this：

Proposed technical implementation details (optional)
No response

Please open your issue on the microsoft/terminal repo. PowerShell does not control the color that WT uses for its tabs.


Laravel 9.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:

Checkout the l9-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 9. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-authentication-log.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "rappasoft/laravel-authentication-log": "dev-l9-compatibility",
    }
}

Finally, run: composer update

+1

+1

+1


[Slider] Bug with the contain option when both first and last items are visible

It should not force the mode to right when both are visible.
See https://ui.studiometa.dev/-/components/molecules/Slider/stories/story.html with page zoom at 30%.

Fixed in #56 (160bd37, 4ac9f84, 4e0d9a7) and released in 0.2.11.


Allow customisation of the name of the recording rules

Hi 👋,
First of all, thank you very much for creating Pyrra, we use it at our company and we fell in love with it since the very first moment it was up and running. Such a lovely and easy way of creating SLOs 😍.
Now I let me put you all in context.
Motivation
At our company we have a service that is deployed 3 times, each with a different configuration. The 3 instances of the service expose the same metrics, but the values are slightly different as the configurations are different between the 3.
As the 3 instances use the same metric in the ServiceLevelObjective resources to count the total and the errors. Example follows:
SLO of instance A:
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  labels:
    pyrra.dev/slack_channel: my-slack-channel
    release: prometheus
  name: service-instance-a-http-errors
  namespace: my-namespace
spec:
  alerting:
    absent: true
    burnrates: true
  description: "SLO for Instance A of the service"
  indicator:
    ratio:
      errors:
        metric: my_service_http_requests_total{http_code=~"5.+", namespace="my-namespace", container="instance-a"}
      grouping: null
      total:
        metric: my_service_http_requests_total{namespace="my-namespace", container="instance-a"}
  target: "99.9"
  window: 4w

SLO of instance B:
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  labels:
    pyrra.dev/slack_channel: my-slack-channel
    release: prometheus
  name: service-instance-b-http-errors
  namespace: my-namespace
spec:
  alerting:
    absent: true
    burnrates: true
  description: "SLO for Instance B of the service"
  indicator:
    ratio:
      errors:
        metric: my_service_http_requests_total{http_code=~"5.+", namespace="my-namespace", container="instance-b"}
      grouping: null
      total:
        metric: my_service_http_requests_total{namespace="my-namespace", container="instance-b"}
  target: "99.9"
  window: 4w

SLO of instance C
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  labels:
    pyrra.dev/slack_channel: my-slack-channel
    release: prometheus
  name: my-service-instance-c-http-errors
  namespace: my-namespace
spec:
  alerting:
    absent: true
    burnrates: true
  description: "SLO for Instance C of the service"
  indicator:
    ratio:
      errors:
        metric: my_service_http_requests_total{http_code=~"5.+", namespace="my-namespace", container="instance-c"}
      grouping: null
      total:
        # This filters just by namespace, not by container
        metric: my_service_http_requests_total{namespace="my-namespace"}
  target: "99.9"
  window: 4w

As Pyrra will use the names of the metrics used in the query to generate the name the recording rules for the burnrate in Promethgeus accordingly (removing the _total and _count sufixes, etc.).

The problem comes now. As we have a Mimir as long term storage for Prometheus metrics, prometheus continuosly fails to push some metrics to the remote write with the following error:

ts=2024-02-20T10:22:54.985Z caller=dedupe.go:112 component=remote level=error remote_name=8f7417 url=https://mimir.mycompany.com/api/v1/push msg="non-recoverable error" count=500 exemplarCount=0 err="server returned HTTP status 400 Bad Request: failed pushing to ingester: user=my-user: the sample has been rejected because another sample with the same timestamp, but a different value, has already been ingested (err-mimir-sample-duplicate-timestamp). The affected sample has timestamp 2024-02-20T10:21:12.398Z and is from series {name="my_service_http_requests:burnrate1d", cluster="my-cluster", container="instance-b", namespace="my-namespace", prometheus="monitoring/kube-prometheus-st-prometheus", slack_channel="my-slack-channel", slo="service-instance-b-http-errors", team="my-team"}"

Seems like the recording rules get evaluated in the very same moment, and as they are evaluating different things, the result is different, and that causes a problem when remote writing the series to the long term storage, as the first series get ingested just fine, but the rest fail as they try to put the same serie, but with different values.
Proposed solution
I'm not a developer neither an expert in monitoring, so I hope this is not a silly suggestion, but for me, as SRE, makes sense having the capability of customising the pyrra-generated recording rules, maybe using some annotation, like

pyrra.dev/prometheus-slo-recording-rule-prefix
pyrra.dev/prometheus-slo-recording-rule-suffix
pyrra.dev/prometheus-slo-recording-rule-name
or whatever you think makes the most sense 😬

I hope you can take this into consideration.
Thanks again for your great effort. Please let me know if you need us to provide more information.
Regards!

Hey! :wave:
Thank you for the kind words, and we are happy to hear you enjoy using Pyrra! :tada:
Thank you for the detailed report too!
Right now I'm failing to understand why this breaks.
These metrics should be different due to different labels. Time series are identified by their entire label set, including all labels and the __name__ metric name.
my_service_http_requests_total{namespace="my-namespace", container="instance-a"}
my_service_http_requests_total{namespace="my-namespace", container="instance-b"}
my_service_http_requests_total{namespace="my-namespace"}

The burn rate rules should generate something like the following:
my_service_http_requests:burnrate5m{namespace="my-namespace", container="instance-a"}
my_service_http_requests:burnrate5m{namespace="my-namespace", container="instance-b"}
my_service_http_requests:burnrate5m{namespace="my-namespace"}

These are all individual and distinct time series.
That being said, I can see how the last metric only contains the namespace label and therefore the UI and alerting might incorrectly sum up all 3 series... Is this what you are having a problem with?


Consider using shared Keyframes

Check with A-team, possibly use their keyframes too? How to deal with timestamps?
Think about this!

Seems not feasible on the short term, definitely interesting to look into this on the long term though.


scanRanges is extremely slow on dense match input

Referenced in https://github.com/ChrisPenner/lens-regex-pcre/issues/10 with benchmarks here: https://github.com/jamesdbrock/replace-benchmark#results
We can see that pcre-heavy is having a bit of trouble with substitutions with LOTS of matches, I did a quick profile on it and the VAST majority of the time is spent inside rawMatch in scanRanges0. On large strings; it clocks in at OVER 10 minutes, whereas the next longest time is just over one second.
After a cursory look, it seems it is serially calling out to C for each consecutive match, and just iterating on that, there's also a lot of fiddly math going on, but nothing that seems to be the "obvious" culprit. Perhaps there's some unknown copying going on too, but I didn't dig deep enough to see.
I can dig around a bit more, but if anyone has suggestions or tips on a good way to speed this up, or even ideas of where the cost centers might be I'm open to ideas!
I understand that the benchmark in question represents a sort of "perfect storm" in terms of triggering bad performance, but it would be nice if there's some way we can get this into at least the same ballpark :)

This might be a good thing for someone to look into for #hacktoberfest

I'd be surprised if anyone seriously participates in that, seems like it's more of a spam-fest..

That's an interesting article, and it's probably true for much of the github ecosystem, but I have a feeling Haskell repos are likely shielded at least a bit from poor quality submissions.
A quick. glance over closed hacktoberfest issues in Haskell shows a surprising amount of legitimate work happening 😄
Granted, this isn't so much of a "quick win"


Change the look of the Goto Kibana Button

Button needs to reflect the style of other text buttons on the project page.

Fixed in #480


Allow entering a URL for a schema

What is the context of this PR?
The launcher page currently assumes that you're selecting from a pre-defined list of schemas loaded from survey runner.
It would be convenient, for testing purposes as the EQ Author team are working on the publishing process to be able to specify an URL from where the schema may be launched.
This PR ensures that the required metadata for the schema, including custom metadata fields, defined within Author are present when loading the schema from an URL.
How to test
Enter a URL to where the schema is to be read, ensure that the metadata fields are displayed on the launch page.
Pressing the open schema button to launch the schema correctly from the entered URL.

I've added a "Don't merge" label for the time being so we can do a bit of testing around this.

Closing PR as it would be better to have a more robust solution built into Author.


Deploy only one node connects at a time

Whenever i deploy any changes ewelink will only ever connect to one node at a time the rest will only ever show error
{"error":301,"msg":"Region does not exist"}
I'm in Thailand and region code "cn" does work but this issue is preventing me from using this pallet completely. :(
eu seems to work and au does not work at all.
HLEPPPPPP
https://photos.app.goo.gl/Q29QQBeJWF9TzaSK9
video of the issue

I've the same problem. If i do a Full Deploys or reboot node red....

Hi,
there is a pull request pending, fixing this problem.
If you wish, you can patch your installation manually in the meantime the patch will be merged.

Hi ckhmer1. Can you clarify which pull request? or can you explain how to patch? Don't think the patch have been merged yet...

Hi,
Get from GitHub the latest version of the following files:
src/credentials/credentials.js
/src/utils/ewelink-connect.js

Found both files. Patched my installation and it works fine now! Thanks a lot.


DesignableImageView corner radius is effective only on half of the image view

I'm trying to take a rectangle photo from a URL and display it in a round circle by setting corner radius.
The width and height are 80 so I'm setting the corner radius as 40.
The circle cropping is only showing in the left side of the image view, while the right side stays rectangular. Any ideas?
Attached a photo of how it looks.

I have this too. Did you solve it anyhow?

I am having same problem!

+1


Scaping backslash on templates when creating named maps

Getting the template of a named map scapes the back slashes with something like this:
            "sql": "SELECT * FROM (SELECT * \\\nFROM nycpluto_all \\\nWHERE ST_Intersects(\\\n  ST_Buffer(\\\n    ST_SetSRID(\\\n      ST_GeomFromText('POINT(-73.988371 40.736)'),\\\n      4326\\\n    )::geography,\\\n    1000)::geometry,\\\n  the_geom) ) AS wrapped_query WHERE <%= layer0 %>=1",
            "layer_name": "nycpluto_all",
            "cartocss": "#nycpluto_all{\\\n  polygon-fill: #FFFFB2;\\\n  polygon-opacity: 0.8;\\\n  line-color: #FFF;\\\n  line-width: 0.5;\\\n  line-opacity: 1;\\\n}\\\n#nycpluto_all [ comarea <= 2124441] {\\\n   polygon-fill: #B10026;\\\n}\\\n#nycpluto_all [ comarea <= 65857] {\\\n   polygon-fill: #E31A1C;\\\n}\\\n#nycpluto_all [ comarea <= 22274] {\\\n   polygon-fill: #FC4E2A;\\\n}\\\n#nycpluto_all [ comarea <= 10750] {\\\n   polygon-fill: #FD8D3C;\\\n}\\\n#nycpluto_all [ comarea <= 5642] {\\\n   polygon-fill: #FEB24C;\\\n}\\\n#nycpluto_all [ comarea <= 3128] {\\\n   polygon-fill: #FED976;\\\n}\\\n#nycpluto_all [ comarea <= 1675] {\\\n   polygon-fill: #FFFFB2;\\\n}",

But if you create a new named map using this scaped slashes as they came, the named map is created but when I instantiate it I get an error on parsing those strings
{
  "errors": [
    "Error: style0:1:9 Invalid code: \\\\\\\n\\\nstyle0:2:24 Invalid code: \\\\\\\n\\\nstyle0:3:23 Invalid code: \\\\\\\n\\\nstyle0:4:19 Invalid code: \\\\\\\n\\\nstyle0:5:18 Invalid code: \\\\\\\n\\\nstyle0:6:18 Invalid code: \\\\\\\n\\\nstyle0:7:1 Invalid code: \\\\\\\n\\\nstyle0:8:31 Invalid code: \\\\\\\n\\\nstyle0:9:25 Invalid code: \\\\\\\n\\\nstyle0:10:1 Invalid code: \\\\\\\n\\\nstyle0:11:29 Invalid code: \\\\\\\n\\\nstyle0:12:25 Invalid code: \\\\\\\n\\\nstyle0:13:1 Invalid code: \\\\\\\n\\\nstyle0:14:29 Invalid code: \\\\\\\n\\\nstyle0:15:25 Invalid code: \\\\\\\n\\\nstyle0:16:1 Invalid code: \\\\\\\n\\\nstyle0:17:29 Invalid code: \\\\\\\n\\\nstyle0:18:25 Invalid code: \\\\\\\n\\\nstyle0:19:1 Invalid code: \\\\\\\n\\\nstyle0:20:28 Invalid code: \\\\\\\n\\\nstyle0:21:25 Invalid code: \\\\\\\n\\\nstyle0:22:1 Invalid code: \\\\\\\n\\\nstyle0:23:28 Invalid code: \\\\\\\n\\\nstyle0:24:25 Invalid code: \\\\\\\n\\\nstyle0:25:1 Invalid code: \\\\\\\n\\\nstyle0:26:28 Invalid code: \\\\\\\n\\\nstyle0:27:25 Invalid code: \\\\\\\n"
  ]
}

And the error cames evident if you ask for the template defined
            "sql": "SELECT * FROM (SELECT * \\\\\\\nFROM nycpluto_all \\\\\\\nWHERE ST_Intersects(\\\\\\\n  ST_Buffer(\\\\\\\n    ST_SetSRID(\\\\\\\n      ST_GeomFromText('POINT(-73.988371 40.736)'),\\\\\\\n      4326\\\\\\\n    )::geography,\\\\\\\n    1000)::geometry,\\\\\\\n  the_geom) ) AS wrapped_query WHERE <%= layer0 %>=1",
            "layer_name": "nycpluto_all",
            "cartocss": "#nycpluto_all{\\\\\\\n  polygon-fill: #FFFFB2;\\\\\\\n  polygon-opacity: 0.8;\\\\\\\n  line-color: #FFF;\\\\\\\n  line-width: 0.5;\\\\\\\n  line-opacity: 1;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 2124441] {\\\\\\\n   polygon-fill: #B10026;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 65857] {\\\\\\\n   polygon-fill: #E31A1C;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 22274] {\\\\\\\n   polygon-fill: #FC4E2A;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 10750] {\\\\\\\n   polygon-fill: #FD8D3C;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 5642] {\\\\\\\n   polygon-fill: #FEB24C;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 3128] {\\\\\\\n   polygon-fill: #FED976;\\\\\\\n}\\\\\\\n#nycpluto_all [ comarea <= 1675] {\\\\\\\n   polygon-fill: #FFFFB2;\\\\\\\n}"

Not sure if this is an error but I'd expect to send the same strings I receive from it. Not a big deal and it's pretty evident in any case.

cc @rochoa

There are two different issues here:

Invalid syntax in CartoCSS
Double escaped backslashes

About the first one there is already an issue open about checking named map has valid layers. Check: https://github.com/CartoDB/Windshaft-cartodb/issues/134. In this specific case is because of \\\n is not valid, read it as \\ + \n, where \\ is the invalid part.
About the second one: Could you provide me an example? I'm not able to reproduce it.
I've used the following template:
{
  "version": "0.0.1",
  "name": "escaped",
  "auth": {
    "method": "open"
  },
  "placeholders": {},
  "layergroup": {
    "version": "1.0.1",
    "layers": [
      {
        "type": "cartodb",
        "options": {
          "cartocss_version": "2.3.0",
          "cartocss": "#nycpluto_all{\\\n  polygon-fill: #FFFFB2;\\\n  polygon-opacity: 0.8;\\\n  line-color: #FFF;\\\n  line-width: 0.5;\\\n  line-opacity: 1;\\\n}\\\n#nycpluto_all [ comarea <= 2124441] {\\\n   polygon-fill: #B10026;\\\n}\\\n#nycpluto_all [ comarea <= 65857] {\\\n   polygon-fill: #E31A1C;\\\n}\\\n#nycpluto_all [ comarea <= 22274] {\\\n   polygon-fill: #FC4E2A;\\\n}\\\n#nycpluto_all [ comarea <= 10750] {\\\n   polygon-fill: #FD8D3C;\\\n}\\\n#nycpluto_all [ comarea <= 5642] {\\\n   polygon-fill: #FEB24C;\\\n}\\\n#nycpluto_all [ comarea <= 3128] {\\\n   polygon-fill: #FED976;\\\n}\\\n#nycpluto_all [ comarea <= 1675] {\\\n   polygon-fill: #FFFFB2;\\\n}",
          "sql": "select * from world_borders"
        }
      }
    ]
  }
}

And I got:
$ curl -X POST -H 'Content-Type: application/json' -d @./escaped.json 'http://development.localhost.lan:8181/api/v1/map/named?api_key=:API_KEY' && echo ''
{"template_id":"escaped"}
15:16:46 rochoa@lightness:~/projects/namedmaps/templates$ curl -s 'http://development.localhost.lan:8181/api/v1/map/named/escaped?api_key=:API_KEY' | python -m json.tool
{
    "template": {
        "auth": {
            "method": "open"
        },
        "layergroup": {
            "layers": [
                {
                    "options": {
                        "cartocss": "#nycpluto_all{\\\n  polygon-fill: #FFFFB2;\\\n  polygon-opacity: 0.8;\\\n  line-color: #FFF;\\\n  line-width: 0.5;\\\n  line-opacity: 1;\\\n}\\\n#nycpluto_all [ comarea <= 2124441] {\\\n   polygon-fill: #B10026;\\\n}\\\n#nycpluto_all [ comarea <= 65857] {\\\n   polygon-fill: #E31A1C;\\\n}\\\n#nycpluto_all [ comarea <= 22274] {\\\n   polygon-fill: #FC4E2A;\\\n}\\\n#nycpluto_all [ comarea <= 10750] {\\\n   polygon-fill: #FD8D3C;\\\n}\\\n#nycpluto_all [ comarea <= 5642] {\\\n   polygon-fill: #FEB24C;\\\n}\\\n#nycpluto_all [ comarea <= 3128] {\\\n   polygon-fill: #FED976;\\\n}\\\n#nycpluto_all [ comarea <= 1675] {\\\n   polygon-fill: #FFFFB2;\\\n}",
                        "cartocss_version": "2.3.0",
                        "sql": "select * from world_borders"
                    },
                    "type": "cartodb"
                }
            ],
            "version": "1.0.1"
        },
        "name": "escaped",
        "placeholders": {},
        "version": "0.0.1"
    }
}

After that I'm unable to instantiate it because of cited problem 1:
$ curl -s 'http://development.localhost.lan:8181/api/v1/map/named/escaped/jsonp?callback=cb'
cb({"errors":["style0:1:9 Invalid code: \\\n\nstyle0:2:24 Invalid code: \\\n\nstyle0:3:23 Invalid code: \\\n\nstyle0:4:19 Invalid code: \\\n\nstyle0:5:18 Invalid code: \\\n\nstyle0:6:18 Invalid code: \\\n\nstyle0:7:1 Invalid code: \\\n\nstyle0:8:31 Invalid code: \\\n\nstyle0:9:25 Invalid code: \\\n\nstyle0:10:1 Invalid code: \\\n\nstyle0:11:29 Invalid code: \\\n\nstyle0:12:25 Invalid code: \\\n\nstyle0:13:1 Invalid code: \\\n\nstyle0:14:29 Invalid code: \\\n\nstyle0:15:25 Invalid code: \\\n\nstyle0:16:1 Invalid code: \\\n\nstyle0:17:29 Invalid code: \\\n\nstyle0:18:25 Invalid code: \\\n\nstyle0:19:1 Invalid code: \\\n\nstyle0:20:28 Invalid code: \\\n\nstyle0:21:25 Invalid code: \\\n\nstyle0:22:1 Invalid code: \\\n\nstyle0:23:28 Invalid code: \\\n\nstyle0:24:25 Invalid code: \\\n\nstyle0:25:1 Invalid code: \\\n\nstyle0:26:28 Invalid code: \\\n\nstyle0:27:25 Invalid code: \\\n"]});

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Block Out Element by selector

checkElement() has a blockOut Option that can define an area that is ignored for the image comparison. It only accepts absolute coordinates. However when testing across multiple screen sizes and browsers we can not rely on absolute coordinates that are hardcoded in our test. Is there any possibility to determine the coordinates of a given element during runtime?
I've seen there is a determineElementRectangles method in the TypeScript source that does exactly that. Is it accessible somehow for me as a test writer?

Hi @smichaelsen
Currently it's not supported, it's a feature. I need to think about how to implement this because it should be used for all functions. I'll add it to my todo list

I solved it for us:
browser.execute((parentElement, childElement) => {
    var parentPos = parentElement.getBoundingClientRect();
    var childPos = childElement.getBoundingClientRect();
    return {
        height: Math.round(childPos.height),
        width: Math.round(childPos.width),
        x: Math.round(childPos.left - parentPos.left),
        y: Math.round(childPos.top - parentPos.top),
    };
}, parentElement, childElement);

This returns the coordinates of a child element relative to the given parent, in the structure that is needed for blockOut.

Awesome, thanks for posting it here


Support dynamic config w/ OS_TENANT_NAME

Support dynamic config with OS_TENANT_NAME in addition to OS_REGION_NAME.
E.g.:
[sjc]
... snip ...
OS_TENANT_NAME=dev;test;production
... snip ...

[Current coverage][cc-pull] is 100%

No coverage report found for master at 3cd5294.

Powered by Codecov. Last updated by [3cd5294...3ad132b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/major/supernova/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/major/supernova/compare/3cd5294da7daca5280e4987276b3f3de14779b56...3ad132bde24b31313a01ac6b05c0500aa0c3a437
[cc-pull]: https://codecov.io/gh/major/supernova/pull/118?src=pr


Update tests to new model

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 81.086%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
2315

Relevant Lines:
2855

💛  - Coveralls


Issue when upgrading runc to v1.0.3

Description

In order to patch CVE-2021-30465 , an upgrade to v1.0.3 is required but runc only runs on linux, I'm unable to upgrade and verify it works on my mac.
Expected Behavior

Upgrading should be as easy as go get<EMAIL_ADDRESS>, v1.0.3 fixes CVE-2021-30465.
Screenshots

Here's the error i encounter when trying to upgrade runc

Environment:

OS: [e.g. MacOs]

[Optional] To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

[Optional] Additional Context

Contributor Resources
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
See Meshery site designs in this Figma designfile. Fill-in the Layer5 Community Member Form and join the Layer5 Community Slack for access.

@leecalcote thought's on this?

Hi @s1ntaxe770r Thanks for try to fix the security issue. In my option, I believe we should update the dependency version of helm in the meshkit repo. Do you agree with this?

@utkarsh-pro will you tackle this one?

@Aisuko I agree, a complete upgrade is less likely to break

@Aisuko, @s1ntaxe770r are you comfortable taking this forward?

In my opinion, We need to bump the dependencies version in meshkit. I'll try to sole this.

Hi, @s1ntaxe770r
Hard to say, It looks like we need fix issue on this https://github.com/layer5io/meshkit/blob/6478c0d2a49f1d3b013d9ae459e4b03aa4f19aa2/go.mod#L6, I guess to lower version of docker import the lower version moby runC.
And this issue from helm.sh/helm v3 which we imported, this is the reason I do not want to import the third part packages. But we do not can do this by ourself(too much features need to be implement here).
So, could you do some effect on meshkit ? I guess it will much useful than mesh-operator.

Alright I'll look into it , @leecalcote i would need access to security reports on that repo

@s1ntaxe770r sounds good. Adding...

@leecalcote I need to.   We can use go mod why to make a clear list

@Aisuko good deal. Hopefully, you've received an email (or two) with your addition to the security group.

I'm afraid not, I haven't get the email. How about you @s1ntaxe770r ?

No I haven't either

I have not either

I have access now 👍🏽

@s1ntaxe770r or @Aisuko think that you can see this one through? We have significant security vulnerabilities hanging in the balance.


Extension Layer for VK_EXT_shader_object

This PR adds a new Vulkan layer that exposes the VK_EXT_shader_object extension on drivers without native support for it. It allows application developers to begin writing and shipping code that uses shader objects, without needing to maintain a fallback path to pipelines.
The code is carefully written to be convenient to integrate into game codebases (including when linked statically into an application), avoiding the use of exceptions, STL containers, and other undisciplined dynamic memory allocation.
The layer takes advantage of as little or as much existing dynamic state functionality as is available on the driver, and functions with or without each of the VK_EXT_extended_dynamic_state, VK_EXT_extended_dynamic_state2, VK_EXT_extended_dynamic_state3, VK_EXT_vertex_input_dynamic_state, and VK_EXT_graphics_pipeline_library extensions to provide the application with the best practically achievable hash-n-cache performance for the driver it's running on. If the underlying driver provides native support VK_EXT_shader_object, the layer turns itself off and the application uses the native implementation directly.
Both Windows and Linux are supported.

Author daniel-story not on autobuild list. Waiting for curator authorization before starting CI build.

Author daniel-story not on autobuild list. Waiting for curator authorization before starting CI build.

 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.

1.3.246 header update is merged, please rebase.

Author daniel-story not on autobuild list. Waiting for curator authorization before starting CI build.

Author daniel-story not on autobuild list. Waiting for curator authorization before starting CI build.

CI Vulkan-ExtensionLayer build queued with queue ID 48905.

CI Vulkan-ExtensionLayer build # 315 running.

CI Vulkan-ExtensionLayer build # 315 failed.

Internal CI is failing on 32 bit windows, passing on our other internal targets. I think I've adjusted permissions so that you'll be able to get both github and internal CI runs automatically when you push. github is being very slow to run our actions this week though.
 5>C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1465,145): error C2440: 'reinterpret_cast': cannot convert from 'VkDescriptorUpdateTemplate' to 'uint64_t' [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
       C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1465,94): message : Conversion is a valid standard conversion, which can be performed implicitly or by use of static_cast, C-style cast or function-style cast [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
     5>C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1465,184): error C2198: 'PFN_vkGetPrivateData': too few arguments for call [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
     5>C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1474,145): error C2440: 'reinterpret_cast': cannot convert from 'VkDescriptorUpdateTemplate' to 'uint64_t' [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
       C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1474,94): message : Conversion is a valid standard conversion, which can be performed implicitly or by use of static_cast, C-style cast or function-style cast [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
     5>C:\j\wvel\Debug32\Vulkan-ExtensionLayer\layers\shader_object.cpp(1474,211): error C2198: 'PFN_vkSetPrivateData': too few arguments for call [C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj]
     5>Done Building Project "C:\j\wvel\Debug32\Vulkan-ExtensionLayer\dbuild32\layers\VkLayer_khronos_shader_object.vcxproj" (default targets) -- FAILED.

CI Vulkan-ExtensionLayer build queued with queue ID 48942.

CI Vulkan-ExtensionLayer build queued with queue ID 48942.

CI Vulkan-ExtensionLayer build # 316 running.

CI Vulkan-ExtensionLayer build # 316 passed.

CI Vulkan-ExtensionLayer build queued with queue ID 49001.

CI Vulkan-ExtensionLayer build queued with queue ID 49001.

CI Vulkan-ExtensionLayer build # 317 running.

CI Vulkan-ExtensionLayer build # 317 passed.

CI Vulkan-ExtensionLayer build queued with queue ID 49024.

CI Vulkan-ExtensionLayer build queued with queue ID 49024.

CI Vulkan-ExtensionLayer build # 318 running.

CI Vulkan-ExtensionLayer build # 318 passed.

CI Vulkan-ExtensionLayer build queued with queue ID 49036.

CI Vulkan-ExtensionLayer build queued with queue ID 49036.

CI Vulkan-ExtensionLayer build # 319 running.

CI Vulkan-ExtensionLayer build # 319 passed.

CI Vulkan-ExtensionLayer build queued with queue ID 49047.

CI Vulkan-ExtensionLayer build queued with queue ID 49047.

CI Vulkan-ExtensionLayer build # 320 running.

CI Vulkan-ExtensionLayer build # 320 passed.


Idea: separate repository scanning from page building code

Idea: Separate the code that scans the repositories from the code that builds the web page.
The output of the repository scan could be saved to a separate file, then used to build the web page.
This way, changing something only in the UI doesn't require the one-hour-long scan action to be triggered, only a separate smaller "web page build".

I was considering helping more with the UI, so I thought this would be a nice-to-have 😄


GPU Flow - Harris Corner Fix

-Harris corner fix for gpu
-Harris test gdf fix

@hansely does this still break other tests?

@kiritigowda Yes. I had a meeting with Rajy and was going to ask you about this. Can we have a quick meeting tomorrow?

@hansely can you resolve the merge conflicts?

@kiritigowda This is not ready yet. I'll solve it when ready.


Virtual Machine support

Hi I have been playing RuneScape with Runelite and haven't really had any issues that are for the front. That was until I started playing Runelite in windows sandbox Virtual Machine. The only that I have so far found is that the GPU scaling and altering do not work. I have yet to try any other plug-ins because I haven't played much in the VM with Runelite but I was just making this issue aware for the purpose of later fixes.

Sounds much more like a Virtual Machine driver problem than a RuneLite problem.