fixed small issue with if-condition

if-condition was always true

Can't figure out does this have any special meaning.
Andrew should check this..

Clemens,
Thank for your review and comments.
I apologize for the delay in replying.
Can you clarify please - why condition  root.waitThis().size() > 0  (....not OR EQUAL)?
LockGraphManager placed graph nodes on levels, calculate level "width" for visualisation and so on.
The source of nodes is the plugin of specific databases, at this moment - Postgres, Oracle and Exasol but this is not a final list (I hope) and in the future for other DBs there may be a situation of a "degenerated" graph that will consist of only one root node. In this case condition "root.waitThis().size() >= 0" cant be replaced with "root.waitThis().size() > 0". In other words I guess condition "root.waitThis().size() >= 0" now is not necessary at all - because its always true :) This is a legacy of LockGraphManager version of the manager that could not build degenerate graphs.
Can you fix your PR or I can create patch too.
Thanks again for the review.
Andrew.

Hello @AndrewKhitrin,
feel free to add a patch to make it appropriate. I'm busy for some time and I'm not sure I know how you would like to see this patched :).
Best Regards!

Hello, Clemens
Ive try to push cahnges but I have no access to  GiantCrocodile/dbeaver.git :
remote: Permission to GiantCrocodile/dbeaver.git denied to AndrewKhitrin.
fatal: unable to access 'https://github.com/GiantCrocodile/dbeaver.git/': The requested URL returned error: 403
Can you give me permission for completing PR ?

I've invited you to the repository @AndrewKhitrin! Sorry for missing this :).

Nevermind.
I've commit patch and rebase to devel branch.
Everything ready for merge.
Thanks for review.
Andrew.


AAF EssenceGroup fix

This adds minimal support for reading AAF EssenceGroups.

Codecov Report

Merging #361 into master will decrease coverage by 0.07%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master     #361      +/-   ##
==========================================
- Coverage   74.34%   74.27%   -0.08%
==========================================
  Files          63       63
  Lines        5496     5504       +8
==========================================
+ Hits         4086     4088       +2
- Misses       1410     1416       +6

Impacted Files
Coverage Δ

...neio_contrib/adapters/advanced_authoring_format.py
0% <0%> (ø)
:arrow_up:

...elineio_contrib/adapters/tests/test_aaf_adapter.py
14.69% <40%> (+0.46%)
:arrow_up:

Continue to review full report at Codecov.

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

@ssteinbach this is rebased onto your AAF tests fix & I think I addressed your notes. Can you take another look?


Use Gallery app instead of the default File Chooser

Currently when we use file upload option file manager open up. Can we open gallery  directly?

I don't understand the use case. Can you please describe it in more detail?

when we use file upload option file, i want to open gallery and not the file manager.

@viv3kk I'm just curious: what are the benefits of using the Gallery App instead of the default File Chooser?

It's difficult for me to understand your limitations (:
Would be easier if you could provide some video, screenshots, anything visual to help me understand

the limitations of the File Chooser
the benefits of the Gallery App

I think it's possible to do that, but I have to understand all the pros & cons.
Thank you.

For your reference:
https://youtu.be/EmBcPuvOVug

@viv3kk just to confirm, this is related to your rooted phone, right?

Closing due to inactivity


ide slow with this plugin

looks like this slows down ide 2024.3 quite much, investigating

unrelated


the second param of useEffect is invalid.

This is React:
https://codepen.io/anon/pen/rEJgMJ?editors=0011
This is Anujs:
https://codepen.io/anon/pen/OeQYzX?editors=0011
You can see , useEffect 's first param is called everytime when state change in Anujs.
version: 1.5.3

https://github.com/RubyLouvre/anu/blob/4ca7bcc6579430d8212db8afd57a7b7a7696e1de/packages/fiber/dispatcher.js#L61
It seems the problem is callback returned and push to update list array when prevDeps equals to nextDeps.


No skip_screen function

I tried implementing skip_screen function on left button or as a service but got compiler errors. readme refers to it but the code doesn't have the function

Can you provide your esphome yaml?
Funny, this function got lost sometimes, somehow from the code. I will try to revive it.

its fixed in the 2023.3.1 version!


[DEV] Loading scenes from DB doesn't work

Describe the bug
I am trying to load core/environments/skies/sky_1313_cloudy_dark/sky_1313_cloudy_dark from DB, but whenever I click the path nothing happens.
In console I found this error;
04:08:41 PM Lua: [BeardLib-Editor] Extension core/environments/skies/sky_1313_cloudy_dark/sky_1313_cloudy_dark does not have a read function!
To Reproduce
Try to load this from DB.

I wouldn't recommend using scenes for now. I'm still trying to fix #595.


URL parsing problem

I paste URL http://www.maps.lt/map/default.aspx#q=Pociuno g, then I click it in yakyak, http://www.maps.lt/map/default.aspx is opened.

this is a bad conversion of the google redirect to a link, it seems to be scrapping the # portion

This should be fixed by pull request #604
Nice catch!

It seems there is still a bug. If I open http://www.maps.lt/map/default.aspx#q=Pociūno g, it opens http://www.maps.lt/map/default.aspx#q=PociÅ«no g


kde/frameworks: 5.89 -> 5.90

Motivation for this change
bump kde frameworks kf5 5.89 to 5.90, released in 8/Jan
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@SuperSandro2000 could you please give a look in this PR?

I wanted to build this first, then forgot about it but since we are targeting staging this shouldn't be a problem.


fix InvalidCastException at ReactivePropertyExtensions.WaitUntilValueChangedAsync

An exception was raised when using CancelationToken in ReactivePropertyExtensions.WaitUntilValueChangedAsync.

Looks like this problem exists in ReactiveCommand (in addition to ReactiveProperty as per this pull request)


[Suggestion] Short circuit check for queued flushes in preUpdate() when checkPendingFlushOnUpdate is disabled

Description
numQueuedFlushes() is a blocking function which gets called in DocumentWriter#preUpdate() to check if there are any queued flushes. If checkPendingFlushOnUpdate is disabled i.e. its false then the overall condition flushControl.numQueuedFlushes() > 0 && config.checkPendingFlushOnUpdate could be short circuited if we reverse the check to config.checkPendingFlushOnUpdate && flushControl.numQueuedFlushes() > 0. This will prevent a blocking call.
Code pointer: https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java#L387
Currently while benchmarking I can see this particular issue significantly contributing to locking of write threads which is increasing indexing latency.

cc: @mgodwan, @backslasht

Should we add changes entry?

Should we add changes entry?

Ahh good catch @uschindler -- @CaptainDredge do you want to draft a quick PR with the CHANGES.txt entry?  Be sure to place it in the 9.11.0 section.  Thanks!

Thanks for merging @mikemccand I've raised the PR with changes.txt entry here
https://github.com/apache/lucene/pull/13118


Create metrics page for social media

[x] Add new page to L23 site with URL /metrics/social-media
[x] Create line charts of audience for each of the social media platforms as separate charts
[x] Create summarised data by week which contains audience for the social medial platform at the end of the week (take final value). Week to end on Sunday. See Date Offsets https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#timeseries-offset-aliases. This data to be stored in docs/_data/metrics/social_media

I think this is done @dpboam


Proposal: Permanently disable rule SA1109

