bug: Wrong symbol being rendered for custom checkbox

Neovim version (nvim -v)
0.10.1
Operating system
Linux
Terminal emulator / GUI
Kitty
Describe the bug
In the config, I setup checkbox config like this:
checkbox = {
    unchecked = { icon = ' ' },
    checked = { icon = ' ' },
    custom = {
        incomplete = { raw = '[/]', rendered = ' ', highlight = 'DiagnosticWarn' },
         cancelled = { raw = '[-]', rendered = ' ', highlight = 'DiagnosticUnnecessary' },
         migrated = { raw = '[>]', rendered = ' ', highlight = 'DiagnosticInfo' },
         pinned = { raw = '[*]', rendered = ' ', highlight = 'DiagnosticHint' },
    }
}

I've been using the plugin without issues and almos all of these checkboxes work as expected, except cancelled:
- [ ] Test task
- [x] Test task
- [>] Test task
- [*] Test task
- [-] Test task

As you can see, all tasks are rendered with the icons I specified, except the last one.
Expected behavior
The last task should've rendered like this (I pasted the icon directly from the config to demonstrate):

Healthcheck output
==============================================================================
render-markdown: require("render-markdown.health").check()

render-markdown.nvim [version] ~
- OK plugin 6.3.6
- OK neovim >= 0.10

render-markdown.nvim [configuration] ~
- OK valid

render-markdown.nvim [nvim-treesitter] ~
- OK installed
- OK markdown: parser installed
- OK markdown: highlight enabled
- OK markdown_inline: parser installed
- OK markdown_inline: highlight enabled

render-markdown.nvim [executables] ~
- OK none to check

render-markdown.nvim [conflicts] ~
- OK headlines: not installed
- OK obsidian: installed but should not conflict

Plugin configuration
local markdown = {
    'MeanderingProgrammer/markdown.nvim',
    opts = {
        latex = { enabled = false },
        win_options = {
            conceallevel = { rendered = 2 }
        },
        heading = {
            position = 'overlay',
            icons = { '󰎤 ', '󰎧 ', '󰎪 ', '󰎭 ', '󰎱 ', '󰎳 ' },
            width = 'full',
            left_pad = 1,
            right_pad = 2,
            -- min_width = 80,
            border = false,
            backgrounds = {
                'RenderMarkdownH2BG',
                'RenderMarkdownH2BG',
                'RenderMarkdownH2BG',
                'RenderMarkdownH2BG',
                'RenderMarkdownH2BG',
                'RenderMarkdownH2BG'
            }
        },
        code = {
            -- position = 'right'
            width = 'block',
            min_width = 80,
            left_pad = 2
        },
        bullet = {
            right_pad = 2
        },
        checkbox = {
            unchecked = { icon = ' ' },
            checked = { icon = ' ' },
            custom = {
                incomplete = { raw = '[/]', rendered = ' ', highlight = 'DiagnosticWarn' },
                cancelled = { raw = '[-]', rendered = ' ', highlight = 'DiagnosticUnnecessary' },
                migrated = { raw = '[>]', rendered = ' ', highlight = 'DiagnosticInfo' },
                pinned = { raw = '[*]', rendered = ' ', highlight = 'DiagnosticHint' },
            }
        },
        callout = {
            note = { raw = '[!NOTE]', rendered = '󰋽 Note', highlight = 'RenderMarkdownInfo' },
            tip = { raw = '[!TIP]', rendered = '󰌶 Tip', highlight = 'RenderMarkdownSuccess' },
            important = { raw = '[!IMPORTANT]', rendered = '󰅾 Important', highlight = 'RenderMarkdownHint' },
            warning = { raw = '[!WARNING]', rendered = '󰀪 Warning', highlight = 'RenderMarkdownError' },
            attention = { raw = '[!ATTENTION]', rendered = '󰀪 Attention', highlight = 'RenderMarkdownWarn' },
            caution = { raw = '[!CAUTION]', rendered = '󰳦 Caution', highlight = 'RenderMarkdownError' },
            abstract = { raw = '[!ABSTRACT]', rendered = '󰨸 Abstract', highlight = 'RenderMarkdownInfo' },
            todo = { raw = '[!TODO]', rendered = '󰗡 Todo', highlight = 'RenderMarkdownInfo' },
            success = { raw = '[!SUCCESS]', rendered = '󰄬 Success', highlight = 'RenderMarkdownSuccess' },
            question = { raw = '[!QUESTION]', rendered = '󰘥 Question', highlight = 'RenderMarkdownWarn' },
            failure = { raw = '[!FAILURE]', rendered = '󰅖 Failure', highlight = 'RenderMarkdownError' },
            danger = { raw = '[!DANGER]', rendered = '󱐌 Danger', highlight = 'RenderMarkdownError' },
            bug = { raw = '[!BUG]', rendered = '󰨰 Bug', highlight = 'RenderMarkdownError' },
            example = { raw = '[!EXAMPLE]', rendered = '󰉹 Example', highlight = 'RenderMarkdownHint' },
            quote = { raw = '[!QUOTE]', rendered = '󱆨 Quote', highlight = 'RenderMarkdownQuote' },
        }
    }
}

Plugin error log
N/A
Confirmations

[X] I have provided text for all screenshots & understand that my issue will be closed if I have not

Additional information
I thought it was a problem with my Kitty fonts config, but I checked and all codepoints are configured based on the official Nerd Fonts wiki and I have the last version. In any case, the icon clearly works as I pasted it in the config myself, it only shows a different icon when rendering the tasks in markdown.
I also have obsidian.nvim plugin, but I disabled it's markdown rendering features so it doesn't conflict. I don't even have custom checkboxes configured there and as you can see, all other custom checkboxes from the render-markdown config work fine.

Due to the default value of checkboxes: https://github.com/MeanderingProgrammer/render-markdown.nvim?tab=readme-ov-file#checkboxes
custom = {
    todo = { raw = '[-]', rendered = '󰥔 ', highlight = 'RenderMarkdownTodo' },
}

Since the [-] symbol is used twice, the one that gets selected will be random since iterating through a table does not guarantee order.
Any of these solutions will work:

change the raw value of todo to avoid it clashing: custom = { todo = { raw = '[SOME_VALUE]' } }
use a different raw value for cancelled
use the key todo instead of cancelled and overwrite the defaults: custom = { todo = { rendered = ' ', highlight = 'DiagnosticUnnecessary' } }


chore: more span pointer tests

Motivation
Now that span pointers for s3 and dynamodb are going to be released and we're starting work on the javascript tracer, let's add more tests.
Changes
Adding system tests for s3: copy object and complete multipart upload; and dynamod: put item, update item, delete item, batch write item, and transact write items.
Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

test failures seem to be unrelated to the changes here.

remaining test failures are not relevant.


Improve finding jar files.

Added limit of depth 5.
When opening java file on root directory, vim hangs.

Do I understand right that if a:path is direct link on file GlobPathLink return that link?

What do you mean link? symlink?

If yes, then answer is yes. globpath handle symlinks. So:
/tmp/aaa/foo
/tmp/bbb/aaa

If /tmp/bbb/aaa is symlink of /tmp/aaa, globpath("/tmp/bbb", "**/*") should be /tmp/bbb/aaa/foo.

No, by link I mean path. So if a:path is direct path to jar or zip file, and not a directory.

https://github.com/mattn/vim-javacomplete2/commit/5e6422f56be7479c8d35f4bf0b7d4b9d929dee17#diff-60812780f639c2271180fbd367d4d63bR250
Yes, try below on your root of java project directory.
:echo globpath(".", "**/*.java")

Yaeh but if I do:
:echo globpath('/home/ash/file.java', '**/*.java')

it give me nothing. That what I mean by direct line on file.

Ah, okay. will fix.

fixed.

Yeah, thank you.


Remove version: CrystalDewWorld.CrystalDiskInfo.ShizukuEdition version 8.13.3

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate;


Add files via upload

Good work. I am merging your PR.
Do give us a star by hitting the star button of this repo!


Gitlens Panel > Branches > Commit view keeps collapsing

I make heavy usage of the branch commit browser in the Gitlens panel to walk through commits for code review. However, I've been running into an issue where the expanded tree state that I had randomly (and frequently) collapses down to just showing the available branches, instead of maintaining the commit I had expanded and the nested files.

GitLens Version: 5.6.4
VSCode Version: 1.17.1 as well as older versions
OS Version: macOS 10.13

Steps to Reproduce:

Open a branch > then a commit > then a file in the Gitlens panel
Wait several seconds
Witness it automatically collapse w/o user interaction

@awendland While the state of the GitLens explorer isn't close to where I would like it, in terms of refreshes losing all context, there are a few blocking vscode issues:
https://github.com/Microsoft/vscode/issues/34789
https://github.com/Microsoft/vscode/issues/30535
https://github.com/Microsoft/vscode/issues/33371
Although at the same time, I can't reproduce the behavior you are seeing -- I can expand something in the view and it will stay that way until something changes -- like a file in the repo, or the repo state itself (which could be updated by vscode's auto-fetch (via the git.autofetch setting).
Have you noticed any rhyme or reason to when it refreshes and loses its context? Can you try setting "git.autofetch": false and see if that changes the behavior? Any more details you can provide would be greatly appreciated.

@eamodio Thanks for detailing the issues behind this and for looking into it. GitLens has become an integral part of my flow because of how high quality it is, so I must imagine these vscode limitations are frustrating you to no end 😂
Setting git.autofetch hasn't helped the issue at all unfortunately. For the time being the hammer approach that you've mentioned in #180 is what I'll be using, and I'll make sure to up-vote the appropriate vscode issues wherever possible. Thanks again for such a great extension!

No problem and thank you for your kind words!
Hrm, while there are a lot of known issues with refreshes collapsing everything, I'm still unsure why you are experiencing it if nothing changed. Would you mind trying out the latest GitLens v6 alpha? I've refactored a lot to reduce extra events and overhead which might have an effect here. It also has more improved logging that might help determine why the view is refreshing.

@awendland GitLens 6 is out now, if you are still experiencing this issue, please re-open this and attach logs -- thanks!

@eamodio The problem seems to have been fixed! Thank you! An era of code review bliss has arrived 😄


EtOrbi.parse unable to parse some timezones that Time.parse can

