Release a new version

Last one is from Feb 2016, so whenever someone has some time it'd be nice to release a new one =)

With Ruby 2.5.0-preview1, Dalli 2.7.6 raises an error.
% ruby -v -rdalli -e 'p Dalli::VERSION; p Dalli::Client.new("localhost:11211").get("foo")'
ruby 2.5.0preview1 (2017-10-10 trunk 60153) [x86_64-darwin16]
/Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:701: warning: assigned but unused variable - type
"2.7.6"
Traceback (most recent call last):
	16: from -e:1:in `<main>'
	15: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/client.rb:58:in `get'
	14: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/client.rb:361:in `perform'
	13: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/ring.rb:42:in `server_for_key'
	12: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/options.rb:23:in `alive?'
	11: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
	10: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/options.rb:24:in `block in alive?'
	 9: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:95:in `alive?'
	 8: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:589:in `connect'
	 7: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:395:in `version'
	 6: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:355:in `write_generic'
	 5: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:498:in `generic_response'
	 4: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:575:in `read_header'
	 3: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/server.rb:566:in `read'
	 2: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/socket.rb:32:in `readfull'
	 1: from /Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/socket.rb:32:in `kgio_read!'
/Users/ani/.rbenv/versions/2.5.0-preview1/lib/ruby/gems/2.5.0/gems/dalli-2.7.6/lib/dalli/socket.rb:19:in `kgio_wait_readable': wrong number of arguments (given 24, expected 0) (ArgumentError)

Dalli HEAD seems to be OK.

+1

+1 anything on this?

@kyanagi I also ran into this problem when using ruby 2.5.0, updating the kgio gem seems to have fixed it for me.

+1. Any news?

2.7.7 has been released.

What are the highlights in 2.7.7?


Mast: Watch (?-i:^ARABTECHNOLOGIE$)

Mast requests the watch of the watch_keyword (?-i:^ARABTECHNOLOGIE$). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:^ARABTECHNOLOGIE$) has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


F811 false positive in match statement

Hi,
really love ruff, such a great tool! It also inspired me to learn Rust ;)
I found the following bug, which can be reproduced with this MWE:
def no_redef(value):
    if value:

        def fun(x, y):
            return x

    else:

        def fun(x, y):
            return y

    return fun

def redef(value):
    match value:
        case True:

            def fun(x, y):
                return x

        case False:

            def fun(x, y):
                return y

    return fun

Running ruff throws the following error which (IMO) is a bug:
> ruff redef.py --isolated
redef.py:24:17: F811 Redefinition of unused `fun` from line 19
Found 1 error.

