Referenced enum in a schema is not documented in the generated types

Description:
 Label:
      description: Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.
      properties:
        color:
          $ref: "#/components/schemas/LabelColor"
          description: The color to assign to the label. Color is only available for labels that have their `type` set to `user`.

# Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.
public type Label record {
    LabelColor color?;
}

Closing this as the description from the schema definition is used here


[WIP] Update index page

closes #331

can you share screen shots?

Still fiddling with the wording. Suggestions welcome. @agramfort

We should tweak the colour scheme (@glemaitre):

@agramfort I made your face bigger! :smile:

I like the contrast of the first part. We just need a bit more space between "Python" and the button.
I would come back on my idea to have 2 background (white and light-green) it does not look that good. Probably a hline would be enough to separate the different part (similarly to dask werbsite)

We probably need a font that has more spacing between letters naturally. I find it very compact.
And just missing the RAMP logo in the bar :)
Apart from that, I am really happy with the general look. We are only at the nitpicks level now.

Thanks @lucyleeow for the effort

Thank you for the excellent button suggestion @glemaitre - it looks much better now.
Should I add horizontal lines after each section?

FYI - I did not include any of the JS files so you can start afresh.

anything specific you want me to edit before merging?

@agramfort you see horizontal line between the RAMP data challenges and RAMP packages? Should I add the same horizontal line between RAMP packages and RAMP in action sections & between RAMP in action and Developed by sections?

This is what it looks like with the extra lines - now that I look at it I think it's better like this:

Yes that was the plan! I will merge now, thanks!

I like it. I would have kept the photo though.


if input of lrcn is image then why i get ERROR Can't find sequence. Did you          generate them?

Same problem... is that because "image" should be "images"??

Re-opening to investigate.


I haven't cookie in SSR mode

Environment
Nuxi 3.2.2                                                                                15:03:15
15:03:15
RootDir: /home/projects/nuxt-starter-agg7l3                                                                       15:03:15
Nuxt project info:                                                                                15:03:16

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.2.2
Nitro Version:    2.2.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

👉 Report an issue: https://github.com/nuxt/nuxt/issues/new                                                       15:03:16
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com
Reproduction
https://stackblitz.com/edit/nuxt-starter-agg7l3
Describe the bug
i want create a cookie ('fapid') when i start the application, and spread it in all requests.
I see the cookies in VUE mode, but not in SSR node mode
Additional context
No response
Logs
No response

Any Solution?

You need to provide a leading slash:
- await useFetch('api/test');
+ await useFetch('/api/test');


Update coveralls plugin for code coverage analysis.

@lesv Maybe this will cause the coverage report to run?

LGTM

Hmmm... Coveralls plugin execution still fails. I'll look deeper at the logs.


[Question] Is there a skip and only functionality for step execution?

Thanks for great tool!
Is there a skip or only functionality for step execution?  I found skipTest option, but it is skipping only test section, right?  I want an option to skip entire steps or execute certain steps, because such functionality helps us to focus on a small subset of test cases and speed up writing tests.
I'm imaging something like this(https://playwright.dev/docs/test-annotations#focus-a-test).
I apologize, if I missed something.

Hi @yuya-okada527
It is possible to skip a step by using an if section.
https://github.com/k1LoW/runn#if
However, I don't have the ability to temporarily skip the entire runbook.
Currently, the way to manage the test suite is to separate the runbook directory, categorize the scenarios you want to run, and then narrow down the tests.
For example, you can specify a directory and run it as follows.
$ runn run testsuite-a/**/*.yml

However, I don't have the ability to temporarily skip the entire runbook.

Sorry. I was able to skip the entire runbook by using the if section at the top level.

How about the following?

test-a.yml
desc: Test suite A
if: ${TEST_SUITE_A:-false}
steps:
  -
    exec:
      command: echo "Testing test suite A"
  -
    dump: previous.stdout

test-b.yml
desc: Test suite B
if: ${TEST_SUITE_B:-false}
steps:
  -
    exec:
      command: echo "Testing test suite B"
  -
    dump: previous.stdout

Execution example(To run Test suite A)
$ TEST_SUITE_A=true runn run *.yml
Testing test suite A

Test suite A ... ok
Test suite B ... skip

2 scenarios, 0 skipped, 0 failures

Execution example(To run Test suite B)
$ TEST_SUITE_B=true runn run *.yml
Test suite A ... skip
Testing test suite B

Test suite B ... ok

2 scenarios, 0 skipped, 0 failures

Thanks for your quick response!

I was able to skip the entire runbook by using the if section at the top level.

I made it! It looks like it could be used for debugging purposes. Thank you!
Let me ask one more question.
Is it correct that the 'skipped' section of the test results at the bottom counts 'skipTest' cases? (about this👇)

$ TEST_SUITE_B=true runn run *.yml
Test suite A ... skip
Testing test suite B
Test suite B ... ok
2 scenarios, 0 skipped, 0 failures

Is it correct that the 'skipped' section of the test results at the bottom counts 'skipTest' cases?
(about this👇)

It is counted when it is false in the if section in step.
I get the feeling that the top level IF section of the runbook does not count. 😅

Thanks. I got it.
My questions have been answered and the Issue is closed.


Return size on public dirs

Problem
ipfs.ls does not return size for directories. I could've sworn that this worked in the past :thinking: but it doesn't return size in the in-browser daemon or a local go-ipfs node so this seems intentional
Solution
Combine ipfs.ls output with ipfs.dag.get output to get the entire object that we're looking for

Aight sounds good, was just wondering if it'd be possible to avoid ipfs.ls for the shared worker thing. But I'll see if I can ask the ipfs team to add support for the ls method.


Odd top-level printing

$ ./tpl
Trealla Prolog (c) Infradig 2020-2023, v2.30.14-5-g8968

?- "a b c d e f g h i j k" = Odd.
   Odd = "a b c d e f g h i j"||... .

That how strings are truncated to display at top level.
On Mon, 20 Nov 2023, 07:14 flexoron, @.***> wrote:

$ ./tpl
Trealla Prolog (c) Infradig 2020-2023, v2.30.14-5-g8968
?- "a b c d e f g h i j k" = Odd.
Odd = "a b c d e f g h i j"||... .
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/396, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEVWGOIJ6VBMULAC5J3YFJZEZAVCNFSM6AAAAAA7SAAUUOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDCMBTHA4DANI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ok,thnx,didn't know of this unicum.


[Enhancement] Support complex expressions in Sync MV

Fixes #22401 #17933
Backgroud
Old Sync MV can only support several pattern: input must be slot-ref or agg_func(slot_ref).
Since https://github.com/StarRocks/starrocks/pull/24750 and https://github.com/StarRocks/starrocks/pull/24764
have been merged, we can loose the restriction to support more complex expressions in sync mv.
Usage
create table user_tags (time date, user_id int, user_name varchar(20), tag_id int) partition by range (time)  (partition p1 values less than MAXVALUE) distributed by hash(time) buckets 3 properties('replication_num' = '1');
insert into user_tags values('2023-04-13', 1, 'a', 1), ('2023-04-13', 1, 'b', 2), ('2023-04-13', 1, 'c', 3), ('2023-04-13', 1, 'd', 4), ('2023-04-13', 1, 'e', 5), ('2023-04-13', 2, 'e', 5), ('2023-04-13', 3, 'e', 6);

create materialized view user_tags_mv2
as select user_id, time, bitmap_union(to_bitmap(tag_id * 100)) as agg1 from user_tags group by user_id, time;

create materialized view user_tags_hll_mv2
as select user_id * 2 as col1, time, hll_union(hll_hash(abs(tag_id))) as agg2 from user_tags group by col1, time;

create materialized view user_tags_percential_mv2
as select user_id + 1 as col1, time, percentile_union(percentile_hash(cast(tag_id * 10 as double))) as agg3 from user_tags group by col1, time;

create materialized view same_column_ref_mv1
as select user_id + 1 as col1, time, sum(tag_id* 10) as sum1 , sum(tag_id* 100) as sum2, count(tag_id* 10) as count1 from user_tags group by col1, time;

Description

There are still some limitations about the PR:

Complex expression must have the alias name like Async MV. And the alias name should not be the same with the table's full schema.
Complex expression only can refer one column for now.

We reuse the async mv rewrite rule to rewrite/compensate the mv, you need take care for you mv definition.

What type of PR is this:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

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