I'm trying to parse user-given times for scheduled events, and there are certain timezones parsable by Time and DateTime that are ignored by EtOrbi.
EtOrbi.parse('7AM PST').to_s    # "2021-02-19 07:00:00 +0000"
DateTime.parse('7AM PST').to_s  # "2021-02-19 07:00:00 -0800"
Time.parse('7AM PST').to_s      # "2021-02-19 07:00:00 -0800"

EtOrbi.parse('7AM MDT').to_s    # "2021-02-19 07:00:00 +0000"
Time.parse('7AM MDT').to_s      # "2021-02-19 07:00:00 -0600"

I've done a bit of research and have a suggestion to offer. Perhaps EtOrbi.extract_zone can use Date._parse to determine if the string given has timezone info provided, and if so, use that:
def extract_zone(str)

  s = str.dup

  d = Date._parse(str)
  if d && d[:offset]
    offset = "UTC#{d[:offset] / 3600}"
    s.gsub!(d[:zone], offset) if ZONES_OLSON.include?(offset)
  end

  # Rest of original code from method
end

This allows the ZoneOffsets parsable by Time.parse to be recognized here too.
I recognize that there are a small number of timezones affected here, mainly US and military timezones, so maybe it's not worth it? I'd definitely like to hear a maintainer's thoughts.
Thanks!

Hello,
@jsmartt wrote:

if there is anything et-orbi can do to persist user-provided timezone info?

I would prefer et-orbi not storing anything, just making the best possible decision given context and input.
I will look at your proposition, it looks straightforward.
Give me a bit of time, thanks for the feedback!

@jsmartt
By the way, in which context are you using et-orbi? Via fugit or via rufus-scheduler?

OK, it seems that the promise of Ruby dealing with timezones is here for good, gh-16

Thanks for looking into it @jmettraux. I'm using etorbi in the context of fugit. And I've updated the description; I left in a blurb about tzinfo and timezones that was from a previous draft, and is irrelevant; sorry for the confusion.

I'm actually just now realizing some other behavior that makes this suggested change a bit useless for me. It doesn't look like EtOrbi.get_tzone knows how to handle some of the special timezones supported by EtOrbi.extract_zone, and visa-versa. This causes failures in EtOrbi.parse. For example:
EtOrbi.extract_zone('7AM -07:00') # ["7AM -07:00", nil]
EtOrbi.get_tzone('-07:00')        # <TZInfo::DataTimezone: -7:00>
EtOrbi.parse('7AM -07:00')        # <EtOrbi::EoTime:0x00007f7c172c96c0 @seconds=1613977200.0, @time=nil, @zone=#<TZInfo::DataTimezone: Etc/UTC>>

EtOrbi.extract_zone('7AM UTC-7') # ["7AM", "UTC-7"]
EtOrbi.get_tzone('UTC-7')        # Error
EtOrbi.parse('7AM UTC-7')        # Error

EtOrbi.extract_zone('7AM GMT-7') # ["7AM -7", "GMT"]
EtOrbi.get_tzone('GMT-7')        # <TZInfo::DataTimezone: GMT>
EtOrbi.parse('7AM GMT-7')        # <EtOrbi::EoTime:0x00007f7c21f00f10 @seconds=1614063600.0, @time=nil, @zone=#<TZInfo::DataTimezone: GMT>>

# These all work as expected:
EtOrbi.extract_zone('7AM Etc/GMT-7') # ["7AM", "Etc/GMT-7"]
EtOrbi.get_tzone('Etc/GMT-7')        # <TZInfo::DataTimezone: Etc/GMT-7>
EtOrbi.parse('7AM Etc/GMT-7')        # <EtOrbi::EoTime:0x00007f7c2020aa28 @seconds=1614038400.0, @time=nil, @zone=#<TZInfo::DataTimezone: Etc/GMT-7>>

There is quite a mismatch in terms of which zones are supported by these different methods. Is that expected? It would be nice if the zones like UTC-8, GMT-8, & -08:00 were fully supported across the board if they are in 1 place.

Hello,
actually, what I am expecting for fugit is proper TZ database names like "Africa/Abidjan". TZ abbreviations are ambiguous and then there is CET (Central European Time) vs CEST (Central European Summer Time).
TZ database names are less ambiguous and with proper tzinfo management, they are more resilient daylight saving policies and other political changes.
I will still look at your examples and let et-orbi and fugit do their best.
I will also explain TZ abbreviation vs TZ database names in fugit's readme.

Ok. The TZ database names definitely seem like the best option for now, so I'll make sure my users know to use those. 👍
Users are inputing these time strings, which is why I wanted etorbi/fugit to be able to parse a variety of additional formats, but I totally understand that not all arbitrary formats can or should be supported. Thanks for the clarification on all this!

Since you probably stand between your user input and passing it to fugit and friends, you could translate "PST" and "PDT" to "America/Los_Angeles" before passing it. You know your users timezones better than fugit and et-orbi do.


Update helm chart - Include securityContext, gracePeriod and remove duplicates in helm

Update helm chart - Include security context, gracePeriod, etc.. and remove duplicates in helm

Add terminationGracePeriodSeconds to broker, controller, minion, and server sts
Use pinot serviceAccountName
Allow custom securityContext
Add imagePullSecrets
Add container securityContext
Add separate livenessProbe and readinessProbe for broker, controller, minion, and server
Allow creation of Internal GCP Load balancer for services
etc.. and other refractoring changes and reduce duplication

Codecov Report

Merging #6839 (1169e68) into master (ac5aee7) will increase coverage by 22.42%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #6839       +/-   ##
=============================================
+ Coverage     43.52%   65.94%   +22.42%
- Complexity        7       12        +5
=============================================
  Files          1421     1421
  Lines         69142    69142
  Branches       9987     9987
=============================================
+ Hits          30093    45596    +15503
+ Misses        36504    20307    -16197
- Partials       2545     3239      +694

Flag
Coverage Δ
Complexity Δ

integration
?
?

unittests
65.94% <ø> (?)
12.00 <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Edit draft

Please check the draft in the branch "paper_draft". Directly implement your modifications.

[ ] @SiMaHer
[ ] @chegerland
[ ] @myoelmy

In Summary there is only one (the first) sentence about QuaCa. This might be an issue, since this paper is focusing on QuaCa. Maybe we can extend the description in a second sentence by something like: Due to its modular domain-driven structure QuaCa can be use to rapidly calculate further relevant quantities from this realm of physics.
Besides this, it sounds really good to me :+1:


use selectors to get output and data from mpi_child.py

This uses the well-known select() mechanism to wait for input from mpi_child.py in MPIBackend. A signal is sent by the child (string "sim_complete") to let MPIBackend know that it has received all output that should be printed to the screen (stdout and stderr) and to expect simulation data as a pickled object.
Resolves #192

Note that there is nothing new to test here. It actually reduces the number of special cases and the existing test is more general (same across different platforms).

Codecov Report

Merging #194 into master will increase coverage by 0.67%.
The diff coverage is 18.91%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
+ Coverage   67.13%   67.81%   +0.67%
==========================================
  Files          19       19
  Lines        2060     2038      -22
==========================================
- Hits         1383     1382       -1
+ Misses        677      656      -21

Impacted Files
Coverage Δ

hnn_core/mpi_child.py
0.00% <0.00%> (ø)

hnn_core/parallel_backends.py
15.06% <10.34%> (+1.60%)
:arrow_up:

hnn_core/tests/test_compare_hnn.py
95.83% <100.00%> (+2.32%)
: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 98216bf...a70f6b3. Read the comment docs.

Thanks @blakecaldwell !


Geojson tag still not recognized

Hi there,
Contrary to the documentation, the geojson tag still doesn't work when running the application into web.

I'm currently encountering the following error when I'm trying it out. This is also the same error with the original react-native-web-maps API.
Providing you with the screenshots of the errors encountered. Hoping this would be resolved in the next update of the API.

Hey! Are you using nextjs?

Nvm, just found the issue, the Geojson component is not being exported from the index.web.ts file. Would you mind opening a PR with the fix? I'm a little bit busy right now. Else I can push the change on the weekend :)

Fixed by #13

Hi,
please let me know if the update has been packaged to npm so I can tri it out again on my project. Thank you

Hey! Just published the changes, let me know if it worked :)

Hey! Just published the changes, let me know if it worked :)

Unforturantely, error still exists..

I reinstalled the api by using yarn expo install @teovilla/react-native-web-maps

It looks like Expo web may not be transpiling the module. Would you mind showing me your webpack.config.js

It looks like Expo web may not be transpiling the module. Would you mind showing me your webpack.config.js

Here's my webpack.config.js file

Do you know if the issue is exactly with the Geojson component? Would you mind trying with the marker or Polygon component?

same error on markers


[ERRAI-1083] allow @Property without a value like disabled, checked a…

…nd selected.
JIRA: https://issues.jboss.org/browse/ERRAI-1083

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

yeap, it's about convenience. I would like to add that setPropertyBoolean(java.lang.String name, boolean value) and methods like that act the same. So it's not a big deal, but it could save time and, from my point of view, it's looks natural coz value="true" is not necessary.

Yeah, IMO the convenience of not having to specify the value = "true" for some properties is out-weighed by the fact that it opens the door to forgetting to specify a value.
Sorry, but I won't be merging this change.


fix: Fixes parsing failing for ALTER MODIFY queries not containing datatype

Hi, I took a pass at fixing #1727
This PR makes colDataType an optional value, so we can parse queries like
ALTER TABLE table MODIFY col1 NULL

Thank you for your contribution! Please fix the Spotless Formatter exception and then I can merge this.

@manticore-projects thanks for reviewing. Addressed the issues.

@manticore-projects thanks for reviewing. Addressed the issues.

Thanks! It looks good and I am going to merge.


Approval of content

AS A PD Director
I WANT to be able to approve the final content
SO THAT the content creation process is smoother
Acceptance criteria
Scenario: approval of blocks
GIVEN a new block was created by a PD volunteer
WHEN the person with the "approval" role is happy with it
THEN they can publish the block.

I think this needs to be discussed in more details and more a/c created, I just added the basic one.

BTW I made this last week

Thanks, will look at it next week.