Why is this a bug?
In my understanding both the no_redef and redef function have the same behavior. Thus, F811 should behave the same for both functions, which is not the case.
This behavior is consistent with flake8/pyflakes, however, I think this is a bug in their code as well and I opened a ticket there too (https://github.com/PyCQA/pyflakes/issues/771).
Ruff version
> ruff --version
ruff 0.0.261

pyproject.toml
[tool.ruff]
select = ["F"]
target-version = "py38"

Constantin

I think the solution would be to add MatchCase to the binding and implement an equivalent different_forks for MatchCase instead of Stmt.
I can pick it up.


Can v-for have local variables?

What problem does this feature solve?
Repeated comparisons: v.id === currentId

    {{v.id === currentId ? 'active' : 'not active'}}

What does the proposed API look like?
Define a local variable: isActive

    {{isActive ? 'active' : 'not active'}}

it could be this？

  <template v-for="v in list">

    active

     not active

  </template>

@Killea No, I don't want to repeat.

Please search v-scope in issues and PR. This was dropped

There is a trick to achieve it, but I think an official support will be nice.

  <template v-for="v in list">
    <template v-for="isActive in [v.id === currentId]">

        {{ isActive ? 'active' : 'not active' }}

    </template>
  </template>

11

22


Code for IBM i does not connect to server

Save us time! Click 'Report an Issue' from the Help and Support panel inside of VS Code after you have connected to a system.
Describe the bug
(A clear and concise description of what the bug is. We will not accept your bug and close it if this is not filled out correctly.)
After I select the server on the Code for IBM i extension nothing happens.  I have attached a video.
To Reproduce
Steps to reproduce the behavior:

Click on the Server in the Code for IBM i extension
Nothing happens.  No notification nor error I can see

Expected behavior
I should see connection status and eventually the IBM i system
Screenshots
I added a video
Environment (please complete the following information):

Extension version v0.1.5
IBM i OS version [7.4]

Additional context
Add any other context about the problem here.
https://user-images.githubusercontent.com/32421796/182190809-9ede3f41-0921-4d81-932d-cf25c84d310d.mp4

@rogersonra How fun! Thanks for creating the video. Please share your VS Code settings.json with us:
Open the command palette and search for settings json:

Then copy and paste the entire document here. Thanks!

Wow, it reminds me of the line count of many RPG programs...
() defaultSettings.json
{
// Controls whether the editor shows CodeLens.
"diffEditor.codeLens": false,
// When enabled, the diff editor ignores changes in leading or trailing
whitespace.
"diffEditor.ignoreTrimWhitespace": true,
// Timeout in milliseconds after which diff computation is cancelled. Use 0
for no timeout.
"diffEditor.maxComputationTime": 5000,
// Maximum file size in MB for which to compute diffs. Use 0 for no limit.
"diffEditor.maxFileSize": 50,
// Controls whether the diff editor shows +/- indicators for added/removed
changes.
"diffEditor.renderIndicators": true,
// When enabled, the diff editor shows arrows in its glyph margin to revert
changes.
"diffEditor.renderMarginRevertIcon": true,
// Controls whether the diff editor shows the diff side by side or inline.
"diffEditor.renderSideBySide": true,
//
//  - off: Lines will never wrap.
//  - on: Lines will wrap at the viewport width.
//  - inherit: Lines will wrap according to the editor.wordWrap setting.
"diffEditor.wordWrap": "inherit",
// Controls whether suggestions should be accepted on commit characters.
For example, in JavaScript, the semi-colon (;) can be a commit character
that accepts a suggestion and types that character.
"editor.acceptSuggestionOnCommitCharacter": true,
// Controls whether suggestions should be accepted on Enter, in addition
to Tab. Helps to avoid ambiguity between inserting new lines or accepting
suggestions.
//  - on
//  - smart: Only accept a suggestion with Enter when it makes a textual
change.
//  - off
"editor.acceptSuggestionOnEnter": "on",
// Controls the number of lines in the editor that can be read out by a
screen reader at once. When we detect a screen reader we automatically set
the default to be 500. Warning: this has a performance implication for
numbers larger than the default.
"editor.accessibilityPageSize": 10,
// Controls whether the editor should run in a mode where it is optimized
for screen readers. Setting to on will disable word wrapping.
//  - auto: The editor will use platform APIs to detect when a Screen
Reader is attached.
//  - on: The editor will be permanently optimized for usage with a Screen
Reader. Word wrapping will be disabled.
//  - off: The editor will never be optimized for usage with a Screen
Reader.
"editor.accessibilitySupport": "auto",
// Controls whether the editor should automatically close brackets after
the user adds an opening bracket.
//  - always
//  - languageDefined: Use language configurations to determine when to
autoclose brackets.
//  - beforeWhitespace: Autoclose brackets only when the cursor is to the
left of whitespace.
//  - never
"editor.autoClosingBrackets": "languageDefined",
// Controls whether the editor should remove adjacent closing quotes or
brackets when deleting.
//  - always
//  - auto: Remove adjacent closing quotes or brackets only if they were
automatically inserted.
//  - never
"editor.autoClosingDelete": "auto",
// Controls whether the editor should type over closing quotes or brackets.
//  - always
//  - auto: Type over closing quotes or brackets only if they were
automatically inserted.
//  - never
"editor.autoClosingOvertype": "auto",
// Controls whether the editor should automatically close quotes after the
user adds an opening quote.
//  - always
//  - languageDefined: Use language configurations to determine when to
autoclose quotes.
//  - beforeWhitespace: Autoclose quotes only when the cursor is to the
left of whitespace.
//  - never
"editor.autoClosingQuotes": "languageDefined",
// Controls whether the editor should automatically adjust the indentation
when users type, paste, move or indent lines.
//  - none: The editor will not insert indentation automatically.
//  - keep: The editor will keep the current line's indentation.
//  - brackets: The editor will keep the current line's indentation and
honor language defined brackets.
//  - advanced: The editor will keep the current line's indentation, honor
language defined brackets and invoke special onEnterRules defined by
languages.
//  - full: The editor will keep the current line's indentation, honor
language defined brackets, invoke special onEnterRules defined by
languages, and honor indentationRules defined by languages.
"editor.autoIndent": "full",
// Controls whether the editor should automatically surround selections
when typing quotes or brackets.
//  - languageDefined: Use language configurations to determine when to
automatically surround selections.
//  - quotes: Surround with quotes but not brackets.
//  - brackets: Surround with brackets but not quotes.
//  - never
"editor.autoSurround": "languageDefined",
// Controls whether bracket pair colorization is enabled or not. Use
workbench.colorCustomizations to override the bracket highlight colors.
"editor.bracketPairColorization.enabled": true,
// Controls whether each bracket type has its own independent color pool.
"editor.bracketPairColorization.independentColorPoolPerBracketType": false,
// Code action kinds to be run on save.
"editor.codeActionsOnSave": {},
// Controls whether the editor shows CodeLens.
"editor.codeLens": true,
// Controls the font family for CodeLens.
"editor.codeLensFontFamily": "",
// Controls the font size in pixels for CodeLens. When set to 0, 90% of
editor.fontSize is used.
"editor.codeLensFontSize": 0,
// Controls whether the editor should render the inline color decorators
and color picker.
"editor.colorDecorators": true,
// Enable that the selection with the mouse and keys is doing column
selection.
"editor.columnSelection": false,
// Controls if empty lines should be ignored with toggle, add or remove
actions for line comments.
"editor.comments.ignoreEmptyLines": true,
// Controls whether a space character is inserted when commenting.
"editor.comments.insertSpace": true,
// Controls whether syntax highlighting should be copied into the clipboard.
"editor.copyWithSyntaxHighlighting": true,
// Control the cursor animation style.
"editor.cursorBlinking": "blink",
// Controls whether the smooth caret animation should be enabled.
"editor.cursorSmoothCaretAnimation": false,
// Controls the cursor style.
"editor.cursorStyle": "line",
// Controls the minimal number of visible leading and trailing lines
surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some
other editors.
"editor.cursorSurroundingLines": 0,
// Controls when cursorSurroundingLines should be enforced.
//  - default: cursorSurroundingLines is enforced only when triggered via
the keyboard or API.
//  - all: cursorSurroundingLines is enforced always.
"editor.cursorSurroundingLinesStyle": "default",
// Controls the width of the cursor when editor.cursorStyle is set to
line.
"editor.cursorWidth": 0,
// Defines a default formatter which takes precedence over all other
formatter settings. Must be the identifier of an extension contributing a
formatter.
//  - null: None
//  - bitlang.cobol: IntelliSense, highlighting, snippets, and code
browsing for COBOL and more
//  - vscode.css-language-features: Provides rich language support for CSS,
LESS and SCSS files.
//  - vscode.html-language-features: Provides rich language support for
HTML and Handlebar files
//  - vscode.json-language-features: Provides rich language support for
JSON files.
//  - ms-toolsai.jupyter: Jupyter notebook support, interactive programming
and computing that supports Intellisense, debugging and more.
//  - vscode.markdown-language-features: Provides rich language support for
Markdown.
//  - vscode.php-language-features: Provides rich language support for PHP
files.
//  - ms-python.python: IntelliSense (Pylance), Linting, Debugging
(multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring,
unit tests, and more.
//  - vscode.references-view: Reference Search results as separate, stable
view in the sidebar
//  - vscode.search-result: Provides syntax highlighting and language
features for tabbed search results.
//  - vscode.typescript-language-features: Provides rich language support
for JavaScript and TypeScript.
//  - cweijan.vscode-autohotkey-plus: AutoHotkey language support for VS
Code
//  - ms-python.vscode-pylance: A performant, feature-rich language server
for Python in VS Code
//  - halcyontechltd.vscode-rpgle: RPGLE content assist and linter for VS
Code
//  - halcyontechltd.code-coverage-ibmi: Run and display Code Coverage on
your IBM i right from VS Code.
//  - halcyontechltd.code-for-ibmi: Maintain your RPGLE, CL, COBOL, C/CPP
on IBM i right from Visual Studio Code.
//  - vscode.configuration-editing: Provides capabilities (advanced
IntelliSense, auto-fixing) in configuration files like settings, launch,
and extension recommendation files.
//  - vscode.debug-auto-launch: Helper for auto-attach feature when
node-debug extensions are not active.
//  - vscode.debug-server-ready: Open URI in browser if server under
debugging is ready.
//  - vscode.emmet: Emmet support for VS Code
//  - usernamehw.errorlens: Improve highlighting of errors, warnings and
other language diagnostics.
//  - vscode.extension-editing: Provides linting capabilities for authoring
extensions.
//  - vscode.git: Git SCM Integration
//  - vscode.git-base: Git static contributions and pickers.
//  - halcyontechltd.git-client-ibmi: A git client that works on a remote
IBM i
//  - vscode.github: GitHub features for VS Code
//  - vscode.github-authentication: GitHub Authentication Provider
//  - vscode.grunt: Extension to add Grunt capabilities to VS Code.
//  - vscode.gulp: Extension to add Gulp capabilities to VSCode.
//  - vscode.image-preview: Provides VS Code's built-in image preview
//  - vscode.ipynb: Provides basic support for opening and reading
Jupyter's .ipynb notebook files
//  - vscode.jake: Extension to add Jake capabilities to VS Code.
//  - ms-vscode.js-debug: An extension for debugging Node.js programs and
Chrome.
//  - ms-vscode.js-debug-companion: Companion extension to js-debug that
provides capability for remote debugging
//  - ms-toolsai.jupyter-renderers: Renderers for Jupyter Notebooks (with
plotly, vega, gif, png, svg, jpeg and other such outputs)
//  - vscode.markdown-math: Adds math support to Markdown in notebooks.
//  - vscode.merge-conflict: Highlighting and commands for inline merge
conflicts.
//  - vscode.microsoft-authentication: Microsoft authentication provider
//  - vscode.npm: Extension to add task support for npm scripts.
//  - ms-vscode-remote.remote-wsl-recommender: Recommends using the Windows
Subsystem for Linux (WSL) and the Remote WSL extension.
//  - vscode.simple-browser: A very basic built-in webview for displaying
web content.
//  - halcyontechltd.vscode-db2i: Db2 for IBM i tools in VS Code
//  - halcyontechltd.vscode-ibmi-notebooks: VS Code Notebooks for IBM i
//  - halcyontechltd.vscode-ibmi-walkthroughs: Adds walkthroughs for IBM i
development in VS Code
//  - ms-vscode.vscode-js-profile-table: Text visualizer for profiles taken
from the JavaScript debugger
//  - BrianJGarland.vscode-rpgfree: Visual Studio Code extension to convert
fixed format RPGLE to free format
//  - wayou.vscode-todo-highlight: highlight TODOs, FIXMEs, and any
keywords, annotations...
"editor.defaultFormatter": null,
// Controls whether the Go to Definition mouse gesture always opens the
peek widget.
"editor.definitionLinkOpensInPeek": false,
// Controls whether editor.tabSize# and #editor.insertSpaces will be
automatically detected when a file is opened based on the file contents.
"editor.detectIndentation": true,
// Controls whether the editor should allow moving selections via drag and
drop.
"editor.dragAndDrop": true,
// Controls whether copying without a selection copies the current line.
"editor.emptySelectionClipboard": true,
// Enable/disable running edits from extensions on paste.
"editor.experimental.pasteActions.enabled": false,
// Scrolling speed multiplier when pressing Alt.
"editor.fastScrollSensitivity": 5,
// Controls whether the Find Widget should add extra lines on top of the
editor. When true, you can scroll beyond the first line when the Find
Widget is visible.
"editor.find.addExtraSpaceOnTop": true,
// Controls the condition for turning on Find in Selection automatically.
//  - never: Never turn on Find in Selection automatically (default).
//  - always: Always turn on Find in Selection automatically.
//  - multiline: Turn on Find in Selection automatically when multiple
lines of content are selected.
"editor.find.autoFindInSelection": "never",
// Controls whether the cursor should jump to find matches while typing.
"editor.find.cursorMoveOnType": true,
// Controls whether the search automatically restarts from the beginning
(or the end) when no further matches can be found.
"editor.find.loop": true,
// Controls whether the search string in the Find Widget is seeded from the
editor selection.
//  - never: Never seed search string from the editor selection.
//  - always: Always seed search string from the editor selection,
including word at cursor position.
//  - selection: Only seed search string from the editor selection.
"editor.find.seedSearchStringFromSelection": "always",
// Controls whether the editor has code folding enabled.
"editor.folding": true,
// Controls whether the editor should highlight folded ranges.
"editor.foldingHighlight": true,
// Controls whether the editor automatically collapses import ranges.
"editor.foldingImportsByDefault": false,
// The maximum number of foldable regions. Increasing this value may result
in the editor becoming less responsive when the current source has a large
number of foldable regions.
"editor.foldingMaximumRegions": 5000,
// Controls the strategy for computing folding ranges.
//  - auto: Use a language-specific folding strategy if available, else the
indentation-based one.
//  - indentation: Use the indentation-based folding strategy.
"editor.foldingStrategy": "auto",
// Controls the font family.
"editor.fontFamily": "Consolas, 'Courier New', monospace",
// Configures font ligatures or font features. Can be either a boolean to
enable/disable ligatures or a string for the value of the CSS
'font-feature-settings' property.
"editor.fontLigatures": false,
// Controls the font size in pixels.
"editor.fontSize": 14,
// Controls the font weight. Accepts "normal" and "bold" keywords or
numbers between 1 and 1000.
"editor.fontWeight": "normal",
// Controls whether the editor should automatically format the pasted
content. A formatter must be available and the formatter should be able to
format a range in a document.
"editor.formatOnPaste": false,
// Format a file on save. A formatter must be available, the file must not
be saved after delay, and the editor must not be shutting down.
"editor.formatOnSave": false,
// Controls if format on save formats the whole file or only modifications.
Only applies when editor.formatOnSave is enabled.
//  - file: Format the whole file.
//  - modifications: Format modifications (requires source control).
//  - modificationsIfAvailable: Will attempt to format modifications only
(requires source control). If source control can't be used, then the whole
file will be formatted.
"editor.formatOnSaveMode": "file",
// Controls whether the editor should automatically format the line after
typing.
"editor.formatOnType": false,
// Controls whether the editor should render the vertical glyph margin.
Glyph margin is mostly used for debugging.
"editor.glyphMargin": true,
// Alternative command id that is being executed when the result of 'Go to
Declaration' is the current location.
"editor.gotoLocation.alternativeDeclarationCommand":
"editor.action.goToReferences",
// Alternative command id that is being executed when the result of 'Go to
Definition' is the current location.
"editor.gotoLocation.alternativeDefinitionCommand":
"editor.action.goToReferences",
// Alternative command id that is being executed when the result of 'Go to
Implementation' is the current location.
"editor.gotoLocation.alternativeImplementationCommand": "",
// Alternative command id that is being executed when the result of 'Go to
Reference' is the current location.
"editor.gotoLocation.alternativeReferenceCommand": "",
// Alternative command id that is being executed when the result of 'Go to
Type Definition' is the current location.
"editor.gotoLocation.alternativeTypeDefinitionCommand":
"editor.action.goToReferences",
// This setting is deprecated, please use separate settings like
'editor.editor.gotoLocation.multipleDefinitions' or
'editor.editor.gotoLocation.multipleImplementations' instead.
//
"editor.gotoLocation.multiple": null,
// Controls the behavior the 'Go to Declaration'-command when multiple
target locations exist.
//  - peek: Show peek view of the results (default)
//  - gotoAndPeek: Go to the primary result and show a peek view
//  - goto: Go to the primary result and enable peek-less navigation to
others
"editor.gotoLocation.multipleDeclarations": "peek",
// Controls the behavior the 'Go to Definition'-command when multiple
target locations exist.
//  - peek: Show peek view of the results (default)
//  - gotoAndPeek: Go to the primary result and show a peek view
//  - goto: Go to the primary result and enable peek-less navigation to
others
"editor.gotoLocation.multipleDefinitions": "peek",
// Controls the behavior the 'Go to Implementations'-command when multiple
target locations exist.
//  - peek: Show peek view of the results (default)
//  - gotoAndPeek: Go to the primary result and show a peek view
//  - goto: Go to the primary result and enable peek-less navigation to
others
"editor.gotoLocation.multipleImplementations": "peek",
// Controls the behavior the 'Go to References'-command when multiple
target locations exist.
//  - peek: Show peek view of the results (default)
//  - gotoAndPeek: Go to the primary result and show a peek view
//  - goto: Go to the primary result and enable peek-less navigation to
others
"editor.gotoLocation.multipleReferences": "peek",
// Controls the behavior the 'Go to Type Definition'-command when multiple
target locations exist.
//  - peek: Show peek view of the results (default)
//  - gotoAndPeek: Go to the primary result and show a peek view
//  - goto: Go to the primary result and enable peek-less navigation to
others
"editor.gotoLocation.multipleTypeDefinitions": "peek",
// Controls whether bracket pair guides are enabled or not.
//  - true: Enables bracket pair guides.
//  - active: Enables bracket pair guides only for the active bracket pair.
//  - false: Disables bracket pair guides.
"editor.guides.bracketPairs": false,
// Controls whether horizontal bracket pair guides are enabled or not.
//  - true: Enables horizontal guides as addition to vertical bracket pair
guides.
//  - active: Enables horizontal guides only for the active bracket pair.
//  - false: Disables horizontal bracket pair guides.
"editor.guides.bracketPairsHorizontal": "active",
// Controls whether the editor should highlight the active bracket pair.
"editor.guides.highlightActiveBracketPair": true,
// Controls whether the editor should highlight the active indent guide.
//  - true: Highlights the active indent guide.
//  - always: Highlights the active indent guide even if bracket guides are
highlighted.
//  - false: Do not highlight the active indent guide.
"editor.guides.highlightActiveIndentation": true,
// Controls whether the editor should render indent guides.
"editor.guides.indentation": true,
// Controls whether the cursor should be hidden in the overview ruler.
"editor.hideCursorInOverviewRuler": false,
// Prefer showing hovers above the line, if there's space.
"editor.hover.above": true,
// Controls the delay in milliseconds after which the hover is shown.
"editor.hover.delay": 300,
// Controls whether the hover is shown.
"editor.hover.enabled": true,
// Controls whether the hover should remain visible when mouse is moved
over it.
"editor.hover.sticky": true,
// Enables the inlay hints in the editor.
//  - on: Inlay hints are enabled
//  - onUnlessPressed: Inlay hints are showing by default and hide when
holding Ctrl+Alt
//  - offUnlessPressed: Inlay hints are hidden by default and show when
holding Ctrl+Alt
//  - off: Inlay hints are disabled
"editor.inlayHints.enabled": "on",
// Controls font family of inlay hints in the editor. When set to empty,
the editor.fontFamily is used.
"editor.inlayHints.fontFamily": "",
// Controls font size of inlay hints in the editor. As default the
editor.fontSize is used when the configured value is less than 5 or
greater than the editor font size.
"editor.inlayHints.fontSize": 0,
// Enables the padding around the inlay hints in the editor.
"editor.inlayHints.padding": false,
// Controls whether to automatically show inline suggestions in the editor.
"editor.inlineSuggest.enabled": true,
// Insert spaces when pressing Tab. This setting is overridden based on
the file contents when editor.detectIndentation is on.
"editor.insertSpaces": true,
// Defines the bracket symbols that increase or decrease the indentation.
"editor.language.brackets": null,
// Defines the bracket pairs that are colorized by their nesting level if
bracket pair colorization is enabled.
"editor.language.colorizedBracketPairs": null,
// Special handling for large files to disable certain memory intensive
features.
"editor.largeFileOptimizations": true,
// Controls the letter spacing in pixels.
"editor.letterSpacing": 0,
// Enables the code action lightbulb in the editor.
"editor.lightbulb.enabled": true,
// Controls the line height.
//  - Use 0 to automatically compute the line height from the font size.
//  - Values between 0 and 8 will be used as a multiplier with the font
size.
//  - Values greater than or equal to 8 will be used as effective values.
"editor.lineHeight": 0,
// Controls the display of line numbers.
//  - off: Line numbers are not rendered.
//  - on: Line numbers are rendered as absolute number.
//  - relative: Line numbers are rendered as distance in lines to cursor
position.
//  - interval: Line numbers are rendered every 10 lines.
"editor.lineNumbers": "on",
// Controls whether the editor has linked editing enabled. Depending on the
language, related symbols, e.g. HTML tags, are updated while editing.
"editor.linkedEditing": false,
// Controls whether the editor should detect links and make them clickable.
"editor.links": true,
// Highlight matching brackets.
"editor.matchBrackets": "always",
// Lines above this length will not be tokenized for performance reasons
"editor.maxTokenizationLineLength": 20000,
// Controls whether the minimap is hidden automatically.
"editor.minimap.autohide": false,
// Controls whether the minimap is shown.
"editor.minimap.enabled": true,
// Limit the width of the minimap to render at most a certain number of
columns.
"editor.minimap.maxColumn": 120,
// Render the actual characters on a line as opposed to color blocks.
"editor.minimap.renderCharacters": true,
// Scale of content drawn in the minimap: 1, 2 or 3.
"editor.minimap.scale": 1,
// Controls when the minimap slider is shown.
"editor.minimap.showSlider": "mouseover",
// Controls the side where to render the minimap.
"editor.minimap.side": "right",
// Controls the size of the minimap.
//  - proportional: The minimap has the same size as the editor contents
(and might scroll).
//  - fill: The minimap will stretch or shrink as necessary to fill the
height of the editor (no scrolling).
//  - fit: The minimap will shrink as necessary to never be larger than the
editor (no scrolling).
"editor.minimap.size": "proportional",
// A multiplier to be used on the deltaX and deltaY of mouse wheel
scroll events.
"editor.mouseWheelScrollSensitivity": 1,
// Zoom the font of the editor when using mouse wheel and holding Ctrl.
"editor.mouseWheelZoom": false,
// Merge multiple cursors when they are overlapping.
"editor.multiCursorMergeOverlapping": true,
// The modifier to be used to add multiple cursors with the mouse. The Go
to Definition and Open Link mouse gestures will adapt such that they do not
conflict with the multicursor modifier. Read more.
//  - ctrlCmd: Maps to Control on Windows and Linux and to Command on
macOS.
//  - alt: Maps to Alt on Windows and Linux and to Option on macOS.
"editor.multiCursorModifier": "alt",
// Controls pasting when the line count of the pasted text matches the
cursor count.
//  - spread: Each cursor pastes a single line of the text.
//  - full: Each cursor pastes the full text.
"editor.multiCursorPaste": "spread",
// Controls whether the editor should highlight semantic symbol occurrences.
"editor.occurrencesHighlight": true,
// Controls whether a border should be drawn around the overview ruler.
"editor.overviewRulerBorder": true,
// Controls the amount of space between the bottom edge of the editor and
the last line.
"editor.padding.bottom": 0,
// Controls the amount of space between the top edge of the editor and the
first line.
"editor.padding.top": 0,
// Controls whether the parameter hints menu cycles or closes when reaching
the end of the list.
"editor.parameterHints.cycle": false,
// Enables a pop-up that shows parameter documentation and type information
as you type.
"editor.parameterHints.enabled": true,
// Controls whether to focus the inline editor or the tree in the peek
widget.
//  - tree: Focus the tree when opening peek
//  - editor: Focus the editor when opening peek
"editor.peekWidgetDefaultFocus": "tree",
// Controls whether suggestions should automatically show up while typing.
This can be controlled for typing in comments, strings, and other code.
Quick suggestion can be configured to show as ghost text or with the
suggest widget.
"editor.quickSuggestions": {
"other": "on",
"comments": "off",
"strings": "off"
},
// Controls the delay in milliseconds after which quick suggestions will
show up.
"editor.quickSuggestionsDelay": 10,
// Enable/disable the ability to preview changes before renaming
"editor.rename.enablePreview": true,
// Deprecated, use editor.linkedEditing instead.
// Controls whether the editor auto renames on type.
"editor.renameOnType": false,
// Controls whether the editor should render control characters.
"editor.renderControlCharacters": true,
// Render last line number when the file ends with a newline.
"editor.renderFinalNewline": true,
// Controls how the editor should render the current line highlight.
//  - none
//  - gutter
//  - line
//  - all: Highlights both the gutter and the current line.
"editor.renderLineHighlight": "line",
// Controls if the editor should render the current line highlight only
when the editor is focused.
"editor.renderLineHighlightOnlyWhenFocus": false,
// Controls how the editor should render whitespace characters.
//  - none
//  - boundary: Render whitespace characters except for single spaces
between words.
//  - selection: Render whitespace characters only on selected text.
//  - trailing: Render only trailing whitespace characters.
//  - all
"editor.renderWhitespace": "selection",
// Controls whether selections should have rounded corners.
"editor.roundedSelection": true,
// Render vertical rulers after a certain number of monospace characters.
Use multiple values for multiple rulers. No rulers are drawn if array is
empty.
"editor.rulers": [],
// Controls the visibility of the horizontal scrollbar.
//  - auto: The horizontal scrollbar will be visible only when necessary.
//  - visible: The horizontal scrollbar will always be visible.
//  - hidden: The horizontal scrollbar will always be hidden.
"editor.scrollbar.horizontal": "auto",
// The height of the horizontal scrollbar.
"editor.scrollbar.horizontalScrollbarSize": 12,
// Controls whether clicks scroll by page or jump to click position.
"editor.scrollbar.scrollByPage": false,
// Controls the visibility of the vertical scrollbar.
//  - auto: The vertical scrollbar will be visible only when necessary.
//  - visible: The vertical scrollbar will always be visible.
//  - hidden: The vertical scrollbar will always be hidden.
"editor.scrollbar.vertical": "auto",
// The width of the vertical scrollbar.
"editor.scrollbar.verticalScrollbarSize": 14,
// Controls the number of extra characters beyond which the editor will
scroll horizontally.
"editor.scrollBeyondLastColumn": 4,
// Controls whether the editor will scroll beyond the last line.
"editor.scrollBeyondLastLine": true,
// Scroll only along the predominant axis when scrolling both vertically
and horizontally at the same time. Prevents horizontal drift when scrolling
vertically on a trackpad.
"editor.scrollPredominantAxis": true,
// Controls whether the editor should highlight matches similar to the
selection.
"editor.selectionHighlight": true,
// Controls whether the semanticHighlighting is shown for the languages
that support it.
//  - true: Semantic highlighting enabled for all color themes.
//  - false: Semantic highlighting disabled for all color themes.
//  - configuredByTheme: Semantic highlighting is configured by the current
color theme's semanticHighlighting setting.
"editor.semanticHighlighting.enabled": "configuredByTheme",
// Overrides editor semantic token color and styles from the currently
selected color theme.
"editor.semanticTokenColorCustomizations": {},
// Controls strikethrough deprecated variables.
"editor.showDeprecated": true,
// Controls when the folding controls on the gutter are shown.
//  - always: Always show the folding controls.
//  - mouseover: Only show the folding controls when the mouse is over the
gutter.
"editor.showFoldingControls": "mouseover",
// Controls fading out of unused code.
"editor.showUnused": true,
// Whether leading and trailing whitespace should always be selected.
"editor.smartSelect.selectLeadingAndTrailingWhitespace": true,
// Controls whether the editor will scroll using an animation.
"editor.smoothScrolling": false,
// Controls whether snippets are shown with other suggestions and how they
are sorted.
//  - top: Show snippet suggestions on top of other suggestions.
//  - bottom: Show snippet suggestions below other suggestions.
//  - inline: Show snippets suggestions with other suggestions.
//  - none: Do not show snippet suggestions.
"editor.snippetSuggestions": "inline",
// Keep peek editors open even when double clicking their content or when
hitting Escape.
"editor.stablePeek": false,
// Emulate selection behavior of tab characters when using spaces for
indentation. Selection will stick to tab stops.
"editor.stickyTabStops": false,
// This setting is deprecated, please use separate settings like
'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.
//
"editor.suggest.filteredTypes": {},
// Controls whether filtering and sorting suggestions accounts for small
typos.
"editor.suggest.filterGraceful": true,
// Controls whether words are overwritten when accepting completions. Note
that this depends on extensions opting into this feature.
//  - insert: Insert suggestion without overwriting text right of the
cursor.
//  - replace: Insert suggestion and overwrite text right of the cursor.
"editor.suggest.insertMode": "insert",
// Controls whether sorting favors words that appear close to the cursor.
"editor.suggest.localityBonus": false,
// This setting is deprecated. The suggest widget can now be resized.
//
"editor.suggest.maxVisibleSuggestions": 0,
// Controls whether to preview the suggestion outcome in the editor.
"editor.suggest.preview": false,
// Controls whether remembered suggestion selections are shared between
multiple workspaces and windows (needs editor.suggestSelection).
"editor.suggest.shareSuggestSelections": false,
// When enabled IntelliSense shows class-suggestions.
"editor.suggest.showClasses": true,
// When enabled IntelliSense shows color-suggestions.
"editor.suggest.showColors": true,
// When enabled IntelliSense shows constant-suggestions.
"editor.suggest.showConstants": true,
// When enabled IntelliSense shows constructor-suggestions.
"editor.suggest.showConstructors": true,
// When enabled IntelliSense shows customcolor-suggestions.
"editor.suggest.showCustomcolors": true,
// When enabled IntelliSense shows deprecated-suggestions.
"editor.suggest.showDeprecated": true,
// When enabled IntelliSense shows enumMember-suggestions.
"editor.suggest.showEnumMembers": true,
// When enabled IntelliSense shows enum-suggestions.
"editor.suggest.showEnums": true,
// When enabled IntelliSense shows event-suggestions.
"editor.suggest.showEvents": true,
// When enabled IntelliSense shows field-suggestions.
"editor.suggest.showFields": true,
// When enabled IntelliSense shows file-suggestions.
"editor.suggest.showFiles": true,
// When enabled IntelliSense shows folder-suggestions.
"editor.suggest.showFolders": true,
// When enabled IntelliSense shows function-suggestions.
"editor.suggest.showFunctions": true,
// Controls whether to show or hide icons in suggestions.
"editor.suggest.showIcons": true,
// Controls whether suggest details show inline with the label or only in
the details widget
"editor.suggest.showInlineDetails": true,
// When enabled IntelliSense shows interface-suggestions.
"editor.suggest.showInterfaces": true,
// When enabled IntelliSense shows issues-suggestions.
"editor.suggest.showIssues": true,
// When enabled IntelliSense shows keyword-suggestions.
"editor.suggest.showKeywords": true,
// When enabled IntelliSense shows method-suggestions.
"editor.suggest.showMethods": true,
// When enabled IntelliSense shows module-suggestions.
"editor.suggest.showModules": true,
// When enabled IntelliSense shows operator-suggestions.
"editor.suggest.showOperators": true,
// When enabled IntelliSense shows property-suggestions.
"editor.suggest.showProperties": true,
// When enabled IntelliSense shows reference-suggestions.
"editor.suggest.showReferences": true,
// When enabled IntelliSense shows snippet-suggestions.
"editor.suggest.showSnippets": true,
// Controls the visibility of the status bar at the bottom of the suggest
widget.
"editor.suggest.showStatusBar": false,
// When enabled IntelliSense shows struct-suggestions.
"editor.suggest.showStructs": true,
// When enabled IntelliSense shows typeParameter-suggestions.
"editor.suggest.showTypeParameters": true,
// When enabled IntelliSense shows unit-suggestions.
"editor.suggest.showUnits": true,
// When enabled IntelliSense shows user-suggestions.
"editor.suggest.showUsers": true,
// When enabled IntelliSense shows value-suggestions.
"editor.suggest.showValues": true,
// When enabled IntelliSense shows variable-suggestions.
"editor.suggest.showVariables": true,
// When enabled IntelliSense shows text-suggestions.
"editor.suggest.showWords": true,
// Controls whether an active snippet prevents quick suggestions.
"editor.suggest.snippetsPreventQuickSuggestions": true,
// Font size for the suggest widget. When set to 0, the value of
editor.fontSize is used.
"editor.suggestFontSize": 0,
// Line height for the suggest widget. When set to 0, the value of
editor.lineHeight is used. The minimum value is 8.
"editor.suggestLineHeight": 0,
// Controls whether suggestions should automatically show up when typing
trigger characters.
"editor.suggestOnTriggerCharacters": true,
// Controls how suggestions are pre-selected when showing the suggest list.
//  - first: Always select the first suggestion.
//  - recentlyUsed: Select recent suggestions unless further typing selects
one, e.g. console.| -> console.log because log has been completed
recently.
//  - recentlyUsedByPrefix: Select suggestions based on previous prefixes
that have completed those suggestions, e.g. co -> console and con -> const.
"editor.suggestSelection": "first",
// Enables tab completions.
//  - on: Tab complete will insert the best matching suggestion when
pressing tab.
//  - off: Disable tab completions.
//  - onlySnippets: Tab complete snippets when their prefix match. Works
best when 'quickSuggestions' aren't enabled.
"editor.tabCompletion": "off",
// The number of spaces a tab is equal to. This setting is overridden based
on the file contents when editor.detectIndentation is on.
"editor.tabSize": 4,
// Overrides editor syntax colors and font style from the currently
selected color theme.
"editor.tokenColorCustomizations": {},
// Remove trailing auto inserted whitespace.
"editor.trimAutoWhitespace": true,
// Controls whether clicking on the empty content after a folded line will
unfold the line.
"editor.unfoldOnClickAfterEndOfLine": false,
// Defines allowed characters that are not being highlighted.
"editor.unicodeHighlight.allowedCharacters": {},
// Unicode characters that are common in allowed locales are not being
highlighted.
"editor.unicodeHighlight.allowedLocales": {
"_os": true,
"_vscode": true
},
// Controls whether characters are highlighted that can be confused with
basic ASCII characters, except those that are common in the current user
locale.
"editor.unicodeHighlight.ambiguousCharacters": true,
// Controls whether characters in comments should also be subject to
unicode highlighting.
"editor.unicodeHighlight.includeComments": "inUntrustedWorkspace",
// Controls whether characters in strings should also be subject to unicode
highlighting.
"editor.unicodeHighlight.includeStrings": true,
// Controls whether characters that just reserve space or have no width at
all are highlighted.
"editor.unicodeHighlight.invisibleCharacters": true,
// Controls whether all non-basic ASCII characters are highlighted. Only
characters between U+0020 and U+007E, tab, line-feed and carriage-return
are considered basic ASCII.
"editor.unicodeHighlight.nonBasicASCII": "inUntrustedWorkspace",
// Remove unusual line terminators that might cause problems.
//  - auto: Unusual line terminators are automatically removed.
//  - off: Unusual line terminators are ignored.
//  - prompt: Unusual line terminators prompt to be removed.
"editor.unusualLineTerminators": "prompt",
// Inserting and deleting whitespace follows tab stops.
"editor.useTabStops": true,
// Controls whether completions should be computed based on words in the
document.
"editor.wordBasedSuggestions": true,
// Controls from which documents word based completions are computed.
//  - currentDocument: Only suggest words from the active document.
//  - matchingDocuments: Suggest words from all open documents of the same
language.
//  - allDocuments: Suggest words from all open documents.
"editor.wordBasedSuggestionsMode": "matchingDocuments",
// Characters that will be used as word separators when doing word related
navigations or operations.
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\|;:'",.<>/?",
// Controls how lines should wrap.
//  - off: Lines will never wrap.
//  - on: Lines will wrap at the viewport width.
//  - wordWrapColumn: Lines will wrap at editor.wordWrapColumn.
//  - bounded: Lines will wrap at the minimum of viewport and
editor.wordWrapColumn.
"editor.wordWrap": "off",
// Controls the wrapping column of the editor when editor.wordWrap is
wordWrapColumn or bounded.
"editor.wordWrapColumn": 80,
// Controls the indentation of wrapped lines.
//  - none: No indentation. Wrapped lines begin at column 1.
//  - same: Wrapped lines get the same indentation as the parent.
//  - indent: Wrapped lines get +1 indentation toward the parent.
//  - deepIndent: Wrapped lines get +2 indentation toward the parent.
"editor.wrappingIndent": "same",
// Controls the algorithm that computes wrapping points.
//  - simple: Assumes that all characters are of the same width. This is a
fast algorithm that works correctly for monospace fonts and certain scripts
(like Latin characters) where glyphs are of equal width.
//  - advanced: Delegates wrapping points computation to the browser. This
is a slow algorithm, that might cause freezes for large files, but it works
correctly in all cases.
"editor.wrappingStrategy": "simple",
// Controls whether inline actions are always visible in the Source Control
view.
"scm.alwaysShowActions": false,
// Controls whether repositories should always be visible in the Source
Control view.
"scm.alwaysShowRepositories": false,
// Controls whether the Source Control view should automatically reveal and
select files when opening them.
"scm.autoReveal": true,
// Controls the count badge on the Source Control icon on the Activity Bar.
//  - all: Show the sum of all Source Control Provider count badges.
//  - focused: Show the count badge of the focused Source Control Provider.
//  - off: Disable the Source Control count badge.
"scm.countBadge": "all",
// Controls the default Source Control repository view mode.
//  - tree: Show the repository changes as a tree.
//  - list: Show the repository changes as a list.
"scm.defaultViewMode": "list",
// Controls the default Source Control repository changes sort order when
viewed as a list.
//  - name: Sort the repository changes by file name.
//  - path: Sort the repository changes by path.
//  - status: Sort the repository changes by Source Control status.
"scm.defaultViewSortKey": "path",
// Controls diff decorations in the editor.
//  - all: Show the diff decorations in all available locations.
//  - gutter: Show the diff decorations only in the editor gutter.
//  - overview: Show the diff decorations only in the overview ruler.
//  - minimap: Show the diff decorations only in the minimap.
//  - none: Do not show the diff decorations.
"scm.diffDecorations": "all",
// Controls the behavior of Source Control diff gutter decorations.
//  - diff: Show the inline diff peek view on click.
//  - none: Do nothing.
"scm.diffDecorationsGutterAction": "diff",
// Controls whether a pattern is used for the diff decorations in gutter.
"scm.diffDecorationsGutterPattern": {
"added": false,
"modified": true
},
// Controls the visibility of the Source Control diff decorator in the
gutter.
//  - always: Show the diff decorator in the gutter at all times.
//  - hover: Show the diff decorator in the gutter only on hover.
"scm.diffDecorationsGutterVisibility": "always",
// Controls the width(px) of diff decorations in gutter (added & modified).
"scm.diffDecorationsGutterWidth": 3,
// Controls whether leading and trailing whitespace is ignored in Source
Control diff gutter decorations.
//  - true: Ignore leading and trailing whitespace.
//  - false: Do not ignore leading and trailing whitespace.
//  - inherit: Inherit from diffEditor.ignoreTrimWhitespace.
"scm.diffDecorationsIgnoreTrimWhitespace": "false",
// Controls the font for the input message. Use default for the workbench
user interface font family, editor for the editor.fontFamily's value,
or a custom font family.
"scm.inputFontFamily": "default",
// Controls the font size for the input message in pixels.
"scm.inputFontSize": 13,
// Controls the count badges on Source Control Provider headers. These
headers only appear when there is more than one provider.
//  - hidden: Hide Source Control Provider count badges.
//  - auto: Only show count badge for Source Control Provider when non-zero.
//  - visible: Show Source Control Provider count badges.
"scm.providerCountBadge": "hidden",
// Controls the sort order of the repositories in the source control
repositories view.
//  - discovery time: Repositories in the Source Control Repositories view
are sorted by discovery time. Repositories in the Source Control view are
sorted in the order that they were selected.
//  - name: Repositories in the Source Control Repositories and Source
Control views are sorted by repository name.
//  - path: Repositories in the Source Control Repositories and Source
Control views are sorted by repository path.
"scm.repositories.sortOrder": "discovery time",
// Controls how many repositories are visible in the Source Control
Repositories section. Set to 0 to be able to manually resize the view.
"scm.repositories.visible": 10,
// Controls whether an action button can be shown in the Source Control
view.
"scm.showActionButton": true,
// Controls when the restricted mode banner is shown.
//  - always: Show the banner every time an untrusted workspace is open.
//  - untilDismissed: Show the banner when an untrusted workspace is opened
until dismissed.
//  - never: Do not show the banner when an untrusted workspace is open.
"security.workspace.trust.banner": "untilDismissed",
// Controls whether or not the empty window is trusted by default within VS
Code. When used with security.workspace.trust.untrustedFiles, you can
enable the full functionality of VS Code without prompting in an empty
window.
"security.workspace.trust.emptyWindow": true,
// Controls whether or not workspace trust is enabled within VS Code.
"security.workspace.trust.enabled": true,
// Controls when the startup prompt to trust a workspace is shown.
//  - always: Ask for trust every time an untrusted workspace is opened.
//  - once: Ask for trust the first time an untrusted workspace is opened.
//  - never: Do not ask for trust when an untrusted workspace is opened.
"security.workspace.trust.startupPrompt": "once",
// Controls how to handle opening untrusted files in a trusted workspace.
This setting also applies to opening files in an empty window which is
trusted via security.workspace.trust.emptyWindow.
//  - prompt: Ask how to handle untrusted files for each workspace. Once
untrusted files are introduced to a trusted workspace, you will not be
prompted again.
//  - open: Always allow untrusted files to be introduced to a trusted
workspace without prompting.
//  - newWindow: Always open untrusted files in a separate window in
restricted mode without prompting.
"security.workspace.trust.untrustedFiles": "prompt",
// Controls the behavior of clicking an activity bar icon in the workbench.
//  - toggle: Hide the side bar if the clicked item is already visible.
//  - focus: Focus side bar if the clicked item is already visible.
"workbench.activityBar.iconClickBehavior": "toggle",
// Controls the visibility of the activity bar in the workbench.
"workbench.activityBar.visible": true,
// Overrides colors from the currently selected color theme.
"workbench.colorCustomizations": {},
// Specifies the color theme used in the workbench.
"workbench.colorTheme": "Default Dark+",
// Controls the number of recently used commands to keep in history for the
command palette. Set to 0 to disable command history.
"workbench.commandPalette.history": 50,
// Controls whether the last typed input to the command palette should be
restored when opening it the next time.
"workbench.commandPalette.preserveInput": false,
// If an editor matching one of the listed types is opened as the first in
an editor group and more than one group is open, the group is automatically
locked. Locked groups will only be used for opening editors when explicitly
chosen by user gesture (e.g. drag and drop), but not by default.
Consequently the active editor in a locked group is less likely to be
replaced accidentally with a different editor.
"workbench.editor.autoLockGroups": {
"default": false,
"workbench.input.interactive": false,
"interactive": false,
"workbench.editorinputs.searchEditorInput": false,
"imagePreview.previewEditor": false,
"vscode.markdown.preview.editor": false,
"jsProfileVisualizer.cpuprofile.table": false,
"jsProfileVisualizer.heapprofile.table": false,
"terminalEditor": true,
"jupyter-notebook": false,
"ibmi-notebook": false,
"mainThreadWebview-markdown.preview": false
},
// Controls if the centered layout should automatically resize to maximum
width when more than one group is open. Once only one group is open it will
resize back to the original centered width.
"workbench.editor.centeredLayoutAutoResize": true,
// Controls the behavior of empty editor groups when the last tab in the
group is closed. When enabled, empty groups will automatically close. When
disabled, empty groups will remain part of the grid.
"workbench.editor.closeEmptyGroups": true,
// Controls whether editors showing a file that was opened during the
session should close automatically when getting deleted or renamed by some
other process. Disabling this will keep the editor open  on such an event.
Note that deleting from within the application will always close the editor
and that editors with unsaved changes will never close to preserve your
data.
"workbench.editor.closeOnFileDelete": false,
// Controls whether editor file decorations should use badges.
"workbench.editor.decorations.badges": true,
// Controls whether editor file decorations should use colors.
"workbench.editor.decorations.colors": true,
// The default editor for files detected as binary. If undefined the user
will be presented with a picker.
"workbench.editor.defaultBinaryEditor": "",
// Controls whether opened editors show as preview editors. Preview editors
do not stay open, are reused until explicitly set to be kept open (e.g. via
double click or editing), and show file names in italics.
"workbench.editor.enablePreview": true,
// Controls whether editors remain in preview when a code navigation is
started from them. Preview editors do not stay open, and are reused until
explicitly set to be kept open (e.g. via double click or editing). This
value is ignored when workbench.editor.enablePreview is disabled.
"workbench.editor.enablePreviewFromCodeNavigation": false,
// Controls whether editors opened from Quick Open show as preview editors.
Preview editors do not stay open, and are reused until explicitly set to be
kept open (e.g. via double click or editing). This value is ignored when
workbench.editor.enablePreview is disabled.
"workbench.editor.enablePreviewFromQuickOpen": false,
// Controls whether tabs are closed in most recently used order or from
left to right.
"workbench.editor.focusRecentEditorAfterClose": true,
// Controls whether a top border is drawn on tabs for editors that have
unsaved changes. This value is ignored when workbench.editor.showTabs is
disabled.
"workbench.editor.highlightModifiedTabs": false,
// Enables use of editor history in language detection. This causes
automatic language detection to favor languages that have been recently
opened and allows for automatic language detection to operate with smaller
inputs.
"workbench.editor.historyBasedLanguageDetection": true,
// Controls the format of the label for an editor.
//  - default: Show the name of the file. When tabs are enabled and two
files have the same name in one group the distinguishing sections of each
file's path are added. When tabs are disabled, the path relative to the
workspace folder is shown if the editor is active.
//  - short: Show the name of the file followed by its directory name.
//  - medium: Show the name of the file followed by its path relative to
the workspace folder.
//  - long: Show the name of the file followed by its absolute path.
"workbench.editor.labelFormat": "default",
// Controls whether the language in a text editor is automatically detected
unless the language has been explicitly set by the language picker. This
can also be scoped by language so you can specify which languages you do
not want to be switched off of. This is useful for languages like Markdown
that often contain other languages that might trick language detection into
thinking it's the embedded language and not Markdown.
"workbench.editor.languageDetection": true,
// When enabled, shows a status bar quick fix when the editor language
doesn't match detected content language.
"workbench.editor.languageDetectionHints": {
"untitledEditors": true,
"notebookEditors": true
},
// Controls if the number of opened editors should be limited or not. When
enabled, less recently used editors will close to make space for newly
opening editors.
"workbench.editor.limit.enabled": false,
// Controls if the maximum number of opened editors should exclude dirty
editors for counting towards the configured limit.
"workbench.editor.limit.excludeDirty": false,
// Controls if the limit of maximum opened editors should apply per editor
group or across all editor groups.
"workbench.editor.limit.perEditorGroup": false,
// Controls the maximum number of opened editors. Use the
workbench.editor.limit.perEditorGroup setting to control this limit per
editor group or across all groups.
"workbench.editor.limit.value": 10,
// Enables the use of mouse buttons four and five for commands 'Go Back'
and 'Go Forward'.
"workbench.editor.mouseBackForwardToNavigate": true,
// Controls the scope of history navigation in editors for commands such as
'Go Back' and 'Go Forward'.
//  - default: Navigate across all opened editors and editor groups.
//  - editorGroup: Navigate only in editors of the active editor group.
//  - editor: Navigate only in the active editor.
"workbench.editor.navigationScope": "default",
// Controls where editors open. Select left or right to open editors to
the left or right of the currently active one. Select first or last to
open editors independently from the currently active one.
"workbench.editor.openPositioning": "right",
// Controls the default direction of editors that are opened side by side
(for example, from the Explorer). By default, editors will open on the
right hand side of the currently active one. If changed to down, the
editors will open below the currently active one.
"workbench.editor.openSideBySideDirection": "right",
// Controls the sizing of pinned editor tabs. Pinned tabs are sorted to the
beginning of all opened tabs and typically do not close until unpinned.
This value is ignored when workbench.editor.showTabs is disabled.
//  - normal: A pinned tab inherits the look of non pinned tabs.
//  - compact: A pinned tab will show in a compact form with only icon or
first letter of the editor name.
//  - shrink: A pinned tab shrinks to a compact fixed size showing parts of
the editor name.
"workbench.editor.pinnedTabSizing": "normal",
// When enabled, a language detection model that takes into account editor
history will be given higher precedence.
"workbench.editor.preferHistoryBasedLanguageDetection": false,
// Restores the last editor view state (e.g. scroll position) when
re-opening editors after they have been closed. Editor view state is stored
per editor group and discarded when a group closes. Use the
workbench.editor.sharedViewState setting to use the last known view state
across all editor groups in case no previous view state was found for a
editor group.
"workbench.editor.restoreViewState": true,
// Controls whether an editor is revealed in any of the visible groups if
opened. If disabled, an editor will prefer to open in the currently active
editor group. If enabled, an already opened editor will be revealed instead
of opened again in the currently active editor group. Note that there are
some cases where this setting is ignored, e.g. when forcing an editor to
open in a specific group or to the side of the currently active group.
"workbench.editor.revealIfOpen": false,
// Controls whether scrolling over tabs will open them or not. By default
tabs will only reveal upon scrolling, but not open. You can press and hold
the Shift-key while scrolling to change this behavior for that duration.
This value is ignored when workbench.editor.showTabs is disabled.
"workbench.editor.scrollToSwitchTabs": false,
// Preserves the most recent editor view state (e.g. scroll position)
across all editor groups and restores that if no specific editor view state
is found for the editor group.
"workbench.editor.sharedViewState": false,
// Controls whether opened editors should show with an icon or not. This
requires a file icon theme to be enabled as well.
"workbench.editor.showIcons": true,
// Controls whether opened editors should show in tabs or not.
"workbench.editor.showTabs": true,
// Controls the layout for when an editor is split in an editor group to be
either vertical or horizontal.
//  - vertical: Editors are positioned from top to bottom.
//  - horizontal: Editors are positioned from left to right.
"workbench.editor.splitInGroupLayout": "horizontal",
// Controls if editor groups can be split from drag and drop operations by
dropping an editor or file on the edges of the editor area.
"workbench.editor.splitOnDragAndDrop": true,
// Controls the sizing of editor groups when splitting them.
//  - distribute: Splits all the editor groups to equal parts.
//  - split: Splits the active editor group to equal parts.
"workbench.editor.splitSizing": "distribute",
// Controls the position of the editor's tabs close buttons, or disables
them when set to 'off'. This value is ignored when
workbench.editor.showTabs is disabled.
"workbench.editor.tabCloseButton": "right",
// Controls the sizing of editor tabs. This value is ignored when
workbench.editor.showTabs is disabled.
//  - fit: Always keep tabs large enough to show the full editor label.
//  - shrink: Allow tabs to get smaller when the available space is not
enough to show all tabs at once.
"workbench.editor.tabSizing": "fit",
// Controls the height of the scrollbars used for tabs and breadcrumbs in
the editor title area.
//  - default: The default size.
//  - large: Increases the size, so it can be grabbed more easily with the
mouse.
"workbench.editor.titleScrollbarSizing": "default",
// Controls if the untitled text hint should be visible in the editor.
"workbench.editor.untitled.hint": "text",
// Controls the format of the label for an untitled editor.
//  - content: The name of the untitled file is derived from the contents
of its first line unless it has an associated file path. It will fallback
to the name in case the line is empty or contains no word characters.
//  - name: The name of the untitled file is not derived from the contents
of the file.
"workbench.editor.untitled.labelFormat": "name",
// Controls whether tabs should be wrapped over multiple lines when
exceeding available space or whether a scrollbar should appear instead.
This value is ignored when workbench.editor.showTabs is disabled.
"workbench.editor.wrapTabs": false,
// Configure glob patterns to editors (e.g. "*.hex": "hexEditor.hexEdit"). These have precedence over the default behavior.
"workbench.editorAssociations": {},
// Fetches experiments to run from a Microsoft online service.
"workbench.enableExperiments": true,
// Controls whether you can drag and drop a file into a text editor by
holding down shift (instead of opening the file in an editor).
"workbench.experimental.editor.dropIntoEditor.enabled": true,
// Controls whether to display cloud-enabled actions to store and resume
uncommitted changes when switching between web, desktop, or devices.
"workbench.experimental.editSessions.enabled": false,
// This setting has been deprecated in favor of
workbench.layoutControl.enabled
// Controls whether the layout controls in the custom title bar is enabled
via window.titleBarStyle.
"workbench.experimental.layoutControl.enabled": false,
// This setting has been deprecated in favor of
workbench.layoutControl.type
// Controls whether the layout control in the custom title bar is displayed
as a single menu button or with multiple UI toggles.
//  - menu: Shows a single button with a dropdown of layout options.
//  - toggles: Shows several buttons for toggling the visibility of the
panels and side bar.
//  - both: Shows both the dropdown and toggle buttons.
"workbench.experimental.layoutControl.type": "both",
// Configure the opener to use for external URIs (http, https).
"workbench.externalUriOpeners": {},
// Controls the delay in milliseconds after which the hover is shown for
workbench items (ex. some extension provided tree view items). Already
visible items may require a refresh before reflecting this setting change.
"workbench.hover.delay": 500,
// Specifies the file icon theme used in the workbench or 'null' to not
show any file icons.
//  - null: No file icons
//  - vs-minimal
//  - vs-seti
"workbench.iconTheme": "vs-seti",
// Controls whether the layout controls in the custom title bar is enabled
via window.titleBarStyle.
"workbench.layoutControl.enabled": true,
// Controls whether the layout control in the custom title bar is displayed
as a single menu button or with multiple UI toggles.
//  - menu: Shows a single button with a dropdown of layout options.
//  - toggles: Shows several buttons for toggling the visibility of the
panels and side bar.
//  - both: Shows both the dropdown and toggle buttons.
"workbench.layoutControl.type": "both",
// Controls whether keyboard navigation in lists and trees is automatically
triggered simply by typing. If set to false, keyboard navigation is only
triggered when executing the list.toggleKeyboardNavigation command, for
which you can assign a keyboard shortcut.
"workbench.list.automaticKeyboardNavigation": true,
// Scrolling speed multiplier when pressing Alt.
"workbench.list.fastScrollSensitivity": 5,
// Controls whether lists and trees support horizontal scrolling in the
workbench. Warning: turning on this setting has a performance implication.
"workbench.list.horizontalScrolling": false,
// Controls the keyboard navigation style for lists and trees in the
workbench. Can be simple, highlight and filter.
//  - simple: Simple keyboard navigation focuses elements which match the
keyboard input. Matching is done only on prefixes.
//  - highlight: Highlight keyboard navigation highlights elements which
match the keyboard input. Further up and down navigation will traverse only
the highlighted elements.
//  - filter: Filter keyboard navigation will filter out and hide all the
elements which do not match the keyboard input.
"workbench.list.keyboardNavigation": "highlight",
// A multiplier to be used on the deltaX and deltaY of mouse wheel
scroll events.
"workbench.list.mouseWheelScrollSensitivity": 1,
// The modifier to be used to add an item in trees and lists to a
multi-selection with the mouse (for example in the explorer, open editors
and scm view). The 'Open to Side' mouse gestures - if supported - will
adapt such that they do not conflict with the multiselect modifier.
//  - ctrlCmd: Maps to Control on Windows and Linux and to Command on
macOS.
//  - alt: Maps to Alt on Windows and Linux and to Option on macOS.
"workbench.list.multiSelectModifier": "ctrlCmd",
// Controls how to open items in trees and lists using the mouse (if
supported). Note that some trees and lists might choose to ignore this
setting if it is not applicable.
"workbench.list.openMode": "singleClick",
// Controls whether lists and trees have smooth scrolling.
"workbench.list.smoothScrolling": false,
// Controls whether local file history is enabled. When enabled, the file
contents of an editor that is saved will be stored to a backup location to
be able to restore or review the contents later. Changing this setting has
no effect on existing local file history entries.
"workbench.localHistory.enabled": true,
// Configure glob patterns
for excluding files from the local file history. Changing this setting has
no effect on existing local file history entries.
"workbench.localHistory.exclude": {},
// Controls the maximum number of local file history entries per file. When
the number of local file history entries exceeds this number for a file,
the oldest entries will be discarded.
"workbench.localHistory.maxFileEntries": 50,
// Controls the maximum size of a file (in KB) to be considered for local
file history. Files that are larger will not be added to the local file
history. Changing this setting has no effect on existing local file history
entries.
"workbench.localHistory.maxFileSize": 256,
// Configure an interval in seconds during which the last entry in local
file history is replaced with the entry that is being added. This helps
reduce the overall number of entries that are added, for example when auto
save is enabled. This setting is only applied to entries that have the same
source of origin. Changing this setting has no effect on existing local
file history entries.
"workbench.localHistory.mergeWindow": 10,
// Controls the default location of the panel (terminal, debug console,
output, problems) in a new workspace. It can either show at the bottom,
right, or left of the editor area.
"workbench.panel.defaultLocation": "bottom",
// Controls whether the panel opens maximized. It can either always open
maximized, never open maximized, or open to the last state it was in before
being closed.
//  - always: Always maximize the panel when opening it.
//  - never: Never maximize the panel when opening it. The panel will open
un-maximized.
//  - preserve: Open the panel to the state that it was in, before it was
closed.
"workbench.panel.opensMaximized": "preserve",
// Specifies the preferred color theme for dark OS appearance when
window.autoDetectColorScheme is enabled.
"workbench.preferredDarkColorTheme": "Default Dark+",
// Specifies the preferred color theme used in high contrast dark mode when
window.autoDetectHighContrast is enabled.
"workbench.preferredHighC