[FE PR Coverage Check]
:heart_eyes: pass : 296 / 339 (87.32%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
20
26
76.92%
[489, 492, 497, 498, 516, 517]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
35
44
79.55%
[106, 112, 118, 123, 128, 131, 135, 139, 143]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
114
136
83.82%
[236, 237, 239, 240, 241, 245, 246, 247, 282, 290, 307, 308, 311, 312, 316, 317, 356, 388, 399, 424, 468, 469]

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
54
60
90.00%
[166, 167, 168, 180, 181, 182]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
6
6
100.00%
[]

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

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/PartitionInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
5
5
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 427 / 476 (89.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
20
26
76.92%
[489, 492, 497, 498, 516, 517]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
35
44
79.55%
[106, 112, 118, 123, 128, 131, 135, 139, 143]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
115
138
83.33%
[236, 237, 239, 240, 241, 245, 246, 247, 283, 291, 306, 307, 310, 311, 315, 316, 356, 360, 394, 405, 430, 474, 475]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/OnlyScanRule.java
8
9
88.89%
[52]

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
79
85
92.94%
[180, 181, 182, 194, 195, 196]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
59
63
93.65%
[428, 448, 451, 452]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
23
23
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
6
6
100.00%
[]

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

:large_blue_circle:
com/starrocks/catalog/OlapTable.java
24
24
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/PartitionInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
11
11
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 203 / 234 (86.75%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
13
19
68.42%
[490, 493, 498, 499, 517, 518]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
122
147
82.99%
[237, 238, 240, 241, 242, 284, 292, 307, 308, 311, 312, 316, 317, 357, 358, 362, 363, 364, 397, 408, 418, 419, 441, 485, 486]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

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

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
11
11
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 210 / 242 (86.78%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
13
19
68.42%
[490, 493, 498, 499, 517, 518]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
123
149
82.55%
[237, 238, 240, 241, 242, 284, 292, 307, 308, 311, 312, 316, 317, 357, 358, 362, 363, 364, 397, 408, 419, 420, 421, 443, 487, 488]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

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

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToSQLBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
11
11
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 215 / 247 (87.04%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
13
19
68.42%
[490, 493, 498, 499, 517, 518]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
123
149
82.55%
[237, 238, 240, 241, 242, 284, 292, 307, 308, 311, 312, 316, 317, 357, 358, 362, 363, 364, 397, 408, 419, 420, 421, 443, 487, 488]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

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

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToSQLBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 214 / 246 (86.99%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
13
19
68.42%
[490, 493, 498, 499, 517, 518]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
123
149
82.55%
[237, 238, 240, 241, 242, 285, 293, 308, 309, 312, 313, 317, 318, 358, 359, 363, 364, 365, 398, 409, 420, 421, 422, 444, 488, 489]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnBitmapUnionPattern.java
1
1
100.00%
[]

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

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToSQLBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/MVColumnItem.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnOneChildPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/mvpattern/MVColumnPercentileUnionPattern.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRule.java
12
12
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Column.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
2
2
100.00%
[]


Ukrainian localization for docs repo

Hello!
Is there Ukrainian localization for docs repo? I couldn't find a relevant repository.
If there is none, how can it get created? I would like to contribute to that once in a while. And I might be able to find some people to help me with this.)

I've searched and didn't find an Ukrainian version.

If there is none, how can it get created? I would like to contribute to that once in a while. And I might be able to find some people to help me with this.)

I think @JasonCard may answer this.

Hi @v-tsymbalistyi, cc @Youssef1313,
Thank you for your question and interest to contribute to our Docs translation.
Unfortunately, we currently do not localize .NET Docs into Ukrainian and do not have plans to do so.
Our content is also currently not available for translation by public, but it's a possibility we are considering for the future. I'll pass on your suggestion for consideration.
Kind regards,
Microsoft DOCS Global Experience Team

@JasonCard thank you.
I am a bit surprised that I can contribute code, docs but not the translation.
Also, I hope you'll reconsider adding Ukrainian.
I can see that it might be difficult for you to verify the quality if you don't have native speakers in the stuff. But people who bother submitting translation will not usually commit rubbish and simple google translation should give you a pretty good idea about the content in general.
Maybe it makes sense to give it a try on one of the missing languages? You could share with the publicity your general policies about the translation and maybe three to five public reviews would produce good enough quality. English original will always be available. And a way to correct mistakes as well.
Also, it would be a good way for people to learn and explore dotnet and make it available to the broader community. I know a lot of people who would like to learn to program but are unable to do so because documentation in their language is very limited. And it is true for all the technologies and platforms. So this way dotnet can be the only (and the best I hope) choice for people to enter the software development world.

@v-tsymbalistyi Thank you again for further input on this topic. We do encourage community contribution to improve our existing translation by opening GitHub PR using the "Edit" button. We have a team to review those PRs by linguistic moderators. However, resources are limited, and it's not an efficient process for major translation work. So unfortunately this current process is not supported for Ukrainian.
We do see the benefit of open-source localization and we hope to make this possible in the future. That would also make it easier to add more languages including Ukrainian.
Kind regards,
Microsoft DOCS Global Experience Team

@JasonCard Thank you for considering it.
It would be great.

We have a team of translators for the Drupal.
If you need help, let us know

@podarok Thank you, that's good to know.


Add --name to standard help

I realize this is all a matter of opinion, and less is better, and design is all about saying "No", and all the other things.
Nevertheless, I would suggest that "--name" be added to the standard help. I didn't see an option for it when I did --help, and I also didn't notice that there were other options for help (more, full), because they were at the very end where I wasn't looking for the information. (I piped it to less, so I only read as far as I needed for what I was looking for.)
The output of a rip "normally" (is there anything "normal" about any of this?) contains a track# (Movie_Name_t00), and we rarely/never want that in the transcoded file name. Maybe some/most people rename the ripped file before they do the transcode and this isn't an issue. I don't know, but either way, I don't. So I always want to rename the transcoded file. I don't think that's uncommon. Since that means specifying the name is a commonly used function, I would say that it should be in the most commonly used help, which is the default help.
As with some of my other suggestions, this no longer affects me, since I now know it's there. But I  suspect other new users might to have the same problem, and thus having it in the default help would make things more helpful for them.
On a related note, the ffmpeg command-line that's output shows a metadata:g title=<the output filename>. I've confirmed that the string specified in --name is also used there. But shouldn't the title be the --name without the extension, i.e. just "Movie name", not "Movie Name.mkv"? And ffmpeg help indicates the "basic" command line is ffmpeg -i infile outfile, but there's no outfile specified on the other-transcode generated command line, even with --name. (I'm just doing a -n since I've already done the transcode.)
(And since I'm here, what are the :g and :s:v and :s:a:0 things on the various metadata options? I've looked at the ffmpeg help and online documentation, and both just reference "metadata string"; I don't see any mention of colon options anywhere.)

@vr8hub The --name option was designed to make it easier to write automated test rigs such as those that @khaosx and @rhapsodians were working with during development. And it was designed for those people bold enough to use the same directory for both input and output. I never intended the --name option to be a common user feature. Which is why it's buried in --help more.
I believe that choosing either an input or an output name is the province of the mv command. If "Movie_Name_t00.mkv" is a troubling, then a user should just change it before they transcode. Or change it afterwards. It makes no difference because the name of the file has no effect on the contents of the file.
And the --name option has no effect on the metadata in the output file. I think you're misinterpreting -metadata:g title= sample.mkv at the end of the FFmpeg command line that I generate. Notice the space between the = and sample.mkv there. I'm not setting the title equal to the filename. I'm setting the title to an empty string. And sample.mkv is the output filename.
As to the use of "colon options" in the generated FFmpeg command line, these are required for mapping input streams to output streams or designating stream types. And all of that nomenclature is actually in the documentation, although I will admit that documentation is often hard to fathom.

Every command (and app) on the planet that produces output has a way to name that output. It is the definition of "common," so much so it can't even be classified as a "feature." Why would I issue two commands when what I want to do can be done in one? That's silly and user-hostile. And you're neither. :) So we'll agree to disagree.

@vr8hub A fair assessment, sir, on both points. Thank you.
So, would a real --output option, which could specify a complete path+name+extension combination, be better?
I have been against adding such a feature because it's gotten users of transcode-video into trouble before. But I am willing to discuss it again.

Well, now we have two issues. (Reminds me of a regex meme…)
The ability to specify an output filename is a standard function of any software that produces output. There should be a way to do that (there is), and the way to do that should be clearly documented (it is and it isn't, hence this issue).
The ability to specify the location of that filename is a little hazier. I would personally say that should be part and parcel of the output filename. Again, I can't think of a piece of software that produces output that doesn't let me tell it where to put the output. I can recollect software that does that with two different parameters, but that's always struck me as making things easier for the programmer rather than the user, and I always side with the user in those situations. (Computers are supposed to make things easier for the people that use them, not the people that program them. I say that as a person who occasionally has to program them.)
What that parameter is called, e.g. name vs output, etc., I have no strong feelings about. -o and/or --output are pretty common, but certainly not ubiquitous (e.g. ffmpeg itself doesn't use them).
 For example, I initially ran the other-transcode in the source directory. Before I knew there was a --name option. Fortunately, you or ffmpeg or something told me the output filename already existed, and I didn't lose my input file. Which was kind.
And that's what should happen, where possible. If a user specifies the same name for input and output, then kind software will warn them of that before it gets started. Not all software, just kind software.  Yes, I know that resolving input and output filenames can be hairy, but there's software for that. (I had to do something similar once upon a time when I wrote a SQL module that copied the contents of a table from one table to another. I had to jump through all kinds of hoops to make sure that the database/schema/tablename resolved to something different for source and destination.)
If users go out of their way to workaround the kind software and still shoot themselves in the foot, well, then, I don't have a lot of sympathy.  I feel bad for your missing toe, but that's on you." I have done some of that shooting before, and I owned it, I didn't yell at the software maker.

@vr8hub It's other-transcode that's doing the warning if the output filename is already in use.
But that was a trick question I asked about --output. My apologies. And that's because specifying a full path+name+extension combination wouldn't work for other-transcode. In fact, it has exactly the same limitation/problem/bug that the current --name implementation has now.
You see, the other-transcode tool allows multiple inputs. So specifying a single output name will work for the first output but fail for any after that.
This is another reason I'm burying the --name option. :)

(Thanks for the warning, it saved me from having to re-rip Dark Knight!)
Oh my. So. Many. Problems.
Help has…

No mention of it taking multiple inputs. (If you're depending on that … after [FILES] to communicate that, it didn't work.)
No mention of what it's doing with those multiple inputs. Is it combining them? Is it creating an output for each? Where is it creating an output for each? What if we don't want all of the outputs in the same place?
No mention of what --name does if multiple inputs are specified.

This violates "least surprise" in oh so many ways.
I'm going to fall back to the "agree to disagree." :) This is your software, you get to do it the way you want to do it, and we can use it or not. I now know the --name is there, I'm never going to specify multiple inputs, so I'm good to go. Thank you for your patience with an opinionated user. :)

@vr8hub Well, I hate to break it to you but transcode-video takes multiple inputs and is documented the same way. And the ellipsis is commonly used to document that usage in the --help output of other tools like grep, sed, chmod, etc.
So, with this being a near-universal idiom for command line tools, I won't be changing that.
As to not documenting what --name does if multiple inputs are specified, so far nobody—not even any of the project contributors as far as I know—has noticed that or commented to me about the behavior. So, for now, I'm fine with the error message users receive when the second input is processed.

Well, I hate to break it to you, but I didn't know that, either. :) So the documentation is two for two in not communicating very well.
The problem isn't with the ellipsis, the problem is with no discussion of multiple inputs anywhere in help or the readme.
 (Chip/Dan Heath's Made to Stick relates a story about a tapping test study. The basics are covered here. I am guilty of this several times a day, usually with my wife. But at least now I'm (sometimes) aware of it. :) )
I like things to be logical, easy to use, easy to figure out ("least surprise"), and probably a couple of other things before I get to consistent. Consistency is the least of the issues here. :)
Allowing multiple inputs without allowing multiple outputs is, IMO, a fundamental design flaw. (And I wouldn't fix it by allowing multiple outputs, I'd fix it by not allowing multiple inputs.) Please don't exacerbate that by not allowing the people who don't use multiple inputs to be penalized for that flaw.
I'm sorry I brought the whole thing up. Let's go back to arguing about how bad The Rise of Skywalker was.

@vr8hub If allowing multiple inputs without allowing multiple outputs is a design flaw, then I think we'll have to throw out most command line tools. :)
And, yes, I'll close this now so we can argue about "Star Wars" sequels in a different issue. :)


Audio PCM stutter on play (W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client)

I'm developing a casual game with just few pcm sounds (i.e. 01.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz), my dev device is a Motorola Moto G (2 gen. AKA 2014) with Android 5.0.2, and every time i play one of the wav sounds they stutter (casually the play fine)
i've tested this in the 1.5.6 gdxVersion and the 1.5.7-SNAPSHOT
the only hint is that flag in the issue title, reading around it seems to be related to the low level client/server audio protocol mismatching in the communication (i.e. wrong sampling rate, checked it with the sdk preferences tool, nothing wrong)
i've also followed some path due to the known issue with the nuPlayer, without luck
last thought was about the deprecated use of the soundpool constructor vs the builder way
any help will be gold
thanks
p.s. i've tested this behaviour on another Motorola Moto G (2° gen), a 1° gen one and a Nexus 7 (all Lollipop, one with 5.0.1 too)

Read this: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=19041

Don't think there is anything to be done on our end about this.


TXADMIN BOT PERMISSIONS

Hello,
I wanted to bring to your attention an issue I’m encountering when adding my bot. When I integrate the bot, I notice that the permission "ViewCreatorMonetizationAnalytics" is automatically included under "Integrations," even though no roles have been assigned any permissions.
When I add the bot, I make sure to uncheck all permissions, yet this specific permission remains selected and is blocking my bot's functionality.
Could you please assist me in resolving this issue?
Thank you!

Since txAdmin does not initiate the bot addition process, it's 100% up to you to select the permissions.
The bot does not require any permission other than to send message in the status channel, and even that is optional.
So if you create a bot without selecting any permission, the bot will have the same permission ad the @everyone role.


Automate the pulling of Raft leader address

Is your feature request related to a problem? Please describe.
Automate the process and avoid to pass as input the Raft leader address.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Other nodes joining the cluster would pull the Raft Leader cluster before joining.
Describe alternatives you've considered
Having the logic of retrieving Raft leader address external to bank-vaults.
Additional context
Add any other context or screenshots about the feature request here.
I've spoken already with @bonifaido and we agreed that this feature is nice to have.
The idea is to retrieve the leader address using /sys/leader and then store it in the unsealed KV backend.
Question: what should happen when the leader address change?

Question: what should happen when the leader address change?

Basically I think we don't need to care about it since Vault just needs to use it once when joining only.

It makes sense. nice

@bonifaido so to be clear about the flow:

if raft-leader-address flag is not passed in then retrieve the raft leader automatically

call /sys/leader and get the leader address

talking about store the value. why do we want to store it? do we want to use it for later usage? can't we consume it immediately bypassing to the RaftJoin() function?

I think that unseal KV backend and Cloud KMS are the same here in this context.

Right because all are built as an abstraction of KV service. thank you. all clear now.

Closing this for now, as the original PR because closed as well, and the problem got resolved on the user side.


Debug option "Visible Navigation" does not show MeshLibrary navmeshes for Gridmaps.

Godot version: 3.1.1 and recent master build.
OS/device including version: Linux Mint 19.2 Cinnamon 4.2.4
Issue description:

As the title states, this debug option does not work for Navmeshes inside a MeshLibrary, which is then used for a Gridmap.
Works fine for Navmeshes outside of Gridmaps.
This specifically concerns the Navmeshes you can add directly into the MeshLibrary, not navmeshes baked in the editor outside of the Gridmap after editing it.
Steps to reproduce:
1: Clone this demonstration project: https://github.com/DigitalKI/GodotGridMapNav and load it up.
2: Enable the option as shown above and test.

It seems to work when you bake the NavMesh.

Hi @codecustard,
Could you elaborate on how exactly you baked your Gridmap?
I tried baking my gridmap with make_baked_meshes(), but it still does not show anything for me.

Select the navmesh that your grid map is in and there should be a button at the top that says bake

@codecustard Oh, I'm talking about the Navmeshes that you can pack into the MeshLibrary itself, not seperate NavigationMeshInstances outside of the GridMap that you bake afterwards.

Unless I am misunderstanding your issue, you can't really connect navmeshes from individual meshes to create a navmesh for the whole grid map. Thus might be possible in 4.0 using a postprocessing script.

Unless I am misunderstanding your issue, you can't really connect navmeshes from individual meshes to create a navmesh for the whole grid map. Thus might be possible in 4.0 using a postprocessing script.

That's incorrect, Godot has 2 options for navmeshes using Gridmaps, you can decide to just bake a Navmesh from the Gridmaps geometry or colliders in the editor, but it also allows you to manually add navmeshes to the MeshLibrary itself, and then use those in the Gridmap.
I've tried that before and it works fine if the navmeshes inside the library connect to each other correctly. (vertex wise)
The problem I'm describing has to do with the debug option only showing NavmeshInstances outside of the gridmap itself, it does not show Navmeshes used inside a MeshLibrary.

GridMap has no function / check for debug_navigation hint like other navigation nodes so no debug meshes are created. Those debug meshes from outside for the GridMap are not part of the GridMap but created by the NavigationRegion navmesh bake. Noted this issue for https://github.com/godotengine/godot-proposals/issues/4507 rework.


Infrastructure for testing the correctness of sourcemaps

Since our transformer produces same output as Babel, maybe we could:

Run all the transformer test fixtures through Babel transform with source maps enabled.
Run them through Oxc with source maps enabled.
Compare the two.

It won't be quite as simple as that because Babel's whitespace/formatting isn't quite the same as Oxc, which affects source maps. But with some massaging of the source maps we could make them match (or not match if our source map is incorrect).
Or maybe with Babel printing in "compact" mode and Oxc printing with minify option enabled, the output from the 2 tools will be identical, so then source maps should be identical too.

Or... implement support for input source maps in Oxc parser (which would be good to have anyway). Then:

Run fixture through Babel transform + print with source map.
Parse Babel's output with Oxc (using the source map to set spans).
Run same fixture through Oxc transform.
The 2 ASTs (including Spans) should match.

moved to https://github.com/oxc-project/backlog/issues/139


bug(mat-select): screen reader not saying 'expanded' when opened (only first time) (Accessibility Issue)

Description
Screen reader NVDA is not saying 'expanded' when mat-select is opened for the first time in Material angular version 15.2.8
Reproduction
Steps to reproduce:
1. Install NVDA if not installed already;
2. Open NVDA;
3. (Optional) Turn on speech viewer for visual aid;
4. Navigate to the mat-select using keyboard
6. Open and close the mat-select;
7. Notice how on open there is just a key name and a list name read then there's an option description;
8. Open the mat-select again;
9. Notice how now it says expanded after option description;
Expected Behavior
The screen reader should say and show the below when the select is opened every time:

space
list
Option 1  not selected  1 of 28
expanded

Actual Behavior
The screen reader  is not saying expanded when the select is opened for the first time

space
list
Option 1  not selected  1 of 28

Environment

Angular: 15.2.8
Material: 15.2.8
Browser(s): Firefox, Chrome
Operating System: Windows

Hello folks,
Thank you for reporting this issue. Unfortunately we are not able to take action if we cannot reproduce it. This might have already been fixed. If the issue persists, please provide reproduction steps or file a new issue report.
Environment

https://material.angular.io/components/select/overview#select-overview
NVDA 2<IP_ADDRESS>854
Chrome Version Version 121.0.6167.189 (Official Build) (64-bit)
Windows 10 Enterprise Version 22H2

Zach

Closing since there hasn't been any follow-up.


waylyrics: 0.3.16 -> 0.3.17

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/waylyrics/waylyrics/releases.
meta.description for waylyrics is: Desktop lyrics with QQ and NetEase Music source
meta.homepage for waylyrics is: https://github.com/waylyrics/waylyrics
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.17 with grep in /nix/store/xgvlf64k01lbnb9s3v826d0djh6sqq66-waylyrics-0.3.17
found 0.3.17 in filename of file in /nix/store/xgvlf64k01lbnb9s3v826d0djh6sqq66-waylyrics-0.3.17

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

waylyrics

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xgvlf64k01lbnb9s3v826d0djh6sqq66-waylyrics-0.3.17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A waylyrics https://github.com/r-ryantm/nixpkgs/archive/c7aea01eedc908341b54afffbdd9d98e6bf27a63.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c7aea01eedc908341b54afffbdd9d98e6bf27a63#waylyrics

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xgvlf64k01lbnb9s3v826d0djh6sqq66-waylyrics-0.3.17
ls -la /nix/store/xgvlf64k01lbnb9s3v826d0djh6sqq66-waylyrics-0.3.17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

waylyrics

Maintainer pings
cc @ShadowRZ @Aleksanaa for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Merge conflict, closing to allow the bot to create a correct one.

@r-ryantm rebase


Support: Possible to prevent someone from entering a world via nether/end portals?

Is it possible to prevent someone from entering a world via nether/end portals if they don't have a perm or something? I tried negating the access perm but then it just treats the world like it's not even there. I need this so when people try to make end and nether portals in the creative plots that they can't actually go anywhere

You could prevent nether/end creation so there is no nether/end to go to.

I've tried a few times and got 0 responses so that's why I asked here

Do you teleport to another world's nether/end from the plot world? Use Multiverse-NetherPortals to prevent that.

Yes I did - and I have the NetherPortals addon but I think I might've fixed it now anyways


Service Bus Readme: correcting the readme link to the source-code

Fixes https://github.com/Azure/azure-sdk-for-java/issues/39966

API change check
API changes are not detected in this pull request.


Window API: Unable to close 3rd Window

What is your Test Scenario?
I want to test that 3 links work properly and when the user clicks on in some content gets displayed in that new window.
I need the newly opened window to be closed after my check (see code below) otherwise it will hide elements from the main window.
What is the Current behavior?
The first window gets opened and can be closed. Same for the second Window, but the 3rd window gets stuck during closing. I think there might be a bug i the Window API. I get this error:
 Error: {
         code: 'E70',
         isTestCafeError: true,
         callsite: CallsiteRecord {
           filename: 'xxx',
           lineNum: 193,
           callsiteFrameIdx: 6,
           stackFrames: [
             [CallSite], [CallSite],
             [CallSite], [CallSite],
             [CallSite], [CallSite],
             [CallSite], CallSite {},
             [CallSite]
           ],
           isV8Frames: true
         }
       }

What is the Expected behavior?
The 3rd window should be closable.
What is your web application and your TestCafe test code?
The website is not publicly available but here is the example code I use:

  const initialWindow = await t.getCurrentWindow(); // The ID of the main application

  await t.click($('.link-report a')); // a new Window gets opened that displays a report

  t.expect(await $('.mainpage').child(0).exists).to.eq(true); // some assertion

  const reportWindow = await t.getCurrentWindow();  // the ID of new Report-Window

  await t.switchToWindow(initialWindow); // <---- THIS WORKS every time
  return t.closeWindow(reportWindow);  // <----- THIS STEP DOES NOT EXECUTE PROPERLY THE 3rd TIME

Steps to Reproduce:

Go to my website ...
Execute this command...
See the error...

Your Environment details:

testcafe version:                    1.9.4
node.js version:                     12.19.0
command-line arguments:   testcafe chrome -e test.js
browser name and version:  Chrome Version 86.0.4240.111 (Official Build) (x86_64)
platform and version:            macOS 10.15.7

Hello @alexej-strelzow ,
Thank you for the test code, but it's hard to determine the cause of the issue based on it. Please create a simple Web application example where we can reproduce the issue.


[INTEL] Refactor utility file in third_party/intel

Refactor third_party/intel Utility.h and Utility.cpp to remove code that is common to lib/Conversion/TritonGPUToLLVM/Utility.h/.cpp

@prathams417 @whitneywhtsang
This commit breaks DPAS layout conversion. It's not revealed by CI because DPAS conversion is not actually tested due to the incorrect compilation pipeline.
The problem is in the removed Intel version of emitOffsetForSliceLayout. This function has emitOffsetForLayout call and we need our version of emitOffsetForLayout to be called instead of the common one to handle DPAS layouts.

@prathams417 @whitneywhtsang This commit breaks DPAS layout conversion. It's not revealed by CI because DPAS conversion is not actually tested due to the incorrect compilation pipeline.
The problem is in the removed Intel version of emitOffsetForSliceLayout. This function has emitOffsetForLayout call and we need our version of emitOffsetForLayout to be called instead of the common one to handle DPAS layouts.

Thanks for pointing it out, https://github.com/intel/intel-xpu-backend-for-triton/pull/780 added back Intel version of emitOffsetForSliceLayout, so it can be resolved there.


ifan02 ceiling fan controller?

Hi,
I'd like to use this to flash the sonoff ifan02 ceiling fan controller. Ideally, it would control 3 rotation speeds and the light on/off/dimming.
Is this possible? What changes need to be made to the firmware for this to work with HomeKit?

checking in. Can I send a developer the ifan02 to help foster development?

I’d love to get my hands on one of those as I essentially built one myself with an esp8266 and a dual relay module. Granted that my build doesn’t control the fan speed, just on/off state.

I’d love to get my hands on one of those as I essentially built one myself with an esp8266 and a dual relay module. Granted that my build doesn’t control the fan speed, just on/off state.

Does yours show up in HomeKit? Want to work on making the iFan02 work in HomeKit? I was attempting to use one with Tasmota firmware and then use it via MQTT in Home Assistant, controlling that from HomeKit, but that's way more involved than I'd actually like it to be - I'd like to just install a firmware and have it be HomeKit capable.

I use the Tasmota firmware with MQTT. I then use Node-Red to bridge it to HomeKit.
I wouldn’t mind working on one of those. If you’d like, I can even share my node-red flows with you. Are you willing to send me one?

Interesting! So you have a MQTT broker running and Node-Red, and what else?
It isn't exactly what I was hoping for - I hoped we could get support for iFan02 directly in this HomeKit firmware - but it sounds potentially lighter than HomeAssistant.

Yes, I have a broker and NodeRed running on an original Pine64 1GB Ram board. I like to use NodeRed and MQTT because I can integrate multiple devices I have built, like switches and sensors.
But if you wanted to skip the broker and NodeRed, you could probably get away with using the Sonoff_Dual example from here.


Styling

You're gonna want to check this out. It looks much, much better.
Note that you don't have to merge these things right away. You can push to this branch, check it out on your machine, comment on things, and when we both really like it, then you can merge it.

Checked it out: http://i.imgur.com/Wma4jDB.jpg


urlencoding on filename

Codecov Report

Merging #8 into master will decrease coverage by 1.09%.
The diff coverage is 66.66%.

@@            Coverage Diff            @@
##           master       #8     +/-   ##
=========================================
- Coverage   76.38%   75.29%   -1.1%
=========================================
  Files          15       15
  Lines         686      688      +2
=========================================
- Hits          524      518      -6
- Misses        162      170      +8

Impacted Files
Coverage Δ

filevalidator/filevalidateutil.py
85.18% <66.66%> (-9.05%)
:arrow_down:

tests/test_file_validation.py
84.25% <0%> (-2.37%)
:arrow_down:

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 c82a389...76dd1e9. Read the comment docs.


Problems with a Windows 10 SRUM Database

I am sorry my english is not to good. i got srum monkey working on a windows 10 machine and i pulled out the srum-db from a windows 10 system and i ran into the following errors:
Converting Table MSysObjects as MSysObjects
Converting Table MSysObjectsShadow as MSysObjectsShadow
Converting Table MSysObjids as MSysObjids
Converting Table MSysLocales as MSysLocales
Converting Table SruDbIdMapTable as SruDbIdMapTable
Converting Table SruDbCheckpointTable as SruDbCheckpointTable
Converting Table {973F5D5C-1D90-4944-BE8E-24B94231A174} as NetworkUsageData
Converting Table {D10CA2FE-6FCF-4F6D-848E-B2E99266FA89} as ApplicationResourceUsageData
Converting Table {97C2CE28-A37B-4920-B1E9-8B76CD341EC5} as {97C2CE28-A37B-4920-B1E9-8B76CD341EC5}
Converting Table {FEE4E14F-02A9-4550-B5CE-5FA2DA202E37} as WindowsPushNotificationData
Converting Table {D10CA2FE-6FCF-4F6D-848E-B2E99266FA86} as EnergyUsageData
Converting Table {DD6636C4-8929-4683-974E-22C046A43763} as NetworkConnectivityData
Converting Table {FEE4E14F-02A9-4550-B5CE-5FA2DA202E37}LT as WindowsPushNotificationDataLT
Traceback (most recent call last):
File "C:\Users\Student\Desktop\SrumMonkey-master\SrumMonkey.py", line 931, in
Main()
File "C:\Users\Student\Desktop\SrumMonkey-master\SrumMonkey.py", line 130, in Main
rhandler.EnumerateRegistryValues()
File "C:\Users\Student\Desktop\SrumMonkey-master\SrumMonkey.py", line 381, in EnumerateRegistryValues
self.INTERFACE_COLUMN_LISTING
File "C:\Users\Student\Desktop\SrumMonkey-master\SrumMonkey.py", line 808, in CreateTableFromMapping
field_mapping[field]
KeyError: u'Has Connected'
The Testfiles were perfectly working on my machine.
I also setup SrumMonkey running on a ubuntu 16.04 system and ran into the same errors (same database).

Try now. I think maybe this commit fixed it. Let me know if the issue is resolved.


cmd/thanos/receive: reduce WAL replays at startup

Every time thanos receive is started, it has to replay the WAL three
times, namely:

open the TSDB;
close the TSDB; open the ReadOnly TSDB and Flush; and
open the TSDB

These WAL replays can take a very long time if the WAL has lots of data.
With the fix from #1654, the third time will be instantaneous because
the WAL will be empty. That still leaves two potentially long WAL
replays. We can cut this down to just one long replay if we do the
following operations instead:

with a closed TSDB, open the ReadOnly TSDB and Flush; and
open the TSDB

Now, the second step will be a fast replay because the WAL is empty,
leaving just one potentially expensive WAL replay.
This commit eliminates explicit opening of the writable TSDB during
startup, and instead opens it after flushing the read-only TSDB.
Signed-off-by: Lucas Servén Marín<EMAIL_ADDRESS>cc @metalmatze @bwplotka @brancz

Not sure if legitimately or not, but CI is killing the job because nothing new in logs for 10mins.

Saw that. I am running locally and it’s happy. Can we re-kick CI?

Re-ran a few times now, it seems we just have to extend the timeout if that's possible on circleci.

Ill do some digging

Nicely found!


Adapter Merge for Idefics2

Feature request
I have fine-tuned the Idefics2 model and obtained an adapter. However, when attempting to use the adapter, I encounter the following error:
ValueError Traceback (most recent call last)
Cell In[15], line 5
      2 trainer.save_model("output_yalla")
      4 # Load the PEFT model on CPU
----> 5 model = AutoPeftModelForCausalLM.from_pretrained(
      6 "Ali-C137/idefics2-8b-yalla-finetuned-cutural",
      7 torch_dtype=torch.float16,
      8 )
     10 # Merge the adapter with the base model
     11 merged_model = model.merge_and_unload()

File ~/miniconda/lib/python3.9/site-packages/peft/auto.py:100, in _BaseAutoPeftModel.from_pretrained(cls, pretrained_model_name_or_path, adapter_name, is_trainable, config, **kwargs)
     98 target_class = getattr(parent_library, base_model_class)
     99 else:
--> 100 raise ValueError(
    101 "Cannot infer the auto class from the config, please make sure that you are loading the correct model for your task type."
    102 )
    104 base_model = target_class.from_pretrained(base_model_path, **kwargs)
    106 tokenizer_exists = False

ValueError: Cannot infer the auto class from the config, please make sure that you are loading the correct model for your task type.

The motivation for this proposal is to enable the merging of adapters for the Idefics2 model. This feature is crucial for effectively utilizing the fine-tuned adapters in downstream tasks. Without this capability, users who have invested time in fine-tuning Idefics2 are unable to fully leverage their adapters, limiting the model's practical utility.
Motivation
Implement support for merging adapters with the Idefics2 model. This functionality should allow users to seamlessly load their fine-tuned adapters and merge them with the base model.
Your contribution
No, I am unable to submit a PR at this time.
Thank you for considering this feature request. Implementing this capability would greatly enhance the usability of the Idefics2 model for the community.

AFAICT from your code snippet, the error occurs when you want to load the base model from the trained adapter (so it is not related to merging). Could you please try loading the base model exactly the same way you loaded it before training the PEFT adapter? Something like this:
# use the same model id as previsously
base_model = AutoPeftModelForCausalLM.from_pretrained("HuggingFaceM4/idefics2-8b", ...)
model = PeftModel.from_pretrained(base_model, "Ali-C137/idefics2-8b-yalla-finetuned-cutural")

AFAICT from your code snippet, the error occurs when you want to load the base model from the trained adapter (so it is not related to merging). Could you please try loading the base model exactly the same way you loaded it before training the PEFT adapter? Something like this:
# use the same model id as previsously
base_model = AutoPeftModelForCausalLM.from_pretrained("HuggingFaceM4/idefics2-8b", ...)
model = PeftModel.from_pretrained(base_model, "Ali-C137/idefics2-8b-yalla-finetuned-cutural")

Thank you dear @BenjaminBossan now it works 🤗


Golden file fixes

Make goldenFileComparator getter return null if it's set to the
uninitialized comparator, which matches the behavior of the setter
(it sets it to the uninitialized comparator if the caller specifies
null).
Make the uninitialized comparator return trivial success (and print
a message) when asked to compare as opposed to throwing. This ensures
that the comparator will play nicely with live widget bindings


[RFC] Add an  or a documentation on how async data loading can be done

First of all, I want to excuse myself for asking again a sort of "How To" question.
We've been asking on stackoverflow for weeks without  getting an answers. And we got slowed writting poor quality code since we never clearly solved that issue.
Also to support the time it cost to answer, I want to add that we are about to release a few front-end packages made for admin-on-rest (particularly if you don't wan't to use material-ui), if you want to give feedbacks or/and test you will be welcomed.
What you were expecting:
So far, playing with react-admin was a real pleasure except when it comes to load async data in chain. This downside can quickly become a nightmare when we need to customize our front-end.
We loose a lot of time when we try to write components that requires many async operations.
Example:
I want to display a list of checkbox with allowed role for OAuthClient resource, a User have many OAuthClient.
2. OAuthClient have many roles.
3. OAuthClient available roles depend on the list of roles the user currently have.
A possible solution would be to fetch data by starting (3) with a ReferenceField and use it's response so it can be available to the Input where we will use the data to customize the UX. this require to encapsulate the components like this
 Edit > ReferenceManyField > Grid > Input

This work fine but:

That doesn't scale to more than 1 or 2 requests otherwise the JSX tree hierarchy will become a strange nested thing + we can't find meaningful names for all theses useless components.
Conditional if/else statements will often need to be spitted in order to catch the data and the JSX tree will be written around that condition making the code poor and unreadable.

This is a bit of frustrating not being able to write quickly UX and to see our code getting split without any logic behind.
For async operations, I have been using for years async which does exactly what we want, loading asynchronously many data.
Again, this is the 3rd time I ask the question and I feel sorry if it is already answered, I didn't understand how to do.
Also, if this is not possible with the current react-admin, would you be interested in such implementation?
Environment

Admin-on-rest version: 1.3.2
React version: 16

Hi, @kopax .. Did you have a solution for it? I saw you close the case, did you open another one on stackoverflow?
Thank you,
Lior.

Hi @llioor. I decided to close because we didn't got any answers and contributors are currently working on a V2. I think this is not the right moment to bring this idea.
On my side, I didn't implemented it yet but I will.
This flow is not very usefull when you need to access a particular record in your JSX:

Edit/Show/Reference{Many|Array}Field fetch one data
SimpleLayout, SimpleForm receive the record and pass it to field/input and context, overriding any previous record in the context.

I concluded there is 4 way to access the record :

Using the context, but this require stupid code
Writting PageLayout, PageForm and writting all the Field/Input, but this require to give up reusing our layout/form.
Writing selectors and serv ourself in the store, but this require adminonrest not to break how it work internally and to communicate.
Writing a <AsyncLoader /> and <AsyncMapper />, the first would be in charge of loading many data at the image of asyncjs and the second would be in charge like layout/form to create a context for the multiples record. This will also require custom input with an additional field to name the record to be used by the field.

I personally chooses to do the latest solution as it seems to be the best available choice here.
I didn't know you were following, I'll reopen until I get maintainers opinion.

This is  avery professional answer. I know how to appreciate it. Thank you in advance ;)

I'll keep u posted. I will continue after the weekend ;)

From what I understand, your problem isn't specific to admin-on-rest. You need to build a dynamic form based on various API calls. The solution is to build an Input component completely independent from admin-on-rest for that, and to use redux-form action creators to link your component to the Edit form. I wouldn't use Redux in your case, but rather a chain of Promises in conponentWillMount().
As it's rather a general react question, I'll close it. Feel free to reopen if you think admin-on-rest goes in the way.

@fzaninotto actually I spoke about "load async data" for the  component is been displayed. For example I want to load the messages {en, fr...} in async request and  to show a spinner all over the screen before the  component is been loaded.. only after we have the "user locale" and "messages" (translations) we will display the  component.
I'm not sure if "custom app" is the solution here because it is a very requested feature (ability).

Has there been any development on something like this? Or has anyone developed a solution I could use?

@llioor react-admin supports async i18n messages out of the box, see https://marmelab.com/react-admin/Translation.html#changing-locale

Hi @fzaninotto
I know about the i18n.
I'm talking about sending "an http request" to select the user "profile" in order to know which locale to set before the admin panel is displayed.
I imagine it like that:

"before display event"
Display loader all over the screen
Request and Response from a profile http request
Setting the user locale
Hide loader and Render the admin panel component

Is it possible yet or not?
Thank you for the support.
Leo

@llioor There's nothing specific to react-admin in your usecase. Besides, as explained in the react-admin contributing guide, the right place to ask a "How To" question, get usage advice, or troubleshoot your own code, is StackOverFlow.
This makes your question easy to find by the core team, and the developer community. Unlike Github, StackOverFlow has great SEO, gamification, voting, and reputation. That's why we chose it, and decided to keep GitHub issues only for bugs and feature requests.
So I invite you to ask your question at:
http://stackoverflow.com/questions/tagged/react-admin
And once you get a response, please continue to hang out on the react-admin channel in StackOverflow. That way, you can help newcomers and share your expertise!


npm fetchPackageMetaData error

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 2.2.18
VirtualBox 6.1.26r145957
ansible [core 2.11.3]
  config file = None
  configured module search path = ['/Users/jty711/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/4.4.0/libexec/lib/python3.9/site-packages/ansible
  ansible collection location = /Users/jty711/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.6 (default, Jun 29 2021, 05:25:02) [Clang 12.0.5 (clang-1<IP_ADDRESS>)]
  jinja version = 3.0.1
  libyaml = True

Your OS

macOS (Big Sur 11.5.2)

Full console output

https://gist.github.com/UTCGilligan/dedd5aa61b018b51cf6ebc2085500aa7
Summary

vagrant up fails during npm global packages install.

Note: dev-master version fixes the issue with the update to the Node Ansible role.


Consider extending to a 1-day workshop

Consider taking it out of the default workshop and turn it into a separate 1-day workshop which can be coupled with a 1-day workshop on mixed-language development.

Writing here my thoughts so that they are not lost in a 1-1 email:
We haven't given this lesson for a while because it is often too technical and too niche for our typical workshop audience.
But the topic is important for many researchers and developers but for those the typical 1.5-2 hours may be too short.
I think this material should be developed into a half to full day course where one can go more in-depth.
I would very much welcome comments and pull requests.


output

can we append the model output into a json/jsonl??

don't forget we have https://chat.openai.com/g/g-qqTuUWsBY-crewai-assistant to help and also the discord community https://discord.com/invite/X4JWnZnxPb

@sc00rpi0n  can you show me code example. Trying to save the output as a conversation

Trying to get the output of both agents as a collum

at the latest crewai update now the output have each agent name next to its output , assume the results is saved in "output" variable then here's an example code
`
Extract agent answers and create a JSON conversation
conversation = []
Split the output into blocks based on the working agent
blocks = output.split('[DEBUG]: Working Agent: ')
for block in blocks[1:]:
agent_name, task_output = block.split('[DEBUG]: [', 1)
agent_name = agent_name.strip()
task_output = task_output.split('] Task output: ')[1].strip()
conversation.append({
    "agent_name": agent_name,
    "answer": task_output
})

Create a JSON conversation
json_conversation = json.dumps(conversation, indent=2)
Print the JSON conversation
print(json_conversation)
`
that's is just an example you can edit it to match your needs

@sc00rpi0n  would outputs be the result if i did result = crew.kickoff()

yes , but make sure to change the name f the variable in the script as i used output = crew.kickoff()


Add island labels

These islands of southern California have names, but we don't include them yet:
z10/33.9060/-119.9944

Looks like the related tag is:
http://wiki.openstreetmap.org/wiki/Tag:place=island
But sometimes it's hiding on relation parts, fun.

Looks like these would also be useful:

place=archipelago	Relation	Identifies the relation of an archipelago, which contains several islands and islets.
place=island	Area	Identifies the coastline of an island (> 1 km2), also consider place=islet for very small islands
place=islet	Node Area	Identifies an islet (< 1 km2).

Target layer: physical-labels or earth or places, tbd.

Load balancing to v0.8

Is that what's happening in this case? Seems like it's coming through in the tile in the boundaries layer. This looks to be the relevant osm feature.
Can certainly add the places you mentioned, just don't think it'll help with this example, unless I'm missing something.

Err sorry, I see it in the landuse layer. An example tile is: 10/171/409.

Other candidates, from http://taginfo.openstreetmap.org/tags/natural=strait:

natural=peninsula
natural=headland
natural=cape
natural=isthmus

That feature is the national park, this is the (generic) island, tagged place=island:

http://www.openstreetmap.org/relation/237600#map=12/34.0184/-119.7252

Distraction: The one you mention seems to have gotten corrupted somewhere (either in OSM or in our processing), the name of the "county" is not Santa Cruz Island!

@rmarianski I'd like to reprioritize adding island labels until later in the milestone. If this safe to move into the backlog or do you have partial code for it now?

De-prioritizing sounds good. The actual code change was minimal.

Related: https://github.com/mapzen/vector-datasource/issues/656

We're getting multiple island labels per feature part for each child tile:
10/33.9741/-119.8279

13/37.8595/-122.4186

14/37.8147/-122.3811

Ooops, yeah. Looks like we need to pre-calculate centroids and split off the label_placement: yes points from the polygons.

@rmarianski can you finish this off, please? I'm fading with jet lag.
If I remove label_position: yes from the output for islands, islets, and archipelago, then that fixes the multiple points per feature problem, but then all the node tests fail. As Matt suggests, we need to select the points separate from the polygons.
Additionally, these 2 polygon tests fail, likely because the resulting point is in a neighboring tile and the test just needs to be updated.
# LARGE island labels (from place polygons)
# http://www.openstreetmap.org/relation/4227580
# Manitoulin Island, Canada
# assert_has_feature(
#     7, 34, 45, 'earth',
#     { 'kind': 'island', 'label_placement': 'yes', 'name': 'Manitoulin Island' })

# LARGE island labels (from place polygons)
# http://www.openstreetmap.org/relation/5176042
# Trinidad, the island of the nation
# assert_has_feature(
#     7, 42, 60, 'earth',
#     { 'kind': 'island', 'label_placement': 'yes', 'name': 'Trinidad' })

Working for me :)


Fix compile issues in Android (; expected and cannot find symbol)

Does any other open PR do the same thing?

No.
What issue is this PR fixing?
Fixing a compile issue of the Android version. I did not understand exactly what the (merged) PR #2136 does, but it breaks the Android java build with this error(s):
AirMapUrlTileManager.java:50: error: ';' expected
    view.setMinimumZ(minimumZ)

# .. and after fixing this, also here:

AirMapUrlTile.java:32: error: cannot find symbol
      if(this.maximumZ && zoom > maximumZ) {

How did you test this PR?

Use the current master of react-native-maps (for example with yarn upgrade react-native-maps@react-community/react-native-maps#master)
Build your android app with react-native run-android
This fails with the error above. With this changes it compiles again.

ping @rborn and @akmjenkins, maybe you can check if the minimumZ > 0 check is what you expect?

 Thanks for catching this! I forgot that in Android there are default values specified for minimumZ and maximumZ so do we need the check to see if it's greater than 0 in there at all?

Hi, please merge this PR because master is not compiling in Android since 8 days ago!

@pedrolopes10 can you confirm you tested this PR and it compiles ok ?

Checkout the diff. It works and it fixes only obvious compiler issues.. 😉

@rborn sorry about the delay, yes I can confirm that it works fine.
Thanks for the merge and the great work!


PB Writer implementation

Serializes case classes into Protobuf

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1f09378). Click here to learn what that means.
The diff coverage is 97.14%.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   97.14%
=========================================
  Files             ?        2
  Lines             ?       35
  Branches          ?        0
=========================================
  Hits              ?       34
  Misses            ?        1
  Partials          ?        0

Impacted Files
Coverage Δ

src/main/scala/pbdirect/package.scala
100% <100%> (ø)

src/main/scala/pbdirect/PBWriter.scala
96.29% <96.29%> (ø)

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 1f09378...1189fec. Read the comment docs.


Metrics only report one MCU

The printer object code appears to only handle a single MCU, whereas Klipper can have many MCUs attached that are not the default. It would be nice to have metrics from all MCUs.

fixed in release v0.12.0 with PR #40
Thanks for the PR!

Welcome!


How to get all parameters of google maps request?

Hi!
I want to get more information of a request. I start a search by doing:
2.1.4 :000 > Geocode.search('AN ADDRESS HERE')

Now I want to retrieve the following parameter:

place_id

FYI This parameters are deprecated after mid of 2015:

id
reference

This parameters are not on the Geocoder::Result::Google instance object. Why? Any idea how to get this information?

You can access the parsed raw response using the hash: Geocoder::Result::Google#data. However, Google geocoder doesn't include a place_id in its response (see sample response).

@alexreisner ok thx!


Website login button should redirect to wallet

should keep invite link code in redirection if applicable

@tzvister this needs to be coordinated with the. new website developer

Verified as done.
Dev env v0.20.1
Checked on the
iPhone 6S+ // iOS 12.4
Chrome desktop latest
Xiaomi Redmi 7 // Android 10
If user click/tap the "Join the demo" button on the site (https://www.gooddollar.org/), they navigated to the wallet (https://wallet.gooddollar.org/).

@AnastasiiaOdnoshevna this task was to check

that invite code is also passed
that all links in to wallet in website pass the invite code

Checked on ewallet.gooddollar.org
Verified as done.
When user navigate to the site by invite link. and click/tap the "Join the demo" button, invite code saved  (and look like https://wallet.gooddollar.org/?inviteCode=nXPQQ-xDL)
After user sign up user-inviter get rewards and +1 invite friends.
Devices used:
Redmi 7 // Android 10
iPhone 6S // iOS 12.4


[WIP] Does the c parameter to typeof_impl serve a purpose?

(No pun intended) - just opening this PR to see what happens on CI.

Answer: the purpose is to enable typing differently depending on whether the value is being typed as an argument or a constant. It is not used within Numba, but could be useful for someone extending Numba.


Fix numberSourceFiles metric

This PR contributes with issue #610 by fixing the numberSourceFiles metric (related to ComputeSourceDir step).
This PR fixes two bugs:

The source dirs had been got twice in ComputeSourceDir step, and by consequence the numberSourceFiles metric had been set with the double of the actual number of source files. This was fixed in ComputeSourceDir.
Specific for ProjectInspector (REPAIR), the resulted numberSourceFiles metric on json files was always 0, because the json files had been created before the final steps being executed, and ComputeSourceDir was one of them. To fix that, I created the step WritePropertyFile to be responsible for writing the json files, which is a final step, just before CommitProcessEnd. I also moved properties from AbstractStep to JobStatus to make the things work properly (because this info is not passed to final steps since the first final step doesn't have a previous step). This actually made the code in AbstractStep cleaner and less complex IMHO.

The build is passing in https://github.com/fermadeiral/repairnator/pull/20

I'm waiting the build to finish in my fork.

The build is passing, this PR is ready again.


Using with Nuxt in SSR

Although I have only imported and registered in components and not declared inside template but reloading the page prompts the error:
NuxtServerError

render function or template not defined in component: anonymous

doesn't it pose bad UX impression? BTW, how can I use it in Nuxt?

@davidroyer can you help me on this?

@Lahori-Jawan
Registering the plugin with the ssr: false should fix any issues.
Example in the Nuxt.js Docs: https://nuxtjs.org/examples/plugins/
Does this fix the issue? If not, do you have a repo I can look at?

Thanks! Its working now.
for your information: I just noticed that your README.md has duplicate Development and License declaration.

@Lahori-Jawan
Fantastic!
Also, thanks for letting me know about the README. 👍

@Lahori-Jawan Hello, can you show your example how you solve this issue?

create a file inside plugins directory i.e. quill-editor.js and paste this in:
import Vue from "vue";
import { VueEditor } from "vue2-editor";

Vue.use(VueEditor);

now in your nuxt.config.js include this plugin i.e.
module.exports = {
     // head: {  //  },
    plugins: [
		{ src: "~plugins/quill-editor.js", ssr: false },
	]
}

and now you can just follow the docs to use in .vue file

Hello @Lahori-Jawan
How did you include the component in the .vue file. I'm receiving the following error
[Vue warn]: Unknown custom element: <VueEditor> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Any thoughts?

Ah, I had to register the component!
// quill-editor.js
import Vue from "vue"
import { VueEditor } from "vue2-editor"

// Vue.use(VueEditor, {name: 'vue-editor'})
Vue.component('vue-editor', VueEditor)


FAB-17752: return errors when creating keystore

Signed-off-by: Shitaibin<EMAIL_ADDRESS>Change-Id: I9e68f2c79eb38e7c38e5903080309c762f6cb6bf
Type of change

Bug fix

Description
FAB-17752: https://jira.hyperledger.org/browse/FAB-17752?filter=-1
Additional details
Has been tested by lint, tests and byfn.
logs:
2020-04-14 01:40:21.591 UTC [bccsp_sw] createKeyStore -> DEBU 01c Creating KeyStore at [/etc/hyperledger/fabric/msp/keystore]
2020-04-14 01:40:21.592 UTC [bccsp_sw] createKeyStore -> DEBU 01d KeyStore created at [/etc/hyperledger/fabric/msp/keystore]

Related issues
FAB-17752

Note that the code in master has already been modified to handle this when it was refactored

@denyeart
Unit test has been added.


Search Engine Parameters to Filter Country Region

Is there a way to set the country region for where the results come from? This would be equivalent to setting the &cr=countryUS query string in the URL.
I see in the search_engine_parameters.py there is a 'cr' parameter but how do I make use of that and set it to 'countryUS'?
Thanks,
John

I met the same problem, can anybody solve it ?
tks!!

@Pulapula Yes, it's possible but you need to modify the source :(


Psinode - Seg fault on admin-sys /#Logs page

I am able to reproduce a psinode seg fault.
I have a local psinode running over https. Go to admin-sys, everything is fine until I access the /Logs page. After a few seconds on this page I get a seg fault.
CC @swatanabe

https://github.com/gofractally/psibase/assets/42752296/6e62264d-707d-468b-ba52-d34b662e72af

This happens because the socket is moved out of the session, but the session still thinks it has an active socket and tries to close it. The non-TLS implementation is fine, because it returns an error when trying to shutdown a moved-from socket, instead of crashing.


[Incremental] Fix clean build quadratic performance bug

The status quo reads every swiftmodule file for every input file. This PR fixes that. It is trickier than it seems because, when incremental imports are disabled, every time an initial swiftdeps file is processed, invalidation must happen for every (changed) swiftmodule referenced. So, this fix involves a larger reorganization that it would seem at first blush.
I've tried to include enough comments, etc., so that this code should be understandable.

This PR is my preferred fix for the issue addressed in https://github.com/apple/swift-driver/pull/742

@swift-ci please test

@swift-ci please test

@swift-ci please test

@cltnschlosser @artemcm @CodaFi , I think this is now ready for a review. Would you care to take a look? It should fix the clean build regression issue in a principled fashion.

@swift-ci please test

@swift-ci please test

@CodaFi Thank you for your prompt review. Let's talk offline about Swift 5.5, I want to get your thoughts on that.


"Require smiles and parent mass match" filter

At the moment, this filter has known bug in matchms, which should be fixed in the new release.
Thus, the filter is temporarily removed, and should be added back once a new version of matchms is released

Anything I can do from the matchms side of things @niekdejonge ?

You already did :)


Stubber: made ANY usable for nested parameters

Use the same compare-all class that unittest.mock.ANY uses to enable deep comparisons to 'just work'.

This enables requests with nested parameters that have variable data to be tested easily with the stubber, and also is less surprising since ANY reminds users of unittest.mock.ANY, anyway.
Could also be used to solve the problem I had in #1050, but it would still require specifying ANY for each parameter/nested parameter that needs ignoring, which can be a lot for some service methods.

Current coverage is 97.55% (diff: 88.88%)

Merging #1054 into develop will decrease coverage by 0.01%

@@            develop      #1054   diff @@
==========================================
  Files            44         44
  Lines          6917       6922     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6749       6753     +4
- Misses          168        169     +1
  Partials          0          0

Powered by Codecov. Last update 8f38e97...dc91087

ok sure

Added

Awesome, thanks again!


drivers/flash/nrfx: Enable partial erase of flash

When enabled, instead of erasing entire flash page at once, page will
be erased in defined time slices. Erasing single page stalls CPU
for significant time share (~80ms) and partial erase divides the
operation in to the shorter time periods, resuming CPU operation in
meantime and enabling better scheduling of time sensitive operations.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

DNM till the https://github.com/zephyrproject-rtos/zephyr/pull/23369 is merged.

@de-nordic @nvlsianpu I guess this would fix/resolve #23139?

@de-nordic @nvlsianpu I guess this would fix/resolve #23139?

I am not sure, as I have just been made aware of the #23139.
The partial erase breaks single erase operation on page, that can take 89ms, to predefined chunks of at least 2ms (rounded up from required minimum of 1.05ms). This means that you will not have page for immediate write and you will have to wait ~89ms anyway, only the execution of CPU should be able to resume, allowing some scheduling or interrupt processing, etc.
Without this fix, the CPU has to wait for page erase to complete before write, which means that for small file (lets say 1b) it has to wait all 89ms before starting to write. CPU should be able to take over every 89ms (between pages) as far as I can tell. I think, but I may be completely wrong, that this PR may not solve the issue.
I need to get familiar with #23139 and test it to respond with some reliable information.

@cvinayak Can you test this with BLE connections?

Before:

After this PR (when using 3 ms FLASH_ERASE_SLOT):

Fixed slot and interval times as suggested by @cvinayak after his tests (thanks!) with his changes done here: https://github.com/zephyrproject-rtos/zephyr/pull/23905/

@carlescufi This is ready to merge. I will rebase and resolve merge conflicts in #23905, thereafter.


[question] multiple mail server one one host

Heyho,
I already successfully set up an mail server via rancher.
Now I have a second domain and would like to use the same host for that.
I tried to create a load balancer for that with no success like:
mailserver-lb:
  image: rancher/load-balancer-service
  stdin_open: true
  tty: true
  restart: always
  links:
  - mailserver-foo
  - mailserver-bar
  ports:
  - 25/tcp
  - 143/tcp
  - 465/tcp
  - 587/tcp
  - 993/tcp
  labels:
#    io.rancher.loadbalancer.ssl.ports: 993,465,587,143
    io.rancher.loadbalancer.target.mailserver-foo: mail.foo:25=25,mail.foo:143=143,mail.foo:465=465,mail.foo:587=587,mail.foo:993=993
    io.rancher.loadbalancer.target.mailserver-bar: mail.bar:25=25,mail.bar:143=143,mail.bar:465=465,mail.bar:587=587,mail.bar:993=993
    io.rancher.scheduler.affinity:host_label: host=blabla

I also setting up certs via rancher (ssl) but no luck there either.
Always getting somthing like "The server may be unavailable or is refusing [...] connections."
Anyone some experience with that?

Layer 7 routing (host and path) is only for HTTP listeners.  Haproxy does not understand SMTP, POP3 or IMAP4, etc protocols in order to determine what domain a request is for and make routing decisions on.
So you need to have a different public IP/host for each server, or use non-standard ports.
Also 143 should definitely not be SSL, 587 is usually STARTTLS so it would need to support plain or encrypted, and 465/993 should be directed to a non-encrypted port on the container because SSL would be terminated at the balancer with this configuration.  But really you probably just want straight TCP pass through on each port and SSL termination not enabled on the balancer for any of them.

@vincent99 can we bind multiple public IP address within the rancher-ui on one host ?

@fentas
Maybe you could setup a mail  container with mail routing to internal mail servers instead of a LB?


multipart/form-data is treated as binary content

In HarClient, content bytes are interpreted as UTF8 if the Content-Type header value is known to be text; the text will be readable from the data model and will be emitted as valid JSON by JSON.NET. Otherwise the bytes are treated as binary data and their values are preserved directly; the intermediate data model form will not be readable, but JSON.NET should ensure that the appropriate "naïve byte values" are preserved at the output.
The multipart/form-data content type may contain text, binary, or a mixture. If multibyte UTF8 text is encoded into multipart/form-data content, the intermediate form is "kinda-text" in that any low code points are preserved correctly, but higher code points are not. This may appear to be a bug.

For example:
new MultipartFormDataContent
{
    // TODO: Github issue #22: multipart is treated as binary, so anything that's
    // not a single-byte UTF8 value will be wrong in UTF16.
    { new StringContent("A→"), "←A", "file" },
}

the multibyte UTF8 → gets naïvely coerced into invalid UTF16, so the Request.Content.Text property is not correct.


Wrong file loaded when building new SpatialData

I am working with some data with many .h5ad files stored in the same directory. Whenever I create a new SpatialData object I specify the path to the correct AnnData counts file.
I noticed that the file that is loaded is typically the wrong one and the first .h5ad in the directory is loaded instead. I believe this is because the first element of a list is considered here
https://github.com/scverse/spatialdata-io/blob/e3c53b5d6789bbaec49181f33dfe368170747ce4/src/spatialdata_io/readers/dbit.py#L282
I guess the same happens for the barcodes that are specified in the line below
https://github.com/scverse/spatialdata-io/blob/e3c53b5d6789bbaec49181f33dfe368170747ce4/src/spatialdata_io/readers/dbit.py#L285
The only workaround right now is to have multiple paths for different files.

From a quick look I think the reason is what you described. @lillux could you have a look at this please?

This has been solved in #139, that also describe how the parsing behavior has been changed.
I have just tested the above scenario with spatialdata-io version 0.1.3.dev117+g3c03009,  at commit 3c03009, and an Exception is raised when multiple matching files are found.
Please @dawe let me know if you still see the problem with the latest version of spatialdata-io.
Implementation details on path resolution behavior
This is in part to describe implementation details, in part to get opinions in improving it.
Just to clarify why we take index [0] of _check_path() output in the 2 calls below:
https://github.com/scverse/spatialdata-io/blob/3c03009408da2eebfb6ddf12fafd8b93e87f0fda/src/spatialdata_io/readers/dbit.py#L282-L287
In the actual implementation, _check_path() takes some arguments and return a tuple:
https://github.com/scverse/spatialdata-io/blob/3c03009408da2eebfb6ddf12fafd8b93e87f0fda/src/spatialdata_io/readers/dbit.py#L26-L32
Index [0] of the tuple can be a path or None.
Index [1] is always a bool that indicates that the path has been resolved. This is needed for downstream tasks with optional arguments (optional_arg = True).
Index [0] is always a path for mandatory arguments, like the .h5ad and barcode_list, and an Error is raised by _check_path() if the path is not resolved.
We do not care about index [1] when optional_arg = False, so we do not save its value when checking for .h5ad and barcode_list.
Instead we care about index [1] when optional_arg = True, for example in the case of an optional image:
https://github.com/scverse/spatialdata-io/blob/3c03009408da2eebfb6ddf12fafd8b93e87f0fda/src/spatialdata_io/readers/dbit.py#L288-L294
Here we unpack the tuple, and take in account both the values in the downstream tasks.


Updated ModuleManagement section in the UserGuide

Coverage remained the same at 55.961% when pulling 5f325635ff2808adc8d0f38165a8b10c2c9d9001 on harriuscai:master into f265f96678d3a21cd4b0f96421ae785dabe406ec on CS2113-AY1819S1-T16-1:master.


add sysctl config

Signed-off-by: bo.jiang<EMAIL_ADDRESS>
What type of PR is this?
/kind feature
What this PR does / why we need it:
Optimize the pid max parameter of the kernel.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


minerva-ag: Modify sensor polling control commands

Summary:

Modify sensor polling control commands

Test Plan:

Build code: PASS

The changes have been pushed by other PR, I'll close this PR.


NoSuchMethodError when using launchMoleculeState with parameters by default

Thank you for the great work on the Molecule library! It has been really useful in my project. I encountered an issue that I hope you can help resolve.
I encountered an issue when trying to use the launchMoleculeState function in my project, which extends MoleculeViewModel. The function works correctly when called directly using scope.launchMolecule, but when trying to wrap it inside a custom launchMoleculeState method, I get the following error:

[!NOTE]
java.lang.NoSuchMethodError: No static method launchMoleculeState$default(Lkz/anilibria/common/utils/viewmodel/MoleculeViewModel;Lapp/cash/molecule/RecompositionMode;Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/StateFlow; in class Lkz/anilibria/common/utils/viewmodel/MoleculeViewModel; or its super classes (declaration of 'kz.anilibria.common.utils.viewmodel.MoleculeViewModel' appears in /data/data/kz.anilibria.app.debug/code_cache/.overlay/base.apk/classes11.dex)

Steps to reproduce:

Extend MoleculeViewModel in your ViewModel class.
Implement the following custom launchMoleculeState method:

abstract class MoleculeViewModel<State, Event> : ViewModel() {
  private val scope = CoroutineScope(viewModelScope.coroutineContext + AndroidUiDispatcher.Main)

  protected fun <State> launchMoleculeState(
    mode: RecompositionMode = RecompositionMode.ContextClock,
    context: CoroutineContext = Dispatchers.IO,
    body: @Composable () -> State
  ): StateFlow<State> {
    return scope.launchMolecule(
      mode = mode,
      context = context,
      body = body
    )
  }
}

In uiState() method, call launchMoleculeState like this:

override fun uiState(): StateFlow<ReleasesUiState> {
    return launchMoleculeState {
        releasesPresenter(
            releasesFlow = releasesFlow,
            scheduleFlow = scheduleFlow,
            remoteScheduleFlow = remoteScheduleFlow
        )
    }
}

The issue can be avoided by using scope.launchMolecule directly, as shown below:
override fun uiState(): StateFlow<ReleasesUiState> {
    return scope.launchMolecule(
        mode = RecompositionMode.ContextClock,
        context = Dispatchers.IO
    ) {
        releasesPresenter(
            releasesFlow = releasesFlow,
            scheduleFlow = scheduleFlow,
            remoteScheduleFlow = remoteScheduleFlow
        )
    }
}

Environment:
Kotlin version: 2.1.0
Molecule version: 2.0.0
Gradle version: 8.12

In the module which defines launchMoleculeState or the module which calls it you are not applying the Compose compiler plugin. It needs to be enabled in both.
For jvm projects, apply the org.jetbrains.kotlin.plugin.compose plugin. For Android projects, set compose = true in your build features.


[opt](inverted index) opt value extraction from column to string

Proposed changes
https://github.com/apache/doris/pull/37395

run buildall


Please merge revision ef87bb2e40eb0973658955c75a0e97a3a4836cf4 into 1.16

Disable background compilation for 1.16:
https://codereview.chromium.org/1879593002/
@sgmitrovic

Merged in version 1.16.0-dev.5.2, which is not promoted.


Fix string concatenation on the JavaScript backend

Description
I don't like the following behaviour:
> val n1 = "hello"
> val n2 = "world"
> (n1 ++ n2).length
hello5

Let's parenthesise the arguments of ++ instead so that this does not happen :)

[!NOTE]
Please read the whole thread, this is just a partial quick-fix for a much larger issue!

Motivation
I was trying to update my Advent of Code submissions, then I noticed a really weird bug that was really hard to track down. In the end, it amounted to the following, where one version concatenated strings into a variable, the other one concatenated in place:
- $effekt.pure((0 >= tmp2630_2632 + tmp2631_3692.length));
+ $effekt.pure((0 >= n6_3822.length));

Sigh.

 If anybody's interested, here's a minimised version of the actual problem
import string

// NOTE: Used for debugging purposes (for sanity checking)
extern js """
function inspect$my$string(str) {
  let hexRepresentation = '';

  for (let i = 0; i < str.length; i++) {
      let codePoint = str.codePointAt(i);
      console.log(`STR Character at index ${i}: '${String.fromCodePoint(codePoint)}' (code point: ${codePoint})`);
      hexRepresentation += codePoint.toString(16).toUpperCase() + ' ';
  }

  console.log("STR Hexadecimal representation:", hexRepresentation.trim());
}
"""
extern io def inspectMyString(str: String): Unit = js "inspect$my$string(${str})"

def myToInt(str: String): Int / Exception[WrongFormat] = {
  println("Got to myToInt:")
  // Sanity check for first character:
  // BUG: Returns "Success(149)"?!
  inspect(result[Char, OutOfBounds] { str.charAt(0) })
  val zero = '0'.toInt

  def go(index: Int, acc: Int): Int = {
    result[Char, OutOfBounds] { str.charAt(index) } match {
      case Success(c) and c >= '0' and c <= '9' =>
        go(index + 1, 10 * acc + (c.toInt - zero))
      case Success(c) =>
        println("Got to Success(c) but not char:")
        inspect(c)
        inspect(str)
        inspect(index)
        inspect(acc)
        inspectMyString(str)
        inspect(on[OutOfBounds].panic { str.charAt(0) })
        wrongFormat("Not a valid number: '" ++ str ++ "' because of '" ++ c.toString ++ "' (" ++ toInt(c).show ++ ") at index " ++ index.show)
      case Error(_, _) => acc
    }
  }

  go(0, 0)
}

// NOTE: Used as a replacement for infixConcat
extern pure def concat(l: String, r: String): String = js "((${l}) + (${r}))"

def main(): Unit / {} = {
  val first: Option[String] = ["1"].headOption;
  (first, first) match {
    case (Some(x), Some(y)) =>
      println("Unpacking x, y: ")
      inspect(x); inspect(y)
      val n = concat(x, y)
      inspect(n)
      // BUG: If you replace `x ++ y` here with `n`, everything works!
      val value = on[WrongFormat].panic { myToInt(concat(x, y)) }
      println(value)
    case _ => ()
  }
}

There seem to be other missing parentheses as well. A quick look suggests for example the following bug:
> "abc" == "def"
false
> ("abc" == "def").not
false
> not ("abc" == "def")
false
> val huh = "abc" == "def"
> huh.not
true

Maybe a possible solution would be to always wrap FFI strings in parentheses automatically?

Yeah, you're right, though that wouldn't prevent the bug from the title.
However, we might want to wrap everything in parentheses: literals, variables, ...

This issue was only introduced when we started inlining extern defs (in js). I think @marvinborner is right and we could always parenthesize arguments. For the bug at hand, we also would need to parenthesize the whole rhs. This will be a lot of parenthesis... :)
A bit more proper, but insane solution would be to "just" parse JS...