Thank you for this Sally, just some comments for Karen and you to see:
-good that this process is not on Kanban so there's less confusion
-we still keep the Word document as it's easier to comment and imo is more clear
-the person that makes the content uploads the content (preferably in a week's time)
-can we omit the "draft" part and just have "in review" (once uploaded by the content creator it's already in review) and "ready" (once one of us has reviewed it and if necessary made any changes)

@SallyMcGrath , let us know if you need anything else from us on this, and if @LaraHuzjan suggestions above make sense.

It's hard to understand what the request is here. This comment has a series of points and refers to a Word document, an upload process, and then there's a final point which may or may not be directed at me.
If you want me to build something for you, please ask for it clearly.

Scenario: remove draft status
GIVEN I am on the Approval of the content board
WHEN I see the status
THEN I can only see "In Review" and "Ready"
Scenario: show in review from uploaded blocks
GIVEN a new block was created via the CMS PD platform
WHEN I am on the Approval of the content board
THEN I can see all blocks in the "In Review" column
Scenario: ready columns
GIVEN a new block was available for review
WHEN I approve the block
THEN it is moved to the "Ready" column
@SallyMcGrath , @LaraHuzjan and I worked on the scenarios for this. Let us know if you have any questions.

@kfklein15
This is a bit clunky in the preview branch -- I think possibly because it is in a branch. It's not super configurable and I think not worth writing a pile of JS to override the built in functions. Therefore I have simply hidden the draft column with CSS.


UE 5.2 support

The error prevents project to open>
Error		RIGVM_METHOD FAlsRigUnit_CalculatePoleVector::Execute has 1 parameters. Since 5.2 parameters are no longer allowed for RIGVM_METHOD functions.	testcompile	D:\ueprojects\testcompile\Plugins\ALS-Refactored-main\Source\ALS\Public\Nodes\AlsRigUnits.h	66

https://github.com/Sixze/ALS-Refactored/tree/ue-5.2
I will keep the changes in a separate branch until the full release of Unreal Engine 5.2.


Search Bar Does Not Lose Focus When ESC Key is Pressed After CTRL + K

Bug Description
When the CTRL + K shortcut is pressed, the search bar gains focus, but it does not lose focus when the ESC key is pressed.
Steps to Reproduce
To replicate the issue, follow these steps:

Navigate to '/facility'.
Press CTRL + K.
Press ESC.

Expected Behavior
Pressing the ESC key should remove focus from the search bar.
Screenshots

Desktop Environment:

OS: Windows
Browser: Chrome
Version: 130.0.6723.59

Hey Team Can You please Assign this issue to me.


Fix(github action): modify rust toolchain version.

Rust unstable nightly version causes github action to fail. Fixed it to a stable version.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y. fix #130

2. What is the scope of this PR (e.g. component or file name):

.github/workflows/github-action.yaml
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

Rust unstable nightly version causes github action to fail. Fixed it to a stable version.

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[x] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 59.356%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
22248

Relevant Lines:
37482

💛  - Coveralls


add overlap & segment_size flag for python cli task create

Motivation and context

Allow users to create the cvat task with multiple jobs through cvat python cli.
How has this been tested?

Since cli tools does not have the automatic test, I directly test it with my own task.
The task create with default param:

The task create with --overlap=0 --segment_size=31:

Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

@foreverYoungGitHub
Hi, thx for the contribution
Could you please resolve conflicts?

@foreverYoungGitHub Thanks again for the PR, could you please fix tests and update changelog?
ERROR: test_tasks_dump (tests._test_cli.TestCLI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
    return func(*args, **keywargs)
  File "/home/django/utils/cli/tests/_test_cli.py", line 32, in setUp
    [self.img_file])
TypeError: tasks_create() missing 2 required positional arguments: 'resource_type' and 'resources'

@azhavoro, Sorry for the error message in the test, should be fine for now.

Pull Request Test Coverage Report for Build 6658

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 64.987%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/task.py
1
76.95%

cvat/apps/engine/media_extractors.py
6
75.81%

Totals

Change from base Build 6627:
-0.03%

Covered Lines:
11099

Relevant Lines:
16677

💛  - Coveralls

@foreverYoungGitHub  Thanks you so much


Dynamic calendar

Related Issue

Dynamic calendar you can go to any particular month or date
It will show the calendar of current month with highlighting current date Dynamically

Closes: #220
Describe the changes you've made
script.js

Add calendar project

public/calendar.html

html of the project

assets/css/calander.css

css of the project

assets/js/calendar.js

java script  of the project

Describe if there is any unusual behaviour of your code(Write NA if there isn't)
Na
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@urvashi-code1255 please add GSSOC 2021 and level label to pr also as #220


[Guardian app] Add documentation explaining how to clean up after uninstalling the application

Task description
As part of the ceremony performed by guardians through the guardian application, sensitive data is stored on disk on the host machine. This is not automatically removed (at least for macOS and linux) upon uninstallation, thus we should provide documentation on how to do this.
This documentation should be accessible where the user reads about the use of the guardian application.
Is dependant on the implementation of #45

This is a preliminary solution to #83


One or more js files not found

I get the error "One or more js files not found" when trying to add the extension into easyeda, I'm assuming I just add all the contents of the src directory?

I have the same problem... Did you find a workaround yet?

No, I found that the extension still works as expected, just shows the error at startup


Change "ref" to `branch" in rebar config example

Thank you!

Pull Request Test Coverage Report for Build 106

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 77.732%

Totals

Change from base Build 105:
-0.4%

Covered Lines:
1124

Relevant Lines:
1446

💛  - Coveralls

Pull Request Test Coverage Report for Build 106

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 77.732%

Totals

Change from base Build 105:
-0.4%

Covered Lines:
1124

Relevant Lines:
1446

💛  - Coveralls


sql error occurs when update orm to 2.0.9

Hi Diogo,
When I update orm to 2.0.9, some query failured and the error log is below:
{ [Error: ER_BAD_FIELD_ERROR: Unknown column 'id' in 'field list'] code: 'ER_BAD_FIELD_ERROR', index: 0 }

Does the<EMAIL_ADDRESS>force that any table must be created with an column id?
My table has no id. When I add column id, the error dispeared, however all the data are the same one no matter how many rows I select.
        Person.find({age: 60}, ["country", "A"], function (err, page) {
            console.log(err);
        });

How can i change primary key name "id" to any other name like "userId"?


restore does not truncate files it restores [CRITICAL]

Output of restic version
restic compiled manually (HEAD actually)
compiled with go1.8 on linux/amd64
Expected behavior
When restoring a file, the restore cmd will place a file of exact length, permissions, ownership and contents back in the location specified.
Actual behavior
It only open (or creates) the file but does NOT truncate an existing file.
Steps to reproduce the behavior
$ mkdir /tmp/etc
$ cp /bin/unzip /tmp/etc/fstab
$ ls -l /tmp/etc/fstab
-rw-------. 1 middelin middelin 185488 Mar 10 22:34 /tmp/etc/fstab
$ restic -r rest:http://qnap.**.********.**:8000 restore -t /tmp f5a13c51 -i /etc/fstab
(ignoring chown failure; #244, #625 #855; although it should have done the other chxxx's)
$ ls -l /tmp/etc/fstab
-rw-------. 1 middelin middelin 185488 Mar 10 22:34 /tmp/etc/fstab

(bug marked critical as this will completely undermine confidence in restoring files.)

And since I discovered it, dibs!

Thanks a lot!


Add AWS credentials type

Change Overview
We need a new AWS credentials type to accept optional AWS session token.

Adds new credential type to accommodate AWS session token.

Pull request type
Please check the type of change your PR introduces:

[ ] Work in Progress
[ ] Refactoring (no functional changes, no api changes)
[ ] Trivial/Minor
[ ] Bugfix
[X] Feature
[ ] Documentation

@hakanmemisoglu Converted it to TypedSecret. I am open for suggestions for the name.


xfig reports error on launch: very old or missing app-defaults file

I appreciate very much that you've provided a brew formula for xfig! I was able to build xfig locally on macOS 10.15 and run it from the command-line (see transcript below) where it then opens in XQuarz 2.7.11.
I'm not sure that this is an issue with the Homebrew build formula, but when I run xfig an error dialog is displayed:
Either you have a very old app-defaults file installed (Fig),
or there is none installed at all.
You should install the correct version or you may lose some features.

An online search shows some rather old bug reports against MacPorts and Debian which were both closed WORKSFORME. The older installation documentation on the Xfig home page (ca. 2011 via the Wayback Machine) mentions XAPPLRESDIR but the current documentation on Sourceforge http://mcj.sourceforge.net/installation.html does not.
Is this something that could/should be corrected in the Homebrew build script?
Terminal Transcript
$ brew tap mistydemeo/xfig
$ brew install xfig
$ xfig
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*" to type FontSet
Warning: Unable to load any usable fontset
Warning: Unable to load any usable fontset

The workaround mentioned in MacPorts #14386
$ find /usr/local/Cellar -iname "app-defaults"
/usr/local/Cellar/xfig/3.2.7b/share/X11/app-defaults
$ export XAPPLRESDIR=/usr/local/Cellar/xfig/3.2.7b/share/X11/app-defaults

resolved the error message. The question remains is this something that could/should be corrected in the Homebrew build script?
[Aside: the warnings on the console remain, but are probably a different issue. I'm going to try updating to XQuartz 2.8 to see if the problems persist and, if they do, follow whatever advice I can find online e.g. https://www.ckode.dk/linux/warning-locale-not-supported-by-xlib-locale-set-to-c/ to try to resolve the issue.]

MacPorts has a port of Xfig https://ports.macports.org/port/xfig which, I understand from my colleague who is generating the Xfig files [1], runs without errors or warnings. From inspection of the MacPorts files, particularly patch-Imakefile.diff, it looks like what needs to be done to avoid the runtime errors and warnings is to set the build environment variables. Of note from patch-Imakefile.diff:
 XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the
 XCOMM app-defaults resource files to go.  You will have to use the environment
...
-XCOMM XAPPLOADDIR = /home/user/xfig
+XAPPLOADDIR = __PREFIX/lib/X11/app-defaults

which, for this formula should be XAPPLOADDIR = __PREFIX/share/X11/app-defaults where __PREFIX should be /usr/local/Cellar/xfig/3.2.7b. The other environment variables and, probably, code changes will obviously also need to be applied. That looks, relative to the alternative [1], reasonably straighforward... but I'll admit I don't know how to do it myself, yet. I'm happy to pitch-in as much as I can, but pointers on how to write a patch-and-build formula in Homebrew would help bring me up-to-speed.
Related: #13 reports the same problem as I have, but the setting of the XAPPLRESDIR environment variable cited above works around the problem reported there.
[1] Xfig is the only package my colleague uses from MacPorts, using Homebrew for everything else. I'm not keen on doing the same and installing MacPorts just for Xfig because I'll want to uninstall Xfig and MacPorts later. Uninstalling MacPorts looks to be more complicated from a system perspective, involving the deletion of Users and Groups, than amending the brew build formula so I can run xfig on rare occasion.

I'll look into adapting this patch if possible.

I believe I've fixed this! Can you try upgrading to 3.2.8a and see if it works for you now?

I tried this and using a shim to set XAPPLRESDIR resolves the error, thanks!

Great! Glad to hear it.


Typo on integraion/prometheus page under litmus-doc

Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
What happened:
The podMonitor example under the "Prometheus community version (helm) - kube-prometheus-stack with pod monitor" section will scrap the metric from all the pods which port is TCP and the pod with target label.
What you expected to happen:
It should only scrape the metric from the target pod by combining two array items under the podMetricsEndpoints into a single item.

Created a PR to fix the issue here
https://github.com/litmuschaos/litmus-docs/pull/142


Connection Failure Shake

Hello,i perceived that endpoint changed to : wss://web.whatsapp.com/ws
wss://w[1-8]web.whatsapp.com/ws not working right now.
When i run presence i receive this error ,can anyone have any idea about this?

@wiomoc


Don't apply length constraints to numeric (decimal) input fields

Description
When applying the length validation to a numeric() TextInput field, the result is not what I expected it to be.
Example:
TextInput::make('numeric')
  ->numeric()
  ->maxLength(2)

Results in:

The input has exactly two digits. But the validations fails.
I guess, it's not easy to tell the overall length of a decimal number. According to the Laravel docs, the min_digits, digits and max_digits rules should only be applied to integer values. Not to float values. Also, I couldn't find any solution for floats in Laravel's preset validation rules. There is a rule decimal to check the length of the decimal part. But that's only a part of the whole story.
I suggest to not apply the minLength(), length() and maxLength() validations to any decimal number at all.
This PR changes the behavior accordingly.
Background:
How did I stumble across this issue? I applied a standard check to all my TextInputs.
TextInput::configureUsing(function (TextInput $textinput) {
            $textinput
                ->maxLength(255)
            ;
        });

This also applies to fields where I call the numeric() method on. Unfortunately, there is no way to remove the length constraint after it's set once.
@danharrin: If this change, shouldn't suit into the framework, maybe there should be antoher way to unset pre-configured validations.

[x] Visual changes (if any) are shown using screenshots/recordings of before and after.

Code style

[x] composer cs command has been run.

Testing
Didn't find any software tests, which I could fix or extend.

[x] Changes have been tested.

Documentation

[x] Documentation is up-to-date.

Yeah this would be a breaking change. I've made it so you can unset the validation rules now

Thank you, @danharrin. That helps a lot.
But I think, there is still something wrong with the digits rules on decimal numbers. Maybe that's a breaking change. But I also looks like bug to me.
Looking at what Laravel does here, this validation always evaluates to false, if the value contains non-digit characters like the decimal point. Please have look have the regex here.

So what are we supposed to do in Filament, if this is Laravel behaviour?

I think there a two points:

Filament uses the digits rules wrong. According to the Laravel Docs, the digits rules can only be applied to integer values. But Filament also applies this rules to decimal numbers aka floats.

digits:value
The integer under validation must have an exact length of value.

I think, this is clearly a misusage.

Currently, there is no rule to validate the total length of decimal numbers/floats. One can validate the length of the decimal part with decimal. But there is no way to validate the whole number part or the total length. That's sad. Maybe the digits rule in Laravel should be able to validate the total length of floats, too. But currently, the rule works as documented and can only applied to integer values.

@buddhaCode maybe you should resubmit this PR for Laravel? https://github.com/laravel/framework/pull/47976

Since there isn't an alternative what do we do?

What do you think about Tims solution in the linked PR? Guess it's not trivial to apply this without knowledge about the desired length of the decimal part.

Test it out by passing the rule to ->rule() yourself, I don't know if I want to modify Filament to force the user to pass in a number of decimal places though?

I don't know if I want to modify Filament to force the user to pass in a number of decimal places though?

Nope. You shouldn't do that. I agree with you.
My conclusion is, that (min|max)length() and combination with numeric() simply doesn't work.


Adler32 is AGPL-3.0 licensed

The file Adler32.cs contains the statement "Licensed under the GNU Affero General Public License, Version 3".
Due to the copyleft effect of AGPL-3.0 this will put ALL code linked dynamically or statically to this file also under AGPL-3.0.
As far as I can see this would affect ALL files of SharpCompress.
AGPL-3.0 is also incompatible to MS-PL and Apache-2.0...
Has all this been considered?

You are correct.  This needs to be removed as I just read it and it comes from SixLabers/ImageSharp.
It could be updated to the newer version which is Apache 2.0: https://github.com/SixLabors/ImageSharp/blob/main/src/ImageSharp/Compression/Zlib/Adler32.cs

Fix released in https://www.nuget.org/packages/SharpCompress/0.31.0


Pen pressure not detected by Blender on Hyprland

Hyprland Version
Hyprland, built from branch main at commit 29970228c5f71f417b0a3e1b4851d9430ed095dd dirty (nix: override libdrm to use newer version (4003)). Tag: v0.32.3-95-g29970228
Bug or Regression?
Bug
Description
System Information
Operating system: Linux-6.5.9-arch2-1-x86_64-with-glibc2.38 64 Bits, WAYLAND UI
Graphics card: AMD Radeon RX 6600 XT (navi23, LLVM 16.0.6, DRM 3.54, 6.5.9-arch2-1) AMD 4.6 (Core Profile) Mesa 23.2.1-arch1.2
Short description of error
[Originally posted here] Blender does not detect pen pressure for brush intensity in the Hyprland compositor. It only detects pen pressure for brush radius. It detects it in KDE Plasma running on Wayland, and on KDE Plasma or Budgie running on X11. Issue presents in sculpting and texture painting. Issue does not present in Krita or in this online pen pressure test. OpenTabletDriver debugger detects pen pressure levels without issue. Issue persists with both OpenTabletDriver and Linux kernel driver. Tablet is Wacom CTL-672.
How to reproduce
Exact steps for others to reproduce the error
Attempt to perform any sort of sculpting or texture painting task which employs pen pressure while using the Hyprland Wayland compositor with this configuration. Unknown if issue persists in other configurations as well. No pen pressure will be detected. Essentially, identical to using a mouse.
Crash reports, logs, images, videos
system-info.txt

isn't this a blender issue then?
I don't have any tablets

It might be seen as a Blender issue, given that it only occurs in Blender. But it might also be seen as a Hyprland issue, given that it only occurs on Hyprland, and not on other compositors, like Weston. As such, I have filed reports on both relevant trackers. If nothing else, other people facing the issue can feel a little less insane than I did looking for reports of the issue and finding none.

does it work on sway-git?

I can't seem to get sway-git to play nice with Hyprland and Plasma, so I'm unable to test this. However, the following was commented by maintainer Campbell Barton on the Blender bug tracker report for this issue:

This bug should be reported to hyperland, checking their tablet support and it looks to be incomplete, as of 9ca0c7d814d6039450ff0341556faa1ce9b37e82 the tablet time-stamps are always zero and the radius scale is erratic. There are also TODO's noted in src/managers/input/Tablets.cpp that hint that this is work in progress.

I also have this issue and just tested with Sway 1.8.1-4 from the arch repo (non git) and it works as expected. Using pen pressure correctly varies the strength of the brush in sculpt mode on Blender 4.0.2-4.
In Hyprland 0.33.1-2, the pen pressure does not work on the strength attribute at all (always at maximum strength) and while the radius does work, it is not as smooth/gradual as I would expect.
Using pen pressure on Krita with Hyprland works just fine.

drawing tablet support on hyprland is spotty indeed, I don't have a tablet to test and thus rarely focus on the code.
I can check the timestamps and radius code tho, remind me tomorrow please

I just logged on to GitHub for an unrelated tablet issue and saw this, so I guess here's the reminder to check timestamps and radius code!

Hey, did some (maybe helpful)testing with Blender ran over Wine or Steams Proton runtime
I want to start with the info that both are probably not really usable, as they crash on things like adding a Subdivision Modifier
But:

Steams Proton running Blender also doesn't have working pressure like hyprland
Wine works completely with pressure and even fixing the drag Problems, that are referenced  in  #1024 when using a pen, the mouse drag does not work

Notes:

This was done with factory settings Blender, so there might be a difference in how Steams Proton and Wine use the Windows Tablet API(Windows Ink vs Wintab).
No manual changes were done to Wine, maybe it can be made usable as duct-tape-solution

(Hope this helps)

A little update on this if I hold and drag with the pen it doesn't work but if I then move the mouse a little bit while still holding it works as it should
https://github.com/hyprwm/Hyprland/assets/31055847/b9bc1d4a-f8fc-40fe-b4f3-507289905b16

Please check latest git. This works for me after #5902


Changing asset links from localhost:3000/* to https://localhost/blog/*

Currently setting up a blog for my company based off the 0.18.0 version of this starter kit - things have been going fantastically up until today.
I have a SSL reverse proxy with nginx setup such that any HTTPS requests matching "/blog" will be passed upstream to localhost at port 3000.
Therefore, my goal is to change the base url of all asset links in my application from http://localhost:3000 to https://localhost/blog yet continue to serve my application from http://localhost:3000.
I've tried changing the compiler_public_path from http://${config.server_host}:${config.server_port}/ to https://${config.server_host}/blog but that was a naive approach - it appears to stop the Express server from serving up my app at port 3000.
I've also created a Webpack plugin that swapped ":3000" with "/blog" in my script tags in index.html after HtmlWebpackPlugin has done its job, but this does not solve the problem of changing the URLs of any assets in my other files.
// Hacky index.html <script> tag replacement plugin
const changeScriptLocationPlugin = {
  apply: function (compiler) {
    compiler.plugin('compilation', function (compilation) {
      compilation.plugin('html-webpack-plugin-after-html-processing', function (htmlPluginData, callback) {
        const pattern = `:${config.server_port}`;
        const regex = new RegExp(pattern, 'g');
        htmlPluginData.html = htmlPluginData.html.replace(regex, "/blog");
        callback();
      });
    });
  }
};

What's the missing piece to this puzzle? If there's a new addition to the starter kit that handles this situation, I'm happy to incorporate that into my existing code base.
Thx,
Jordan

Hey, been super busy with work so apologies for the delay, will try to look into a solution as soon as I get a chance.

@davezuko - Thx so much - if there's a solution you think is worth testing, happy to do some grunt work to help solve this one.

I did this for my company just last night. In _base.js add
 '__BASENAME__' : JSON.stringify('/blog'),

Or if you only want blog in production only do this is production.js config and leave _base.js as is
globals: {
    ...config.globals,
   '__BASENAME__' : JSON.stringify('/blog'),
  }
})

@makeitrein ^^ does that help at all?

Hah, it did help out with an unrelated issue, although the real solution was to just serve my app over HTTPS with Express while working locally. Guide I followed was here: http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/
Thx for following up!

@davezuko So how can I change assets links in production? @alexhawkins's solution has no effect.

@web2style
Does changing the compiler_public_path work for you?
Here's my config/production.js file...
export default (config) => ({
compiler_fail_on_warning : false,
compiler_hash_type       : 'chunkhash',
compiler_inline_manifest : true,
compiler_source_maps     : false,
compiler_public_path: https://company.com/blog/,
globals             : {
...config.globals,
API_URL: JSON.stringify("https://company.api.com/api/"),
}
});

I get the following console output when I run set NODE_ENV=production && npm run compile I'm using windows, so it is a bit different, not NODE_ENV=production npm run compile.
...
  app:config Create configuration. +0ms
  app:config Apply environment overrides for NODE_ENV "PRODUCTION ". +3ms
  app:config No configuration overrides found for NODE_ENV "PRODUCTION " +2ms
  ...

Why doesn't it find any overrides if I change /config/_production.js? Even if I make a js error in this file, nothing happens (I assume it should fail in this case).
Any ideas?

@web2style Hmm... running an OS X environment here, maybe try setting NODE_ENV=production in your .env file?

@makeitrein Thank you, it worked out when I set NODE_ENV=production manually in .env file. So it if for sure another windows-related problem.


feat: on back navigation, close mobile sidebar

Motivation
Android users are used to using the hardware back button of their phone to close menus and drawers (cf Android apps, like Gmail)
Docusaurus users on Android might try that, and instead of closing the opened sidebar drawer, it would navigate to the previous page, potentially leaving the Docusaurus site. We should try to fix that UX issue.
Unfortunately, there's no browser API to easily detect or prevent backward navigation, and we have to use some tricks on top of the history package that offers a block() feature.
Still, it's not possible to distinguish easily between backward/forward navigation, so this remains a best effort.
Closing the mobile sidebar on forward navigation is not an UX issue + the probably of an user using forward navigation on mobile with the drawer open is low, so this is a safe usecase.
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
preview on browser + android

Very ambivalent feature. This is more of behavior expected from real mobile app, but we just have regular website in browser. And if user in  browser presses on back button, it should go to previous page in browser history, because that's how browsers works.
Especially this feature is only available for Android, right? I don't understand, there have been so many requests for it? For me, this only introduces new extra code and complexity. Moreover, it is rare use-case, typical for mobile apps, so why need to implement this?

This is more of behavior expected from real mobile app, but we just have regular website in browser.

Yes but also PWA

And if user in browser presses on back button, it should go to previous page in browser history, because that's how browsers works.

Browsers can do what you tell them to do if std APIs allow that. Preventing navigation is a common pattern, most used when editing a form, but can be useful in other cases too.

Especially this feature is only available for Android, right?

It would work for any mobile (at least small width device) that has back/forward navigation, which is just more physically accessible on Android

I don't understand, there have been so many requests for it?

I felt the pain of pressing the back button and leaving the page I was on, and also remember someone mentioned this issue a while ago (can't find ref).
The weird thing is that it navigates backward, but the drawer remains open, so we only see the page transition happening through the overlay.
If you use a full-screen drawer like the React-Native website, you don't really understand what is happening because your drawer remains open, and only the drawer highlighted items change.
At least I think we should close the drawer when navigating back/forward (even if the navigation is not prevented).

For me, this only introduces new extra code and complexity.

Forgot to push yesterday, my new implementation is simpler.
It doesn't feel like a huge JS/complexity addition even if the ROI is limited.
In any case, I think we should close the drawer on POP events (even if we don't prevent the transition), so similar would need to be added. I think preventing the transition in this case is a nice UX addition.

Note:

Gmail mobile has some kind of drawer that you close with the back button (but the drawer has its own URL)
Youtube mobile has an unanimated profile drawer that close with the back button (but the drawer has a hash in URL)
VuePress/VitePress/Nextra all close the drawer on pop but do not prevent the transition
On all non-SPA apps, navigating back would close the drawer by default
On SPA apps, closing the drawer has to be implemented manually, and popular SPA doc options to that

I'm going to move on and merge this because I think closing the drawer is what we should do, and what SPA doc competitors do too. If anyone ever complain about the prevented POP transition, we could easily remove this or make it optional (same code, it's just a matter of returning undefined instead of false), but I definitively think it adds a little advantage to Docusaurus.

Well, I see, although I still remain of my opinion that such behavior inherent to  mobile apps should not be implemented on regular website. Instead this, we could just fix mobile sidebar closing when pressing back button. Maybe get opinion from  users (eg. on Twitter) about this before merging?

Created a poll here:
https://twitter.com/sebastienlorber/status/1433424873955610639
I'm going to just close the drawer for now and merge, and eventually block the navigation later if people agree with my proposition

That's good option for now, thanks.


refactor(node-core/matrics): refactor the register version metrics function

This closes #9101

@mattsse tks for reviewing sir. I updated the code referencing your comments

lint is failing, fixing it...


Question: Unable to find any JVMs matching version "null"

[x] I have checked the documentation
[x] I have done a quick search in past issues or Stack Overflow for similar problems

Question

I try install Netbeans using JDK of SDKMAN (java 11.0.12-zulu), but this error happens Unable to find any JVMs matching version "null".  How can I solve this problem?

System info

macOS Catalina 10.15.7 (19H15)
zsh 5.7.1 (x86_64-apple-darwin19.0)
TSDKMAN 5.12.4

Hi @luanmateuz, you should probably be asking this question on the Homebrew forums. I have no idea what they are doing to detect Java.
Can you confirm that Java was correctly installed? What does the following yield on the CLI?
$ java -version
$ echo $JAVA_HOME

If either of those don't yield a result, there is something wrong with the Java installation.

Not much I can do here. You'll have to chat with the respective teams to figure out what is going there.


The ANDROID_HOME environment variable is required to be an absolute path.
For example :
#~/.bashrc
export ANDROID_HOME="~/.android-sdk"

Running flutter doctor :
[✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = ~/.android-sdk
      but Android SDK not found at this location.

Using an absolute path :
#~/.bashrc
export ANDROID_HOME="/home/username/.android-sdk"

Running flutter doctor :
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/username/.android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /home/username/.android-sdk
    • ANDROID_SDK_ROOT = ~/.android-sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

Version : Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale fr_CA.UTF-8)
OS : Debian based

PS : Does this issue follow the contributing guidelines ? Also, didn't find anything useful when searching in existing issues, so I'm posting a new one. Sorry if this is nothing new.

PS : Does this issue follow the contributing guidelines ? Also, didn't find anything useful when searching in existing issues, so I'm posting a new one. Sorry if this is nothing new.

FWIW this is great issue submission, thank you for including all of the relevant details too

@blemelin I imagine a lot of other command line tools will break if you use ~ for paths in environment variables--~ is technically a bash expansion (https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html), and command-line tools generally run without a shell parser. Safer would be to use export ANDROID_HOME="$HOME/.android-sdk".

 Completely forgot about that. Just tried it using the $HOME variable, and it works as expected.


Rename twig functions a use templates for html tags

I think it's more consistent to rename twig functions to snake_case naming convention:
getWebpackCssFiles -> webpack_css_files
getWebpackJsFiles -> webpack_js_files
And instead of two additional functions renderWebpack*Tags I recommend using templates:
{% block javascripts %}
    {{ parent() }}
    {{<EMAIL_ADDRESS>{ entry: 'entry1', prefix: 'build/' }) }}
{% endblock %}

{% block stylesheets %}
    {{ parent() }}
    {{<EMAIL_ADDRESS>{ entry: 'entry1', prefix: 'build/' }) }}
{% endblock %}

I think it's more consistent to rename twig functions to snake_case naming convention:

Hmm, you're right about that!

And instead of two additional functions renderWebpack*Tags I recommend using templates:

That's WAY more work, and the arguments (options in this case) are way less discoverable. But, we could actually create these templates, and have the renderWebpack*Tags() use them internally.
Thanks for the attention :)

I've just renamed to lower case functions. But, I'm going to keep the extra "render" functions - I like them :)
Thanks!


Remove unused old client code

Old client has been phased out for a while. As long as it is no longer used anywhere, we can probably safely clean up the old code from our repo.

@AlexBrownAMD Do we really want to remove the global parameter NewClient?  It's used everywhere, not just in the Tensile repo.  Can we retain NewClient either as a no-op or issue a warning that we only support the new client?

@AlexBrownAMD Do we really want to remove the global parameter NewClient? It's used everywhere, not just in the Tensile repo. Can we retain NewClient either as a no-op or issue a warning that we only support the new client?

Yea thats a good idea. I'll leave the parameter there with a message if set to anything other than 2.

@AlexBrownAMD Please resolve the conflict on Tensile/Source/CmakeLists.txt due to the merging of #1403, thanks.

Does this mean rocBLAS should be dropping one branch of this if/else block? https://github.com/ROCmSoftwarePlatform/rocBLAS/blob/4962aa3acfa527be5032e68787e9ba635b03f980/library/src/CMakeLists.txt#L45-L95

Does this mean rocBLAS should be dropping one branch of this if/else block? https://github.com/ROCmSoftwarePlatform/rocBLAS/blob/4962aa3acfa527be5032e68787e9ba635b03f980/library/src/CMakeLists.txt#L45-L95

Yea, old client is no longer used or supported

I was going to remove the rocblas side earlier but was waiting on Alex's approval, I can clean it out once this is merged.

I was going to remove the rocblas side earlier but was waiting on Alex's approval, I can clean it out once this is merged.

Thanks Torre! There's an issue with the HostLibraryTest build that I need to resolve, hoping to get to that later today.

@AlexBrownAMD please re-open when you have time to deal with the CI failures.  Thanks.

Fixed HostLibraryTests


Merges compose files using Docker CLI

Merges compose files using Docker CLI

I really like this, since I can repeat it manually :)!


Does this library support png format?

If at present, this library does not support .png format, do you intent to do it in future?
Thank you very much

It doesn't and I don't think there's any use for it. Camera stream is a low contrast image with no transparency. PNG is great for things like screenshots or assets that require alpha channel. If we encoded our capture in PNG the resulting upload size would be much bigger with no quality advantage whatsoever.


[release-1.24] Nodes joined with kubeadm-style bootstrap tokens cannot automatically rejoin when the node object is deleted

https://github.com/k3s-io/k3s/issues/7797 backport

Ubuntu 22.04
1server/1agent setup.
Validation:

Install k3s server with commit:  v1.24.15+k3s-b016e3d5
On server create a token:

$ k3s token create --ttl 24h
<TOKEN>

Install agent with the token created above:

curl -fL https://get.k3s.io/| INSTALL_K3S_COMMIT=b016e3d58be0a0358cad3a3f263d5853053754f8 K3S_TOKEN=<TOKEN> K3S_URL="https://<SERVER_IP>:6443" sh -s - agent

Get Status:

kubectl get nodes
NAME               STATUS     ROLES                  AGE   VERSION
ip-172-31-30-67    Ready      control-plane,master   26m   v1.24.15+k3s-b016e3d5
ip-172-31-26-146   Ready   <none>                 5s    v1.24.15+k3s-b016e3d5

On agent, stop k3s agent service.
On server, run kubectl delete node <agent_node>
Delete the password file/node folder:

sudo rm -rf /etc/rancher/node/

Restart agent service.

sudo systemctl start k3s-agent

Get Status:

$ kubectl get nodes
NAME               STATUS   ROLES                  AGE     VERSION
ip-172-31-26-146   Ready    <none>                 7m13s   v1.24.15+k3s-b016e3d5
ip-172-31-30-67    Ready    control-plane,master   33m     v1.24.15+k3s-b016e3d5

The agent was able to join back to the cluster.
On the reproduction environment: Version: v1.24.15+k3s1
following the same steps, the restart of k3s-agent wont be able to join back to the cluster and needs workaround steps. The following command would simply hang:
sudo systemctl start k3s-agent

Server Error:
level=error msg="Sending HTTP 401 response to <IP_ADDRESS>:53528: unable to verify node identity: nodes \"ip-172-31-23-154\" not found"

Agent Error:
level=info msg="Waiting to retrieve agent configuration; server is not ready: https://<IP_ADDRESS>:6444/v1-k3s/serving-kubelet.crt: 401 Unauthorized"


[ISUEE-3578][Improve] Merge dev-2.1.3 Docker & Email BackedEnd Improve Into dev

What changes were proposed in this pull request
Link:#3578

In fact, in the dev-2.1.3 branch, the Setting module's front-end and back-end improvements have been completed, and this PR will introduce the improved back-end code.
Brief change log

Verifying this change

This change added tests and can be verified as follows:
-SettingServiceTest

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (no)

Is there no Front-End code submitted in this PR? 🤔


addressed comments and removed vulnerability

closes #104
Summary:-

Added loadSdkVersionFromPom() which reads the POM file from the location inside the jar where client has installed the Java-SDK dependency.
Added dependency for MavenXpp3Reader which enables parsing of maven pom files.

@mayorJAY Please review the changes which I made as per your suggestions.

Looks great, just a couple of observations @VishalMCF

@mayorJAY On it. Will update soon

@Cliftonz Can this be merged now?


Push binding if importClause is default export

Fixes https://github.com/johnsoncodehk/volar/issues/1524
If importClause is default export binding won't be added.
@johnsoncodehk pls review because i dont know if this break anything. Tests are running fine.

This problem is tricky 🤦, maybe have to big change the implement to resolve. (btw admire you found the code, I know how that hard to read the code. :))

Thanks 😄


Cannot installed on Arch Linux

the version of Libssl.so and Libcrypt.so are both 1.1 on Arch Linux, while xrdp uses 1.0
XRDP failed to run and the service cannot be installed,

need more info.


⚠ ClamAV has degraded performance

In 410368c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 587 ms

Resolved: ClamAV performance has improved in 1a4441f.


Merge ign-msgs5 ➡  ign-msgs8

➡  Forward port
Port ign-msgs5  ➡  ign-msgs8
Branch comparision: https://github.com/gazebosim/gz-msgs/compare/ign-msgs8...ign-msgs5
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

there are some redirection headers missing; I don't think this is ready

there are some redirection headers missing; I don't think this is ready

should be fixed by https://github.com/gazebosim/gz-msgs/pull/307/commits/4299d8986fd9e29c33ac3332995047cefa451814
I think it's ready now


failed to build numpy wheel even inside virtual environment  using 'pip install apache-superset'

Apache_Superset_Numpy_Wheel Error.txt
I have followed the installation process diligently but still numpy wheel build is failing.I have later tried to install numpy == 1.22.1 as required by apache_superset,though the installation was success yet it failed while pip install apache superset.

Look at the error at the line 149: setup.py:67: RuntimeWarning: NumPy 1.19.4 may not yet support Python 3.10
Try using python 3.8

@artemonsh  But I am already using python 3.10 with numpy in other environments without any problem.
Yet I will try what You said.
But I am not getting any proper guide as to how should downgrade python 3.10 with python 3.8.
You can help by pointing in the right direction or just directly helping me with pip commands
thanks a lot
You help is much appreciated.

I think you may use another version of numpy (not 1.22.1) in python3.10.
I cannot provide you with the link until I know what OS do you use

I'm having exactly the same issue as @AnirbanPatragithub. Running python3.10 on Ubuntu 22.04 LTS.

The problem on 3.10 and numpy 1.22.1 installed is caused by pyarrow as it triggers 1.19.4 numpy installation

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently Superset 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


Error: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10
scrcpy version: 1.14
installation method: Win64 Zip
device model:  Xiaomi MI 8 (Android 10)
Android version: 10

Describe the bug
Whenever I started the scrcpy.exe, the following error shows on the console. The scrcpy itself works as usual, although a little slow.  I'm not sure if the slowness is related to this error.
[server] INFO: Device: Xiaomi MI 8 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2248
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.

Might be related to SDL 2.0.12.
Try to replace SDL2.dll in your v1.14 release by the one released in v1.12 (SDL 2.0.10).

I have encountered the same problem. How do we obtain the SDL2.dll file in the v1.12?

https://github.com/Genymobile/scrcpy/releases/download/v1.12.1/scrcpy-win64-v1.12.1.zip

I have the same issue:
<...>\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 45.5 MB/s (33142 bytes in 0.001s)
[server] INFO: Device: LGE Nexus 5X (Android 8.1.0)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x1920
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.

As per @rom1v recommendation replaced SDL2.dll from v1.14 package with the one from v1.12 package, but get still get the same error.

Yes, same as @mrplumber, I have replaced the file, but still encounters the same error.

@rom1v this the console output when I start v1.13:
C:\Programs\scrcpy\scrcpy-server: 1 file pushed. 1.8 MB/s (27694 bytes in 0.014s)
[server] INFO: Device: LGE Nexus 5X (Android 8.1.0)
INFO: Renderer: direct3d
WARN: Trilinear filtering disabled (not an OpenGL renderer)
INFO: Initial texture: 1080x1920

Using the link: https://github.com/Genymobile/scrcpy/releases/download/v1.13/scrcpy-win64-v1.13.zip,
I have still encountered the same error with v1.13,
C:\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 31.1 MB/s (33142 bytes in 0.001s) [server] INFO: Device: motorola moto g(6) (Android 8.0.0) INFO: Created renderer: direct3d INFO: Renderer: direct3d INFO: Initial texture: 2160x1080 ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch! ERROR: Dropping back to a slower method. ERROR: This might be a brief hiccup, but if performance is bad, this is probably why. ERROR: This error will not be logged again for this renderer. INFO: New texture: 1080x2160

this the console output when I start v1.13:

OK, I bisected, bisect/bad is a3ef461d73c4b010eacfc1f6703d38d0f2e44fad.
Therefore, this is just due to a change in internal SDL logs that have been enabled.
I will investigate and do not enable them all, but there is no change in behavior.

@rom1v, When I switched to the former v1.12, I encountered much less keyboard and screen lag on the device. I was running minecraft on the phone and controlling the phone with the keyboard.
Is the lag due to the vertex buffer? Also, on v1.12, I still encounter some lag. Is there any way to improve responsiveness?

When I switched to the former v1.12, I encountered much less keyboard and screen lag on the device. I was running minecraft on the phone and controlling the phone with the keyboard.

If you switch back and forth between v1.12 and v1.14, do you actually always see a difference?

Also, on v1.12, I still encounter some lag.

Is the lag on the device or on the computer?
If you record with scrcpy --record file.mkv, and play the file, is the lag recorded/visible? (if yes, it's on the device, if no, it's on the computer when rendering).

Is there any way to improve responsiveness?

Reduce definition:
scrcpy -m1024

@rom1v Copying the SDL2.dll file from v1.12 into the v1.14 did not alleviate the problem. Rather, I had to run the older v1.12 version entirely by itself.
The lag is on both the phone and the computer. I haven't tried usingscrcpy --record file.mkv yet, but I may try later. The lag often occurs from pressing a key on the keyboard, where once I let go of the key, the movement on both the phone and the computer screen will continue to occur.
If I use the phone screen instead, the movement on the phone does not lag. Instead, the lag is only on the computer screen. If I were to let go of the key on the phone, all movement immediately comes to a stop.

Try reducing the definition:
scrcpy -m1024

Unfortunately, the lag still occurs on v1.14 even with the reduced definition.

On v1.12, with the reduced definition, there also is still lag. But it is noticably less than v1.14

for me, only scrcpy-noconsole.exe will show these ERROR.

@rom1v
I suspect that the keyboard lag has nothing to do with the game Minecraft. I tested the lagging issue on google docs. On my Windows 10 PC, typing through the computer keyboard onto the phone still causes lag. The lag affects both the mirrored image and the phone screen.
However, when I typed with the phone keyboard, there was no lag on either the phone screen or the mirrored image on the PC.
I suspect this has nothing to do with screen resolution as well. Is there anyway to alleviate this?

I also got this error.
@rom1v could you please list every single debug step I should take in order to help you look into the issue? I intend to follow them all tomorrow and post the results as soon as possible.
By the way, I don't have an USB cable available, I established the adb through the following commands (on android terminal):
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

And then on Windows:
adb connect IP:5555

Which occurred successfully, the only issue was the one discussed in this topic.

in order to help you look into the issue?

In fact, there is no issue: https://github.com/Genymobile/scrcpy/issues/1441#issuecomment-635523785 (except some internal SDL logs which are printed while they should not, but it's very minor)
IMO, the reported warning should not impact performance in scrcpy anyway, since there are only 4 vertexes (it's not a complex 3D scene).
https://github.com/spurious/SDL-mirror/blob/36ea2544f08508f42d5193e175d3a269c3b95bdf/src/render/direct3d/SDL_render_d3d.c#L1268-L1279

I suspect that the keyboard lag has nothing to do with the game Minecraft.

For keyboard lag, please see #1013.

I also get the same error, and the display appears to be blurry in Portrait mode. But when I switch to landscape mode ( by Ctrl+R key or Ctrl+Arrow key ) the display is perfectly fine. I already tried changing SDL2.dll  file and also tried lowering the resolution in hope of a much crisp display, but the efforts went worthless. Please provide the fix for this issue.
In portrait mode :

In landscape mode :

The error shown in v1.14 is :
<[server] INFO: Device: motorola Moto G5 Plus (XT1686-DS) (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x1920
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.
[server] INFO: Device screen turned off>
While in version v1.13 the error shown was this :
<[server] INFO: Device: motorola Moto G5 Plus (XT1686-DS) (Android 10)
INFO: Renderer: direct3d
WARN: Trilinear filtering disabled (not an OpenGL renderer)
INFO: Initial texture: 1080x1920>

I also get the same error, and the display appears to be blurry in Portrait mode. […] Please provide the fix for this issue.

The "ERROR" printed in the console is not a problem.
The "blurry" thing is unrelated, it's a problem with downscaling quality (se #40). Try scrcpy --render-driver=opengl.

I also get the same error, and the display appears to be blurry in Portrait mode. […] Please provide the fix for this issue.

The "ERROR" printed in the console is not a problem.
The "blurry" thing is unrelated, it's a problem with downscaling quality (se #40). Try scrcpy --render-driver=opengl.

Sorry sir, but the code

scrcpy --render-driver=opengl
resolved the thing displayed on console as error but the blurry part is still there.

Console now shows :

[server] INFO: Device: motorola Moto G5 Plus (XT1686-DS) (Android 10)
INFO: OpenGL shaders: ENABLED
INFO: Created renderer: opengl
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.13587 Compatibility Profile Context 20.4.2 26.20.15029.27016
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x1920

I have the issue of exactly what you described in #40 but I didn't get any part of fix for it. Can you please guide me to fix it ?

resolved the thing displayed on console as error but the blurry part is still there.

Could you post a new screenshot with that configuration, please?
Could you also post a screenshot with v1.13, please?

OK, your text is very small! The bigger letters take 5 pixels height, some letters 4 pixels height. And the text is rendered at another definition then downscaled, I'm not surprised that the result is awful (even with mipmapping).

OK, your text is very small! The bigger letters take 5 pixels height, some letters 4 pixels height. And the text is rendered at another definition then downscaled, I'm not surprised that the result is awful (even with mipmapping).

Sir, I tried increasing font size in phone but the quality doesn't improve.
What should I do then?

Use a computer screen with a better definition :) To mirror a device in 1080×1920, your window content is 355×632, that's too small.
Press Ctrl+g, I bet the quality is perfect (but it's too big for your screen) :)

Use a computer screen with a better definition :) To mirror a device in 1080×1920, your window content is 355×632, that's too small.
Press Ctrl+g, I bet the quality is perfect (but it's too big for your screen) :)

Yes sir, Ctrl+g makes the display perfect but way too big... How can I fix the application resolution?
My laptop screen resolution is 1366*768.

@rom1v
In terms of the keyboard lag, I think I found the resulting issue, under https://github.com/Genymobile/scrcpy/issues/109. I posted my results underneath that post.
I think the "keyboard lag" may result from fake keyboard events being sent after a key is held down repeatedly.

Curious how this problem has happened to my Nexus 5X as well. Maybe it's something related to specific devices?

@Juggernaut93 Which problem? Keyboard lag?

@Juggernaut93 Which problem? Keyboard lag?

The post topic: the SDL error.

resolved the thing displayed on console as error but the blurry part is still there.

Could you post a new screenshot with that configuration, please?
Could you also post a screenshot with v1.13, please?

Hi    I have some problem. plz help me  (sorry  my english is poor
My computer screen is 1920x1080
In the past ,i used 1280x720 mobile and i just click scrcpy.exe. (1.13) it is workful .
But today i got a new phone(android8.1.0) 2160x1080 .there is a problem
sitiation  (in 1.13)
I click scrcpy.exe and then  computer show the mobile screen .  (1.13 p1)
https://i.imgur.com/1SAhrQl.png
When i click or knock any key the mobile screen is closed . (1.13 p2)
https://i.imgur.com/sj2E61N.png
Do it again (1.13 p3)
https://i.imgur.com/TepiZLJ.png
same situatoin (in 1.14)
https://i.imgur.com/JgmyJU7.png
https://i.imgur.com/8TmTOWx.png
https://i.imgur.com/aOunibY.png
I use tcpip connect ,it is work ,but  very slow (1.14 d1) (1.14 d2)
https://i.imgur.com/gWjHFoP.png
https://i.imgur.com/YW5BHvH.png
(mobile screen in computer is very slow) (the mobile is ok)
I wonder know  the promblem is that my phone screen 2160x1080p do not work in LCDbenq 1920x1080 ?
Maybe i heve to change my phone screen Pixels below 1920p to save the problem ?
thanks a lot

https://github.com/Genymobile/scrcpy/issues/1441#issuecomment-635523785

Fixed by 6e1069a8228217d39b87f6a490a4c2c75258c16a.

hola buenas tengo el mismo problema estuve una dos usando la herramienta perfectamente y de un dia para otro no pude entrar mas, ingreso a scrcpy y me habré la venta puedo ver el celular 2 segundos y me cierra la ventana  me sale este error
[server] INFO: Device: samsung SM-A750G (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2216
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.
WARN: DEVICE DISCONNECTED
PRESS ANY KEY TO CONTINUE
ayuda! gracias

This error is not related.

WARN: DEVICE DISCONNECTED

test with another cable (#281 #283).
check the output of adb logcat before it disconnects
try with a lower definition (scrcmy -m800)

rom1v buenas, ya intente con otro cable y no funciona se sigue abriendo y se cierra a los dos segundos. alguna solucion? como puedo hacer con otra definicion mas baja?

quizas sea un problema en alguna de la configuracion de la computadora porque hace unos dias atras la estaba usando lo mas normal y ahora de la nada paso esto que  puedo ver la pantalla 2 segundos y se cierra solo y se desconecta el dispositivo

resolvi el problema instalando sdk manager

Hello everyone, if you are getting the following error
[server] INFO: Device: Xiaomi MI 8 (Android 10) INFO: Created renderer: direct3d INFO: Renderer: direct3d INFO: Initial texture: 1080x2248 ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch! ERROR: Dropping back to a slower method. ERROR: This might be a brief hiccup, but if performance is bad, this is probably why. ERROR: This error will not be logged again for this renderer.
Try running the Scrcpy using a dedicated GPU. I have one Intel HD graphics and a dedicated Nvidia 940mx. When I run directly using Intel HD I get this error, but when I run it using the dedicated GPU, I don't get this error and quality seems little better.

Hello everyone, if you are getting the following error:
[server] INFO: Device: Xiaomi MI 8 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2248
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.
Try running the Scrcpy using a dedicated GPU. I have one Intel HD graphics and a dedicated Nvidia 940mx. When I run directly using Intel HD I get this error, but when I run it using the dedicated GPU, I don't get this error and quality seems little better.

I assumed it would use my Dedicated gpu by default but is there something else I need to do to make sure? I'm also getting the same error as everyone else and the fps is extremely bad. I'm using a 2080 TI X_X.

Hello everyone, if you are getting the following error:
[server] INFO: Device: Xiaomi MI 8 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2248
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.
Try running the Scrcpy using a dedicated GPU. I have one Intel HD graphics and a dedicated Nvidia 940mx. When I run directly using Intel HD I get this error, but when I run it using the dedicated GPU, I don't get this error and quality seems little better.

I assumed it would use my Dedicated gpu by default but is there something else I need to do to make sure? I'm also getting the same error as everyone else and the fps is extremely bad. I'm using a 2080 TI X_X.

As I noticed it doesn't use dedicated GPU by default. it uses integrated GPU first. you can change this from your dedicated GPU control panel or settings and choose to run the scrcpy.exe using dedicated GPU instead. or you may see if you get the option to choose GPU by right-clicking on scrcpy.exe on windows os.

has this been resolved? if so, can you please point the answer?

I just checked and apparently mine was using the correct gpu by default.
Sadly i'm still getting the error and poor performance
On Sun, Jun 14, 2020 at 1:37 PM bhavyabpk<EMAIL_ADDRESS>wrote:

Hello everyone, if you are getting the following error:
[server] INFO: Device: Xiaomi MI 8 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2248
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering
batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is
probably why.
ERROR: This error will not be logged again for this renderer.
Try running the Scrcpy using a dedicated GPU. I have one Intel HD
graphics and a dedicated Nvidia 940mx. When I run directly using Intel HD I
get this error, but when I run it using the dedicated GPU, I don't get this
error and quality seems little better.
I assumed it would use my Dedicated gpu by default but is there something
else I need to do to make sure? I'm also getting the same error as everyone
else and the fps is extremely bad. I'm using a 2080 TI X_X.
As I noticed it doesn't use dedicated GPU by default. it uses integrated
GPU first. you can change this from your dedicated GPU control panel or
settings and choose to run the scrcpy.exe using dedicated GPU instead. or
you may see if you get the option to choose GPU by right-clicking on
scrcpy.exe on windows os.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1441#issuecomment-643819070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL4JMC3COGI4EJODE5ACIKTRWUYKPANCNFSM4NNCWDDA
.

I got the same issue in the morning it was running fine but when I turn off my PC go outside and came back this issue appears.
Is there any solution for this yet ?

Which issue? The error message or an actual lag?

After I upgrade adb to 30.0.1, there are no errors anymore.

its the problem with the Android home screen just open an application and run scrcpy.exe
D:#downloads\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 40.0 MB/s (33142 bytes in 0.001s)
[server] INFO: Device: OnePlus ONEPLUS A6000 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 2280x1080

Which issue? The error message or an actual performance issue?

I did solver my issue by unplug the cable and re-plug it and do the whole command again.

After I upgrade adb to 30.0.1, there are no errors anymore.

how to update my scrcpy.

Hello!
Loving your program :-)
I wanted to report I have the same issue.
OS: Windows 10
scrcpy version: 1.14
installation method: scoop install
device model: Samsung Galaxy S9 (Android 10)
Android version: 10
adb version: 30.0.3
Performance is a bit sluggish, probably because of this issue. Thanks for the help :)

Does it work better in scrcpy v1.9 or v1.10?
If so, just take the SDL2.dll from these versions, and replace them in your v1.14 folder.

1.14 is the first version I tried. I'll try some older versions and I'll report back :)

its the problem with the Android home screen just open an application and run scrcpy.exe
D:#downloads\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 40.0 MB/s (33142 bytes in 0.001s)
[server] INFO: Device: OnePlus ONEPLUS A6000 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 2280x1080

I tried your way but the issue still exists!!

In my case, i face the error only when i connect my device to ADB via WIFI.
When I tried plugging my device via USB, everything seems to work fine. (My wifi router, desktop and mobile all are in the same table).
Could this be fixed?

Oh, the lag is expected then, on wifi you typically need to decrease the definition/bitrate:
scrcpy -m1024 -b2m

Thank you for the reply :heart_eyes:.. I have a dedicated GPU.. RTX 2060. But I am not sure which GPU is being used for rendering. Does it matter? If so could you help me make sure i use the right one?
Thank you in advance :relaxed:

Reporting back as promised. The error disappeared if if used --render-driver=opengl so maybe direct3d is the issue.
The performance looked a bit sluggish anyway and the FPS didn't improve much, but maybe it's just how it is :)

oh, Lets hope there will be a way to improve this. Thank you @Artanisx @rom1v for the support. :smiley:

The performance looked a bit sluggish anyway

On Windows, performance should be better with direct3d (but you may want opengl for mipmapping #40).
If you press Ctrl+i in the scrcpy window, it will print framerate in the console. What do you get? (copy-paste the output)
Note that a frame is produced by the device only when the device content change (so for example if you play a video at 25fps on your Android device, mirroring framerate will not be higher than 25fps).

If you press Ctrl+i in the scrcpy window, it will print framerate in the console. What do you get? (copy-paste the output)

I get around 30 fps (sometime less). The numbers were similar with Direct3D though, I don't think there was much difference all in all. :)

If you don't get any +n frames dropped, then there is globally no lag on the computer side (there might be jitter, but over USB it should be very small).
So if it feels laggy, it's probably from the device.
Try with a lower definition, the device might be faster (scrcmy -m800).

I get some +n frames dropped but indeed it's not that frequent.
I'll try with a lower definition and report back :)


Dialogue DSL

Description
Making this PR as a place to draft and comment on the DSL for multi-turn dialogue tasks.
Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[X] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[ ] I want a high level review.
[X] I want a deep design review.

Codecov Report

Merging #1060 (04b2235) into main (cd2441c) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1060      +/-   ##
==========================================
- Coverage   34.06%   33.91%   -0.16%
==========================================
  Files         344      343       -1
  Lines       33684    33429     -255
==========================================
- Hits        11476    11338     -138
+ Misses      22208    22091     -117

Impacted Files
Coverage Δ

lowlevel/minecraft/pyworld/physical_interfaces.py
78.98% <0.00%> (-1.92%)
:arrow_down:

lowlevel/minecraft/pyworld/fake_mobs.py
88.13% <0.00%> (-0.85%)
:arrow_down:

interpreter/craftassist/tasks.py
74.63% <0.00%> (-0.37%)
:arrow_down:

agents/droidlet_agent.py


Roll engine fc27f80a1242..17f1b500f9db (2 commits)

git@github.com:flutter/engine.git/compare/fc27f80a1242...17f1b500f9db
git log fc27f80a1242..17f1b500f9db --no-merges --oneline
2019-08-22<EMAIL_ADDRESS>Roll src/third_party/skia 42c6af9182d2..c071fc92cd3d (6 commits) (flutter/engine#11372)
2019-08-22<EMAIL_ADDRESS>Roll fuchsia/clang/mac-amd64 from 4uAyd... to NRiBy... (flutter/engine#11371)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5232357331697664 , https://cirrus-ci.com/task/5795307285118976 , https://cirrus-ci.com/task/6498994726895616

Commit queue failed; closing this roll.


ENOSPC: no space left on device, write

We're getting this error after upgrading from 4.5.10 of mongoose (mongodb v2.1.18) to 4.6.0 mongoose (mongodb v2.2.9).
Any ideas what might cause this? Thanks!
ENOSPC: no space left on device, write

Looks like wrong repo. Closing!


Fatal Exception: java.lang.IllegalStateException

I got this error from one of the users of my app (so I do not know what the user did to get this error):
Fatal Exception: java.lang.IllegalStateException: Cannot add header view to list -- setAdapter has already been called.
at android.widget.ListView.addHeaderView(ListView.java:264)
at android.widget.ListView.addHeaderView(ListView.java:293)
at com.devpaul.filepickerlibrary.FilePickerActivity$UpdateFilesTask(SourceFile:650)
at com.devpaul.filepickerlibrary.FilePickerActivity$UpdateFilesTask.onPostExecute(SourceFile:608)
at android.os.AsyncTask.finish(AsyncTask.java:631)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(NativeStart.java)

What version of the library are you using in your app?

compile 'com.github.DeveloperPaul123:FilePickerLibrary:1.0.0'
I downloaded it 3 days ago.

Ok, so you are in fact pulling from Jitpack. Just wanted to make sure it was the latest release. I have had one other person report the same error but I have been unable to replicate it. I'll look into it though.

should be fixed in version 2.0.0 can you confirm?

It seems to be fixed so far.

Sounds good. Reopen if it happens again.


Feature/disable settings metrics flag

This is just a simple flag that skips the pg_settings query. It was added to disable the exporter from exposing the settings found in the table.

I'm not quite sure what's causing the build to fail here, I've run go run mage.go -v all on my machine and it's completing successfully? I must be missing something?

This is now implemented via #215 .


Add static caches to schema and partition spec parsers

Schemas and partition specs are parsed for each manifest file. Using a cache with weak keys would help avoid extra JSON parsing work.

Implemented in f8f793d.


Ability to mirror image

On iOS the publisher image is not mirrored. The JS API seems to have a mirror property:
https://tokbox.com/opentok/libraries/client/js/reference/OT.html#initPublisher
But on Cordova iOS this has no effect.

It turns out that this mirroring issue is actually a bug in the iOS SDK. There should be a fix with the next release scheduled in April. Mirroring should be on by default.


Devices disappear from map when group is not selected

Describe the bug
When I began using the web app the devices were shown on map without any group filtering on the top bar. Also, when I opened the web app all filters where empty. After a few days of using the web app I tried again opening and noticed that the app started with filtered groups. I tried removing all selected filters but the devices disappeared from the map. Also, even when I removed all filters, the blue dot signifying selected filter remained. Since then, every time I open the web app from this chrome user, I have the same problem. If I login from another chrome user I do not have this issue (all filters are empty and I can see my devices on the map). Same thing happened with safari after using for some time. Could this be a cookie issue?
Expected behavior
I expected that when I open the web app I will see my devices without having to select a specific group of devices. Some devices might not even belong to a group.
Desktop (please complete the following information):

OS: MacOS Sonoma 14.0
Browser chrome: Version 130.0.6723.117 (Official Build) (arm64), safari: Version 17.0

Additional context

It looks like you still have something selected. What do you see in the group popup?

Hello,
I have created a screen recording that shows how the web app responds in chrome from 2 separate users:
https://www.loom.com/share/a69e4f9da33046848841bd8928112e84?sid=1f3451e0-7c28-49f5-abc1-40d8e1a40260
As you will be able to see from user number 1 (F) when deselecting the groups, no devices are shown, also the blue dot on the filters remain even when no filters are selected. User 2 (A) works as expected. The only difference between the two users is that I used to login more often from user 1 (F)

You forgot to mention that you're not using the latest official release. We only accept bug reports in the latest version.

Hi, I updated my version to 6.5. The problem persists.
https://www.loom.com/share/164632222996442f97db376f590e4e89?sid=312ba461-d162-407c-ac30-88cdcad5762b

Please provide access to take a look because I'm not able to reproduce it locally.

What kind of access would you like? This problem seems to be related to browser, so you would have to access my own browser?

You said it happens in different browsers.

I have the same problem on safari as well at the moment. However, as I mentioned on my first message this problem appeared after using the app( from a specific chrome user) for some time. When I login from another chrome user I do not have this issue. Same thing happened on safari. The problem started after using the browser for a while. I think it is related to cookies stored on browser maybe?

Did you happen to remove any groups? That would explain the issue.

Yes I have removed groups in the past. How could this explain this issue? Is there a way to resolve it? does it make sense that from another chrome user I do not have this issue?

If you had a group selected for filtering, you removed it, but it is still stored for filtering. To solve you just clear the browser cache or find specific item in the storage and clear that.

Yep it works fine after clearing all browser cookies