@rogersonra Well something is wrong. I am not seeing any connection configuration. May I suggest you attempt to delete your existing connection and create a new one?

@rogersonra not a darts player! Unless I'm at a brewery or something :)


İts Not working on necrobot 8.5

When i start the visulazer just saying connecting bot all the time whats wrong ??

did you enable web socket in config?

I im did not.  Is it need That ?

it is needed, yes.
in the config file it is something lije "usewebsocket: true"

Oh thanx i wil do that.And ill try


Feature request: allow user to pass axis in to plot_observed_survival

Currently user can pass an axis argument to plot_pp_survival, but not plot_observed_survival. There are cases where it would be useful (e.g. in a panel figure) to pass in the axis argument to plot_observed_survival.

This can be done already using the axes param.  The **kwargs pass through to plt.plot(.
Just needs to be documented better ..


Add usim

Institution/School Name
Universiti Sains Islam Malaysia
Instiution/School Website
https://usim.edu.my
Computer Science Program
http://fst.usim.edu.my/program-structures/bachelor-of-computer-science-hons-information-security-and-assurance/
Email Users
Please place an x between the square brackets if yes

[ ] Students
[x ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[x ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

@anvarnarz I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


Extensibility: Add Feature from SSMS Hold ATL + Click and Drag Cursor

SQL Operations Studio Version: 0.30.6
Add in the SSMS feature where when you hold the ALT button + click and drag in order to write multiple lines of code at the same time..

This is supported using Alt+Click. We have all the Visual Studio Code keybindings and mouse accelerators - see https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf for the Windows version, or https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference for all versions.
I've included a screenshot of the multi-cursor options below. Please reopen this if you find one that's missing, but up to now these seem to suffice.

Hi thanks,
I was wanting the ability to do Shift+Alt+(drag mouse) for multiple line edits. It looks like it's working on SQL Operation Studio just different hot keys than I am use to. On my current SSMS I just hold ALT+(drag mouse) and it does the same thing not sure why it's different because I never change any hot keys.  That's fine as long the feature is there then I am happy.
Here is a link I found so what I was talking about:
https://blogs.msdn.microsoft.com/sql_pfe_blog/2017/04/11/quick-tip-shiftalt-for-multiple-line-edits/


Documentation: SM2 keys can use only the SM2 curve

Fixes #14411
Checklist

[x] documentation is added or updated

Fixup pushed

This pull request is ready to merge

Merged to master. Thank you for the review.


Fix for #151 config validation on startup

Fix for #151, #172, fixing parts of #154
Configuration error handling and logging was broken in several ways.
The following fixes are included:

config.Validate is now called again during startup (related to #154)
"Streams" is now mandatory for consumers and producers
"Stream" is now mandatory for routers
fixed missing log messages during shutdown due to a missing purge
fixed coloring of log messages during startup due to setting the formatter to late
having no consumer/producers leads to shutdown
proper use of logrus.WithError wthin main package

TBD: Streams is actually a requirement made by core.SimpleProducer / core.SimpleConsumer. As of this I would normally check it in the Configure methods of these files but as this is a structural requirement I moved it to the coordinator.
Not quite sure if this is a good idea or not.

Coverage increased (+0.03%) to 65.537% when pulling 7e1ac5b8d4c6424e3e337a01177df43fe33a7d2e on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.

Coverage increased (+0.03%) to 65.537% when pulling 7e1ac5b8d4c6424e3e337a01177df43fe33a7d2e on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.

I decided to implement point 2 and 3 of my previous comment.
Still undecided about point 1.

Coverage decreased (-0.008%) to 65.495% when pulling a3fc82a2ddbe050078d197643343311d713fb5bf on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.

Coverage decreased (-0.008%) to 65.495% when pulling a3fc82a2ddbe050078d197643343311d713fb5bf on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.

Coverage decreased (-0.008%) to 65.495% when pulling dcaa4cff5a24618711393bc7b68f2981359f81fd on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.

Coverage decreased (-0.008%) to 65.495% when pulling 35f03abc25aae422e9309953a09d188a18e8d961 on fix/151_ConfigPanic into b94335b12512a87935dd1b8df1c672f980f7c746 on master.


"Siriu" is listed in the drop-down menu

Description:
"Siriu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Siriu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Siriu, BUZĂU".


Make IncludeUnknownXItems in Queue metric an option

Would be nice to set this as a configuration option, default can be turned off.
Envar: ENABLE_UNKNOWN_QUEUE_ITEMS="false"
Flag: --enable-unknown-queue-items

Done in
https://github.com/onedr0p/exportarr/commit/e78625926cb2e9eb61a1dddfc859d2800bded417


Suggestion - Controller Tooltips

It would be nice to have the controller tooltips from legacy
Made this video to show what it could look like for keyboard and mouse
https://github.com/Wilyicaro/Legacy-Minecraft/assets/119352011/781cdcb7-2f74-42e8-94af-f01369054f02

How did you get the hud to act like that? Is it a separate mod or am I missing something?

How have I not closed this issue yet? Thanks for suggesting and inspiring me to add this in version 1.5

How have I not closed this issue yet? Thanks for suggesting and inspiring me to add this in version 1.5

no problem, i'm really liking how this mod is turning out


feat: Add AddGroup.FG -> Module.Finite ℤ as instances

!bench

Maybe change the priority a bit and see if it makes the slowdown better ...


get_moe_group 's return is None, when building class MOELayer(Base) , using one gpu

Hi,
I want to replace Transformer Encoder with X-MoE Encoder. Below is my configuration:
config = EncoderConfig(
      encoder_embed_dim = 500,
      encoder_layers = 4,
      use_xmoe = True,
      moe_freq = 1,
      moe_top1_expert = True,
      moe_expert_count = 10
  )
  module = Encoder(config)

I faced the below Error:

It is because that dist.is_initialized() = None

Thanks for your help~

Please try using fairseq to setup the distributed environment (even with 1 GPU) for MoE stuff:
https://github.com/shumingma/fairseq/blob/moe/fairseq/distributed/utils.py#L246

Please try using fairseq to setup the distributed environment (even with 1 GPU) for MoE stuff: https://github.com/shumingma/fairseq/blob/moe/fairseq/distributed/utils.py#L246

I have apply pytorch-lightning for my distributed training. Is them conflict?

Please try using fairseq to setup the distributed environment (even with 1 GPU) for MoE stuff: https://github.com/shumingma/fairseq/blob/moe/fairseq/distributed/utils.py#L246

I have apply pytorch-lightning for my distributed training. Is them conflict?

TBH, I'm not familiar with pytorch-ligntning. However, besides the modeling, MoE needs additional efforts on the training backend, so there may be some conflicts here.

okk, thanks for your help~


"Recording: Set filename" allows illegal file characters

The "Recording: Set filename" field will allow characters such as colon (":"), even though the Atem will not allow recording to start with that specified in a file name (but the atem will accept the filename into the field). It would be nice if it threw an error when attempting to use illegal characters in this field.

It should be pretty simple to apply a filter to the input field to limit what characters are allowed to be used. Just need to figure out what characters should not be allowed

There is a list of characters not allowed under exfat. For example, Filename - Wikipediahttps://en.wikipedia.org/wiki/Filename#:~:text=Comparison of filename limitations    System,8 %2B 8  13 more rows
From: Julian Waller @.>
Sent: Saturday, October 30, 2021 5:56 AM
To: bitfocus/companion-module-bmd-atem @.>
Cc: Pat Richard @.>; Author @.>
Subject: Re: [bitfocus/companion-module-bmd-atem] "Recording: Set filename" allows illegal file characters (Issue #160)
It should be pretty simple to apply a filter to the input field to limit what characters are allowed to be used. Just need to figure out what characters should not be allowed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bitfocus/companion-module-bmd-atem/issues/160#issuecomment-955183339, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB5FZ5HJWZPAD5JGJ6LNVRDUJPFNBANCNFSM5G6TMN3Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[KafkaScaler] Scale beyond the number of partitions

Proposal
Add an option to disable the check that prevent KafkaScaler to scale beyond the number of partitions
Use-Case
When KEDA is used to scale CRDs, the number of replicas does not necessarily match the number of Kafka consumers. For instance, KEDA can we used to increase/decrease the throughput (msgs/sec). In this usecase it makes sense to have more replicas than partitions.

Fine by me!
@tomkerkhove wdyt?

Fine by me.

Tom Kerkhove

From: Zbynek Roubalik @.>
Sent: Monday, March 22, 2021 10:01:01 AM
To: kedacore/keda @.>
Cc: Tom Kerkhove @.>; Mention @.>
Subject: Re: [kedacore/keda] [KafkaScaler] Scale beyond the number of partitions (#1683)
Fine by me!
@tomkerkhovehttps://github.com/tomkerkhove wdyt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kedacore/keda/issues/1683#issuecomment-803888998, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABBE6P7YHTE7OGFK3EQSMMLTE4BM3ANCNFSM4ZLF2MIQ.


[Outlook] (preview) Add EnhancedLocationsChanged event

OPS Build status updates of commit 14df109:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 14df109:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 14df109:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/objectmodel/preview-requirement-set/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/preview-requirement-set/office.md
:white_check_mark:Succeeded

docs/reference/objectmodel/preview-requirement-set/outlook-requirement-set-preview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 14df109:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/objectmodel/preview-requirement-set/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/preview-requirement-set/office.md
:white_check_mark:Succeeded

docs/reference/objectmodel/preview-requirement-set/outlook-requirement-set-preview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Netrics users exceeding data cap

Description: Netrics is most likely causing, "You’ve used 75% of your data this month", where "75%" can be higher.
Goal: design a test schedule (cron) to reduce the amount of transferred data while keeping a representative number of data points.

downgrading to /4 or /6 or custom hours.
Jamie:
ideally, we would either
attempt every hour, but have it proceed on a randomly defined fraction of the time, where the fraction would depend on total bandwidth, or
run a speedtest at install, and determine the frequency then.

--limit-consumption seems to be working. Closing this one.


ActionView::Template::Error in Communication::Website::IndirectObject::SyncWithGitJob@elephant

Error in Osuny
ActionView::Template::Error in Communication::Website::IndirectObject::SyncWithGitJob@elephant
undefined method `upcase' for nil
View on Bugsnag
Stacktrace
app/services/osuny/address_formatter.rb:67 - to_html
app/services/osuny/address_formatter.rb:44 - to_s
app/views/admin/application/contact_details/static/_postal_address.html.erb:34 - _app_views_admin_application_contact_details_static__postal_address_html_erb___1737444748573741999_220140
app/views/admin/application/contact_details/_static.html.erb:9 - block in _app_views_admin_application_contact_details__static_html_erb___170406538401469778_221140
app/views/admin/application/contact_details/_static.html.erb:8 - each
app/views/admin/application/contact_details/_static.html.erb:8 - _app_views_admin_application_contact_details__static_html_erb___170406538401469778_221140
app/views/admin/university/people/static.html.erb:46 - block in _app_views_admin_university_people_static_html_erb__1442838250892447251_220960
app/views/admin/university/people/static.html.erb:8 - _app_views_admin_university_people_static_html_erb__1442838250892447251_220960
app/services/static.rb:30 - render
app/models/communication/website/git_file.rb:66 - to_s
app/services/git/analyzer.rb:49 - computed_sha
app/services/git/analyzer.rb:24 - should_update?
app/services/git/repository.rb:89 - block in sync_git_files
app/services/git/repository.rb:84 - each
app/services/git/repository.rb:84 - sync_git_files
app/services/git/repository.rb:26 - sync!
app/models/communication/website/with_git_repository.rb:42 - sync_indirect_object_with_git
app/jobs/communication/website/indirect_object/sync_with_git_job.rb:4 - execute
app/jobs/communication/website/base_job.rb:29 - perform

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
ActionView::Template::Error in Communication::Website::IndirectObject::SyncWithGitJob@elephant


Couldn't login to the user after creating the user in the console

Describe the issue:
After creating the tenant when we add the user using the admin user of the tenant, couldn't log in using the created user.
Creating the user using the management console for that tenant could be able to login using the console.
How to reproduce:

Go to the console. https://localhost:9443/console login using the tenant admin
Go to Manage-> Users -> New user and create a new user with the admin role
Logout the tenant admin user and try to login using the newly created user

Expected behaviour:
The user should be able to log in
Environment information
Product Version: IS 5.11.0-Beta2
OS: Linux
Database: Postgres
User store: JDBC

Optional Fields
Suggested labels:
bug

Happens in the H2 as well


Fix ExistentialSpecializer: Recursive function specialization

This PR fixes a bug in ExistentialSpecializer where a recursive function when specialized crashed the compiler. I have attached a test case with the PR.

@atrick please run tests. I have addressed all your concerns.

@swift-ci test.

@rajbarik is the "Stable with ES in open source" commit supposed to be in this PR. I don't remember reviewing that.

Build failed
Swift Test Linux Platform
Git Sha - 70ac1b2fb8aae27dcb9ed96c7a1b11f21461d61e

Build failed
Swift Test OS X Platform
Git Sha - 70ac1b2fb8aae27dcb9ed96c7a1b11f21461d61e

@rajbarik is the "Stable with ES in open source" commit supposed to be in this PR. I don't remember reviewing that.

Some git mess. Let me fix this.

@atrick fixed.

@atrick please run tests here again. Thanks.

@swift-ci test.

@atrick any idea why this is not reporting anything for last 3 days?

Build failed
Swift Test Linux Platform
Git Sha - 6d9f5327bf1ff4a49dfb3d2b93b431c255771e72

@atrick please advise. I do not any logs for Swift Test Linux Platform.

@swift-ci test linux platform.


How can reuse a thred

I have to create worker and use it in a
SQLConnection. So the multiple worker solution is not good for me.
How can I use again a thread, when it's result event is dispatched?
If I trace the state of the thread in the event handler method, the result is: started

... in a SQLConnection ? can you please detailed for use case, thanks.

DatabaseControllerWorker.as
/**
 * Created by varadig on 1/30/16.
 */
package controller.database {
import com.doublefx.as3.thread.Thread;
import com.doublefx.as3.thread.api.IThread;
import com.doublefx.as3.thread.event.ThreadFaultEvent;
import com.doublefx.as3.thread.event.ThreadResultEvent;

import controller.database.base.BaseDatabaseController;
import controller.database.interfaces.IDatabaseController;
import controller.database.workers.DatabaseWorker;

import flash.filesystem.File;

import model.database.DatabaseFile;
import model.geolocation.route.CyclingRoute;
import model.geolocation.route.WalkingRoute;
import model.geolocation.route.base.BaseRoute;
import model.geolocation.route.interfaces.IRoute;

import starling.core.Starling;

public class DatabaseControllerWorker extends BaseDatabaseController implements IDatabaseController {

    private var thread:IThread;

    public function DatabaseControllerWorker() {
        super();
        this.initThreads();
    }

    private function initThreads():void {
        Thread.DEFAULT_LOADER_INFO = Starling.current.nativeStage.loaderInfo;
        this.thread = new Thread(DatabaseWorker, "databaseWorker", true, DatabaseWorker.DEPENDENCIES);
        this.thread.addEventListener(ThreadResultEvent.RESULT, thread_resultHandler);
        this.thread.addEventListener(ThreadFaultEvent.FAULT, thread_faultHandler);
    }

    private function thread_resultHandler(event:ThreadResultEvent):void {
        log('thread result: ' + event.result);
    }

    private function thread_faultHandler(event:ThreadFaultEvent):void {
        log('thread fault');
    }

    public function open(file:DatabaseFile):void {
        this.thread.start('open', DatabaseFile(file));
    }

    public function read():void {
        thread.start('read');
    }

    public function updateRoute(route:IRoute):void {
        if (!this.isOppened)
            return;

        var walkingDistance = (route is WalkingRoute) ? int(BaseRoute(route).distanceInMeter) : 0;
        var cyclingDistance = (route is CyclingRoute) ? int(BaseRoute(route).distanceInMeter) : 0;
        this.commitData(walkingDistance, cyclingDistance);

    }

    public function updateRoutes(routes:Vector.<IRoute>):void {
        if (!this.isOppened)
            return;

        var walkingDistance = 0;
        var cyclingDistance = 0;

        for each(var route:IRoute in routes) {
            if (route is WalkingRoute)
                walkingDistance += int(BaseRoute(route).distanceInMeter);
            if (route is CyclingRoute)
                cyclingDistance += int(BaseRoute(route).distanceInMeter);

        }
        this.commitData(walkingDistance, cyclingDistance);
    }

    public function commitData(walking:int, cycling:int):void {
        this.thread.start('update', walking, cycling, this.currentDay);
    }

    public function close():void {
        this.thread.start('close');
    }

    public function save(file:File):void {
    }
}
}

DatabaseWorker.as
/**
 * Created by varadig on 1/29/16.
 */
package controller.database.workers {
import com.doublefx.as3.thread.api.CrossThreadDispatcher;
import com.doublefx.as3.thread.api.Runnable;
import com.doublefx.as3.thread.event.ThreadActionRequestEvent;
import com.doublefx.as3.thread.event.ThreadActionResponseEvent;

import core.base.CoreBaseClass;

import flash.data.SQLConnection;
import flash.data.SQLStatement;
import flash.events.SQLEvent;

import model.database.DatabaseFile;
import model.database.SQL;

public class DatabaseWorker extends CoreBaseClass implements Runnable {

    /**
     * Mandatory declaration if you want your Worker be able to communicate.
     * This CrossThreadDispatcher is injected at runtime.
     */
    private var _dispatcher:CrossThreadDispatcher;

    private var connection:SQLConnection;
    public static const READ:String = 'database.worker.read';

    public static const UPDATE:String = 'database.worker.update';
    public static const DEPENDENCIES:Vector.<String> = Vector.<String>([
        "controller.database.*",
        'core.notification::CoreNotification',
        'core.base::CoreBaseClassFactory',
        'model.database.*',
        'model.settings.*',
        'model.geolocation.*',
        'flash.data.SQLResult',
        'com.probertson.*']);

    public function DatabaseWorker():void {
        super();
    }

    public function run(args:Array):void {

        var message:String = args[0];
        switch (message) {
            case 'open':
                this.open(args[1]);
                break;
            case 'read':
                this.read();
                break;
        }
        return;
    }

    private function open(file:DatabaseFile):void {
        this.connection = new SQLConnection();
        this.connection.open(file);
        dispatcher.dispatchResult('opened');
    }

    private function read():void {
        var readStatement:SQLStatement = new SQLStatement();
        readStatement.sqlConnection = this.connection;
        readStatement.text = SQL.getInstance().SELECT_ALL_DISTANCE;
        readStatement.addEventListener(SQLEvent.RESULT, function (event:SQLEvent) {
            dispatcher.dispatchResult('read');
        });
        readStatement.execute();

    }

    public function get dispatcher():CrossThreadDispatcher {
        return _dispatcher;
    }

    public function set dispatcher(value:CrossThreadDispatcher):void {
        _dispatcher = value;

        if (_dispatcher) {
            _dispatcher.addEventListener(ThreadActionRequestEvent.PAUSE_REQUESTED, dispatcher_pauseRequestedHandler);
            _dispatcher.addEventListener(ThreadActionRequestEvent.RESUME_REQUESTED, dispatcher_resumeRequestedHandler);
            _dispatcher.addEventListener(ThreadActionRequestEvent.TERMINATE_REQUESTED, dispatcher_terminateRequestedHandler);
        }
    }

    // Won't be call if IThread.pause() has been called before start();
    private function dispatcher_pauseRequestedHandler(event:ThreadActionRequestEvent):void {
        trace("Pause requested, I do the eventual job to before Paused...");
        _dispatcher.dispatchEvent(new ThreadActionResponseEvent(ThreadActionResponseEvent.PAUSED));
    }

    // Won't be call if IThread.resume() has been called before start();
    private function dispatcher_resumeRequestedHandler(event:ThreadActionRequestEvent):void {
        trace("Resume requested, I do the eventual job to before Resumed...");
        _dispatcher.dispatchEvent(new ThreadActionResponseEvent(ThreadActionResponseEvent.RESUMED));
    }

    // Won't be call if IThread.terminate() has been called before start();
    private function dispatcher_terminateRequestedHandler(event:ThreadActionRequestEvent):void {
        trace("Terminate requested, I do the eventual job to before Terminated...");
        _dispatcher.dispatchEvent(new ThreadActionResponseEvent(ThreadActionResponseEvent.TERMINATED));
    }
}
}

If call method open in the DatabaseControllerWorker class, the thread is dispatch the result: open
But after if I wanted to read the database (or call/start anything in the thread) nothing happend.
No result no fault.

Yeah, workers have been designed to have 1 entry point and once it has executed its supposed "long CPU consuming task", it terminates itself, I did not change the original design but I guess I could add a wait() method accessible from the IWorker as it can be already achieve with Mutex and Condition.

Thanks doublefx, It would be very nice


Faker Month Off-by-One Error when using I18n

Describe the bug
Faker's en.yml file doesn't include a nil value for the month_names array, which causes the months to be offset by one. This causes dates to be one month ahead when formatted.
To Reproduce
Describe the steps to reproduce the behavior.
without Faker...
irb(main):007:0> Date.today
=> Wed, 31 Jul 2019
irb(main):001:0> I18n.l(Date.today, format: :long)
=> "July 31, 2019"
irb(main):002:0> I18n.t("date.month_names")
=> [nil, "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

with faker...
irb(main):003:0> require 'faker'
=> true
irb(main):007:0> Date.today
=> Wed, 31 Jul 2019
irb(main):004:0> I18n.l(Date.today, format: :long)
=> "August 31, 2019"
irb(main):006:0> I18n.t("date.month_names")
=> ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

This problem is also described in https://github.com/spree/spree/pull/2427

@crispinheneise thanks for reporting 👍

@crispinheneise @jutonz I know this can be a bit impactful, but I'd prefer to wait for other small bug fixes/minor enhancements before doing a minor release 2.1.0. We could do that in a few weeks.
Let me know if anyone disagrees with me. If this becomes a real big issue, we can accelerate the process.

It may not be an issue for some because Faker is typically not used in production. For me it was a breaking issue because every place where I18n.l was used began to display the wrong date, causing my test suite to fail.

I found this after narrowing down the test suite failure to the faker gem update.  It's not particularly obvious why or where the failure is coming from so I imagine it would cause some frustration.

I just did a small release. No frustration anymore. Let me know if you see anything else.

I found this after narrowing down the test suite failure to the faker gem update. It's not particularly obvious why or where the failure is coming from so I imagine it would cause some frustration.

@tconst Dependabot to the rescue. Dependabot had opened several PRs today, but the only one that failed CI was the faker upgrade. From there it was pretty easy to narrow it down.


fix #2254 404 issue when get job history

Two key fixes.

more retries since lack of file lock (bigger fix).
ensure unexpected exception go thru Kudu table.

merged


Ability to change databases

Thanks for improving the code. Great addition with the new CLI arg for database. I also added an argument for library now in case there are more in the future.


Checking the Iris data set with Random Forest Algorithm than Decision Tree.

Is your feature request related to a problem? Please describe.
Decision Tree creates a single tree where there is tendency of overfitting that leads to low Bias and High varience.
Describe the solution you'd like.
Random Forest creates multiple sets of decision tree and give output on the basis of majority voting classifier.Random Forest also leads to low bias and low variance.
Describe alternatives you've considered.
We move for any other algorithm.
Add any other context or screenshots about the feature request here.

@Adhetya assign mw this issue and i will move forward to have a look on how the random forest algo works in this case.

@Kushal997-das assign mw this issue and i will move forward to have a look on how the random forest algo works in this case.