Quick fix not working anymore for auto import of classes within JSX-style tags

In a version before 1.22.2, quick fix could suggest auto-importing of classes within a JSX tag. Now it doesn't. Minimal reproducible example below.
Class1.tsx:
import React = require("react");

export default class Class1 extends React.Component<null, null> {

}

Class2.tsx:
import React = require("react");

export default class Class2 {

    public constructor() {
        var class1 = <Class1 /> //Here
    }
}

Putting cursor and Ctrl+. on <Class1 />, it is not suggesting anything. If I remove the JSX tags, suggestion works.
Having to write the import declaration manually is very counter-productive.
tsconfig.json:
{
  "compilerOptions": {
    "baseUrl": "./Components",
    "moduleResolution": "node",
    "module": "CommonJS",
    "target": "es6",
    "jsx": "react",
    "strict": true,
    "strictPropertyInitialization": false,
    "noEmitOnError": true,
    "noImplicitAny": true,
    "removeComments": true,
    "preserveConstEnums": true,
    "outDir": "./bin/Output",
    "sourceMap": true,
    "types": ["reflect-metadata"],
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true
  },
    "include": [
        "Components/**/*"
    ],
    "exclude": [
        "node_modules",
        "**/*.spec.ts"
    ]
}

This seems to work in VS Code insiders. Please let me know if you still don't see it working


Fixed documentation issue with xdebug plugin to be a literal block

[approve ci rocky]

[approve ci autest]

[approve ci autest rocky]


Update author-execute-notebook.md

remove an invalid comment
Thank you for contributing to Microsoft Fabric documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:
Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your primary Skilling team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[ ] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[ ] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[ ] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[ ] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[ ] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the main branch or a release- branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

#sign-off

Hi @JeneZhang,
This pull request was opened in the public repo. Authors should work in the private repo, per the Microsoft Docs contributor guide.
We can go ahead and merge this PR, but would you make future content updates in the private repo?
Thank you!


Public flag for room when creating

Public rooms will appear on the homepage, sorted by users in the room count.

could I claim this?

Initially tried to see all rooms under the assumption that all the rooms were public. Under inspection of the documentation at https://www.rtcmulticonnection.org/ we found publicRoomIdentifier. I implemented this in line 235 of ReceiverConnection.vue after the connection, and console.logged the results. This returned an empty array, which lead to the discovery that all rooms are private. Currently we are looking in the demos folder in https://github.com/muaz-khan/RTCMultiConnection/tree/master/demos/dashboard in the index.html file. On line 459 there is a comment on making the room public by setting the publicRoomIdentifier to the name of the room. I hard coded this into the StreamerConnection.vue on line 68 to see if I could get something in my console log. Upon running this I received an array(0) instead of a []. I am unsure why this change occurred, or if it has any relevance.


Adapt min_element, max_element and minmax_element to C++20

Adapts min_element, max_element and minmax_element to C++20.
Adds min_max_result result type
Add segmented algorithm tests for min_element, max_element and minmax_element
Any background context you want to provide?
https://github.com/STEllAR-GROUP/hpx/issues/4822
https://github.com/STEllAR-GROUP/hpx/issues/5156

Can one of the admins verify this patch?

retest

retest

@Jedi18 could you please rebase this onto master for a last time, we'll merge it afterwards.

Thanks! Ok done, rebased onto master

retest

We now see more errors popping up (e.g. here: https://cdash.cscs.ch/viewBuildError.php?buildid=155130) I think this might be caused by those configurations testing things with HPX_NETWORKONG=OFF and HPX_WITHDISTRIBUTED_RUNTIME=OFF.

retest

@Jedi18 is the failure here: https://app.circleci.com/pipelines/github/STEllAR-GROUP/hpx/7316/workflows/1cf271c4-1bf8-4ffe-9ce3-d45c4241a24a/jobs/246399/steps something you can reproduce locally?

@msimberg No, it runs successfully locally.

@msimberg I'm not sure if the fault lies with my changes or if the bug already existed (and since there were no tests before they were never discovered). What do you think could be the reason?

@msimberg No, it runs successfully locally.

It seems to be nondeterministic, but quite easily reproducible. I can usually reproduce it after a few runs (ctest --repeat-until-fail is quite handy for checking if one can reproduce nondeterministic failures).

@msimberg I'm not sure if the fault lies with my changes or if the bug already existed (and since there were no tests before they were never discovered). What do you think could be the reason?

It's indeed most likely something that has been buggy for a long time. Would you in any case mind giving it another go (don't sweat it)? If you can't find the problem right now we should disable the test and open an issue about it so that someone (tm) will look at it later.

@msimberg Thanks! I could reproduce it locally too after using --repeat-until-fail. I'm not sure how to debug what's wrong since we don't know when it will fail. Anyway I tried stepping through it again but still couldn't find the bug.

I think the good practice here is to leave the original copyright and add yours to account for your modifications :)
https://github.com/Jedi18/hpx/commit/41eee62ceafc2a39e605e2d40d27eb75149efc5f#diff-9d4c0b9fca9871b099beb63e0578da31ca4928621d4c6411f9c450e30d79a5f0R1

@aurianer Sorry about that, actually I'd copied an old test file when creating this new test file and made changes to it, but since this was a new file I figured I shouldn't add the old copyright.

@Jedi18 what's the status of this PR? Can we go ahead with this?

@hkaiser Yeah the PR should be ready. Couldn't find the bug so like msimberg said we could disable the test and open an issue for it. Apart from that, I've made all the requested changes.

@Jedi18 sorry for the delay. Could you have a look at this again and resolve the conflict. This is good to go, so once you do that we can merge.

@hkaiser No problem, resolved the conflicts. Don't we need to disable the segmented tests?

Don't we need to disable the segmented tests?

@Jedi18 I have pushed some changes that should fix the remaining issues. Let's see.

retest lsu

retest lsu

retest lsu

@msimberg everything looks good here except for random test failures on jenkins/cscs/clang-newest. I'm not able to reproduce these, would you have the time to have a look?

@msimberg everything looks good here except for random test failures on jenkins/cscs/clang-newest. I'm not able to reproduce these, would you have the time to have a look?

No promises. Do you have any guesses about what might be going wrong? I see you pushed something but that doesn't fix it completely (or all of the failures).

@msimberg everything looks good here except for random test failures on jenkins/cscs/clang-newest. I'm not able to reproduce these, would you have the time to have a look?

No promises.

No worries.

Do you have any guesses about what might be going wrong?

Since only the segmented algorithms fail I was assuming that there is an error in the functions that consolidate the results returned from the different partitions (i.e. any of the functions sequential_minmax_element_ind). OTOH, it may be a race condition somewhere as it fails inconsistently. The segmented minmax tests were added by this PR only, thus the problem might have been there from the start.

I see you pushed something but that doesn't fix it completely (or all of the failures).

I was hoping that my changes would fix it, but hey - no luck.

@hkaiser, @Jedi18 I don't know how much this helps, but the problem is reproducible in debug as well. It just takes typically a bit longer for it to reproduce. It also works with the sequential version, so it's not a race in the local implementation. I haven't tried with other compilers. Perhaps this will give you something to look into.
Here's the output of some manual logging in max_element (it's not only minmax_element that's problematic) of a failed run (this happened after 55 repetitions):
invoking action
max_element::sequential
checking elements: 2 * 3 * 4 * 5 * 6 * 2 3 3 5 5 3 4 2 3 2 6 * 2 3 4 5 6 * 5 6 * 6 * 2 3 4 6 * 6 * 2 3
waited for result
invoking action
max_element::sequential
checking elements: 5 * 4 3 2 6 * 6 * 2 0 4 0 2 3 0 0 0 0 6 * 0 0 0 0 0 5 0 0 0 0 0 0 0 2
waited for result

This runs on two nodes, so there are two calls to max_element. The local (first) partition is completely fine. The second partition contains partly garbage data (the zeros are wrong, and there should be an 8 there). The asterisks mark when the algorithm found a new max value.
There are at least two problems:

The data is garbage on the second locality
The algorithm should return the first element that is largest, if there are more than one; it now returns the last

@Jedi18 is the second something you'd be interested in fixing? @hkaiser does this tell you anything? I'd imagine this is possibly related to the various hangs we see in the partitioned vector tests (this one also hangs every now and then in addition to producing garbage results).
For comparison, a correct run looks like this:
invoking action
max_element::sequential
checking elements: 2 * 3 * 4 * 5 * 6 * 2 3 3 5 5 3 4 2 3 2 6 * 2 3 4 5 6 * 5 6 * 6 * 2 3 4 6 * 6 * 2 3
waited for result
invoking action
max_element::sequential
checking elements: 5 * 4 3 2 6 * 6 * 2 3 4 6 * 2 3 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 7 * 6 5 8 * 5 4 2 3 4 5 2
waited for result

@msimberg Thanks a lot! That is very helpful.
Sure I'll fix it to return the first element that is largest, and also add a test to check for this (and other similar edge cases)

Thanks @msimberg, I'll try to have a look.

Sure I'll fix it to return the first element that is largest, and also add a test to check for this (and other similar edge cases)