All violations of rule SA1109 (BlockStatementsMustNotContainEmbeddedRegions) are also violations of rule SA1123 (DoNotPlaceRegionsWithinElements). I propose disabling SA1109 the same way we disabled SA1126 (in #997) for the following reasons:

Rule SA1109 is a subset of another rule; disabling the rule still leaves users with a warning and a code fix for less computational work.
Violations of SA1109 are rare; special-casing this rule is unlikely to ever provide significant benefits to users.

:+1:

:+1

:+1:


⚠ Jenkins Plugins Artifactory has degraded performance

In eddc249, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Jenkins Plugins Artifactory performance has improved in e81b291 after 12 minutes.


[Enhancement]: Improvement of OpenSSF Scorecard Score

Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched all the existing issues

What would you like to be added?
Hi, I'm Harshita. I’m working with CNCF and the Google Open Source Security Team for the GSoC 2024 term. We are collaborating to enhance security practices across various CNCF projects. The goal is to improve security for all CNCF projects by both using OpenSSF Scorecards and implementing its security improvements.
As this project already has scorecard action, I'm here to increase the final score by going over each check. I've listed all of the checks where work needs to be done, in order of its criticality. I plan to submit each PR for each fix. Please let me know what you think and for which ones a PR is welcome that I will submit it ASAP.
Current Score: 8.7
Scorecard report: https://scorecard.dev/viewer/?uri=github.com/cubefs/cubefs
Here's a few checks we can work on to improve the project's security posture:

[ ] Vulnerabilities: Score = 0

After running the osv scanner locally, a significant amount of vulnerabilities were found that need to be fixed.
Open vulnerabilities are easily exploited by attackers and should be fixed as soon as possible.

[ ] Signed-Releases: Score = 8

SLSA provenance needs to be added, which can be done using this, increasing the overall score to 10.

[ ] Pinned-Dependencies: Score = 7

Container images in dockerfile and go commands are not pinned by hash, which results in a low score. But pinning these would introduce the risk of running outdated versions/images.
Pinning dependencies to a specific hash rather than allowing mutable versions or ranges of versions improves supply chain security.

Why is this needed?
No response
Anything else?
/cc @joycebrum @diogoteles08 @pnacht @nate-double-u

@harshitasao , I really appreciate your work. We would likely accept the pull request to fix the vulnerabilities and other issues. My question is, how can we assist you further?


HeaderNav not rendering on mobile devices

Visiting the UIShell example here (which is the very first example in the docs when you click "Open in new tab"), renders fine in desktop browsers; however the menu items do not appear on android chrome mobile.  And oddly.. they don't seem to appear within the iframe example either on the desktop on the docs page. 🤷
Hope this is clear! Thanks

Probably a duplicate of:

https://github.com/carbon-design-system/carbon-components-svelte/issues/516

I appreciate the call-out; as we progress towards adopting v11 styles, we'll try to resolve all open UIShell issues as well.

#1674 (includes your reported issue)

Closing this as a duplicate of #516.


Update ShuffleLabelsOut to use sklearn.model_selection

Currently, medleydb.utils.artist_conditional_split relies on the ShuffleLabelsOut class, which is using the soon to be deprecated sklearn.cross_validation. It needs to be updated to use sklearn.model_selection but things have changed enough that a simple switch breaks the code. @bmcfee I took a stab at this myself but don't understand what you did in the original version well enough to troubleshoot why my changes weren't working. Can you give it a go?

@bmcfee I took a stab at this myself but don't understand what you did in the original version well enough to troubleshoot why my changes weren't working. Can you give it a go?

Sure.  FWIW, if we bump up the sklearn dependency to 0.18, we can use the built-in GroupShuffleSplit iterator for this and remove some code: http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GroupShuffleSplit.html#sklearn.model_selection.GroupShuffleSplit


consider using FWord / UFWord as types in MATH table

Most instances of uint16 are counts or glyphIDs, but some (7 of 20) are distances in design units. Consider changing these from uint16 to UFWord.
Similarly, int16 is used in MathValueRecord, which is used many times in this table; and the int16 is always a design-grid X or Y coordinate value. Consider changing this to FWord.

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

ID: f0076fd2-52b0-2989-3142-fd9e456b9514
Version Independent ID: 4aef8fa3-2ad3-7933-5a77-0a7473e66112
Content: MATH - The mathematical typesetting table - Typography
Content Source: typographydocs/opentype/spec/math.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

Changed types of 8 struct members for next version.


GoTestFunc: Unable to find nodes. Is your query correct?

Hey there,
Running into this err when running GoTestFunc. I've tried with the cursor in the middle of the method name (ex: on the '2' in '256') and in the body of the method.

Can't seem to get it to work in any of my projects, but for example it fails here
My init.lua looks like
local use = require('packer').use
require('packer').startup(function()
...
  use 'nvim-treesitter/nvim-treesitter'
  -- Additional textobjects for treesitter
  use 'nvim-treesitter/nvim-treesitter-textobjects'
...
  use {'ray-x/go.nvim', requires = { 'nvim-treesitter/nvim-treesitter' } }
...
end)
...
-------------------------------------------------
-- Golang config
-------------------------------------------------
require('go').setup()
vim.api.nvim_exec([[ autocmd BufWritePre (InsertLeave?) <buffer> lua vim.lsp.buf.formatting_sync(nil,500) ]], false)
-- Import on save
vim.api.nvim_exec([[ autocmd BufWritePre *.go :silent! lua require('go.format').goimport() ]], false)

gotests is on the path, and the gopls language server is set

up and running.
Any idea why this is happening? Thanks

Could you run a healthcheck in your nvim and see if treesitter configured correctly?

Ah didn't realize I had to manually do a :TSInstall go with treesitter. Thanks!


winget install KDE.KDEConnect failed while this software could be found by winget search [Error Code:0x80190194]

Brief description of your issue

I have submitted in Feedback Hub yet.
Error occurred when I tried to install KDEConnect by winget.
I could get some info by winget search KDEConnect , but I couldn't install it either directly or by id.

Steps to reproduce
winget install --id KDE.KDEConnect
Expected behavior
install KDEConnect successfully
Actual behavior
Error
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : 未找到(404)。 Not Found in Chinese

Environment
[winget --info]
Windows Package Manager v1.1.13405
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19043.1466
Package: Microsoft.DesktopAppInstaller v1.16.13405.0

I'm unable to reproduce the error.
I'm not sure if their side was having network issues, or if you may have been experiencing network issues while trying to download from their Content Distribution Network (CDN).
PS C:\Windows\system32> winget install kdeconnect
Found KDE Connect [KDE.KDEConnect] Version 21.12.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binary-factory.kde.org/view/Windows%2064-bit/job/kdeconnect-kde_Release_win64/871/artifact/kdeconnect-kde-21.12.2-871-windows-msvc2019_64-cl.exe
  ██████████████████████████████  56.9 MB / 56.9 MB
Successfully verified installer hash
Starting package install...
Successfully installed

Thx! I have asked my friend nearby to try it again and found out that there was something wrong with my network.


Update build and test reporting badges

Updates Travis and Coveralls badges to point to the 18F repo, not CFPB.

:+1: thanks


Update system-defined-device-setup-classes-available-to-vendors.md

GPS device class is not defined in the OS itself and as a result, INFs cannot use the class without a ClassInstall32 section.  A universal driver cannot have a ClassInstall32 section (and even if they did, we don't want them to ClassInstall32 a system defined class).  This entry is causing confusion, so it should be removed for now

Hi @aholeinmyhead , thanks for clarifying this. The changes look good, so I'll go ahead and merge this PR for you. It should be live later today.


Update dist files

@kencheeto
This updates the dist files otherwise the bower consumers will get the old dist files.

:+1:


Consider how to share “one off” reproducible examples (e.g., a specific analysis for a paper that has not been generalized).

The March meeting on scope of the FIT covered this, and it was determined that one-off examples are out of scope for the FIT.


[Settings] Updated adaptive trigger behavior

Summary of the Pull Request
Especially on lower resolutions, the Settings page has some weird layout behavior when resizing the window. This PR fixes the following things:

Improved layout behavior when resizing.
Simplified the VisualStates
Set a min window size for the WPF window, similar to min sizes for UWP apps (around 480px).

Old behavior

New behavior

PR Checklist

[X] Applies to #5417
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

@niels9001
What happens when I collapse the navpane and the change window size.
Does the navpane expand?
I think if the user collapse navpane manually it should keep collapsed state while changing window size.

Would also be nice if the navigation view were fully hidden (like calculator) if the window were shrunk a little more than 480. The minimum width could then be 460px perhaps? :)

Would also be nice if the navigation view were fully hidden (like calculator) if the window were shrunk a little more than 480. The minimum width could then be 460px perhaps? :)