@Jedi18 That was me breaking max_element (and probably minmax_element as well). I somehow assumed that it should return the last of the max elements (I think I read it somewhere in Stepanov's notes, but there was also something about max being broken in the standard...)

@hkaiser Actually the minmax_element was already broken Current minmax on master . I guess this explains some of the test failures.

@Jedi18 FWIW, I have squashed all commits and rebased the branch onto master. This should simplify staying up to date in the future.

Performance test reportHPX PerformanceComparisonBENCHMARKNO-EXECUTORFuture Overhead - Create Thread Hierarchical - Latch+InfoPropertyBeforeAfterHPX Datetime2021-08-21T11:38:52+00:002021-11-10T17:05:03+00:00HPX Commit254db57ab5e998619e49744062d14609f1b466dac353e132f3fb8e5e5d9777919f10bd0abc6e92ddDatetime2021-08-23T15:21:22.855927+02:002021-11-10T18:15:01.637628+01:00Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0EnvfileClusternamedaintdaintHostnamenid00446nid01381ComparisonBENCHMARKFORK_JOIN_EXECUTOR_DEFAULT_FORK_JOIN_POLICY_ALLOCATORPARALLEL_EXECUTOR_DEFAULT_PARALLEL_POLICY_ALLOCATORSCHEDULER_EXECUTOR_DEFAULT_SCHEDULER_EXECUTOR_ALLOCATORStream Benchmark - Add-(=)(=)Stream Benchmark - Scale(=)(=)(=)Stream Benchmark - Triad(=)(=)(=)Stream Benchmark - Copy(=)=(=)InfoPropertyBeforeAfterHPX Datetime2021-10-22T15:54:13+00:002021-11-10T17:05:03+00:00HPX Commit916f4d8a700533b3273012ecf811d63617592bb2c353e132f3fb8e5e5d9777919f10bd0abc6e92ddDatetime2021-10-25T11:52:24.316784+02:002021-11-10T18:15:16.968917+01:00Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0EnvfileClusternamedaintdaintHostnamenid01196nid01381Explanation of SymbolsSymbolMEANING=No performance change (confidence interval within ±1%)(=)Probably no performance change (confidence interval within ±2%)(+)/(-)Very small performance improvement/degradation (≤1%)+/-Small performance improvement/degradation (≤5%)++/--Large performance improvement/degradation (≤10%)+++/---Very large performance improvement/degradation (>10%)?Probably no change, but quite large uncertainty (confidence interval with ±5%)??Unclear result, very large uncertainty (±10%)???Something unexpected…

Performance test reportHPX PerformanceComparisonBENCHMARKNO-EXECUTORFuture Overhead - Create Thread Hierarchical - Latch+InfoPropertyBeforeAfterHPX Commit254db57ab5e998619e49744062d14609f1b466dac353e132f3fb8e5e5d9777919f10bd0abc6e92ddHPX Datetime2021-08-21T11:38:52+00:002021-11-10T17:05:03+00:00Datetime2021-08-23T15:21:22.855927+02:002021-11-10T18:27:41.053243+01:00ClusternamedaintdaintEnvfileCompiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0Hostnamenid00446nid01318ComparisonBENCHMARKFORK_JOIN_EXECUTOR_DEFAULT_FORK_JOIN_POLICY_ALLOCATORPARALLEL_EXECUTOR_DEFAULT_PARALLEL_POLICY_ALLOCATORSCHEDULER_EXECUTOR_DEFAULT_SCHEDULER_EXECUTOR_ALLOCATORStream Benchmark - Add(=)(=)(=)Stream Benchmark - Scale-(=)(=)Stream Benchmark - Triad(=)(=)(=)Stream Benchmark - Copy(=)(=)(=)InfoPropertyBeforeAfterHPX Commit916f4d8a700533b3273012ecf811d63617592bb2c353e132f3fb8e5e5d9777919f10bd0abc6e92ddHPX Datetime2021-10-22T15:54:13+00:002021-11-10T17:05:03+00:00Datetime2021-10-25T11:52:24.316784+02:002021-11-10T18:27:56.308797+01:00ClusternamedaintdaintEnvfileCompiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0Hostnamenid01196nid01318Explanation of SymbolsSymbolMEANING=No performance change (confidence interval within ±1%)(=)Probably no performance change (confidence interval within ±2%)(+)/(-)Very small performance improvement/degradation (≤1%)+/-Small performance improvement/degradation (≤5%)++/--Large performance improvement/degradation (≤10%)+++/---Very large performance improvement/degradation (>10%)?Probably no change, but quite large uncertainty (confidence interval with ±5%)??Unclear result, very large uncertainty (±10%)???Something unexpected…

Performance test reportHPX PerformanceComparisonBENCHMARKNO-EXECUTORFuture Overhead - Create Thread Hierarchical - Latch+InfoPropertyBeforeAfterHPX Datetime2021-08-21T11:38:52+00:002021-11-10T19:57:12+00:00HPX Commit254db57ab5e998619e49744062d14609f1b466da8c9badbce6d6bbf77509b9f6f1e6940b15d88883EnvfileClusternamedaintdaintDatetime2021-08-23T15:21:22.855927+02:002021-11-10T21:13:22.348157+01:00Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0Hostnamenid00446nid00120ComparisonBENCHMARKFORK_JOIN_EXECUTOR_DEFAULT_FORK_JOIN_POLICY_ALLOCATORPARALLEL_EXECUTOR_DEFAULT_PARALLEL_POLICY_ALLOCATORSCHEDULER_EXECUTOR_DEFAULT_SCHEDULER_EXECUTOR_ALLOCATORStream Benchmark - Add-(=)(=)Stream Benchmark - Scale(=)(=)(=)Stream Benchmark - Triad-(=)(=)Stream Benchmark - Copy(=)(=)(=)InfoPropertyBeforeAfterHPX Datetime2021-10-22T15:54:13+00:002021-11-10T19:57:12+00:00HPX Commit916f4d8a700533b3273012ecf811d63617592bb28c9badbce6d6bbf77509b9f6f1e6940b15d88883EnvfileClusternamedaintdaintDatetime2021-10-25T11:52:24.316784+02:002021-11-10T21:13:37.697222+01:00Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0Hostnamenid01196nid00120Explanation of SymbolsSymbolMEANING=No performance change (confidence interval within ±1%)(=)Probably no performance change (confidence interval within ±2%)(+)/(-)Very small performance improvement/degradation (≤1%)+/-Small performance improvement/degradation (≤5%)++/--Large performance improvement/degradation (≤10%)+++/---Very large performance improvement/degradation (>10%)?Probably no change, but quite large uncertainty (confidence interval with ±5%)??Unclear result, very large uncertainty (±10%)???Something unexpected…

I think this is fine now, the problems have been resolved. Let's wait for the last round of tests to come back and merge if all is green.

Thanks a lot! I guess the LSU tests aren't running because rostam is down?

This just needs a clang-format round... @Jedi18 or @hkaiser could you apply that?
Incidentally, @hkaiser, I see changes to the channel communicator example. I assume that's otherwise unrelated to the changes here(...), but related to the timeouts that happen every now and then on that example?

This just needs a clang-format round... @Jedi18 or @hkaiser could you apply that?

Done.

Incidentally, @hkaiser, I see changes to the channel communicator example. I assume that's otherwise unrelated to the changes here(...), but related to the timeouts that happen every now and then on that example?

Yes.

Incidentally, @hkaiser, I see changes to the channel communicator example. I assume that's otherwise unrelated to the changes here(...), but related to the timeouts that happen every now and then on that example?

Yes.

All right, thanks for looking into that!
bors merge

bors merge


When returning error, you should also return for which query or mutation this error occured

Description
When returning error, you should also return for which query or mutation this error occured. This is problem if I send multiple separate queries and one of them return error. I would need to know which one returned error, to improve my error handling
I would expect same behavior as it is when request successfully return data. it is object and all data is nested within key called same as the query you called.
Success example:
{   queryName: {     foo: bar;   } }
Error example (requested):
{   queryName: {     same format of error as we have now, but nested   } }

I don't understand this issue and it is not a bug, but a feature request.


fix: hydration error

Because Link and  ListItem component render an <a> tag, which is causing an <a> inside <a> tag, we should add legacyBehavior props to the Link component, so it will assume that the child will render an <a> tag.
Reference:

https://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-tag
https://stackoverflow.com/questions/71706064/react-18-hydration-failed-because-the-initial-ui-does-not-match-what-was-render/71870995#71870995

Fix #82

@zhanang19 Thanks!


Task file validation should use error markers

Testing: #27443

follow steps as described in #27443
customize the gulp watch task
in tasks.json add a problem matcher: "problemMatcher": "dd"
error appears in the 'Tasks' output.

Would be nicer to get that error in the tasks.json.
Having the output show messages while typing is quite surprising.

Agree, but I think this needs a tasks.json language server since the problem matchers are an open set now.
@aeschli can the schema help me here?

What is in for June is that the schema validates them but they appear as green squiggles.
@aeschli can I control in the schema if something is a warning or an error. That would be cool.

@dbaeumer Sorry, currently its all warnings. Please file a request.

@aeschli  here you go https://github.com/Microsoft/vscode/issues/29527

Linked issue is out of scope. Therefore this one is too.


supplementing missing calls(SMC) step

Hi, when I running the smc step, I find there are some warnings in the 'smc_out.vcftool.log' file.
$ grep "arning" smc_out.vcftool.log
Warning: Input is unsorted, results may not be complete.
Warning: Input is unsorted, results may not be complete.
Warning: Input is unsorted, results may not be complete.
Warning: Input is unsorted, results may not be complete.
Warning: Input is unsorted, results may not be complete.
...
The error message indicates that my joint/jointcall.All-samples.vcf file is not sorted, but upon inspection, the file appears to be sorted. I also used the vcf-sort software to sort the file again, resulting in the joint/jointcall.All-samples.sort.vcf file, which is identical to the original. However, when running the command mopline smc -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 6, I still receive these warnings. Why is this happening?

I understand that during the filtering step, some structural variation (SV) sites are removed (approximately 3,000), but why do I find that a small number of SV sites (about 1,000) are also deleted after running smc?

joint/jointcall.All-samples.sort.vcf
chr1    1565631 .       .          .       PASS    SVTYPE=DUP;SVLEN=97;END=1565727;SC=233;AF=0.2126;AC=233;AN=1096;DPR=1.56;SR=0.37        GT:GQ:VP:VL:DR:DS:SR    ./.:0:1565630:97:1.35:0:0.39    0/0:0:0:0:0:0:0
smc/smc_out.vcf
chr1    1565631 .       .          .       PASS    SVTYPE=DUP;SVLEN=97;END=1565727;SC=503;AF=0.6387;AC=700;AN=1096;DPR=1.39;SR=0.38;DPS=0.14       GT:GQ:VP:VL:DR:DS:SR:MC 1/1:39:1565630:97:1.35:0:0.39:0 1/1:0:1565631:97:1.25:0.5:0.36:3
I am also puzzled about the process of smc. For the ./. type, I can understand why genotypes exist, but why does 0/0 also become 1/1? Or why does 0/0 become 0/1?

In the joint call step, the SV genotype information is derived from the selected confident genotypes of SV/genotype calling tools used in the initial SV detection step. So, the genotypes of many SVs are undefined as './.'. In the SMC step, all SV genotypes are evaluated using the information for DPR, DR, DS, and previously defined genotypes. So, '0/0' and './.' genotypes defined in the joint call step could be '0/1' or '1/1' in the SMC step. SV sites with '0/0' genotype for all samples or with unbalanced 5'- and 3'-split ends for > 50% samples are deleted in the SMC step.

Hi, w
hen I run smc to recover missing values, I always run out of memory (the running node has 2TB of memory). Can I split the samples or chromosomes in some way?
mopline smc -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
29G Mar  8 17:41 jointcall.All-samples.sort.vcf
command: smc Args: -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
mopline smc: /xxx/software/MOPline/scripts/genotype_SV_SMC_7.4.pl -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
Total sample: 8431
#Total length of repeats:       295768357
1st step completed:
17: Sample re-searching completed:
...
2nd step completed:
Missing calls (MC):<PHONE_NUMBER>  MC recovered from the original SV calls: 26847495
3rd step completed:
Out of memory!
May I ask why this is happening?

Hi, w
hen I run smc to recover missing values, I always run out of memory (the running node has 2TB of memory). Can I split the samples or chromosomes in some way?
mopline smc -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
29G Mar  8 17:41 jointcall.All-samples.sort.vcf
command: smc Args: -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
mopline smc: /xxx/software/MOPline/scripts/genotype_SV_SMC_7.4.pl -v joint/jointcall.All-samples.sort.vcf -ts 7tools -od smc -p smc_out --build 38 -n 20
Total sample: 8431
#Total length of repeats:       295768357
1st step completed:
17: Sample re-searching completed:
...
2nd step completed:
Missing calls (MC):<PHONE_NUMBER>  MC recovered from the original SV calls: 26847495
3rd step completed:
Out of memory!
May I ask why this is happening?

Your input vcf file in the SMC step seems very large. So, you should conduct the SMC step for each chromosome by specifying the -c option. It would be better to run the jobs for each cromosome in batch or with a job management system.

##fileformat=VCFv4.0
##fileDate=20240202
##source=MOPline-1.7
##reference=hs38
##INFO=<ID=SVTYPE,Number=1,Type=String,Description="Type of structural variation (SV)">
##INFO=<ID=SVLEN,Number=1,Type=Integer,Description="Difference in length between REF and ALT alleles (0 when undefined)">
##INFO=<ID=DPS,Number=1,Type=Float,Description="Mean ratio of 50-bp-window-fractions with inconsistent DPR">
##INFO=<ID=SVANN,Number=1,Type=String,Description="Affected_Gene,GeneID|GeneName|Region">
##ALT=<ID=DEL,Description="Deletion">
##ALT=<ID=DUP,Description="Duplication">
##ALT=<ID=INS,Description="Insertion of undefined sequence">
##ALT=<ID=INV:Description="Inversion">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype quality">
##FORMAT=<ID=VP,Number=1,Type=Integer,Description="Position of SV for a sample">
##FORMAT=<ID=VL,Number=1,Type=Integer,Description="Length of SV for a sample">
##FORMAT=<ID=DR,Number=1,Type=Float,Description="Ratio of read depth in CNV region to that in its flanking regions for a sample">
##FORMAT=<ID=DS,Number=1,Type=Float,Description="Ratio of inconsistent DR segments (> 0.8 for DEL, < 1.1 for DUP) in DEL and DUP">
##FORMAT=<ID=SR,Number=1,Type=Float,Description="Ratio of breakpoints of soft-clipped reads in the read depth at the 50- or 100-bp window">
##FORMAT=<ID=MC,Number=1,Type=Integer,Description="Levels of SMC genotyping">
##FORMAT=<ID=AN,Number=1,Type=String,Description="Annotation for each sample, E:exon, AE:all exons, I:intron, 5U:5UTR, 3U:3UTR, 5F:flank5, 3F:flank3">
##contig=<ID=chr1,length=248956422>
##contig=<ID=chr2,length=242193529>
##contig=<ID=chr3,length=198295559>
##contig=<ID=chr4,length=190214555>
##contig=<ID=chr5,length=181538259>
##contig=<ID=chr6,length=170805979>
##contig=<ID=chr7,length=159345973>
##contig=<ID=chr8,length=145138636>
##contig=<ID=chr9,length=138394717>
##contig=<ID=chr10,length=133797422>
##contig=<ID=chr11,length=135086622>
##contig=<ID=chr12,length=133275309>
##contig=<ID=chr13,length=114364328>
##contig=<ID=chr14,length=107043718>
##contig=<ID=chr15,length=101991189>
##contig=<ID=chr16,length=90338345>
##contig=<ID=chr17,length=83257441>
##contig=<ID=chr18,length=80373285>
##contig=<ID=chr19,length=58617616>
##contig=<ID=chr20,length=64444167>
##contig=<ID=chr21,length=46709983>
##contig=<ID=chr22,length=50818468>
##contig=<ID=chrX,length=156040895>
##contig=<ID=chrY,length=57227415>
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT
The content above is the header from the file smc/annotate.AS.annot.filter.vcf that I obtained after running mopline. I would like to ask why the header does not include information for 'END', 'SC', 'AF', 'DPR', 'SR', etc., which is causing me to be unable to process it with VCF processing software. Can I add such parameters to the header myself? for example:
##INFO=<ID=END,Number=1,Type=String,Description="End position of the structural variant">
##INFO=<ID=SC,Number=.,Type=String,Description="Sample call confidence">
##INFO=<ID=AF,Number=A,Type=Float,Description="Allele Frequency">
##INFO=<ID=DPR,Number=.,Type=Float,Description="Depth of reads from the reference allele">
##INFO=<ID=SR,Number=.,Type=Float,Description="Supporting reads from the reference allele">

Sorry for your trouble. A bug in the merge_SV_calls_ALLtype.pl script was fixed. This ploblem can be avoided using the updated scripts, but runs from step-1 or SMC-step are required. So, you may add the following header lines to the header of your final vcf file.
##INFO=<ID=END,Number=1,Type=Integer,Description="End position of SV">
##INFO=<ID=AF,Number=1,Type=Float,Description="Allele frequency">
##INFO=<ID=AC,Number=1,Type=Integer,Description="Allele count">
##INFO=<ID=AN,Number=1,Type=Integer,Description="Allele number">
##INFO=<ID=SC,Number=1,Type=Integer,Description="Number of samples carrying the SV allele">
##INFO=<ID=DPR,Number=1,Type=Float,Description="Mean ratio of read depth in CNV region to that in its flanking regions">
##INFO=<ID=SR,Number=1,Type=Float,Description="Mean ratio of breakpoints from soft-clipped reads in the read depth at the window">
##INFO=<ID=DPS,Number=1,Type=Float,Description="Mean ratio of 50-bp-window-fractions with inconsistent DPR">


Hangs on input

The decoder seems to hang in an endless loop on input
64 65 2e 0d 0d 0a
Which I'm aware is not legitimate code, but in such cases the decoder should return an error, and not just endlessly loop...

Hi,
your instruction is an or eax, imm32 with three segment-prefixes lacking two bytes of the imm32.
The problem here is a typo in line 42 where a wrong bitpattern is used which causes the prefix check to fail.
It should actually say cmp ch,PREFIX_SEGMENT_ES instead of the PREFIX_SEGMENT_CS, I'll fix it.
Thanks for the report.


Game- BrickBreakerPong(1)-Add Sounds

ADD GAME SOUNDS ON IMPACT

add game sounds when the ball collides
refer to raylib. for instructions

Bounty Points
20 points

Hey @CoderCatA5 Could I work on this issue?

Hey @Aspireve the project is currently available on windows only.
Just run the scripts in the scripts folder
Hopefully it should work

Hi @CoderCatA5
I tried running the commands based on what is written in the ReadMe.md but it doesn't seem to work (I use Windows only)
When I run it in terminal I get this screen open

And when I manually open it it shows my terminal screen for 2-3 sec and then closes it


Initial draft for TAS support

1731

 Quality gate: Failed
48 Issues

 4 Vulnerabilities
 44 Code issues

Details

 Quality gate: Failed
46 Issues

 4 Vulnerabilities
 42 Code issues

Details


How cam I programmatically force an avatar to fallFall?

Hi again,
I am implementing collisions of multiple avatars individually controlled by CharacterController and a collided avatar bounces into the mid air above the ground sometimes. The avatar in the mid air stops in the mid air until new user input . I want to make the avatar freely fall to the ground right after collision in this case.
I tried to set CharacterController._inFreeFall= true right after collision, but am error was raised as following:
CharacterController.ts:952 Uncaught TypeError: Cannot set properties of undefined (setting 'y')
    at CharacterController._doMove (CharacterController.ts:952:32)
    at CharacterController._moveAVandCamera (CharacterController.ts:779:22)
    at CharacterController._renderer [as callback] (CharacterController.ts:1744:39)
    at e.notifyObservers (observable.ts:393:49)
    at t.render (scene.ts:4601:39)
    at Function.<anonymous> (

How cam I programmatically force an avatar to fallFall?
I really appreciate your help.

@warrenchopin  try setting _freeFall to true instead of false. Let me know if that works

The above error was raised when _inFreeFall= true. I edited the posting correctly.
I tested both _inFreeFall= true and false cases again for sure. The error was raised only when _inFreeFall= true
I thought about three scenarioes to solve this problem.

a new command freeFall()
a new command moveToPosition(pos, freeFall)
a new command moveDiff(vDiff)

The best solution for me is 3. moveDiff(). It is a general function that can be used in many different situations. The problem happened after I overwrote avatar.mesh.position after collision. Overwriting position is pretty aggressive  way possibly disrupting CharacterController. moveDiff() will enable for me to avoid overwriting mesh.position.
Thanks again.

You are right in that we do need a function for fall.
Just like we can do jump programmatically , we should be able to do fall too.
This will be usefull for use cases like yours or moving platforms etc.
Let me work on this.
In the meantime try setting CharacterController._grounded to false after collision and let me know if that works.

It worked when I set the two variables together. The collided avatar free falls naturally now:
        cc._inFreeFall= true
        cc._grounded= false

Thanks you so much for your help.

Nice.
I just published a new version (0.4.4) with a cc.fall() function to force a fall.
This should also play a fall animation while falling.

Nice. I just published a new version (0.4.4) with a cc.fall() function to force a fall.

The error was raised later again. I set  only cc._grounded=false at this time, and the error disappeared again:
cc._grounded= false
```

I am not sure whether CharacterController is unstable, or my program is unstable in this case. I will report here if something is wrong again.

Thanks again.

Nice. I just published a new version (0.4.4) with a cc.fall() function to force a fall. This should also play a fall animation while falling.


[bug] default resolution is too low

Describe the bug
The default resolution of 30s is too low and renders some dashboards with "No Data". This is likely because I'm using Grafana Mimir, as opposed to a standard Prometheus install.

How to reproduce?

Collect metrics with Grafana Mimir.
Load the dashboard.

Expected behavior
Changing the resolution from 30s to 1m shows the data as expected.

Additional context
No response

I added the resolution variable in an attempt to see spikes in a very specific case.
I think it would make more sense to remove it completely and let $__rate_interval do its job.
In case anyone needs it, it's pretty easy to edit a panel to add it back.

For example, these two panels behave differently without an explicit resolution. They both use auto min resolution and the rate interval, but one renders okay and the other doesn't.

Hmm, Grafana agent is configured with a 15s scrape interval.
https://github.com/uhthomas/automata/blob/ed25c6b7a525182f1c626f1fb2feda99b268db65/k8s/unwind/grafana_agent/grafana_agent_list.cue#L22
Though, changing the value to 1m in Grafana for the datasource does seem to fix things! Thanks for the pointers and the help.

Interesting...
Will add this to the "known issues" list. Feel free to share any further knowledge you may have on this issue in the future.


add nvidia device plugin

add nvcr.io/nvidia/k8s-device-plugin nvcr.io/nvidia/gpu-feature-discovery

Failed images:
  not found nvcr.io/nvidia/gpu-feature-discover

Does that exist?


extract: consume messages from kafka

The skeleton has already been bootstrapped at https://github.com/inveniosoftware/invenio-rdm-migrator/blob/master/invenio_rdm_migrator/extract/kafka.py

This was implemented by @slint


Update LICENSE and README.md

Update LICENSE to copyright 2022 TheChernoCommunity.
Update README.md to use Carbonite rather than GameProject-1/Untitled game project.
Also update to vs2019 and vs2022 as the common premake5 actions.

Honestly I would just remove the year from the copyright, there is no point to it.

But isn't it required for copyright to be valid tho?

Yes, In the United States, the copyright notice must consist of a year. (https://www.copyright.gov/circs/circ03.pdf)
Also, I think we should include what the game is about in our README.

 You have to survive on the planet, gather resources and fix your spaceship to search for civilisation, but you only find other plants and abandoned or ruined space cities and structures which you can loot, but beware of potential aliens in that might want to eat you in them.
More info: Every object (Block or item) has a chemical inscription, and you find resources line carbon in different forms or iron and other elements like Radium on the planets and by salvaging parts from structures, where you can also find other stuff like electrical parts and materials to build your base/ship.


Easy way to add directives

If would be nice to have some switch so restructuredtext_lint would add directives for sphinx based documentation on its own. At least I've not yet found out how to register the automodule directive (without recreating the directive class on my own).

something like lint(content, directives=('automodule', 'autoclass'), so you have a dict somewhere associating the directive with the name? Or maybe a "sphinx mode".

Unfortunately, there is no trivial way to do this. We explored it at length in #11 and #14. The key comment is here:
https://github.com/twolfson/restructuredtext-lint/pull/14#issuecomment-91928790
The tl;dr of it is most directives require configuration which cannot be automatically be distilled.
We have added documentation for loading of non-configuration based directives in the README:
https://github.com/twolfson/restructuredtext-lint/tree/0.14.0#extension
For anything higher level, we would need to create another package which leverages restructuredtext-lint and is aware of a Sphinx configuration.


Initial Docker File

Initial docker file to create container image.

Closing as multiple commits added.  Only needed one.


feat: add serviceAnnotations value to helm chart

Fixes #N/A
Description
Adds a serviceAnnotations value (similar to podAnnotations) to allow specifically overriding annotations on the Karpenter service, since additionalAnnotations is needlessly broad for that purpose. My particular use case is for prometheus metric scraping via the prometheus.io/scrape annotation. Takes the same approach as in serviceaccount.yaml.
How was this change tested?

Installed chart on personal cluster, confirmed that annotations were applied correctly in following cases:

additionalAnnotations set, serviceAnnotations not set
serviceAnnotations set, additionalAnnotations not set
neither value set

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing as a duplicate of #6894.


refactor(expr): merge expression templates into #[function] macros

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR merges expression template and template_fast into #[function] macros.
By moving all code generation into procedural macro, we reduce redundant code and make it more flexible:

We introduced Context to provide type information to the functions.

#[function("foo(int32) -> int64")]
fn foo(a: i32, ctx: &Context) -> i64 {
   assert_eq!(ctx.arg_types[0], DataType::Int32);
   assert_eq!(ctx.return_type, DataType::Int64);
   // ...
}

For functions which can be optimized if some arguments are constant, such as to_timestamp1 and regexp_match, the macro will generate both const-optimized and general version. If the selected arguments are all constant, it can prebuild a context (e.g. Regex) from the arguments at build time, otherwise it will build the context for each row at runtime.

#[function(
    "regexp_match(varchar, varchar, varchar) -> varchar[]",
    prebuild = "RegexpContext::from_pattern_flags($1, $2)?"
)]
fn regexp_match(text: &str, regex: &RegexpContext) -> ListValue {
    regex.captures(text).collect()
}

The arguments of type &mut dyn Write have been replaced by &mut impl Write thanks to getting rid of the restrictions from traits. It can save up to 40% time due to static dispatch.

#[function("repeat(varchar, int32) -> varchar")]
fn repeat(s: &str, count: i32, writer: &mut impl Write) {
    for _ in 0..count {
        writer.write_str(s).unwrap();
    }
}

Functions can return reference type to avoid data copy.

#[function("jsonb_access_inner(jsonb, varchar) -> jsonb")]
pub fn jsonb_object_field<'a>(v: JsonbRef<'a>, p: &str) -> Option<JsonbRef<'a>> {
    v.access_object_field(p)
}

and for bytea type, the return type can be any impl AsRef<[u8]> to avoid boxing.
#[function("sha1(bytea) -> bytea")]
pub fn sha1(data: &[u8]) -> impl AsRef<[u8]> {
    Sha1::digest(data)
}

With these improvements, the following functions have been refactored using the macro:

proctime
to_char, to_date, to_timestamp1
array_to_string
array_cat, array_append, array_prepend
is_null, is_not_null
regexp_match, regexp_replace, regexp_count
jsonb_access
cast(varchar/list/struct) -> list
sha*

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[x] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[x] My PR contains user-facing changes.

Argument pattern and flags in regexp_match are no longer required to be constant.

@xxchan I've updated the description to make it more precise. Hope it helps.

So these changes are not (strongly) related? Might be better to split into PRs.
Is the prebuilt part related to the merge? Or it's also a different change?

Change 1 (type info) and 2 (prebuilt) are essential to this PR, otherwise some functions can not be expressed in the #[function] macro. Change 3, 4, 5 are not strongly related. But their development was interleaved with 1 and 2 and I'm too lazy to separate them. 🤪

How's it compared with previous situation?

The microbenchmarks was ran separately on the latest main branch and this branch merged with the former.

can you briefly explain what's the largest factors? Especially reasons of 1 and 2.

75% of the functions consume less time than before.
12 functions (1.8%) have regressions more than +10%.

I think the generated code after this PR should perform (almost) identical as before. I can't give a strong explanation for these change. @BugenZhao guessed it was due to the lack of constant optimization in eval_v2. But the inputs I gave to these functions are InputRef to arrays, not constant literals. So the v2 optimization didn't take effect before. 🤔


Fix bug with broken threads relation

Hot fix for my previous commit. I've broken threads relation. Test case included.

I don't like the test case I've wrote, but it's doing the job.

Test case has been rewritten a bit. It will check instance of related model, because it is more appropriate than just checking of relation existence.

thanks again!


Add support for 1.0.18

Libsodium deprecated 1.0.17 on May 22nd, and moved the source of 1.0.17 to the \old\ directory (https://download.libsodium.org/libsodium/releases/old/>

thank you!


Compare results in dataset_type_performance.ipynb

Is your feature request related to a problem? Please describe.
From the results of this comparison experiment, why the time of CacheDataset is slower than PersistentDataset for each epoch of training? Users may not easily understand the advantages of CacheDataset from these results.

Describe the solution you'd like
The results in tag 1.0.0 are more make sense.

cc @wyli @Nic-Ma

maybe the persistent dataset was created before the experiments, so it's faster? in that case they are not fair comparisons, it's introduced by this PR https://github.com/Project-MONAI/tutorials/pull/1179 cc @dongyang0122 @mingxin-zheng  do you have time to have a look?

hi @KumoLiu, what computing hardware did you use to generate the first figure? I list the specs of the computing environment used for the second figure as follows. It might be related to CPU capacities.
GPU: A100, 80GB RAM
CPU: AMD 64-Core 2.6 GHz Processor, 1T RAM

Hi @dongyang0122, the first figure is in the dev branch which as Wenqi mentioned is introduced by this PR. Thanks!

@KumoLiu Thanks for confirming that! I re-run the tutorial today, and I can reproduce the result. Moreover, I run the old tutorial notebook with the same conclusion. We may need more information on PersistentDataset and CacheDataset.


Add timestamp to the messages displayed on console

Ref: #11
Extend with timestamp.

FIXED in 90fbebc


meta issue: fp16 support

This meta issue lists the concrete tasks needed to implement half-precision floating type. (#4395).
llvmlite:

[x] add half type

numba:

[ ] add float16 type and conversion to/from numpy.float16.
[ ] setup implicit casting rules.  (note: survey what numpy does with float16 casting).
[ ] implement basic arithmetic ops.

[ ] add, sub, mul
[ ] div, rem (separate item because CUDA PTX do not provide these it seems)

[ ] decide what to do with other math functions? implicit cast to float32 variant?

Related issue is how to handle bfloat16, which seems to be gaining traction and will have limited AVX-512 support on very recent Intel CPU architectures, and is also used on the Google TPU.  Haven't seen any GPU hardware support for bfloat16 yet, although AMD's ROCm seems to have added software support.

[ ] Nvidia to add support for f16 ("half") types in NVVM IR - otherwise need to sprinkle llvm.convert.to.fp16.f32 / llvm.convert.from.fp16.f32 everywhere (and lower types.f16 in numba code to i16s in IR).

Just a note that CuPy now supports float16 in user defined kernels.
>>> import cupy as cp
>>> c = cp.random.random(1000000).astype(cp.float16)

@cp.fuse()
... def squared_diff(x, y):
...     return (x - y) * (x - y)

>>> square(c)

array([0.848  , 0.637  , 0.05655, ..., 0.02043, 0.5337 , 0.8125 ],
      dtype=float16)

It would be good to have float16 in Numba kernels to prepare data for deep learning models and RAPIDS Numba based UDFs. At present RAPIDS converts float32 to float16 as a workaround.

I can't edit the issue to tick the box, but it looks like:

llvmlite:

[ ]  add half type

is done in https://github.com/numba/llvmlite/pull/509, and

[ ]  Nvidia to add support for f16 ("half") types in NVVM IR - otherwise need to sprinkle llvm.convert.to.fp16.f32 / llvm.convert.from.fp16.f32 everywhere (and lower types.f16 in numba code to i16s in IR).

is not completed, but there is a merged PR that adds support for fp16 intrinsics: https://github.com/numba/llvmlite/pull/510

I ticked the half box for you.

It also looks like LLVM 11 adds bfloat16 support: https://github.com/llvm/llvm-project/commit/8c24f33158d8
The type name seems to be bfloat.

Hello,
Any updates on this ?

There is some support in CUDA from #7556 and #7460 - this work is ongoing though and there are more PRs that will be needed for full float16 support in CUDA.

Seems like with numba right now it's possible to use FP16 inputs, but not FP16 shared memory. Does full fp16 support in CUDA mean we can use fp16 shared memory?
Example (currently does not work):
cuda.shared.array(shape=(1,), dtype=nb.float16)

Any progress?

Tag. Interested to hear if there is an update on this.

Float16 is much faster than float32 and float64. So as a JIT tool for python, it is extremely neccesary to support float16 type.

Currently float16 is supported in CUDA (maybe not everything in the latest release, but on main at least). We are still working on adding float16 for CPU targets.

at this point, the only CPUs supporting native FP16 arithmetic are Intel Sapphire Rapids (which just came out) and ARMv8.2 and later, right?  I don't think AMD has any FP16 support on CPU at all right now.

Currently float16 is supported in CUDA (maybe not everything in the latest release, but on main at least). We are still working on adding float16 for CPU targets.

Does float16 for CPU problem affected by the LLVM compiler not supporting float16?

Does float16 for CPU problem affected by the LLVM compiler not supporting float16?

LLVM supports it, as does llvmlite - support was added in https://github.com/numba/llvmlite/pull/509
For systems that don't have it, perhaps compiler-rt implementations need to be used (@testhound may know / recall what the thinking here was better than I).

@dongrixinyu I am currently working on float16 support for the cpu and @gmarkall is correct, support for LLVM's compiler-rt will be required for targets that do not support float16 instructions.

@dongrixinyu I am currently working on float16 support for the cpu and @gmarkall is correct, support for LLVM's compiler-rt will be required for targets that do not support float16 instructions.

@testhound realy looking forward to your support for float16 on the cpu!!! Thanks!

@dongrixinyu I am currently working on float16 support for the cpu and @gmarkall is correct, support for LLVM's compiler-rt will be required for targets that do not support float16 instructions.

If you can not spare much time to finish float16, I could help

Hi! Great initiative. Is the initial post's checkbox up-to-date in terms of items finalized?

It's supported on CUDA but not the CPU target. So either all or none of them could be checked depending on what we decide this issue is about.

Great to hear that, thanks. Was indeed asking more for the CPU scope - is this still a planned feature (CPU support), or is it rather unlikely?

It's possible. There are some llvmlite PRs in flight that will be in support of it: https://github.com/numba/llvmlite/pull/979 and https://github.com/numba/llvmlite/pull/986


build: update to angular v9.0.6

Updates to Angular v9.0.6. This version contains a fix for
@angular/bazel that should fix the release output to not
leak any Bazel runfile manifest paths. angular/angular@9581658

Needs rebase

@googlebot Ping.

PR is patch-only due to master being on the Angular beta for TS 3.8 right now.

Uh, I think I broke your PR? Tried merging 9.1.x latest changes into your PR, now failing CI


GPIO checks for PULL_UP/DOWN doesn't work for RTC pins. (IDFGH-14127)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Functions gpio_ll_get_io_config(), gpio_ll_pullup_is_enabled(), gpio_ll_pulldown_is_enabled() work through the IO_MUX_x_REG
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/hal/esp32/include/hal/gpio_ll.h#L66-L68
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/hal/esp32/include/hal/gpio_ll.h#L108-L111
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/hal/esp32/include/hal/gpio_ll.h#L143-L146
But for pins that can operate via RTC, PULL_UP/DOWN is set via the RTC mechanism (see line 86, line 105), not MUX_REG mechanism.
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/esp_driver_gpio/src/gpio.c#L76-L112
See;
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/hal/esp32/include/hal/rtc_io_ll.h#L178-L183
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/hal/esp32/include/hal/rtc_io_ll.h#L190-L195

May set SOC_GPIO_SUPPORT_RTC_INDEPENDENT to 1 to resolve the issue.
https://github.com/espressif/esp-idf/blob/f420609c332fbd2d2f7f188c6579d046c9560e42/components/esp_driver_gpio/src/gpio.c#L37

maybe this version will look and work better:
struct get_io_config_info {
    bool *pu;
    bool *pd;
    bool *ie;
    bool *oe;
    bool *od;
    uint32_t *drv;
    uint32_t *fun_sel;
    uint32_t *sig_out;
    bool *slp_sel;
};

static inline get_io_config_info gpio_ll_get_io_config(gpio_dev_t *hw, uint32_t gpio_num)
{
    uint32_t bit_shift = (gpio_num < 32) ? gpio_num : (gpio_num - 32);
    uint32_t bit_mask = 1 << bit_shift;
    uint32_t iomux_reg_val = REG_READ(GPIO_PIN_MUX_REG[gpio_num]);

    get_io_config_info ret;
    get_io_config_info.pu = (iomux_reg_val & FUN_PU_M) >> FUN_PU_S;
    get_io_config_info.pd = (iomux_reg_val & FUN_PD_M) >> FUN_PD_S;
    get_io_config_info.ie = (iomux_reg_val & FUN_IE_M) >> FUN_IE_S;
    get_io_config_info.oe = (((gpio_num < 32) ? hw->enable : hw->enable1.val) & bit_mask) >> bit_shift;
    get_io_config_info.od = hw->pin[gpio_num].pad_driver;
    get_io_config_info.drv = (iomux_reg_val & FUN_DRV_M) >> FUN_DRV_S;
    get_io_config_info.fun_sel = (iomux_reg_val & MCU_SEL_M) >> MCU_SEL_S;
    get_io_config_info.sig_out = hw->func_out_sel_cfg[gpio_num].func_sel;
    get_io_config_info.slp_sel = (iomux_reg_val & SLP_SEL_M) >> SLP_SEL_S;

    return ret;
}

or
    return {
        .pu = (iomux_reg_val & FUN_PU_M) >> FUN_PU_S,
        .pd = (iomux_reg_val & FUN_PD_M) >> FUN_PD_S,
        .ie = (iomux_reg_val & FUN_IE_M) >> FUN_IE_S,
        .oe = (((gpio_num < 32) ? hw->enable : hw->enable1.val) & bit_mask) >> bit_shift,
        .od = hw->pin[gpio_num].pad_driver,
        .drv = (iomux_reg_val & FUN_DRV_M) >> FUN_DRV_S,
        .fun_sel = (iomux_reg_val & MCU_SEL_M) >> MCU_SEL_S,
        .sig_out = hw->func_out_sel_cfg[gpio_num].func_sel,
        .slp_sel = (iomux_reg_val & SLP_SEL_M) >> SLP_SEL_S
        };

?
This gives some advantages -- at least you won't have to check for nullptr pointers.

@safocl @songruo
The main problem is that when we get the PULLUP/PULLDOWN status, we check the IO_MUX_x_REG in the GPIO functions
 *pu = (iomux_reg_val & FUN_PU_M) >> FUN_PU_S;
 *pd = (iomux_reg_val & FUN_PD_M) >> FUN_PD_S;

but to set PULLUP/PULLDOWN we use RTC function
rtc_gpio_pullup_en(gpio_num);
rtc_gpio_pullup_dis(gpio_num);

not the GPIO function
gpio_hal_pullup_en(gpio_context.gpio_hal, gpio_num);
gpio_hal_pullup_dis(gpio_context.gpio_hal, gpio_num);

Fast solution in https://github.com/espressif/esp-idf/issues/14931#issuecomment-2498244386

#14923 doesn't solve this issue/bug.

Do I must to reopen this issue?

@IhorNehrutsa The fix is here: https://github.com/espressif/esp-idf/blob/c749ec66f64527e09f2f1d50919914deca085e5c/components/esp_driver_gpio/src/gpio.c#L1026-L1039
Are you sure this doesn't fix the issue?

@IhorNehrutsa
I'm talking about the general case with this function, the form to which it was brought looks with a lot of overhead in my opinion...
but you can avoid such things by simply outputting the data in return

@songruo
Does c749ec6 apply to other releases?

Will backport to previous releases.


Memory leak when running CICD flow

Is there an existing issue for this?

[X] I have searched the existing issues and didn't find mine.

Steps to reproduce
Sadly I'm not able to provide a reproducible example as the issue randomly started happening.
We are getting
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
when running our CICD pipeline. There were not recent changes to it
Actual results
The workflow stops
Expected results
The workflow continues and finishes the tests
About app
It's a close source app for a startup. We are using maestro for running tests agains our storybook variant which houses all components from our design system.
About environment
The cicd workflow is being run on a ubuntu github actions CI machine
Logs

Logs
    Tap on "SIDEBAR"...
 COMPLETED

    Wait for animation to end...
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
 COMPLETED

    Tap on id: Storybook.ListView.SearchBar...
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
 FAILED

Maestro version
1.33.1
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
No response

Upon additional debugging, this seems to happen exclusively when the CICD machine tries to interact with the storybook Search bar, which we use to filter components for each test being carried. it seems that therre might be some kind of animation that is messing with the memory


Browse page becomes broken when importing large numbers of torrents

I have over 5 million torrents imported so far, and I wish to import another 20 million. I'm on a mission to import a full database of.. almost all torrents. Call me crazy! But I have got it working just fine. In fact, it's fast! But the browse page has broken for some reason. Any ideas?

Oh... heh... I'd love to help fix it but I currently only have a chromebook for development which only has a measly celeron and 120GB of HD space. I'm not sure what could be causing this. Looks like some encoding issue, maybe go is freaking out for some reason and spitting random bytes. I don't really expect to have a resolution for this anytime soon.

Alright, thanks for your input. Overnight I decide to set up my own server and that to store torrents. The only thing I miss is the UI. Your design actually looks nice.

I'm glad you like the design! If you have any ideas on the issue it might help me fix it. It's just a bit tedious without a QA or testing team. I also have lots of other pending tasks on bitcannon as well. Someday I'd like to use it to keep a torrent archive on a server in my closet or something, but I don't have the budget or the space and building a NAS for backups is my top priority. You can tell I'm a bit of a data hoarder, hence this project.

Me and you both, which is why I'm doing this is in the first place. Just in case any major torrent site goes down. I'll still have access to those torrents. I've been collecting for a while now, and I am just getting started ;)

Can you check the database and make sure the torrent titles aren't actually corrupted? Try a program like robomongo or something and see if the data comes out okay. Some of my code is questionable because I wasn't sure if demand for an integrated database (sqlite) would force me to rewrite it all.

Already have that set up, but I haven't actually looked at that. I'm at work at the moment, but I get off in 2 hours. I'll look then and post back. Also, when I try to browse a specific category of torrents, it gives me API error. But cannon says '404 not found'.. Can this be caused by a incompatible dump that I imported?

I'm not really sure. I remember the import system is a bit dumb and just makes assumptions about the format. I think it just checks for the correct number of fields and validates the btih.

And auto-correct is destroying my right now, forgive me.

I see, any way I can send you some data to look at? I know that helps. Just tell me what you need. Looking at it yourself may help.

Basically I need to know whether the data is corrupted or if bitcannon is making it all funky after reading perfectly normal data from the database. So if you can get an info hash that has a garbled title and look at the entry in robomongo then we can see if bitcannon is doing something really weird or not.

Alright, will do.

Weird, I stated MongoDB and went to into Robomongo, but now MongoDB is running an index build. I have to wait. I'm not familiar with Robomongo, how do I get it to show information about what I select on the file tree?

Alright, what am I looking for here? I see bitcannon and under that I see Sysem and Torrents. Double clicking on torrents gives me a tab, which then looks like info hashes. Viewing the list (it only shoes 50 different hashes?), I can expand each one of them and I can see the title. Titles seem to be intact.

Ah, I just realized the part that you showed that was broken is the categories. Are the categories showing up fine as well in robomongo? What bitcannon does is try to get a unique list of categories, then lists those categories on browse. If you imported something with weird data in categories, then a bunch of new categories would get created, possibly flooding the categories page with junk. I think that might be what happened.

How do I view that in robomongo? I see the category section but it doesn't let me view it.

It should just be a field that you can view. I can't really remember
exactly how it's stored but it should show something
On Sat, Oct 10, 2015, 12:10 AM MightyRufo<EMAIL_ADDRESS>wrote:

How do I view that in robomongo? I see the category section but it doesn't
let me view it.
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147034475
.

This is what I'm seeing: http://puu.sh/kEMUB/0e8fb6f8a2.png

Can you expand an entry with the arrow on the left?
On Sat, Oct 10, 2015, 12:24 AM MightyRufo<EMAIL_ADDRESS>wrote:

This is what I'm seeing: http://puu.sh/kEMUB/0e8fb6f8a2.png
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147036547
.

Yeah, here: http://puu.sh/kEN4E/73123e549c.png

Do you get a pictures category on your browse page?
On Sat, Oct 10, 2015, 12:28 AM MightyRufo<EMAIL_ADDRESS>wrote:

Yeah, here: http://puu.sh/kEN4E/73123e549c.png
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147036760
.

Seems so, yes: http://puu.sh/kENgf/5f532ca965.png

To me it looks like all the garbled categories have only 1 torrent in them.
In that case it would mean you imported a bad file.
On Sat, Oct 10, 2015, 12:32 AM MightyRufo<EMAIL_ADDRESS>wrote:

Seems so, yes: http://puu.sh/kENgf/5f532ca965.png
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147036889
.

Yup, I imported the openbay database LOL. I think I'll roll the database back and then avoid that dump.  What are the 40 errors caused by? I mean obviously they mean 'not found'. But why might that be happening?

I'm not sure yet. I need sleep first
On Sat, Oct 10, 2015, 12:37 AM MightyRufo<EMAIL_ADDRESS>wrote:

Yup, I imported the openbay database LOL. I think I'll roll the database
back and then avoid that dump. What are the 40 errors caused by? I mean
obviously they mean 'not found'. But why might that be happening?
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147036999
.

Alright, well. Thanks for the help so far.

Alright, so. I rolled back my database. I noticed there's a couple torrents that have invalid categories
. How do I find them and correct them?

If you click on them and get the btih and do a query with robomongo (Look
up some guides) then you should be able to change the category in robomongo.
On Sat, Oct 10, 2015 at 12:50 AM MightyRufo<EMAIL_ADDRESS>wrote:

Alright, so. I rolled back my database. I noticed there's a couple
torrents that have invalid categories
. How do I find them and correct them?
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147037385
.

Hmm, not so sure I can do. Clicking on any of the bad categories just brings me to a page showing zero torrents, such as this: http://puu.sh/kG0C4/9bf4dbf8d4.png

That's tough... The only 2 options I see are either we make code in bitcannon that checks the database on startup for weird categories and handles it somehow, or you can try to manually find the offending entries. You might be able to do a query for categories that are longer than 20 characters, but I'm a but rusty on mongo queries

I wouldn't code bitcannon to do that on start-up everytime. I'd code it so I can execute a command.

Well if I remember correctly I set it up to query for all unique values for category then also query each category for a total count, so the information is almost there, I would need to implement the category whitelist so it can print out a warning or do something when there are weird categories.

That would be nice. Last night I imported 7 million torrents. Out of those 7 million, about 10 are messing up the categories page. Otherwise, it works very well!

The problem is that the import system is so dumb. I would love to have something where it prompts you to verify the first torrent's info before running the import, then saves the profile for each auto import source as some kind of format string.

That does sound pretty good. But it also takes time. And coding everything on your own takes even more time.

Just got this from kat's hourly import. I'm guessing I'll have to turn off hourly updates for now.

Here's the mongo entry, I've removed it for now.
Here's the hourly dump that had the broken entry in it.

Are kat dumps fully importing? For me, it seems to skip most of them. And yes, this is what I have too.

@MightyRufo
2015/10/12 15:57:53 [OK!] Starting to import from url:
2015/10/12 15:57:53       https://kat.cr/api/get_dump/hourly/?userhash=USER_HASH_HERE
2015/10/12 15:57:55 [!!!] I was given a URL that doesn't end in .txt or .txt.gz.
2015/10/12 15:57:55       I'll assume it's regular text.
2015/10/12 15:57:55 [OK!] Compression detection complete
2015/10/12 15:57:55 [OK!] Reading initialized
2015/10/12 15:57:58 [OK!] Reading completed
2015/10/12 15:57:58       0 torrents imported
2015/10/12 15:57:58       3866 torrents skipped
2015/10/12 15:57:58 [OK!] Starting to import from url:
2015/10/12 15:57:58       http://www.demonoid.pw/api/demonoid24h.txt.gz
2015/10/12 15:57:59 [OK!] Compression detection complete
2015/10/12 15:57:59 [OK!] GZip detected, unzipping enabled
2015/10/12 15:57:59 [OK!] Reading initialized
2015/10/12 15:57:59 [OK!] Reading completed
2015/10/12 15:57:59       0 torrents imported
2015/10/12 15:57:59       199 torrents skipped
2015/10/12 15:57:59 [OK!] Starting to import from url:
2015/10/12 15:57:59       http://bitsnoop.com/api/latest_tz.php?t=all
2015/10/12 15:58:00 [!!!] I was given a URL that doesn't end in .txt or .txt.gz.
2015/10/12 15:58:00       I'll assume it's regular text.
2015/10/12 15:58:00 [OK!] Compression detection complete
2015/10/12 15:58:00 [OK!] Reading initialized
2015/10/12 15:58:00 [OK!] Reading completed
2015/10/12 15:58:00       9 torrents imported
2015/10/12 15:58:00       16 torrents skipped
2015/10/12 15:58:00 [OK!] Finished auto importing.

How did you find the entry and remove it?

It was a new install of bitcannon so I just opened Robomongo and looked through the results.

Ahh, I have over 7 million torrents imported, most of them work just fine. But I have a few pesky ones that I obviously cannot locate out of 7 million.

Maybe try searching for torrents with a category field longer than 10 - 20 chars? http://docs.mongodb.org/manual/reference/operator/query/size/

funny enough, executing the command in robomongo doesn't bring me any results when specifying any number for size. Either it's not working or I'm not doing it right. http://puu.sh/kHfnw/20f0ae47ed.png

Try this, may take a while. I've been running it on mine with 1.6M records and it's still going after 5 minutes.
db.getCollection('torrents').find({$where:"this.category.length > 20"})

You'll either get the broken records or something like this.
Fetched 0 record(s) in 41779ms

If you get this you need to lower the length by a few and try again.

Right, I never specified what data to look at lmao. One sec, let me run it.

Brilliant, it just found 14 bad entries. I shall keep this command on hand. Thank you very much kind sir!

*ma'am
You're welcome. @Stephen304 maybe for now this could be added to the wiki under troubleshooting?

Oh! My apologies ma'am. And yes, this should be added to the wiki. I'm sure it can come in handy for many people

Thanks for the useful troubleshooting, I'll add it to the wiki even I get a
chance. The weird thing is it doesn't look like the entry has an info hash.
I'm not sure how that happened.
On Mon, Oct 12, 2015, 1:59 AM MightyRufo<EMAIL_ADDRESS>wrote:

Oh! My apologies ma'am. And yes, this should be added to the wiki. I'm
sure it can come in handy for many people
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147297900
.

@Stephen304 I've noticed the demonoid hourly update is also causing this, maybe it's something to do with it being gzipped? Maybe there's a library update or something that fixes this issue?

I can try recompiling after reinstalling the go packages, but I won't be able to do that until probably tomorrow. Maybe I'll have time to start maintaining this again since it's getting traffic for some reason.

@Stephen304 this article was shared on HackerNews or Reddit, can't remember which one though.

Ah, back in january it was on both because my friend decided to post it.
It's nice to get more traffic and people to give feedback on this.
On Mon, Oct 12, 2015 at 8:16 PM X O<EMAIL_ADDRESS>wrote:

@Stephen304 https://github.com/Stephen304 this
https://torrentfreak.com/bitcannon-download-torrent-sites-to-use-offline-140118/
article was shared on HackerNews or Reddit, can't remember which one though.
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147554260
.

Also since we added support for it to SickRage there's now another 10k+ potential users. If this wasn't mainly in go I'd help, is there any chance you'd rewrite the go parts in node or are they in go for a reason?

I could maybe get behind a node rewrite. I did it in go for mainly hipster
reasons, it's new, has nice package management (node probably wins though),
compiles naively to machine code, has nice scoping that I enjoy working
with, has a nifty type system that I think makes coding easier. Node is
also very good though and most of the heavy lifting is done in mongo so a
node rewrite is an option.
On Mon, Oct 12, 2015, 8:41 PM X O<EMAIL_ADDRESS>wrote:

Also since we added support for it to SickRage there's now another 10k+
potential users. If this wasn't mainly in go I'd help, is there any chance
you'd rewrite the go parts in node or are they in go for a reason?
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147558521
.

Well if you could help even with getting most of it into node I would definitely be up to helping fix issues that come along and adding enhancements that people suggest.

I might have some time to work on it this weekend. I'll probably make a
node-bitcannon repo or something. One concern with a node version is that
people will probably have to install node to run it. With Go I just ran gox
and I got a binary for every platform that people can download. Idk if node
has a thing for packaging node programs into a bundle executable + node
environment. On the plus side, I'm pretty sure there's node gui things that
run a web page in the window of the node app. Something like electron. So
that would be good for usability.
On Mon, Oct 12, 2015 at 11:14 PM X O<EMAIL_ADDRESS>wrote:

Well if you could help even with getting most of it into node I would
definitely be up to helping fix issues that come along and adding
enhancements that people suggest.
—
Reply to this email directly or view it on GitHub
https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147583287
.

Like you said there are projects like electron that help with packaging it up, there's also nexe and a few others. There's also the option of just providing the source and forgetting about the binary, then people just install node and do something like this. That'll install nvm and then download and setup node v4.0.0, then clone the repo, install the npm dependencies and start the project with forever using the uid of bitcannon. To stop it they'd just run forever stop bitcannon.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
nvm install v4.0.0
git clone https://github.com/Stephen304/bitcannon && cd bitcannon && npm install && npm install -g forever && forever --uid bitcannon start app.js

@OmgImAlexis I've started a new issue for the rewrite discussion on #89

@stephen304 Hi! Is the project still alive? I'm trying to use it but a couple of bugs (including this one) makes it impossible.
Thanks!

Not really, I haven't had much time to put into this project and I don't
have the kind of unmetered internet connection I used to have which made
testing this easier.
Try making sure the data is clean and in the right format before importing.
On Wed, May 18, 2016, 7:10 AM Issam Chajii<EMAIL_ADDRESS>wrote:

@stephen304 https://github.com/stephen304 Hi! Is the project still
alive? I'm trying to use it but a couple of bugs (including this one) makes
it impossible.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/stephen304/bitcannon/issues/80#issuecomment-219995390


Displaying info message when user login via bower login

Currently, we don't show any message when logged in via bower login.
In this pull request, I have shown an info message like,
bower EAUTH Logged in as username
I have used bower logger for showing the info message.

Gave pull request as single commit.

You don't need to create another PR. You can just git push --force.
Can you add message when someone logins with login/password instead of authkey?

Added info message for both login, via normal and 2 factor auth mode.

oops.. I will resolve the issue and will give again.

oops.. I will resolve the issue and will give again.

It is already merged by @azbshiri

It is already merged by @azbshiri


[#3982]feat(flink-connector):Support more column data type for hive table

What changes were proposed in this pull request?

Support more columns for hive table

Why are the changes needed?
Fix: #3982
Does this PR introduce any user-facing change?

no

How was this patch tested?

add UTs and ITs: flink-connector/src/test/java/org/apache/gravitino/flink/connector/integration/test/hive/FlinkHiveCatalogIT.java
flink-connector/src/test/java/org/apache/gravitino/flink/connector/utils/TestTypeUtils.java

@coolderli , could you resolve the conflict?

@FANNG1 Please help approve the workflow and review this MR. Thanks.

@FANNG1 Please help review. Thanks.

@mchades do you have time to review this PR?

flink type doc:
https://nightlies.apache.org/flink/flink-docs-master/zh/docs/dev/table/types/

@FANNG1 Please take a look. Thanks.

LGTM except one comment

@FANNG1 Please take a look. Thanks.


More Sign In changes

This PR targets the alpha branch.

Adjust sign in message generation and parsing to allow LF chars in statements and optional trailing LF chars.

The effect of this change is to build and parse the following kinds of messages:
No statement, no fields, optional terminating LFs:
solana.com wants you to sign in with your Solana account:
XYZ

Statement, no fields:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

Statement, no fields, multiple lines:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

It has multiple lines

Statement, multiple lines, fields:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

It has multiple lines

URI: foo.com

The effect of this change is to build and parse the following kinds of messages:
No statement, no fields, optional terminating LFs:
solana.com wants you to sign in with your Solana account:
XYZ

Statement, no fields, optional terminating LFs:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

Statement, no fields, multiple lines, optional terminating LFs:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

It has multiple lines

Statement, multiple lines, fields:
solana.com wants you to sign in with your Solana account:
XYZ

This is a statement

It has multiple lines

URI: foo.com


Bamboo 6.1.1 remote agents allure support

Hey, everyone!
Is it possible to use remote agents to generate allure reports in Bamboo 6.1.1?
I tried to add executable capability Allure report to the remote agent.
Install allure locally and set path in capability.
error was:
Error creating bean with name 'io.qameta.allure.********.AllureReportTask': Unsatisfied dependency expressed through constructor argument with index 0 of type [io.qameta.allure.********.AllureSettingsManager]: : No qualifying bean of type [io.qameta.allure.********.AllureSettingsManager] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [io.qameta.allure.********.AllureSettingsManager] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

Hi,
We are experiencing the same problem. Is this a configuration issue?
Thanks

@nikitalishin @koenpeeperkorn please provide more information. Which version of Allure Bamboo plugin are you using? How did you set up and configure the plugin?
FYI: Latest Allure Bamboo plugin is not using the AllureReportTask anymore. It is advised to use the plan-level configuration and the "Allure Report" tab in the results.

@smecsia
Allure bamboo plugin v.1.4
Bamboo server 6.1.1
Centos 7.0
Postgresql-9.5
What are you mean about setup and configuration plugin? If you talk about this - yes its configured. and work perfectly at local agents.
Yes, I know that last allure plugin not using report task. But this issue about possibility use Allure report at remote agents. We can`t use local for this((
Thanx!

@nikitalishin thanks for the provided info.
When you're saying you can't use "local" for generating the report, do you mean that you don't want to use the plan-level configuration and for some reason can't use the environment of Bamboo server to store the reports?  And also you don't want to use "Allure Report" tab in the build results. Did I get it right? Would you be able to provide more details about the reason?
In fact Alllure Bamboo plugin 1.4 broke AllureReportTask, so you should not use it with the newer Allure Bamboo plugin. It is actually planned for removal.

@nikitalishin Plan settings will solve the problem

Feel free to reopen this issue


CAST-34524 Fix for very hazardous typo

Description

Solves documentation issue mentioned in CAST-34524
Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5 release/1.4 release/1.3


Change Jazzer.js fuzz tests to fixed number of runs

Trying to speed up CI runs by limiting the number of runs. Doesn't seem to have much of an impact (maybe 2–3 minutes shaved off for the fuzz test runner). The main waste of time happens on the Windows/macOS runner when building the native part each time. Caching builds seems to be the one factor that could be quite beneficial. I played around with this already, but couldn't make it work quite yet (FUZZ-575... branch).
Note: It's worth noting that we could reduce the number of runs to e.g. 10000 to lower the runtime even more, that said with 10k runs the fuzz test failed as they expect an error in some cases and as long as we don't fix the Windows/macOS runner it's wasted time.

Tests in the test folder still use max_total_time. We should also switch those to runs to make them more stable.


[BUG]: Replica count is marked as zero after installing via simple manifest but two controllers are running in PowerStore

Bug Description
Manifest file used to deploy CSM

Status of the Pod

Logs

Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Deploy the driver with the simple manifest in description
Expected Behavior
It should be succeeding and showing proper details, though the reconciliation is not working and the status is failing, CSM is stating succeeded
CSM Driver(s)
All drivers, tested with PowerStore and PowerFlex
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
NA

/sync


TouchScreenButton and Possible crash

I made a simple project with a button and it crushes when I "touch" it in android emulator.
I am not sure is it a bug or I did something wrong.
https://dl.dropboxusercontent.com/u/34699053/godot_touch_test.zip

Can someone confirm if this bug is still valid?

Ping :)

No answer, assuming this is not reproducible anymore. Please comment if you can still reproduce it.


Change CityCAT Config Bucket

climateiq-citycat-config -> climateiq-flood-simulation-config

@prashantkul note that this is a child of https://github.com/UrbanSystemsLab/climateiq-cnn/pull/55 which would be helpful to review as well / first since it's the parent

Will do, thanks Walt.
Prashant Kulkarni
Customer Engineer, Security & Compliance Specialist
Google Cloud
On Wed, May 29, 2024 at 6:13 PM Walt Askew @.***> wrote:

@prashantkul https://github.com/prashantkul note that this is a child
of #55 https://github.com/UrbanSystemsLab/climateiq-cnn/pull/55 which
would be helpful to review as well / first since it's the parent
—
Reply to this email directly, view it on GitHub
https://github.com/UrbanSystemsLab/climateiq-cnn/pull/58#issuecomment-2138495361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJODEHU22BTWTZ4FCYMPHZ3ZEZ4L3AVCNFSM6AAAAABIP3RFWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGQ4TKMZWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Listing non platform compatible plugins

Use case
When I start adding a new platform like web or desktop to my application I want to know the non-compitable plugins with the new platform
Proposal
Simply by Using a flutter command to list The Plugins which is not compatible with the targeted platform
Sample
Flutter plugin -check web
Result:
Dio 2.0.0 Android - iOS
Suggestion Dio 3.0.0 Android-iOS-Web

This command will help too much when a developer investigates to target a new platform too much otherwise he have to search plugin by plugin and debugging.

Checking would be relatively straightforward, although until the implements marker is available federated plugins would give confusing output.
Suggestions would be much trickier, and any reasonable solution would need pub APIs that don't exist yet. It's not clear how valuable that piece would be since cases where there would actually be a suggestion seem like they would be extremely rare.

@stuartmorgan Is implements already supported?
I guess this could also be helpful for this issue: #59657


SpringCloud-LoadBalancer: Passing My Own Spring Cloud LoadBalancer Configuration

SpringCloud-LoadBalancer Specifying custom configuration for load balanced services is possible through the use the LoadBalancerClient & LoadBalancerClients annotations as below.custom-loadbalancer-configuration
It works fine , but I think it's not a good practice in my progect.I have to bind loadBalancer configuration to all service by myself using  LoadBalancerClients though they using same config (see code below) .What's more,the services can increase dynamically and I don't want to keep modifying code to add them , in this case I have to rebuild all project.
@Configuration
@LoadBalancerClients({@LoadBalancerClient(value = "ServiceA", configuration = CustomLoadBalancerClientConfiguration.class), @LoadBalancerClient(value = "ServiceB", configuration = CustomLoadBalancerClientConfiguration.class)})
public class MyConfiguration {

    @Bean
    @LoadBalanced
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}

Is there a better way that I can get ServiceList dynamically  and custom the same config to all service?
I'm using Consul as the discovey client.

Hello, @FaustPipeDream , the @LoadBalancerClients has a defaultConfiguration field that you can use instead.


Add option not to retry updates after Get for sliding expiration

@ealsur Let me know if you prefer me to update the changelog and package information or do it yourself

@ealsur Added unit tests.

@rhofstra-sefi Do you need this to be released in a particular time frame?

@rhofstra-sefi Do you need this to be released in a particular time frame?

@ealsur Sooner is better, sometime this week if possible?  No huge rush though, let me know and I can work with it.

@rhofstra-sefi Released as preview4


The Planetary Network Connector does not allow you to properly ssh from Windows

What happened?
It is currently incredibly difficult to SSH a workload with a planetary network address from windows when using putty or wsl, neither of these applications appear to be able to access the planetary network with the connector running

wsl makes sense, but there isn’t a connector for that

you can connect from wsl by following this tutorial
https://forum.threefold.io/t/howto-connect-to-planetary-network-on-wsl2/3511

putty should work since it’s an application running in the base os alongside the connector but it doesn’t. Installing yggdrasil and configuring it does allow putty to work though.

Replicate:

Install the network connector in windows
Try to ssh a workload with a planetary address.

My results:
Connection failed on all attempts
What did you expect?
Ability to use the planetary network from windows.
What browsers are you seeing the problem on?
No response
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
No response

I installed wsl on a windows 10 using default ubuntu (just run wsl --install), and then I followed the instructions from https://forum.threefold.io/t/howto-connect-to-planetary-network-on-wsl2/3511 to clone and install Planetary Network ygg.
Last step to test it, I used same command sudo yggdrasil -useconffile /etc/yggdrasil.conf but all the connection failed.


Add Commands to File Explorer Top Menu

Describe the feature
It would be amazing if commander let you add commands to the menu of buttons at the top of the file explorer.
Does this fix a problem? If so, specify.
This doesn't fix a problem, but allows more consolidation of plugins.
Did you consider other alternatives?
There are plugins that can add individual commands there, but it makes sense to manage it globally through this plugin.
Screenshots and recordings
No response

@iamrecursion thank you for the suggestion, we are looking into this!

Amazing! I'm super super looking forward to this! Thanks so much.

@iamrecursion by the way, you mentioned adding this feature allows for consolidation of more plugins. Would you mind sharing which plugins you are referring to so we can reach out to the authors/credit them/ let the users of their plugins know that we are offering this feature etc?

The File Hider plugin would benefit from this feature (they do already mention it in their README but the link goes to the old repository)

The particular ones that I had in mind at the time were collapse all, which has now been superseded by stock Obsidian, and reveal active file button.

released in 0.3.0


Adopt flowable 6.6.0

Did you check that metrics related with flowable are shown in Dynatrace with newer version?

I will check them again


Pretty cool - who uses it?

So far nobody as far as i know, but we needed something like this for easier distribution of our applications, but we did not have it. Now i had some time to create and finish version 2 so done it :).

I'm thinking it could be useful as a Chocolatey Extension.  Let me know if you follow my logic or if I need to explain.


Suggestion: improve copilot to work with shell

M-x shell or any of the other shells will often have way more than the character limit in the buffer. However, having copilot-mode enabled for the buffer could be very helpful. Is there a way to use a rolling window to limit the number of characters used by copilot-mode when in a shell buffer?

The rolling window has already been implemented in copilot.el. However, it may require rework for the compatibility with the LSP protocol, such as textDocument/didChange messages.


Fixed module reference in docs for Analyze.hs

https://hackage.haskell.org/package/analyze-<IP_ADDRESS>/docs/Analyze.html has a broken link to RFrame, and this should fix it.

Thanks @Hodapp87 !


fix(connectors): fixes MGDCTRS-1851, added support for matching multiple connector type labels using like instead of and operator

Description
Added support for matching multiple connector type labels using like instead of and operator
Verification Steps
CI tests including new integration tests MUST pass.
Checklist (Definition of Done)

[X] All acceptance criteria specified in JIRA have been completed
[X] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[X] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
- [ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
- [ ] Required metrics/dashboards/alerts have been added (or PR created).
- [ ] Required Standard Operating Procedure (SOP) is added.
- [ ] JIRA has been created for changes required on the client side

@valdar can you approve this quickly? We need to get this tested in dev this week.


How to use hasMany function get current ID from show field to create children?

Laravel Version: 5.8
PHP Version: 7.x
Laravel-admin: 1.7.x

Description:
I want to make a model like "Posts" and "Comments" so I want to add child by using grid inside "Detail" like

"THIS IS DETAIL OF PARENT QUERY"
vvvvvvvvvvvvvvvvvvvvvvvvv
"THIS IS GRID OF CHILDREN"

So there is 'add button' to add a child but I can't get the parent_id from parent to store in the table

I'm stuck, @z-song please help me and can I get your discord please?


Exit Gui button in menu

Added a system section to the menu and one button, which exits the gui. I think some people will find this easier than remembering the ALT+ESC keybind.

Hi, thanks for doing this, could you just rename it once more to 'exit snakewm'?

Sure.


Bond increase stop?

Is the script supposed to tap when a new bond-level reached screen comes? When one of my servants did lvl up it just stopped in place.

Yes, it's supposed to handle that. Make sure that you have a version of the script with this fix in it: 016f11845da76717716114c4ad77c4fa28b306a7


No module named 'utilitys'

It's a good work, thanks for  your contribution!
File "pose_estimation/video.py", line 29, in
from lib.detector.mmdetection.high_api import human_boxes_get as mm_det
File "/data/download/projects/hrnet/lib/detector/mmdetection/high_api.py", line 7, in
from mmdet.models import build_detector
ModuleNotFoundError: No module named 'mmdet'

Hi, the bug already update

@lxy5513 sorry, I typed wrong.
I have met the problem with No module named 'mmdet'

@lxy5513 Thanks for your commit

Maybe there is a little problem about mmdet
File "pose_estimation/video.py", line 29, in
from detector.mmdetection.high_api import human_boxes_get as mm_det
File "/data/download/projects/hrnet_test/pose_estimation/../lib/detector/mmdetection/high_api.py", line 7, in
from mmdet.models import build_detector
File "/data/download/projects/hrnet_test/lib/detector/mmdetection/mmd/mmdet/init.py", line 1, in
from .version import version, short_version
ModuleNotFoundError: No module named 'mmdet.version'

this is maybe your mmdet compile problem. you must install and complie the mmdet environment, refer that: https://github.com/open-mmlab/mmdetection/blob/master/INSTALL.md

I will try, thanks for for your kind reply


Project setup and configuration(Back end)

This involves setting up the project with relevant dependencies and configuring all required tools.

Perform project set up and configuration, so as others can be able to start pushing their codes, after cloning the configured repo.


Panoramax: Highlight selected sequence

URL
No response
How to reproduce the issue?
Ref #9941
When selecting a sequence, the sequence is not highlighted (trace and bubbles get brighter colour), like for other providers.
This can be useful for areas with multiple sequences, when you do want to use multiple dates (no date filter).
(and troubleshooting for issue linked below, where I had to use the date filter to know if it was actually the same sequence).
However, I assume this is not implemented yet.
(Sidenote: there are no sequences in Bing Streetside, they are not connected traces eventhough they allow to move between them and between sequences)
Chrome 127.0.6533.73 on Windows 10
Screenshot(s) or anything else?
Panoramax
Ref #10365

Kartaview

Which deployed environments do you see the issue in?
Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.30.0-dev
Which browsers are you seeing this problem on?
Chrome

Thank you for noticing, this will be fixed in the next update


Add upgrade option to tox.ini update-requirements

Description
Add upgrade option to tox.ini update-requirements
Merge into:

[x] track/1.15 (release KF v1.7)
[x] main

backported to main by #125


send to many ?

If we send via the relay is can then forward to many people.

If you're wondering how to send files in a single session to multiple recipients, then that question has been answered in #73.

Read the shell solution.
We could instead get the relay server to do it . Is much more efficient.
then there is no shell messing about, and only slight change to the tui / cli.


use os.path.join() instead of joining strings for params.json

Hi,
Proposing a very small modification. In the current HEAD's export_meta_llama_bin.py, user needs to supply path/to/llama/ (with the trailing slash) because the path to params.json is obtained by string concatenation. The PR changes it to os.path.join(), and also checks the file with os.path.isfile() & prompts an error if false.
Thank you.

I fixed it a bit different ty


Audiogen

Generate your sounds with AI. Create an infinite world of sounds - sound effects, samples, and music, instantly.
https://audiogen.co

If I'm not wrong, maybe it's enough to make the PR.


accounts crate: refactor current create_account to support both accounts and sub accounts.

Currently the create_account function helps you create only sub accounts.
Refer to the implementation below:
pub async fn create_account(&self, new_account_id: AccountId, public_key: PublicKey, amount: Balance) -> Result<FinalExecutionOutcomeView, Box<dyn std::error::Error>> {
        //Look into the whole access key thingy. We need it anyway but it also helps with nonce.
        // Fetch the current nonce for the signer account and latest block hash
        let nonce = self.fetch_nonce(&self.account_id, &self.signer.public_key()).await?;

        //Block hash
        let block_reference = BlockReference::Finality(Finality::Final);
        let block = self.provider.block(block_reference).await?;
        let block_hash = block.header.hash;

        // Use TransactionBuilder to construct the transaction
        let signed_tx = TransactionBuilder::new(
            self.account_id.clone(),
            self.signer.public_key(),
            new_account_id.clone(),
            nonce+1,
            block_hash)
            .create_account()
            .transfer(amount)
            .add_key(public_key, AccessKey::full_access())
            //.build()
            .signTransaction(&*self.signer); // Sign the transaction

        // Send the transaction
        let transaction_result = self.provider.send_transaction(signed_tx).await?;
        Ok(transaction_result)
    }

Refactor it, to let you create direct accounts (example: jass.near, root.near) as well. Apply conditional checks on the new_account_id passed and accordingly either call the current logic for sub accounts or use functionCall to create a account on near or testnet namespace.
Look at the js example for creating an account on mainnet via a function call.
This issue is dependent on the functionCall issue.

For now, I have just created an example to create accounts on near or testnet namespace using a function call. Can revisit this later. I feel like adding String parsing logic(to write logic for sub-accounts or accounts on near/testnet namespace) to current function is unnecessary work and it also introduces room for bugs.