I don't like this idea. When showing the icons you can see on which page you are.

@htcfreak it'd only be when the window is really narrow.

@niels9001
What happens when I collapse the navpane and the change window size.
Does the navpane expand?
I think if the user collapse navpane manually it should keep collapsed state while changing window size.

Yeah, it just follows the default NavigationView resizing behavior when in narrow state (flyout). Please run this branch if you want to try it out..

Would also be nice if the navigation view were fully hidden (like calculator) if the window were shrunk a little more than 480. The minimum width could then be 460px perhaps? :)
and the links in the side panel could also be below the image when the window is shrunk further than 480px.

I personally don't like it: it made sense on mobile, but when I want to quickly switch between tabs it requires additional clicks and work to get everything correctly aligned. If there's a broader ask for it we can certainly do it in a separate PR. Let's get this one in first to solve the resizing bug for users on lower resolutions.

looking at the PR, it really did simplify a lot of stuff.  Trying it out now.

@niels9001, lets get the conflicts resolved and merge this in

@crutkas Should be good to go now.

failed to build on farm :(

@niels9001
these are the errors: https://github.com/microsoft/PowerToys/pull/5434/checks?check_run_id=957875960


Fix landing page responsiveness

Responsiveness for landing page and about page

Index, About, projects, navbar, footer, responsiveness styles


get-started codelab doesn't fully identify the pubspec.yaml file

I was going through the https://flutter.io/get-started/codelab/ codelab, and step 2 just says "The pubspec file manages...". It doesn't call it pubspec.yaml. There are multiple pubspec files in the directory by this point.
cc @Sfshaza

Fixed in PR https://github.com/flutter/website/pull/1124


Value Maintained Bugs

I have found what I think is a bug in this feature. When the during interval is equal to atMost interval, I get a ConditionTimeoutException; see test2.
I also get a ConditionTimeoutException when the during interval plus the pollInterval is equal to the atMost interval; see test4. But I guess that underlying issue will be the same as in test2, also when the during interval is larger than the default atMost interval; see test6.
Additionally, to me it seems to be more natural to change the name from until(...) to maintains(...) in this case, e.g. await().during(...).maintains(() -> true, equalTo(true).
I don't have time at the moment to create a PR, but if you want, I can try to make some time next month.
Kind Regards
@Test
public void test1() { //OK
    await().during(5, TimeUnit.SECONDS)
            .atMost(6, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

@Test
public void test2() {
    // fails org.awaitility.core.ConditionTimeoutException: ... expected <true> but was <true> within 5 seconds.
    await().during(5, TimeUnit.SECONDS)
            .atMost(5, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

@Test
public void test3() { //OK
    await().during(5, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

@Test
public void test4() {
    // fails org.awaitility.core.ConditionTimeoutException: ... expected <true> but was <true> within 6 seconds.
    await().during(5, TimeUnit.SECONDS)
            .atMost(6, TimeUnit.SECONDS)
            .pollInterval(1, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

@Test
public void test5() { // OK
    await().during(5, TimeUnit.SECONDS)
            .atMost(8, TimeUnit.SECONDS)
            .pollInterval(1, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

@Test
public void test6() {
    // fails org.awaitility.core.ConditionTimeoutException: ... expected <true> but was <true> within 10 seconds.
    await().during(11, TimeUnit.SECONDS)
            .until(() -> true, equalTo(true));
}

I thought I was getting crazy, but I have the same issue as you with version 4.1.0. Thank you for your test cases, I was able to work it around for now.


Type narrowing of string literal unions

TypeScript Version:
nightly (1.9.0-dev.20160217) + strictNullChecks
Code
type Easing = 'ease-in' | 'ease-out' | 'ease-in-out';

function getEasingFunction(easing: Easing): (val: number) => number {
    switch (easing) {
        case 'ease-in':     return t => t * t;
        case 'ease-out':    return t => t * (2-t);
        case 'ease-in-out': return t => t<0.5 ? (2*t*t) : -1+(4-2*t)*t;
    }
    // `easing` should be of type `never` here
    // however the actual type is `'ease-in' | 'ease-out' | 'ease-in-out'`
}

Expected behavior:
After an exhaustive switch the switched variable should be of type never as per https://github.com/Microsoft/TypeScript/pull/9163. Conversely, if the switch is not exhaustive and the return type does not accomodate for undefined, an error should be issued.
Actual behavior:
String literal union types are not narrowed thus an error is always issued.

PS: Kudos for https://github.com/Microsoft/TypeScript/pull/9163 and all the work you've put in TS. It's a trully amazing language.

@gcnew interestingly, this works:
type Easing = { val: 'ease-in' } | { val: 'ease-out' } | { val: 'ease-in-out' };

function getEasingFunction(easing: Easing): (val: number) => number {
    switch (easing.val) {
        case 'ease-in': return t => t * t;
        case 'ease-out': return t => t * (2 - t);
        case 'ease-in-out': return t => t < 0.5 ? (2 * t * t) : -1 + (4 - 2 * t) * t;
    }
    // `easing` should be of type `never` here
    // however the actual type is `'ease-in' | 'ease-out' | 'ease-in-out'`
}

@aluanhaddad Yeah, another workaround that doesn't change Easing allias:
type Easing = 'ease-in' | 'ease-out' | 'ease-in-out';

function assertNever(x: never): never {
    throw `Not a never ${ x }`;
}

function getEasingFunction(easing: Easing): (val: number) => number {
    const x = { test: easing };
    switch (x.test) {
        case 'ease-in':     return t => t * t;
        case 'ease-out':    return t => t * (2-t);
        case 'ease-in-out': return t => t<0.5 ? (2*t*t) : -1+(4-2*t)*t;

        default:
            return assertNever(x);
    }
}

This is a duplicate of #7447.


Update 02-development-environment.md

@Jhnbrn90 Getting to know other values could be defined in type makes understanding easy.

 Thanks 🙏


Fixed improper demorgans-law case logic for logger warning

Logic is hard

The logic looks good but, is there any reason we aren't just checking they type of notification info to be boolean? Seems a little more fool proof

This lateral thinking is why we do PR's. Yeah that would be way freaking easier. I'll swap now.


CompileTimeErrorCode.INSTANCE_ACCESS_TO_STATIC_MEMBER doesn't handle mixins well

Consider the following code:
mixin A {
  static m() {}
}
f(A a) {
  a.m;
}

The analyzer currently produces the error message:
Static method 'm' can't be accessed through an instance. Try using the class 'A' to access the method.

It would be better to say Try using the mixin 'A'....
There's a similar issue if the method in question is in an extension; I'm currently making a fix for that (https://dart-review.googlesource.com/c/sdk/+/216680), which is easy because extension elements can be distinguished by their ElementKind.  The corresponding fix for mixins will be more difficult because we don't have a separate ElementKind for mixins.

You can use ClassElement.isMixin to identify mixins.

Fixed in 72daafd70c417dd5c790215e469affd21692ce29


Doris should support Update table statement.

Is your feature request related to a problem? Please describe.
Currently, Doris does not support update table. It throws the exception when we perform update on any data model tables.
Like any SQL databases, the update table should be supported in Doris.
Describe the solution you'd like
Like Apache Impala supports update table statement. Hence, Apache Doris should support update table statement in all data model tables. I believe, update is being supported implicitly within Apache Doris.
Describe alternatives you've considered
N/A
Additional context
2020-10-06 17:41:09,617 WARN (doris-mysql-nio-pool-82|684) [ConnectProcessor.analyze():243] origin_stmt: update table1 set username='muru' where siteid=5; Analyze error message: Syntax error in line 1: update table1 set username='muru' where siteid=5 ^ Encountered: IDENTIFIER Expected org.apache.doris.common.AnalysisException: errCode = 2, detailMessage = Syntax error         at org.apache.doris.analysis.SqlParser.unrecovered_syntax_error(SqlParser.java:1749) ~[palo-fe.jar:3.4.0]         at java_cup.runtime.lr_parser.parse(lr_parser.java:616) ~[jflex-1.4.3.jar:?]         at org.apache.doris.common.util.SqlParserUtils.getMultiStmts(SqlParserUtils.java:50) ~[palo-fe.jar:3.4.0]         at org.apache.doris.qe.ConnectProcessor.analyze(ConnectProcessor.java:239) ~[palo-fe.jar:3.4.0]         at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:183) ~[palo-fe.jar:3.4.0]         at org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:325) ~[palo-fe.jar:3.4.0]         at org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:510) ~[palo-fe.jar:3.4.0]         at org.apache.doris.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:50) ~[palo-fe.jar:3.4.0]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]

Does UPDATE command in Impala only support KUDU table?
This function is limited by the implementation of the underlying storage engine.
The Kudu engine supports the update function, while the Doris storage engine currently does not support update.
We are working hard in this direction, but it is difficult to have a perfect solution in the short term.

@morningman How about implement Update Where Stmt as a alter job？

@morningman How about implement Update Where Stmt as a alter job？

If so, currently we can only do it in UNIQUE_KEY model, and the performance can not be guaranteed.


Issue running in Docker

Issue running project in Docker.
I was able to run the test application locally, however, when running in a Docker container I am getting the below error.
{"errorCode":"endpoints_resolution_error","errorMessage":"Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://wemotepoc.b2clogin.com/{tennantname}.onmicrosoft.com/b2c_1_{signinpolicy}/v2.0/.well-known/openid-configuration","subError":"","name":"ClientAuthError"}
Minimal steps to reproduce

containerize the project by creating a docker-compose.yml file in the same directory of the project
version: "3"
services:
node:
image: "node:8"
container_name: testapp
user: "node"
network_mode: host
working_dir: /home/node/app
environment:
- NODE_ENV=production
volumes:
- ./:/home/node/app
command: "node index.js"
bring up the project
docker-compose up
Any log messages given by the failure

{"errorCode":"endpoints_resolution_error","errorMessage":"Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://wemotepoc.b2clogin.com/{tennantname}.onmicrosoft.com/b2c_1_{signinpolicy}/v2.0/.well-known/openid-configuration","subError":"","name":"ClientAuthError"}
Expected/desired behavior

OS and Version?

macOS running docker

Versions

Mention any other details that might be useful

Resolved by running on Docker on ubuntu.. Not sure why It wasn't working on Docker via MAC OSX


VS crash when editing

Editing or copying code or using ctrl-x crashes VS which gets stuck displaying a message box "copy - Formatting selection". This happens when not waiting until the status message "x files to analyze" disappears and "Python analysis done" shows.

In some instances the message is: "Please wait for an editor command to finish"

Hi there, thanks for bringing this issue to our attention. The problem you've encountered is related to the upstream, and it falls outside of this repository to address. There are multiple similar issues that are currently being monitored and investigated by the editor team internally.

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1859908
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1554292

To help resolving this problem, would it be possible for you to provide us with more information? I will make sure it reaches the appropriate team for further analysis and action.
Could you provide detailed repro steps about your issue using https://www.screentogif.com/?
Would you also please provide dump file when the issue recurs again with below method?

Follow your steps to get VS to hang
Launch task manager
Click on “More Details” if you haven’t already done that, Switch to the Details tab
Right click on devenv.exe and select “Create Dump File”
Compress and attach the dump file to this developer community entry so we can investigate.

Thanks

To repro I open a file, put the cursor someplace in the code and do ctrl-x and then ctrl-v. After the first or second sequence VS hangs. Is a video really necessary?
The compressed file size is 316MB and I can only upload 25MB here. Please provide another way to get the file to you

Could you try this? https://learn.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2022

I have issued a report with a reference to this issue.
As my Microsoft accounts are thoroughly messed up, more often than not I do not get any updates from the dev community pages and if things really go awry I cannot log in over there or cannot see my reports when logged in... May I ask that you cross-post additional requests here if you not see a reaction from me on the other site?

@excubo-jg, thank you for reporting this issue. please check if you have this checkbox checked and if so, uncheck it. It got checked inadvertently in 17.8 previews.

Many thanks for your swift reply. Unchecking solves the issue.


Performance problem

I use JAX auto-gradient to iminuit fit my likelihood. When I test the speed in different GPU, I found the different in GTX2080Ti and Tesla P100 is very small , even the GTX2080Ti is faster.(I use float64)
But , the FP64 TFLOPs , GTX2080Ti is 420.2GFLOPS , P100 is 4.763TFLOPS.

Please give me some advice. I think may be the Tesla P100 use single mix to double or double to calculate.

I think we'll need more information to answer your question. Can you give an example of a self-contained code snippet that demonstrates these performance issues?


Part 1 Monkey Display not working with android emulator

When I run the project in its default situation, I get the following error (As shown in the attached picture)

It looks like a file path issue. Can you put it in a shorter path such as "C:\Code"


Bug in MeshIO tests - not testing for different file types

The following function is called twice, but the passed parameter (the different extension) is never used.
https://github.com/unibas-gravis/scalismo/blob/21232cbab1049f0adcfaf8b5dafcea0ee771d4f1/src/test/scala/scalismo/io/MeshIOTests.scala#L40

Simply using the extension parameter causes some exception of vtk when calling it with the ".stl" extension.


Set fileformat unix

I was converted to the LF from CRLF line endings.
The following are the details:
$ git clone https://github.com/flightjs/example-app.git
Cloning into 'example-app'...
remote: Counting objects: 818, done.
remote: Compressing objects: 100% (465/465), done.
remote: Total 818 (delta 321), reused 811 (delta 316)
Receiving objects: 100% (818/818), 990.10 KiB | 425.00 KiB/s, done.
Resolving deltas: 100% (321/321), done.
Checking connectivity... done

$ cd example-app
$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   components/jquery/jquery.js
#       modified:   components/jquery/jquery.min.js
#
no changes added to commit (use "git add" and/or "git commit -a")

$ git add ./
warning: CRLF will be replaced by LF in components/jquery/jquery.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in components/jquery/jquery.min.js.
The file will have its original line endings in your working directory.

No longer applicable, I think.


[$500] Setup sorted import aliases

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

Coming from this slack thread, this issue is just a DX / code beautification thing, and thus should be treated an non-urgent / low priority.
Problem
When writing code for the new Expensify app, our goal is to provide developers with a positive coding experience, enhancing their joy and productivity.
The most commonly used development tool is Visual Studio Code (VSCode). However, VSCode often struggles to suggest imports for custom Expensify components. As a result, developers have to manually type the import path. Since the components they are working on are often nested in various folders, they have to guess the number of directories they need to go up to import the desired component ("Do I need to go up three directories like ../../../ or just two?"). This unnecessary cognitive load distracts developers from their actual tasks. Furthermore, the cluttered import paths are difficult to read and comprehend (see the first picture).
Solution
Take a look at the second picture and let your heart decide which version appears cleaner to you. The proposed solution is called import alias.
We can configure the bundlers to use "shortcuts" to directories when resolving imports. Additionally, we can instruct ESLint to prioritize the use of these shorter import aliases, ensuring automatic detection during development.
Next time you need to use an Expensify component, such as , you can simply import it swiftly using the following syntax:
import Avatar from "@components/Avatar"
(Future note: once we integrate typescript VSCode should be able to resolve all import paths, and thus it will suggest us to import the component from @components/Avatar )

Before
After

Furthermore, let's setup an (auto-fixable by Prettier) sort-imports lint rule, to make it look like this:

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b1a5b3c310973924
Upwork Job ID:<PHONE_NUMBER>918955520
Last Price Increase: 2023-08-31

This is more of a developer-experience optimization, not really a new feature.

👋

:givplz:

@roryabraham can we reopen this issue?

(I am fine with someone else picking up this issue!)

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~015846522c20c0484f

@hannojg Can you please assign this to me.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Enhance developer experience by using import aliases where the relative paths exceed a certain limit.
What is the root cause of that problem?
There are no import aliases defined in tsconfig.json or jsconfig.json
What changes do you think we should make in order to solve the problem?
Would need to add aliases for tsconfig.json and babel. Might need to add it for jsconfig.json too since the code is not fully migrated to typescript.
Once done:
BEFORE :
import * as Expensicons from '../../../../components/Icon/Expensicons';
AFTER:
import * as Expensicons from '@components/Icon/Expensicons';

If this is up, I would love to give it a go.
We're not fully typescript repo yet, but even after we don't have to do.
To solve this issue all we need to do is add a resolve section in webpack config.
Reference related to my proposal -> https://webpack.js.org/configuration/resolve/ for alias config.
https://github.com/trivago/prettier-plugin-sort-imports - For import sorting as per description.
Although this isn't a strigt forward proposal, I want you to guys to consider this as same, please.!

For contributors: can you please also add solution for this to your proposals?

https://github.com/trivago/prettier-plugin-sort-imports - For import sorting as per description.

"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
  "importOrderSeparation": true,
  "importOrderSortSpecifiers": true

These 3 keys are useful for solve the above one.
@situchan

And each import should be linkable to the correct file on Cmd+Click

https://github.com/Expensify/App/assets/59088937/6827b34c-b5d1-4a47-ba4a-fd28bc09f075
https://github.com/Expensify/App/assets/59088937/42447bb4-e145-4435-9b99-94259aac9702
@situchan demo videos for the web bundling & Intellisense both are working perfect.
The above demo uses webpack resolve options, but we're using babel https://github.com/Expensify/App/blob/5b4dee82a3634d73b9543474c5f298f1153460f9/config/webpack/webpack.common.js#L123
This way I don't think we need two configs one in babel and webpack. We can simply do it in babel.config.js alias section where we use module resolver plugin.

Hope you're the C+ 😅 sorry for the ping.

yeah I am not C+ yet on this GH 😄, though interested and would like to review this one

Demo of sorting imports & the update config.
module.exports = {
    tabWidth: 4,
    singleQuote: true,
    trailingComma: 'all',
    bracketSpacing: false,
    arrowParens: 'always',
    printWidth: 190,
    singleAttributePerLine: true,
    importOrder: ['^@components/(.*)$', '^[./]'],
    importOrderSeparation: true,
    importOrderSortSpecifiers: true,
    plugins: ['@trivago/prettier-plugin-sort-imports'],
};

@situchan @hannojg
For my proposal  https://github.com/Expensify/App/issues/20531#issuecomment-1701007323
for redirecting to a specific file
https://github.com/Expensify/App/assets/16595846/8303ab8f-583a-4909-a86e-211c7b226a78
for autosuggestion
https://github.com/Expensify/App/assets/16595846/fcbd1575-036a-4359-bfcd-7b9f2fd4491f

Making this external with @situchan as C+ and myself as CME. This is a lower priority issue and don't want it to distract too much from more important roadmap issues, so I made it Weekly instead of Daily for now. This will be a nice QOL improvement and should be fun to implement 👍🏼

@roryabraham Would be nice next time if the person who brings up the issue to light to get an opportunity to work on the fix.

@talhatahir Yea You'll get preference but only when your proposal is solid and better than others. But I don't see you have given your best with your proposal nor the questions asked by C+.
This is my opinion though 🙂.

@b4s36t4 I believe that these two should be done separately ( prettier sort-import lint rules & adding aliases) The risk of causing conflicts will be high in this PR (especially for the code author) And doing it in a single PR is not a great strategy.

Would be nice next time if the person who brings up the issue to light to get an opportunity to work on the fix.

sorry if this wasn't clear – this issue is open for proposals. @situchan and myself will review those proposals.

As @b4s36t4 alluded to, in general we award the job to the first proposal of sufficient quality to give us confidence in the solution.

Thanks @roryabraham. Since you're here I request you to review my proposal 😅.

So far, it seems like most of the pieces are in place from multiple different contributors, but in my opinion there's currently no proposal that uses our proposal template and includes sufficient clarity + detail for:

Import aliases
Sorted imports
A rollout plan for both changes.

Also, I want to set expectations here that due to the ongoing merge freeze we will not be merging any code related to this DX improvement until the merge freeze is lifted.

Updated Proposal https://github.com/Expensify/App/issues/20531#issuecomment-1701007323
Thanks!

Thanks for the proposals, at this point I'm going to go with the proposal I think provides better detail and clarity. Thanks @b4s36t4!
FWIW the one piece of feedback I have is that we don't want to cause too much disruption for other developers by asking them to HOLD anything for this. Instead, let's go with this plan:

If we're not ok with one merge for all the alias we can rollout things gradually

When we merge the first PR we can let people know about the changes and tell them that using import aliases is an option. Then we can migrate everything in a few smaller PRs, resolving conflicts as we go.
For the 2nd part (sorting imports), since we can just run prettier and have it auto-format everything for us, we can do all the changes in a single PR. We'll just want to make sure that PR is completely up-to-date with main before we merge it, and right afterwards we'll announce the change and tell everyone to merge main in their PR to avoid prettier errors on main.

Since there are two tasks here and will be several PRs involved, I think it's fair to raise the bounty here to $1000

Understood @roryabraham. Thanks.!

@situchan I think we're waiting for the merge freeze to lift.

All the best @b4s36t4! I got caught up with something important and did not update my proposal. I hope you would do a fine job!

@roryabraham @situchan Raised a PR here #26605.
PR includes the config for module alias and a single file which uses the update module alias to make sure alias are working.

Let's still hold this for merge freeze. I will review PR after conference is over as it won't be merged before that.

We started working on PR as merge freeze will likely to be over tomorrow.

PR is in review.

Deployed to prod on 11/2, assuming no regressions, payment will be due on 11/9

Payments complete. Given this was a developer QOL thing, I figure we likely don't need the BZ checklist here - is that correct @situchan?

@roryabraham should penalty still be applied here given the efforts made? This issue was specific than others. So not bug, not urgent and had to wait merge until no conflict and folks are online

I don't think that there was a regression here, so I don't think there should be any penalty. Even if there was a regression, I would be in support of waiving any penalty in light of the logistical challenges of doing a PR that touches so many files.

There was not regression but I think @bfitzexpensify applied because of not being merged in 9 days

Yeah, the Upwork job automatically updates after 9 days.
The reasoning to not apply a penalty is reasonable to me. I've just sent bonus amounts of $500 to you both @situchan and @b4s36t4
I think we can close this one out


Some other questions about rigid body simulation.

In the question  #4 , it is mentioned that the rigid body shape is recalculated when the angle of the rigid body changes.
Look at this pickaxe.

After the rigid body angle is changed, how is this shape transformation achieved?
I have not used those libraries and algorithms you mentioned.

The new shape is achieved through a series of matrix multiplications. As this process can be very complex, it's not necessary to hard code it, just let the graphics/physics libraries do the calculations for you. This video explains the math, and this one is a demonstration of how to code it.

The new shape is achieved through a series of matrix multiplications. As this process can be very complex, it's not necessary to hard code it, just let the graphics/physics libraries do the calculations for you. This video explains the math, and this one is a demonstration of how to code it.

Thanks for answering @the0and; I'll add what I would have said as well:
It was unclear to me exactly what the original question was but assuming it was "How do you get the rigidbody to rotate due to physics?", the answer is that I used a library for the rigidbody physics engine (Box2D).
It would be an entire project of its own to make your own physics engine with similar scope to Box2D.
I'm not sure what kind of experience @Xi-You has, but I would highly recommend using a preexisting physics engine library unless they really know what they're doing (Though it doesn't hurt to know about the underlying concepts, and the videos @the0and linked are good).

Thanks for your reply.Maybe you have some misunderstandings about my question. This is also to blame for not having a specific overview of this question. I am very sorry.
Currently I am already using Box2d physics engine.
Thank you @the0and for providing the link.


Does Not Work Under Windows 11, VS2022 and Net6

The documentation appears to be badly out of date as it relates to Windows 11, VS2022 and Net6. I can place a WebView2 control on an XAML surface, run the apps with no problem...and it refuses to display anything.
Maybe it just doesn't like www.microsoft.com :)

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

ID: 6747d603-e773-dec7-7580-f18f4365cec9
Version Independent ID: 5f7cd45b-5739-ad85-4b61-c9f94921df98
Content: Get started with WebView2 in WinUI 3 (Windows App SDK) apps - Microsoft Edge Development
Content Source: microsoft-edge/webview2/get-started/winui.md
Product: microsoft-edge
Technology: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for filing this issue. Sorry about this.
Maybe @champnic can help with this. If it turns out to be a bug either in your code or in WebView2, then I'd suggest moving the discussion to the WebView2Feedback repo: https://github.com/MicrosoftEdge/WebView2Feedback/issues
But, if there is indeed outdated documentation to be updated, let's keep this issue open here.

Closing as inactive. Please feel free to add more information if you have any and we can re-open the issue.


Once I call setState() from onChanged(), it runs forever

Hello there,
Thanks for the plugin.
For some reason, whenever my onChanged() call is made due to Keyboard showing up, if I call setState() within (after some condition), the onChange() keeps getting called every frame forever, even if I am not touching anything on the screen. The loop goes on forever thinking the state has changed when it has not.
Could there be anything wrong with the plugin or my app for some reason? Not doing anything weird on my end.
Best regards

I worked this around by storing last changed state and it is fine now. My best guess is that high frame rates kept thousands of setState() calls in a queue.

Hi @saif-ellafi
I reopen this issue because this is a real issue of the package that I just release an update to fix it. Could you try it and let me know the result?

Feel free to reopen this issue if you still have it as I have fixed it. Thank you.

Ohh I am super glad this was a valid report. Will test after Tuesday. @lamnhan066


plasma5 not overridable

Describe the bug
When trying to use overrideScope' on plasma5, an error occurs.
To Reproduce
Have the following in configuration.nix:
  nixpkgs.overlays = [
    (final: prev: {
      plasma5 = prev.plasma5.overrideScope' (sfinal: sprev: lib.makeOverridable { });
    })
  ];

Expected behavior
plasma5 to be successfully overriden. Instead, this error occurs:
error: --- EvalError ------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
at: (14926:14) in file: /nix/store/agbj0icd0bx0zlrbk3f0qsrzv4v8dpap-source/pkgs/top-level/all-packages.nix

 14925|
 14926|     inherit (plasma5.override { libsForQt5 = self; })
      |              ^
 14927|       kdecoration khotkeys libkscreen libksysguard bluedevil

attribute 'override' missing

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I'm actually trying to modify an output file of plasma-desktop, in this case, ${plasma5.plasma-desktop}/share/plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js.
I want to patch the file so that new users use the Application Menu (kicker), not Application Launcher (kickoff), by default.
I'm trying to patch the output so there's no need to recompile plasma-desktop.
Notify maintainers

Metadata
I'm in the process of migrating to flakes, nix-info doesn't seem to work right now.
My nix version is:  nix (Nix) 2.4pre20201201_5a6ddb3
nixpkgs (branch nixpkgs-20.09) (from flakes.lock):
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-Yn97AVjFvQunGmwK3nnr7LihzMnp72jyaYNRRaJvAZ4=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "c5c6009fb436efe5732e07cd0e5692f495321752",
        "type": "github"
      }

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: plasma5
# a list of nixos modules affected by the problem
module:

The change that would allow something like that is currently in staging https://github.com/NixOS/nixpkgs/pull/102168.
final: prev: {
  plasma5Packages = super.plasma5Packages.overrideScope' (self: super: {
    ...
  });
}

The change that would allow something like that is currently in staging https://github.com/NixOS/nixpkgs/pull/102168.
final: prev: {
  plasma5Packages = super.plasma5Packages.overrideScope' (self: super: {
    ...
  });
}

I see, thank you!

I see, thank you!


[Bug] Error building MLC chat on iOS

🐛 Bug

When building the xCode project on my personal device the build succeeds but when launching the application an Error message saying "Local ID: RedPajama-INCITE-Chat-3B-v1-q4f16_0 already exists". This makes the application unable to store chat states.
Update
It looks like if you don't run the step to add the prepackage model then it works.
To Reproduce
Steps to reproduce the behavior:

Follow steps 1 - 4 in https://mlc.ai/mlc-llm/docs/deploy/ios.html but select the target as your own iPhone
Launch the Application
The error message is presented

Expected behavior

The error message should not be present and chat states should be saved.
Environment

Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA): IOS
Operating system (e.g. Ubuntu/Windows/MacOS/...): MacOS
Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...: iPhone 13 pro max
How you installed MLC-LLM (conda, source): conda
How you installed TVM-Unity (pip, source): source
Python version (e.g. 3.10): 3.11
GPU driver version (if applicable):
CUDA/cuDNN version (if applicable):
TVM Unity Hash Tag (python -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in tvm.support.libinfo().items()))", applicable if you compile models):
Any other relevant information:

Additional context

This error is due to the fact that there is a conflicting local id, if you try to deploy a new model, consider to use a model with a different local id instead


[flutter_markdown] MarkdownBody.shrinkWrap not taken into account with single child

MarkdownBody's shrinkWrap property is not taken into account when the list of children provided by MarkdownWidget has only one child.
The reason seems to be that:

When there's only one child MarkdownBody doesn't wrap it into a Column:

https://github.com/flutter/packages/blob/4b2114beb992da0e031c4e9f94e04f6e659e704b/packages/flutter_markdown/lib/src/widget.dart#L443-L453

And the inner column that is created by MarkdownBuilder  doesn't specify any mainAxisSize.

https://github.com/flutter/packages/blob/4b2114beb992da0e031c4e9f94e04f6e659e704b/packages/flutter_markdown/lib/src/builder.dart#L366-L371
Steps to Reproduce
@override
Widget build(BuildContext context) {
  return Stack(
    children: const <Widget>[
      Align(
        alignment: Alignment.bottomCenter,
        child: MarkdownBody(
          data: 'This is a [link](https://flutter.dev/)',
          shrinkWrap: true,
        ),
      ),
    ],
  );
}

Actual results: The widget takes all the available height.

Expected results: The widget should wrap the markdown content.

Logs
❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-x64, locale en-NL)
    • Flutter version 3.0.1 at /Users/davidmigloz/repos/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (2 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/davidmigloz/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/davidmigloz/Library/Android/sdk
    • Java binary at: /Users/davidmigloz/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/davidmigloz/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/davidmigloz/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8309675/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
    • IntelliJ at /Users/davidmigloz/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
    • IntelliJ at /Users/davidmigloz/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5591.52/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at /Users/davidmigloz/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5080.210/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.67.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (3 available)
    • Pixel 3 (mobile) • 8ANX0VZ7Q • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos     • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)     • chrome    • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I can reproduce this issue in the latest package version on both stable and master channels.

Code sample
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Stack(
          children: const <Widget>[
            Align(
              alignment: Alignment.bottomCenter,
              child: MarkdownBody(
                data: 'This is a [link](https://flutter.dev/)',
                shrinkWrap: true,
              ),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v (Stable)
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.0.1 at /Users/nabeelparkar/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (2 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 68.0.4
    • Dart plugin version 221.5787.30

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

flutter doctor -v (Master)
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1091, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.1.0-0.0.pre.1091 at /Users/nabeelparkar/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 032dc5428f (80 minutes ago), 2022-06-03 10:45:57 +0200
    • Engine revision 76a1567841
    • Dart version 2.18.0 (build 2.18.0-165.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 68.0.4
    • Dart plugin version 221.5787.30

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Error flood in console (thousands of them)

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Windows 10
Issue description
It is tricky to reproduce but I caught it at least twice in the past week
It seems that leaving editor unattended running in the background leads it to check your code and find errors that are not actually there. Bringing it back reveal thousands (in one case half of million) errors.
Closing the project and opening it again mends the issue (EDT: It is not)
Steps to reproduce

Add custom actions in Project Settings > Input Map
In my case "ui_next", "ui_prev", "ui_toggle"
Use them in your code
EDT: scene script has to be marked as @tool
In my case Input.is_action_just_pressed("ui_next")
The tricky part: Leave the editor open for quite some time
It took something like a day or two, maybe three
EDT: This one turned out to be false, it reproduces right after the opening
Open the editor and take a note that Error counter in output tab is in the thousands and counting (+3..5 errors/sec)
It was something along the lines of "Can't find action "ui_next", did you mean "ui_do_something_that_I_clearly_din't_ment""

Minimal reproduction project
I managed to reproduce it
repro_error_flood.zip

Could you please post the text of the error so that we can see where it is coming from?

Could you please post the text of the error so that we can see where it is coming from?

Even better, I reproduced it minimally
Exact line is "The InputMap action "ui_next" doesn't exist. Did you mean "ui_text_newline"?"

I'm not sure if you're supposed to create new actions whose name start with ui_, as the engine considers those to be built-in actions.

I'm not sure if you're supposed to create new actions whose name start with ui_, as the engine considers those to be built-in actions.
I've seen many people do that without trouble, but this makes me think again whether it's a good idea to do so – you don't want the engine to conflict with your own input actions in the future (as more built-in input actions may be added).

Never new about that would be great to have a warning on the creation of such action

I'm able to repro this with input actions that lack the ui_ prefix just as well as those with the prefix. While I think that @badunius's repro is sufficient, I've attached a repro that has a scene with a @tool script and a scene with a normal script. Both run fine when running the scene, but the @tool script produces the InputMap error when ran in the editor.
If this is because the project Input actions aren't defined for @tool scripts, and that is expected behaviour, then I think the error message should be updated to clarify that when ran in editor.
tool_script_input_map_error.zip

I have a same problem. v4.1.3.stable. I also used @tool keyword and when I use Input.get_vector() or Input.is_action_pressed(), massive InputMap error messages flood in output console. Now I decide to not use @tool keyword and the problem is gone.

Sorry to post almost a year later, but the issue is still here in 4.2.1 stable
I have a @tool script and it doesn't like any of my own-made inputmaps
I deleted a few and just left "jump", but you can see that the debugger is ticking up roughly 100 per second, even when the game is not in debug

An easy way to resolve this issue would be to silence InputMap's error messages about nonexistent actions when Engine::get_singleton()->is_editor_hint() is true, but this can make it difficult to troubleshoot editor plugins when you actually need to implement new shortcuts.
Try addingthe following to your script's _ready() function so that input processing doesn't run while in the editor:
func _ready():
    set_process_input(not Engine.is_editor_hint())

I can confirm this is still the case in using custom InputMap actions while in a tool script.
Reproducible in: 4.0, 4.1, 4.2, 4.3Beta1, and 4.3Beta2

Still happening in 4.3 stable as well.

Happened to me too, i even removed [Tool] and even recreated script.

I concur. I have the same error with a custom action set in the InputMap, called from a @tool script.
It's not a solution but by adding a check on the action before calling is_action_pressed(), the error does not appear... and the custom InputMap action is still working while testing.
if InputMap.has_action("jump") and Input.is_action_just_pressed("jump"):
    ...


fix: get correct resource dir in AppImge (fix #1308)

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

I'll try this one tomorrow. Thanks catching and fixing this!

Thanks for your contribution, looks great! :+1:


Installation failure - broad institute ftp login component?

Hi,
I've been trying to install bcbio for a few days now.
The first few times it failed was because of connection timeout. I resolved this by installing using 'nohup'.
But now it crashed for some other reason (please see tail of std.err below).
Is there any way to pick up just past the last properly installed component?
2017-01-05 04:22:30 (1.76 MB/s) - ‘variation/dbsnp-147-orig.vcf.gz’ saved [3489630146]

--2017-01-05 04:35:38--<EMAIL_ADDRESS>           => ‘-’
Resolving ftp.broadinstitute.org (ftp.broadinstitute.org)... <IP_ADDRESS>
Connecting to ftp.broadinstitute.org (ftp.broadinstitute.org)|<IP_ADDRESS>|:21... connected.
Logging in as gsapubftp-anonymous ...
Login incorrect.

gzip: stdin: unexpected end of file
Traceback (most recent call last):
  File "/mnt/bcbio/anaconda/bin/bcbio_nextgen.py", line 4, in <module>
    __import__('pkg_resources').run_script('bcbio-nextgen==1.0.0', 'bcbio_nextgen.py')
  File "/mnt/bcbio/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 726, in run_script
  File "/mnt/bcbio/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 1484, in run_script
  File "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio_nextgen-1.0.0-py2.7.egg-info/scripts/bcbio_nextgen.py", line 211, in <module>
    install.upgrade_bcbio(kwargs["args"])
  File "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 95, in upgrade_bcbio
    upgrade_bcbio_data(args, REMOTES)
  File "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 286, in upgrade_bcbio_data
    cbl_deploy.deploy(s)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 65, in deploy
    _setup_vm(options, vm_launcher, actions)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 110, in _setup_vm
    configure_instance(options, actions)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 268, in configure_instance
    setup_biodata(options)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/__init__.py", line 250, in setup_biodata
    install_proc(options["genomes"], ["ggd", "s3", "raw"])
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 339, in install_data
    _prep_genomes(env, genomes, genome_indexes, ready_approaches)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 467, in _prep_genomes
    retrieve_fn(env, manager, gid, idx)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 814, in _install_with_ggd
    ggd.install_recipe(env.cwd, recipe_file)
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 30, in install_recipe
    recipe["recipe"]["full"]["recipe_type"])
  File "/mnt/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 62, in _run_recipe
    subprocess.check_output(["bash", run_file])
  File "/mnt/bcbio/anaconda/lib/python2.7/subprocess.py", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['bash', '/mnt/bcbio/genomes/Hsapiens/GRCh37/txtmp/ggd-run.sh']' returned non-zero exit status 1
Traceback (most recent call last):
  File "./bcbio_nextgen_install.py", line 246, in <module>
    main(parser.parse_args(), sys.argv[1:])
  File "./bcbio_nextgen_install.py", line 44, in main
    subprocess.check_call([bcbio, "upgrade"] + _clean_args(sys_argv, args))
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/mnt/bcbio/anaconda/bin/bcbio_nextgen.py', 'upgrade', '--tooldir=/mnt/bcbio/tools', '--genomes', 'GRCh37', '--aligners', 'bwa', '--aligners', 'bowtie2', '--data']' returned non-zero exit status 1

The odd thing is that the following command does indeed work:
wget<EMAIL_ADDRESS>

Daniel;
Sorry about the issue. This is probably an intermittent ftp error from the broad servers. They can often get overloaded leading to these failures.
If you re-run the same install command it'll pick up where it left off and hopefully get through this point. In general the installer restarts at the same place so you any one-off connection errors hopefully aren't too painful. Hope this gets the installation finished for you.

It did! Thank you Brad 👍


{"level":"warn","ts":"2023-07-29T06:50:59.341Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:50:59.341Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"info","ts":"2023-07-29T06:50:59.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:50:59.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:50:59.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:50:59.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:50:59.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:01.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:01.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:01.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:01.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:01.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:01.404Z","caller":"etcdhttp/metrics.go:173","msg":"serving /health false; no leader"}
{"level":"warn","ts":"2023-07-29T06:51:01.404Z","caller":"etcdhttp/metrics.go:86","msg":"/health error","output":"{\"health\":\"false\",\"reason\":\"RAFT NO LEADER\"}","status-code":503}
{"level":"warn","ts":"2023-07-29T06:51:02.998Z","caller":"etcdserver/server.go:2063","msg":"failed to publish local member to cluster through raft","local-member-id":"1eea1a74f9ec14d","local-member-attributes":"{Name:cks-control-1898b776268 ClientURLs:[https://<IP_ADDRESS>:2379]}","request-path":"/0/members/1eea1a74f9ec14d/attributes","publish-timeout":"7s","error":"etcdserver: request timed out"}
{"level":"info","ts":"2023-07-29T06:51:03.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:03.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:03.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:03.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:03.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:04.337Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: i/o timeout"}
{"level":"warn","ts":"2023-07-29T06:51:04.337Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: i/o timeout"}
{"level":"warn","ts":"2023-07-29T06:51:04.342Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: i/o timeout"}
{"level":"warn","ts":"2023-07-29T06:51:04.342Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: i/o timeout"}
{"level":"info","ts":"2023-07-29T06:51:04.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:04.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:04.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:04.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:04.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:06.794Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:06.794Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:06.794Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:06.794Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:06.794Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:08.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:08.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:08.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:08.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:08.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:09.338Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:09.339Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:09.342Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:09.342Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:09.998Z","caller":"etcdserver/server.go:2063","msg":"failed to publish local member to cluster through raft","local-member-id":"1eea1a74f9ec14d","local-member-attributes":"{Name:cks-control-1898b776268 ClientURLs:[https://<IP_ADDRESS>:2379]}","request-path":"/0/members/1eea1a74f9ec14d/attributes","publish-timeout":"7s","error":"etcdserver: request timed out"}
{"level":"info","ts":"2023-07-29T06:51:10.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:10.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:10.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:10.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:10.393Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:11.404Z","caller":"etcdhttp/metrics.go:173","msg":"serving /health false; no leader"}
{"level":"warn","ts":"2023-07-29T06:51:11.404Z","caller":"etcdhttp/metrics.go:86","msg":"/health error","output":"{\"health\":\"false\",\"reason\":\"RAFT NO LEADER\"}","status-code":503}
{"level":"info","ts":"2023-07-29T06:51:12.193Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:12.194Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:12.194Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:12.194Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:12.194Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:13.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:13.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:13.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:13.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:13.993Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:14.340Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:14.340Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"57aee66a9503787","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:14.343Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"warn","ts":"2023-07-29T06:51:14.343Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"f560bc2b67e4cfa4","rtt":"0s","error":"dial tcp <IP_ADDRESS>:2380: connect: no route to host"}
{"level":"info","ts":"2023-07-29T06:51:15.793Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:15.793Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:15.793Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:15.793Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:15.793Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}
{"level":"warn","ts":"2023-07-29T06:51:16.999Z","caller":"etcdserver/server.go:2063","msg":"failed to publish local member to cluster through raft","local-member-id":"1eea1a74f9ec14d","local-member-attributes":"{Name:cks-control-1898b776268 ClientURLs:[https://<IP_ADDRESS>:2379]}","request-path":"/0/members/1eea1a74f9ec14d/attributes","publish-timeout":"7s","error":"etcdserver: request timed out"}
{"level":"info","ts":"2023-07-29T06:51:17.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d is starting a new election at term 11"}
{"level":"info","ts":"2023-07-29T06:51:17.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d became pre-candidate at term 11"}
{"level":"info","ts":"2023-07-29T06:51:17.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d received MsgPreVoteResp from 1eea1a74f9ec14d at term 11"}
{"level":"info","ts":"2023-07-29T06:51:17.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to 57aee66a9503787 at term 11"}
{"level":"info","ts":"2023-07-29T06:51:17.593Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"1eea1a74f9ec14d [logterm: 11, index: 1606469] sent MsgPreVote request to f560bc2b67e4cfa4 at term 11"}

and from inside the container

sh-5.1# etcdctl --cluster=true endpoint health
{"level":"warn","ts":"2023-07-29T06:55:21.108Z","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000432380/<IP_ADDRESS>:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
Error: failed to fetch endpoints from etcd cluster member list: context deadline exceeded

Could be the reason k8s-api-server not responding.
Cheers,
Jayanth

@zap51
I think you are right. It is an issue caused by etcd.
To achieve HA, we should

use odd control nodes (1,3,5,7...) normally,
make sure more than half of the control nodes are Up (1 of 1, 2 of 2, 2 of 3, 3 of 4, 3 of 5, 4 of 6, 4 of 7, etc)

I think this is not a bug.
cc @VanDuy91 @kiranchavala

I've got it.
I appreciate your help.


style: reformat code

@rultor merge it.

@rultor merge it.

@rafamizes OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it.

@rafamizes Done! FYI, the full log is here (took me 2min)


[Regression] - V2 - Project Console - 500 Internal Server Error is returned while fetching CLA Groups

Create standalone project  or project Group with child projects (With The Linux Foundation as parent or without The Linux Foundation as parent)
Create CLA Group
Fetch CLA Groups using below endpoint. Observed that 500 Internal Server error is returned. Issue is also observed when the project is not enrolled in any CLA Group
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/listClaGroupsUnderFoundation

Verified that the issue is resolved


[FEATURE] Move to TypeScript

Is there an existing issue for this?

[X] I have searched for an existing issue.

What?
Move the project to TypeScript
Description
Move the project from JavaScript to TypeScript.
Why?
So we can use Types in modules, and reduce the workload.

Solved here: #34

Solved in Pull Request #44.

Solved again in #45

Hi, I would like to help with this project, is there anything you would like doing first?

Hi, I would like to help with this project, is there anything you would like doing first?

Hello there, I'm not really sure at the moment bit of you have any ideas for modules, feel free to open an issue or make a PR adding it.

I will leave the project in JavaScript for now.


sstableloader non-prepared batch statements does not handle identifiers with ":" in them

Because non-prepared batch statements cannot handle named variables, we do variable replacement in this mode (terrible, yes). The regex match does not deal with column/keyspace/table identifiers containing ":" (i.e. alternator).
Need to do boundary match (lookahead/lookbehind).

This is a duplicate of #230 with a more pin-pointed description, right?

Yes. #230 says "prepare", when in fact it is the not preparing that screws us violently. :-)

Fixed by commit 57eb143119e26c03c5b361f28a7cced56878e12a but not closed automatically due to a typo. So closing manually.