text:
TS Server fatal error:  Maximum call stack size exceeded

Type: Bug
❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 5.2.2
Steps to reproduce crash

TS Server Log
❗ Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server: syntax
RangeError: Maximum call stack size exceeded
    at Object.scan (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:12630:16)
    at nextTokenWithoutCheck (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31301:36)
    at nextToken (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31311:12)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31304:5)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)
    at parsePrefixUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33936:69)
    at parseSimpleUnaryExpression (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:33989:16)
    at nextTokenAnd (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:31305:12)

VS Code version: Code 1.84.2 (Universal) (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:52:33.687Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Max (12 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 3, 3

Memory (System)
64.00GB (29.32GB free)

Process Argv
--crash-reporter-id e71147fc-6840-4b49-855c-64ea0fa476db

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

vscode-eslint
dba
2.4.2

gitlens
eam
14.5.2

prettier-vscode
esb
10.1.0

copilot
Git
1.141.0

copilot-chat
Git
0.10.2

graphql
mqu
0.1.2

black-formatter
ms-
2023.6.0

isort
ms-
2023.10.1

python
ms-
2023.22.0

vscode-pylance
ms-
2023.11.10

prisma
Pri
5.7.0

rust-analyzer
rus
0.3.1756

even-better-toml
tam
0.19.2

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30899288
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


text:
TS / JS: Surround with ${} when $ Pressed

In Javascript / Typescript, if there is a selection in a template string, surround the selection with ${} if the user presses the $ key.
In bash, this should instead surround with $().
Suggested name: "editor.wrapTemplateStrings"
Simulation of desired result:
https://github.com/microsoft/vscode/assets/115815794/9948798a-15bf-4f03-be13-719bb31598db

https://github.com/microsoft/vscode/assets/115815794/9948798a-15bf-4f03-be13-719bb31598db

I am using a custom keybinding to work around this currently:
{
    "key": "shift+4",
    "command": "editor.action.insertSnippet",
    "args": {
        "snippet": "\\${${0:$TM_SELECTED_TEXT}}"
    },
    "when": "textInputFocus && !editorReadonly && editorLangId == javascript"
}

okay👍

Yes, it should. This should only work inside strings, which is not currently possible only using key commands.

But what if a user has already assigned some custom keybinding to shift + 4 ?

Then this behaviour should be overriden.

But what if a user has already assigned some custom keybinding to shift + 4 ? @mjbvz sir may help us with this

Then this behaviour should be overriden. For example, if you assign a keybinding that uses [, this will actually override that button, and the user can no longer use [ to type that character.

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!

source: gharchive/issue

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
i cannot update

Type: Bug
the check for update buttom is missing lol
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.91GB (7.88GB free)

Process Argv
--crash-reporter-id 8eb926c0-1567-467c-a0d2-b1bcb36d3585

Screen Reader
no

VM
0%

Extensions (56)

Extension
Author (truncated)
Version

blackbox
Bla
1.3.15

vscode-intelephense-client
bme
1.10.0

phpserver
bra
3.0.2

simple-react-snippets
bur
1.2.8

vscode-cat-therapy
Cat
0.0.3

vscode-eslint
dba
2.4.4

composer-php-vscode
DEV
1.45.15272

intelli-php-vscode
DEV
0.12.15062

phptools-vscode
DEV
1.45.15272

profiler-php-vscode
DEV
1.45.15272

jquerysnippets
don
0.0.1

gitlens
eam
14.2.1

vscode-html-css
ecm
2.0.9

prettier-vscode
esb
10.4.0

file-icons
fil
1.1.0

c-cpp-runner
fra
7.1.0

kotlin
fwc
0.2.34

copilot
Git
1.114.426

jquery-snippets
Hri
1.0.0

db2forzosdeveloperextension
IBM
2.1.5

bongocat-buddy
Joh
1.6.0

Kotlin
mat
1.7.1

vscode-docker
ms-
1.28.0

isort
ms-
2023.10.1

python
ms-
2023.8.0

vscode-pylance
ms-
2024.2.3

jupyter
ms-
2023.4.1011241018

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

cmake-tools
ms-
1.17.17

cpptools
ms-
1.19.9

cpptools-extension-pack
ms-
1.3.0

vscode-typescript-next
ms-
5.5.20240423

vsliveshare
ms-
1.0.5918

vscode-react-native
msj
1.13.0

open-php-html-js-in-browser
Pri
2.5.0

java
red
1.29.0

LiveServer
rit
5.7.9

Safurai
Saf
0.1.0

ruby-lsp
Sho
0.5.19

prettier-plus
svi
4.2.2

cmake
twx
0.0.17

vscode-lldb
vad
1.10.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-java-debug
vsc
0.57.0

vscode-java-dependency
vsc
0.23.3

vscode-java-pack
vsc
0.26.0

vscode-java-test
vsc
0.40.1

vscode-maven
vsc
0.44.0

JavaScriptSnippets
xab
1.8.0

php-debug
xde
1.34.0

php-pack
xde
1.0.3

php-intellisense
zob
1.3.3

(4 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
8082a590:30971561
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
showvideot:31016892
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31022790

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.88.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Are you using Run As Administrator when you launch VS Code? If so, close it and launch it normally.

Closing due to lack of response. @Lkopinhos let us know if you are still seeing update issues even after running VS Code as a standard user instead of as an administrator.

authors: Lkopinhos VSCodeTriageBot gjsjohnmurray rzhao271


text:
VS Code Jupyter Crash Ubuntu 24.04

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.89.1
OS Version: Ubuntu 24.04 LTS

Steps to Reproduce:

Install Jupyter extension
Create new notebook file
VS Code ask to force quit.

@thiago-umbelino do you think you can share the notebook to help troubleshoot?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Hello Peng Lyu,
the notebook was empty, from new file menu.
Best Regards,
Thiago Umbelino
On 23 May 2024, at 11:54, Peng Lyu @.***> wrote:
@thiago-umbelinohttps://github.com/thiago-umbelino do you think you can share the notebook to help troubleshoot?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/213312#issuecomment-2127347089, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVQYS6Y5RWP54KBTZE24GLLZDX7LPAVCNFSM6AAAAABIFNXJJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGM2DOMBYHE.
You are receiving this because you were mentioned.Message ID: @.***>

@thiago-umbelino Apologies for not getting back sooner.
Please can you try installing the latest version of VS Code insiders and see if that makes a difference.

authors: DonJayamanne VSCodeTriageBot rebornix thiago-umbelino


text:
VSCode is crashing

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573)
OS Version: Ubuntu 22.04.4 LTS

Steps to Reproduce:

Open the terminal
Run

code .

VSCode Open and close afterward.

I can't repro

It's working now

How :D I have the same issue in Ubuntu 24.04.

Really? Now, it's working. I don't know why

Same issue, still broken.

GPU process isn't usable. Goodbye

Same problem on Ubuntu 20.04.6 LTS. AMD GPU

If I add --in-process-gpu flag, it seems to work

For me it does not work as a fix

Duplicate of https://github.com/microsoft/vscode/issues/214432

Merging to https://github.com/microsoft/vscode/issues/212494
You can start the application with --use-angle=swiftshader as workaround until fix is released.

authors: GuySartorelli arthurfurtunato deepak1556 erickduran-stx ikskoder meganrogge tolgacangoz


text:
TS Server fatal error:  Debug Failure. False expression.

Type: Bug
❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 5.5.4
Steps to reproduce crash

TS Server Log
❗ Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-12450H (12 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.68GB (6.63GB free)

Process Argv
--crash-reporter-id 7a4ddb8d-40cc-42c5-a152-bd010934aa03

Screen Reader
no

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

flutter-snippets
ale
3.0.0

atlascode
atl
3.0.10

vscode-intelephense-client
bme
1.12.5

vscode-tailwindcss
bra
0.12.10

simple-react-snippets
bur
1.2.8

dart-code
Dar
3.96.0

flutter
Dar
3.96.0

composer-php-vscode
DEV
1.50.15906

intelli-php-vscode
DEV
0.12.15062

phptools-vscode
DEV
1.50.15906

prettier-vscode
esb
11.0.0

codespaces
Git
1.17.2

copilot
Git
1.229.0

copilot-chat
Git
0.20.0

php-namespace-resolver
Meh
1.1.9

vscode-docker
ms-
1.29.2

debugpy
ms-
2024.10.0

python
ms-
2024.14.0

vscode-pylance
ms-
2024.8.2

jupyter
ms-
2024.8.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

remote-containers
ms-
0.384.0

remote-wsl
ms-
0.88.2

material-icon-theme
PKi
5.10.0

vscode-yaml
red
1.15.0

LiveServer
rit
5.7.9

es7-react-js-snippets
rod
1.9.3

QuickShare
Swa
0.0.3

vscode-gradle
vsc
3.16.4

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flightc:31119335
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
pme_test_t:31118333
ei213698:31121563

Does this reproduce in the latest VS Code insiders build with all extensions disabled?
If you still see the issue, please try to share some code that demonstrates the issue so we can take a look. Thanks

authors: Kolayeswanth mjbvz


text:
vscode.dev use search error

searchService.ts:130
Error performing web worker text search TypeError: T.with is not a function
at l.joinPath (workerMain.js:47:42666)
at D (localFileSearch.js:5:2452)
vs/base/common/uri.ts
/**
	 * Join a URI path with path fragments and normalizes the resulting path.
	 *
	 * @param uri The input URI.
	 * @param pathFragment The path fragment to add to the URI path.
	 * @returns The resulting URI.
	 */
	static joinPath(uri: URI, ...pathFragment: string[]): URI {
		if (!uri.path) {
			throw new Error(`[UriError]: cannot call joinPath on URI without path`);
		}
		let newPath: string;
		if (isWindows && uri.scheme === 'file') {
			newPath = URI.file(paths.win32.join(uriToFsPath(uri, true), ...pathFragment)).path;
		} else {
			newPath = paths.posix.join(uri.path, ...pathFragment);
		}
		return uri.with({ path: newPath });
	}

how to solve it?

duplicate of https://github.com/microsoft/vscode/issues/227742
/duplicate https://github.com/microsoft/vscode/issues/227742

authors: Gitby-Leo andreamah


text:
Info

/needsMoreInfo

authors: Siyahmaskelii gjsjohnmurray


text:
Allow selection of Linux user when using VSCode Tunnel

When using VSCode Tunnel, it would be helpful to have an option to specify which Linux user to log in as. In SSH connections, setting the User in the configuration determines the Linux user for the session. However, it seems that this feature is not available for VSCode Tunnel.
It would be great if we could have similar functionality for the tunnel setup to specify the Linux user, as this would provide more flexibility and consistency with SSH connection options.

The tunnel connection is made as whatever using is running the code tunnel command. We considered this before, but we have decided not to implement this for now due to the complexity, sorry.


text:
[html] path intellisense

The following is supported.
<img src="/">
But, the following is not supported.
<input type="image" src="/">

authors: nn-hh octref


text:
VSCode freezes opening git diff for one specific file

Issue Type: Bug
VS Code freezes indefinitely and eventually need to be closed for one specific file.
I can't share the file unfortunately as this is proprietary code. If some one can ping me internally, I can share my screen and show exactly how this issue is crashing vscode. alias kiranj
VS Code version: Code 1.35.0 (553cfb2c2205db5f15f3ee8395bbd5cf066d357d, 2019-06-04T01:17:12.481Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz (16 x 3696)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (18.26GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

I spent some more time and here are the steps to repro:
Open a vscode window
-> New file
-> ctrl+shift+p set language and select csharp
-> paste the below content:
-> You should see the editor frozen for a long time..
        Assert.AreEqual(MockLogger.RecentMockEvent.Message, "System.Exception: Operation2 failed due to unhandled Exception - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA--TRUNCATED--");

Can you reproduce with code --disable-extensions?

Did you get a chance to look at the details? There are no extensions enabled.
Extensions: none

@kiranjulapalli Yup, I can easily reproduce with those steps, great catch!

Also happens with 1.34.

Hi guys,
I have the same issue but in C++. To reproduce the problem, I launch :
code --disable-extensions -n
I insert this line :
 /*********************************a***********************************/

With tabulation or a simple space at first line characters.
Enable color syntax for C++ and VScode will freeze.
I'm not sure it's the same issue but I hope this can help you ;)

Closing in favor of the upstream issue.
The C++ issue is fixed in insiders and in 1.36.1.

authors: alexr00 joaomoreno kiranjulapalli lchagnoleau


text:
Linux: XDG_CACHE_HOME appears in workspace

VSCode Version: 1.35.1
OS Version: Ubuntu 18.04.2

While in VSCode, occasionally a folder will appear in the workspace named XDG_CACHE_HOME. In this folder the Microsoft Python Language Server files appear. I did not press any buttons or shortcut keys (at least that I'm aware of) to precipitate this.
Using printenv reveals my XDG_CACHE_HOME location to be: XDG_CACHE_HOME=/home/user/snap/code/common/.cache
The occurrence appears random.
Does this issue occur when all extensions are disabled?: Unknown

I started getting this today too. Although when I inspect the env it seems normal
➜ echo $XDG_CACHE_HOME
/home/shawn/.cache

It seems to happen when building the stubs
➜ la XDG_CACHE_HOME/Microsoft/Python\ Language\ Server/stubs.v1/
Permissions Size User  Date Modified Git Name
drwxr-xr-x     - shawn 15 Jun 15:40   -N 6Jdz2MUWOGr4bOZIEZpe3fAFOVX2QH2XXVQox93LDvI=
drwxr-xr-x     - shawn 15 Jun 15:40   -N 7C99n6DBx3TyDkTh_256g-aNza2EnMuyP24gUWgBpTY=
drwxr-xr-x     - shawn 15 Jun 15:40   -N CkOhaAcSRrnAxPPLiPLINXzzISvUoHqfUe2XpFnuIkM=
drwxr-xr-x     - shawn 15 Jun 15:40   -N DgUOPNCe5yUG1BRLIQTFkq7B2Go6gWN9a99nyAoAgt4=
drwxr-xr-x     - shawn 15 Jun 15:40   -N t5KoAFz6U1gUfcJCH_VSnv4Svx8S1w9UsncWaDgap94=
drwxr-xr-x     - shawn 15 Jun 15:40   -N ZvCkTbGIBId18gPSW6oZ8Wrre5OpFha3SOKxWNEYMsE=

authors: autoferrit drsooch


text:
window.nativeFullScreen no longer recognised

In the last few days, window.nativeFullScreen has suddenly stopped working and shows as an Unknown configuration setting.
Has this disappeared?

https://code.visualstudio.com/updates/v1_36#_engineering

https://code.visualstudio.com/updates/v1_36#_engineering

Oh. Well that's shit.
That answers my Q. Cheers.


text:
Support fontStyle "strikethrough" about theme

Feature Request.
Request
Currently v1.36.1, supported fontStyles in theme customization are bold, italic and underline.
But I want to use strikethrough too. like this:
		{
			"name": "FinishedTaks",
			"scope": [
				"task.fiinshed"
			],
			"settings": {
				"foreground": "#ffff00",
				"fontStyle" : "strikethrough"
			}
		}

FYI
VSCode sources:

src/vs/editor/common/modes/supports/tokenization.ts#L63
src/vs/editor/common/modes.ts#L70

TextMate source:

Frameworks/theme/src/theme.cc#L76

TextMate supports strikethrough.

this would be perfect for semantic syntax highlighting in regards to deprecated methods

authors: pumpkinlink stakiran


text:
package.json

{
"mac": "",
"linux": "<keyboard shortcut for linux",
"win": "<keyboard shortcut for windows",
"key": "",
"command": "<name of the command in VS Code"
}

/needsMoreInfo Please describe in detail the bug or feature request.

authors: Fraules RMacfarlane


text:
Avoid semver dependency

Today we depend on semver (and semver-umd for web).
I suggest to connect with @alexandrudima who already wrote a parser and try to use that one for our requirements, which only seems to be to find out if a version is greater or not.
Refs: https://github.com/microsoft/vscode/blob/dd7daae7de1d229280400ab9ddc20973fb3178bb/src/vs/platform/extensions/common/extensionValidator.ts#L37

@bpasero I see marked.js has cgmanifest.json and marker.license.txt, may I know shall I have to follow the same format? And is there any other place where I need to register semver thingy so that its license is read by our OSS tool?

My understanding is that this is sufficient. Copying what marked.js does seems legit to me for the semver needs.

@sandy081 Please see https://github.com/microsoft/vscode-build-tools/tree/master/distro-tools#types-of-3rd-party-oss-dependencies Please LMK if that documentation is complete or needs more info.

Inlined semver.
@alexdima Above doc makes sense. Just one confirmation - Added cgmanifest.json. I am assuming the vscode-build-tools scans the files and picks this automatically or shall I have to register it anywhere ?

@sandy081 :+1: The file will be picked up because of its name. There is no need to inline the license. It looks like the repo has a top level LICENSE file ("licenseDetail") and that should work automatically.

Thanks. Removed semver.license.txt and deleted licenseDetail from cgmanifest.json.

authors: alexdima bpasero sandy081


text:
How to debounce when the  provideCompletionItems is triggered in high frequency

description:
I add implement of provideCompletionItems， and it will provide some customize items. when the function of provideCompletionItems id trggered, firstly, i send the restful service to acquire data for completionItems. now my question is that: the restful service is sent in high frequency, this is not reasonable, I want to debounce  when the  provideCompletionItems is triggered in high frequency
I tried to set the property: quickSuggestionsDelay, but not worked。the "quickSuggestionsDelay" is woeked for native completion actions, not for customize.

Please attach sample code or a snippet that shows this problem

class myClass implements monaco.languages.CompletionItemProvider {
provideCompletionItems(model, positon) {
.....
}
}
the provideCompletionItems function is called by monaco. now I want to call provideCompletionItems by myself, under the circumstance, I can put the provideCompletionItems in the function of setTimeout.

Well, you need to show what's inside the provideCompletionItems-function. It's not true that quickSuggestDelay is only honour nor native completion providers nor that we constantly ask for results. No request is fired while one is active (not resolved, not cancelled) and unless results are marked as incomplete no further requests are made during one session


text:
"Light themes" should be called "White themes"

It's OK to use the white theme and calling it "light" as if white is something bad is offensive.
I plan to have skin treatments to become white and don't want Microsoft to shame me for it!

There is nothing to be ashamed of. You can be proud for whatever color skin you have. We love you!


text:
Sort files and folders in Explorer in case-sensitive mode

Now VScode could already config 5 ways to sort files and folders in Explorer:

But these files and folders are sorted in case-insensitive alphabetical order. Is it possible to add a case-sensitive setting or option to allow the files and folders to be sorted in case-sensitive alphabetical order, like the default way in Github here:

I already checked the related feature request #43889 and #41351, and my point of case-sensitive sorting was not covered by them yet. This feature request is more like an enhancement to the function required in those two.

Please comment on #41351 as if we ever improve file explorer sorting we would like to do it as part of that feature request and we would like to have all the data in one place. Thank you. Closing this as duplicate


text:
Outline Fold button and Collapse All (sic) button icons are inconsistent

The Outline tree's Fold button icon is (nonsensically) uses a down-pointing arrow whereas the Collapse All button's icon uses the conventional boxed '-' as per e.g. the documentation https://github.com/microsoft/vscode/issues/90705 and the File... dialog.

V1.42.1 on Windows 7.
Note: This should not be mistaken for a duplicate of https://github.com/microsoft/vscode/issues/89894 .

This is intentionally designed this way, as already mentioned in #89894, trees use > and collapsing multiple items typically use [-]. This also matches other paradigms in the Microsoft design system, like Outlook:
Collapse all icon

Folding tree

You might be interested in upvoting #79130, which will allow you to select a custom icon set for the workbench.

This is intentionally designed this way, as already mentioned in #89894

Some mistake I think. #89894 does not mention that one uses an arrow and the other a boxed '-'.

trees use > and collapsing multiple items typically use [-].

Thanks for the confirmation.

authors: chrisjj misolori


text:
terminal info icon alignment

testing https://github.com/microsoft/vscode/issues/96300
the info icon is not aligned with any other markers in the terminal that i can see.

It's actually pretty correct, your lines seem to be a little off:

Going to leaving as is as I've already centered it around the x:

authors: Tyriar chrisdias


text:
Fix wrong relative line numbering (#138787)

Calculate the relative line difference using view positions instead of model positions to prevent the inclusion of folded lines.

Before

After

@alexdima In fact I didn't consider the line wrap scenario.
This is how vim behaves in this situation:

I can see two approaches:

Calculate the offset line number using modelPosition and subtract the folded lines in between.
Calculate the offset line number using viewPosition and subtract the line gaps in between.

I think the first is the less tricky one.
Maybe this would require deeper changes in the code.

source: gharchive/pull-request


text:
debug: fix action bar input being hidden

For #142010

Wrong branch for that commit?

Oops, yes


text:
Use Uri.Utils

Use Uri.Utils for URI operations
For #147788

Oops, my fix was not proper, tests failed. @alexr00 If you can review again?


text:
add tests for terminal resource resolution for completions

also simplifies the handling

Not sure what happened with the git history, but will squash and merge.


text:
AZ AL Dev Tools/AL Code Outline

Type: Bug
not working all functions
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Hi @KhaledAhsoun
Thank you for opening the issue. Sorry to hear you are experiencing [insert customer issue]. It appears to be specific to VS Code editor and tools. It is best to reach out VS Code team at https://github.com/microsoft/vscode/issues.
-VS Marketplace Team

authors: KhaledAhsoun madhurivadaligithub

repo: microsoft/vsmarketplace


text:
Type mismatches

I've been porting over a test application that uses the WinAPI crate to try to get it to work with this. One issue I've run into is that it seems like types don't match in a lot of cases where C would consider the mismatch to be small enough to let slide, but Rust doesn't. For example, the type of MB_OK is i32, but MessageBox accepts a u32 where you would pass that in. So so far, compared to the WinAPI crate, I've needed to do a lot of casting. In addition, it offers lots of type aliases that make it easier to follow Windows documentation.

Thanks for kicking the tires. I have reported many of these issues already. For example: https://github.com/microsoft/win32metadata/issues/130
Feel free to report any additional issues you find with metadata.

authors: Serentty kennykerr

repo: microsoft/windows-rs


text:
New version: rocksdanister.LivelyWallpaper 2.0.7.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110830&drop=dogfoodAlpha

Manual Validation failed with:

2023-06-28 11:47:26.417 [CLI ] Installer [X86,burn,Machine,] not applicable: Installer scope does not match required scope: Machine != User
2023-06-28 11:47:26.417 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.36.32532.0
2023-06-28 11:47:26.421 [CLI ] Terminating context: 0x8a150104 at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DependenciesFlow.cpp:126

The dependency doesn't support User scope.

The dependency doesn't support User scope.

Noted, sorry for the delay. Will update it now.

authors: kbdharun stephengillie

repo: microsoft/winget-pkgs


text:
New version: Bitwarden.Bitwarden version 2023.8.4

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Manifest Error: Duplicate installer entry found.


text:
New package: Snowflake.OdbcDriver version 3.1.4

Description

Resolve #106533

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

[!NOTE]
According to the documentation, users should configure the ODBC driver in ODBC Data Source setting panel. This package does not provide any "executable entrance".

[Policy] Needs Attention

@wingetbot waivers Add Validation-No-Executables

authors: Dragon1573 Trenly stephengillie


text:
Added nomacs v3.16.1709

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Resolves #13817.

authors: KaranKad jedieaston


text:
New version: AppbyTroye.KoodoReader version 1.6.5

Pull request has been created with komac v2.1.1 :rocket:

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


text:
New version: STYInc.STY1001.UnowhyTools version 28.00

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/STY1001/Unowhy-Tools/releases/download/v28.00/Unowhy.Tools.28.00.Installer.exe
Status Code: 200
(Automated message - build 877)

Automatic Validation ended with:

URI: https://sty1001.fr/, Validation result: Failed, Error Message: No such host is known. (sty1001.fr:443) No such host is known.

(Automated response - build 877.)

Close with reason: Duplicate of #150029;


text:
New package: eat-pray-ai.yutu version 0.8.0

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


text:
Remove version: Jackett.Jackett version 0.21.756

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.756/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)

authors: russellbanks stephengillie


text:
New version: Gruntwork.Terragrunt version 0.67.4

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-17 03:05:36.095 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.4/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 895.)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-17 11:16:27.883 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.4/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 895.)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-18 11:15:51.828 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.4/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-19 10:34:06.176 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.4/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

@stephengillie Anything I can do to make this PR success?
In general: Terragrunt is released in short cycles. The PRs for updating Terragrunt in WINGET hang for days mostly. Any suggestions to improve the situation?
regards
Kai

@wingetbot run

Hi @KaiKorla,
This package - this specific version of Terragrunt - isn't passing a Defender scan. Unfortunately, the retry logic for this is ad-hoc, as other features have development priority. Retrying is 2 parts:

My automation reads logs to find Installer failed security check and adds the label.
My automation retries all PRs with this label if it's been more than 18 hours since the last pipeline run. Based on the script finding the automated reply among the PR comments.

A bug in this means it doesn't retry all PRs with the label, and instead I have to retry a couple manually every day. A search page for this label is one of the daily tabs that I open every morning, so I can retry the ones that haven't run in 18 hours.
Another "bug" in my automation's infrastructure means that it only operates when my laptop is powered and has network.

Defender teams are entirely separate from the team supporting this package manager and a few other developer tools (including DevHome). I haven't worked with anyone in Defender teams, but I have seen PRs where other community members have submitted a package to a specific website, where it was specifically scanned and received a verified clean rating. After this, packages very regularly pass this pipeline step successfully.
Packages regularly take an extended duration to pass through our pipelines, even when everything goes well. Some of this is due to the SDL checks which might be in some way related to a recent EO.
Feel free to suggest any improvements.

authors: KaiKorla stephengillie


text:
New package: Corel.MindManager23 version 23.2.209.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi! It would be great if this could replace the currently existing MindManager so we can have support for different major versions.
https://github.com/microsoft/winget-pkgs/tree/master/manifests/c/Corel/MindManager

https://en.wikipedia.org/wiki/MindManager#:~:text=On August 9%2C 2016%2C Corel announced that they had acquired the Mindjet MindManager business.[19]
https://blog.mindmanager.com/mindmanager-joins-corel-2/

Verify:

Just as with https://github.com/microsoft/winget-pkgs/pull/179824#issuecomment-2412024503, I couldn't access the version number. The shortcut here shows "23", while the shortcut in the other PR shows "24". Otherwise, the applications appear very similar to me.

@wingetbot waivers Add Validation-Domain

After some trial and error, it should be ok now. Let me know if there is anything wrong.

I guess the validation fails because I have also modified the manifests for Corel.MindManager by deleting them. Should I open another PR for removing them? Corel.MindManager will be redundant if this gets merged.

Automatic Validation ended with:

Addition and deletion only permitted in the same package directory.

From the Files changed tab:

..23.1.243/Corel.MindManager.installer.yaml → ....209.0/Corel.MindManager23.installer.yaml

I guess the validation fails because I have also modified the manifests for Corel.MindManager by deleting them. Should I open another PR for removing them? Corel.MindManager will be redundant if this gets merged.

Yes - it looks like Corel.MindManager is being renamed to Corel.MindManager23 alongside the addition of Corel.MindManager24. For the rename to happen, the addition and removal have to occur in separate PRs.

Should the MindManager part be combined, using Corel.MindManager.23 and Corel.MindManager.24 instead?

authors: hmlervik stephengillie


text:
Remove version: OpenEducationFoundation.OpenBoard version 1.7.2.240

changing to 1.7.2
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/OpenBoard-org/OpenBoard/releases/download/v1.7.2/OpenBoard_Installer_1.7.2.exe
OK
(Automated message - build 923)

Hi @PckgrTom,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 931.)

[Policy] Reset Feedback; Newer version merged in separate PR

[Policy] Moderator Approved

authors: PckgrTom Trenly stephengillie


text:
Added BraveSoftware.BraveBrowser version 92.1.27.106

PS C:\Users\WDAGUtilityAccount\Desktop\manifests> winget install -m "C:\Users\WDAGUtilityAccount\Desktop\manifests\b\BraveSoftware\BraveBrowser\92.1.27.106"
Found Brave [BraveSoftware.BraveBrowser]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/brave/brave-browser/releases/download/v1.27.106/BraveBrowserStandaloneSilentSetup.exe
  ██████████████████████████████  81.3 MB / 81.3 MB
Successfully verified installer hash
Starting package install...
Successfully installed

PS C:\Users\WDAGUtilityAccount\Desktop\manifests> winget install -m "C:\Users\WDAGUtilityAccount\Desktop\manifests\b\BraveSoftware\BraveBrowser\92.1.27.106"
Found Brave [BraveSoftware.BraveBrowser]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/brave/brave-browser/releases/download/v1.27.106/BraveBrowserStandaloneSilentSetup32.exe
  ██████████████████████████████  78.0 MB / 78.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This is a prerelease, not sure if we should add or not, version 91.1.26.77 got released yesterday

authors: ImJoakim OfficialEsco


text:
New version: GNU.MidnightCommander version 4.8.24 build 221

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[X] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Uhh, this package is super weird
Microsoft Reviewers: Open in CodeFlow

Yeah no this is causing issues


text:
Add version: ransome1.sleek version 1.0.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

authors: Trenly russellbanks


text:
Add version: JetBrains.CLion version 222.3739.54

Result: Installation Failed

Manifest
Add/Remove Programs

Name
CLion
CLion 222.3345.40

Version
222.3739.54
222.3345.40

Publisher
JetBrains s.r.o.
JetBrains s.r.o.

ProductCode

CLion 222.3345.40

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 2808
Microsoft Reviewers: Open in CodeFlow

Close with reason: Already merged;


text:
Remove Jidifudi.GT4T 8.37.220832

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


text:
New version: JetBrains.YouTrack version 22.3.65372

Result: Installation Failed

Manifest
Add/Remove Programs

Name
JetBrains YouTrack

Version
22.3.65372

Publisher
JetBrains

ProductCode

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 6183
Microsoft Reviewers: Open in CodeFlow

Modifies Tools/Arp-Difference.json.


text:
Python/WinRT import error

In [1]: import winrt
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-0eba3d78e1ae> in <module>
----> 1 import winrt

c:\program files\python38\lib\site-packages\winrt\__init__.py in <module>
      1 # WARNING: Please don't edit this file. It was generated by Python/WinRT v0.9.201125.1
      2
----> 3 from . import _winrt
      4 _winrt.init_apartment()
      5

ImportError: DLL load failed while importing _winrt: 找不到指定的模块。

Python Version: Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)]
Python/WinRT Version: winrt-1.0.20330.1-cp38-none-win_amd64.whl

currently there are two versions seems to be available: 1.0.20330.1, 1.0.20239.1.
v1.0.20239.1 works fine
1.0.20330.1 has this issue

Traceback (most recent call last):
File "", line 1, in
File "T:\Tools\WinPython64\python-3.8.3.amd64\lib\site-packages\winrt_init_.py", line 3, in
from . import _winrt
ImportError: DLL load failed while importing _winrt: The specified module could not be found.

@Creepercdn, if you are trying to learn like me, install running version with "pip install winrt==1.0.20239.1". It seems to be released not long ago, August 26 2020.

@yilmazdurmaz I do see this version on Pypi but when I tried to install it, pip complains
ERROR: Could not find a version that satisfies the requirement winrt==1.0.20239.1
ERROR: No matching distribution found for winrt==1.0.20239.1

@yilmazdurmaz I do see this version on Pypi but when I tried to install it, pip complains
ERROR: Could not find a version that satisfies the requirement winrt==1.0.20239.1
ERROR: No matching distribution found for winrt==1.0.20239.1

is possible you wrote the command wrong? pip install winrt==1.0.20239.1
I have just tried it on "python v3.8.6 amd64 windows" with "pip 20.2.1" and installed it. so either you wrote wrong command, you pip searches somewhere else other than pypi.org or your python/pip is broken somehow.
test command on fresh virtual environment
mkdir piptest
cd piptest
python -m venv .venv
.venv/Scripts/activate
pip install winrt==1.0.20239.1

and the result

> Collecting winrt==1.0.20239.1
>   Downloading winrt-1.0.20239.1-cp38-none-win_amd64.whl (4.2 MB)
>      |████████████████████████████████| 4.2 MB 3.3 MB/s
> Installing collected packages: winrt
> Successfully installed winrt-1.0.20239.1
> WARNING: You are using pip version 20.2.1; however, version 21.0.1 is available.
> You should consider upgrading via the 'w:\piptest\venv\scripts\python.exe -m pip install --upgrade pip' command.

is possible you wrote the command wrong? pip install winrt==1.0.20239.1
I have just tried it on "python v3.8.6 amd64 windows" with "pip 20.2.1" and installed it. so either you wrote wrong command, you pip searches somewhere else other than pypi.org or your python/pip is broken somehow.
test command on fresh virtual environment
mkdir piptest
cd piptest
python -m venv .venv
.venv/Scripts/activate
pip install winrt==1.0.20239.1

and the result

> Collecting winrt==1.0.20239.1
>   Downloading winrt-1.0.20239.1-cp38-none-win_amd64.whl (4.2 MB)
>      |████████████████████████████████| 4.2 MB 3.3 MB/s
> Installing collected packages: winrt
> Successfully installed winrt-1.0.20239.1
> WARNING: You are using pip version 20.2.1; however, version 21.0.1 is available.
> You should consider upgrading via the 'w:\piptest\venv\scripts\python.exe -m pip install --upgrade pip' command.

@yilmazdurmaz Thanks for the reply. I did use the right command. I am on 3.7.4 and pip 21.0.1, has winrt ceased to support 3.7.4? I read it requires a minimum of 3.7 in readme.

@yilmazdurmaz Thanks for the reply. I did use the right command. I am on 3.7.4 and pip 21.0.1, has winrt ceased to support 3.7.4? I read it requires a minimum of 3.7 in readme.

@ZhangTianrong
I don't have 3.7.4 so I can only speculate. I checked pypi/winrt page for file history.
It seems there are only 4 version to be downloaded.
latest one, 1.0.20330.1, has the issue of this post, probably happens when ver<3.9. Again speculating because I have only 3.8 installed.
1.0.20239.1 seems to work fine, but there are files for only ver=3.8, that is why you cant install it.
1.0.19128.1 and 1.0.19119.1 have files for only ver=3.7 and you should be able to install them. But I cant say anything about their working states.
I hope the error from latest version is fixed and then supports all versions after 3.7 for the variety.

@ZhangTianrong
I don't have 3.7.4 so I can only speculate. I checked pypi/winrt page for file history.
It seems there are only 4 version to be downloaded.
latest one, 1.0.20330.1, has the issue of this post, probably happens when ver<3.9. Again speculating because I have only 3.8 installed.
1.0.20239.1 seems to work fine, but there are files for only ver=3.8, that is why you cant install it.
1.0.19128.1 and 1.0.19119.1 have files for only ver=3.7 and you should be able to install them. But I cant say anything about their working states.
I hope the error from latest version is fixed and then supports all versions after 3.7 for the variety.

I did some work back in November to publish the latest version of pywinrt (with a few smaller feature updates, 1.0.20330.1) for Python versions 3.7, 3.8, and 3.9. Each package has the same version number but is built separately for the specific version of python and carries slightly different metadata to indicate which py version it supports. They should be functionally equivalent (in theory). pip should be picking the correct version of 20330.1 for the version of python you have. I don't know if there are ways to mismatch them but it sounds like maybe that's what's happening here. Can you verify the python version, winrt package versions, and also the wheel name that it installs? It should be cp##-... where ## should match the major / minor version of python that you're using.

ok, I was able to repro this:
...\AppData\Local\Programs\Python\Python38>python.exe
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

exit()

...\AppData\Local\Programs\Python\Python38> python -m pip install winrt
Collecting winrt
Downloading winrt-1.0.20330.1-cp38-none-win_amd64.whl (4.2 MB)
|████████████████████████████████| 4.2 MB 3.2 MB/s
Installing collected packages: winrt
Successfully installed winrt-1.0.20330.1
...
...\AppData\Local\Programs\Python\Python38>python
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import winrt.windows.globalization as wwg
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\benkuhn\AppData\Local\Programs\Python\Python38\lib\site-packages\winrt_init_.py", line 3, in
from . import _winrt
ImportError: DLL load failed while importing _winrt: The specified module could not be found.

I'll investigate further.

I was able to verify that the py38 packages uploaded with a _winrt DLL that linked against the py39 extension support. I'll have to review the pipelines to see how things got into this state and publish updated packages. There are no security-related fixes between the latest working version and the current one, so you should be safe using an older version as noted above for the time being.

link /dump /imports ...\Python38\lib\site-packages\winrt_winrt.pyd
Microsoft (R) COFF/PE Dumper Version 14.28.29335.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file ...\Python38\lib\site-packages\winrt_winrt.pyd
File Type: DLL
Section contains the following imports:
python39.dll
180AD42A0 Import Address Table
180C1ED58 Import Name Table
0 time date stamp
0 Index of first forwarder reference
349 PyTuple_New
27 PyBytes_AsStringAndSize
...

Just keeping notes as I go, since I'm working on this in small spurts between other work. This is a build pipeline issue. I confirmed that the built DLLs for 3.7 & 3.8 are linking against the 3.9 APIs. That means something isn't flowing through in python version selection for the compilation step.

Just a heads up: Although the official build is fixed and the issue is closed, it may take me up to a day to get re-built, validated packages on pypi.

New version: winrt-1.0.21033.1
https://pypi.org/project/winrt/1.0.21033.1/
Let me know if you continue to see any load issues. I've updated the packages for 3.7, 3.8, and 3.9. As before, x86 and x64 packages are available. This update contains no feature changes, just fixes the DLL import that broke 3.7 and 3.8 in the last update.

Thanks Ben, latest release seems to be working on Python 3.8 here.

Thanks. It also works on 3.7.4 now.

authors: BenJKuhn Creepercdn ZhangTianrong dae yilmazdurmaz

repo: microsoft/xlang


text:
Remove spaces from users samples' requestUrls

Some of the Users samples have invalid spaces within their requestUrls.

The userPrincipalName in the requestUrl can be removed and added as part of the tip like so:

This is related to this issue: https://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/1660


text:
A small bug when getting messages in a channel

Describe the bug
There is a typo error about the tip box of the "Sample queries" -> "messages in a channel".
To Reproduce
Steps to reproduce the behavior:

Go to Graph Explorer
Click on "Sample queries" on the left, then click "Microsoft Teams(beta)"
Scroll down to "messages in a channel"
See a tip box on the right.
According to the suggestions in the tip box, first get your joined teams, second get channels of a team you joined.

Expected behavior
You will get a http error when requesting "https://graph.microsoft.com/beta/groups/{group-id-for-teams}/channels" when requesting channels of a team you have joined before. Replace the request to "https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels" and you will see everything goes well.
Screenshots

Hi @Zhang-Xinrui,
Thank you for catching that. The tip has been updated.

authors: Zhang-Xinrui millicentachieng


text:
fix Content-Type in POST request

POST requests to create an event failed with an error UnableToDeserializePostBody this commit fixes the header content type of the post request
closes #48

Thanks for you contribution!

authors: jasonjoh lcx


text:
Issue with theming the form-fields

Hi,
My issue is with theming the custom_fields module.
It provides no way of manipulating how the form fields are generated.
Everything is "hidden" behind this function:   fields_manager->make($field);   ?>
Where can i find this function/how can i manipulate it?
Thanks

Hello @Thomaxo ,
there is still no documentation on theming the custom fields
for now you can follow the next steps

Copy the custom fields you want to style from https://github.com/microweber/microweber/tree/master/userfiles/modules/microweber/custom_fields

Make a folder in your template called modules/custom_fields

Paste the file there for example userfiles/templates/your_template_folder/modules/custom_fields/dropdown.php

There is also another simpier way
You can also pass a input_class as parameter to the make functions
For example:
$field['input_class'] = "large-field"; print mw()->fields_manager->make($field);

Steps 1 to 3 worked perfectly! Thanks :)

authors: Thomaxo peter-mw

repo: microweber/microweber


text:
Failed to install with composer (Conclusion: don't install http-interop/http-factory)

Hi @oscarotero,
When I've done "composer require middlewares/encoder", the following happened:
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for middlewares/encoder ^0.3.2 -> satisfiable by middlewares/encoder[v0.3.2].
    - middlewares/encoder v0.3.2 requires middlewares/utils ~0.11 -> satisfiable by middlewares/utils[v0.11.0, v0.11.1].
    - middlewares/utils v0.11.0 requires http-interop/http-factory ^0.3 -> satisfiable by http-interop/http-factory[0.3.0].
    - middlewares/utils v0.11.1 requires http-interop/http-factory ^0.3 -> satisfiable by http-interop/http-factory[0.3.0].
    - Conclusion: don't install http-interop/http-factory 0.3.0

My composer.json looks like:
"mindplay/middleman": "^2.0",
"zendframework/zend-diactoros": "^1.3",
"pimple/pimple": "^3.0",
"symfony/var-dumper": "^3.1",
"league/plates": "^3.1",
"middlewares/whoops": "^0.1.0",
"middlewares/aura-router": "^0.1.1",
"middlewares/debugbar": "^0.1.0",
"middlewares/aura-session": "^0.1.0",
"oscarotero/psr7-middlewares": "^3.17",
"middlewares/php-session": "^0.1.0",
"maximebf/debugbar": "^1.13",
"middlewares/negotiation": "^0.1.0"
"willdurand/negotiation": "^2.2",
"middlewares/error-handler": "^0.1.0"

Any ideas why that could happen?

you are using old versions of these middlewares (v0.1.0) that have old dependencies, so you need an old version of middlewares/encoder (I guess this is due mindplay/middleman, that doesn't have support for the latest version of psr-15 middlewares).
Other option is use a different dispatcher (there are more options: https://github.com/middlewares/awesome-psr15-middlewares/#dispatcher) to allows to upgrade all middlewares to the latest version.

I see, thank you @oscarotero, I will have a look later and tell you more.

Perfect, I actually used your dispatcher https://github.com/oscarotero/middleland, looks nice!
My packages were just too out of date. Did a good update.
Thank you!

authors: filisko oscarotero

repo: middlewares/encoder


text:
adding localisation logic

i added localisation logic in MHWM installer and gui
in the installer, i added a page to select the installation locale. it would be saved in the configuration file and i added args and UAC logic to keep the current flow.
in the gui i added a picklist in the settings to change the locale and save it to the config file.
To add a Localisation:

add a Locale enum value for the locale to add
add the locale to Locale::ALL constant for picklist to use it
add the matching arm in the fmt implementation for the display of that locale in picklist
for each message already matched in the locale.message function, add a matching arm for the newly added locale with the text to return
in main.rs from the installer package, add a matching arm for the locale where the app is relaunched due to UAC

you can define any text to be localisable by adding a value to the Locale::Message enum and adding a translation for each existing locale in the locale.message function.
to use those localisation, use locale.message(Locale::Message::MessageToDisplay)
the only thing left to do is find a way to localise text that use format!() they currently do not work since they are allocated at runtime...im open to suggestions at this point... im not good enough with rust to know the exact workaround...
once the logic is done and working, i can implement it for english locale first, and in future PR i will add french.
then we can make a list of all known message kinda like your translation google doc you have so its easier for people to produce translation
id love your feedback on the general idea/logic i implemented and if you see any concern or have questions.

i might create an issue to link this too later

I don't have a lot of experience with localization, but I feel like having all the translations in one function might get out of hand quickly. Maybe having a translate! macro that can be searched for, and keeping the text where it's used, would work? I'll definitely have to do some experimentation here.

i might create an issue to link this to later

I don't think that's necessary; this PR thread can be used to discuss the feature.

I don't have a lot of experience with localization, but I feel like having all the translations in one function might get out of hand quickly. Maybe having a translate! macro that can be searched for, and keeping the text where it's used, would work? I'll definitely have to do some experimentation here.

i agree, ill look into it. this will be a good opportunity for me to learn more about macros.

Here's what I think usage of such a macro could look like:
translate!(self.locale; {
    FR if pj64_version.is_none() => Cow::Borrowed("Ouvrir Project64"),
    EN => Cow::Owned(format!(
        "Open Project64{version}",
        version = if let Some(pj64_version) = pj64_version {
            format!(" version {pj64_version}")
        } else {
            String::default()
        },
    )),
})

The idea is that a locale can have an if guard, and if the guard fails or if the locale is missing entirely, the macro falls back to using the English locale. This is important to make sure development of new features can happen without immediately requiring everything to be translated into every supported language. For example, there are already some instances of this pattern (just without the macro) in the midos.house repo, because some cases haven't been translated yet (example).
There could even be a command similar to cargo sqlx prepare which generates a report of which translations are missing or incomplete. This would probably have to be written as a procedural macro, which is not quite the easiest Rust feature.

i don't know enough about macros yet, but for the language fall back cant thi be done using some sort of match all arm like so:
pub fn message(&self, message: Message) -> Cow<'static, str> {
        match message {
            Message::OpenPj64Button(pj64_version) => { // used in gui
                match self {
                    Locale::FR if pj64_version.is_none() => Cow::Borrowed("Ouvrir Project64"),
                    _ => Cow::Owned(format!(
                        "Open Project64{version}",
                        version = if let Some(pj64_version) = pj64_version {
                            format!(" version {pj64_version}")
                        } else {
                            String::default()
                        },
                    )),
                }
            }
        }
    }

the reason i would put all the translations in one file (or message could be separated by view/page) is because i thought it would become hard to read if the translation logic is made directly where we would normally write text.
So the view/ui doesn't need to know the text to write, it would just ask the locale/translator to give him the text to write.
not sure if that makes sense. i like to see the whole localization enum as an actual dictionary... so if you want to write the text for that button, you just ask the locale to give you the appropriate text according to the user language
the same way you would look up a word in a dictionary
this is just my take on the subject. i don't have much experience in localization either, and in Rust.
in both cases, this will bring changes to the workflow for displaying text to the user.

i don't know enough about macros yet, but for the language fall back cant thi be done using some sort of match all arm […]

Yes, this does work and should be perfectly fine as an initial implementation of the feature. I'm just thinking ahead on how best to make localizations maintainable in the future.

fair enough, i'll do some research on the subject, see how its usually done. ill get back once i have some insight on this

if we want to use the a key lookup structure, there is rust-i18n that could work. were you basically initialize it with the folder to look for translation and a fallback language, then you define your key:value in that folder using toml/json/yaml files
example:
//app.yml
_version: 2
hello-name:
  en: Hello, %{name}
  fr: Bonjour, %{name}
non-translated-text:
  en: not found for locale %{lang}, defaulting in en locale

// main.rs
use rust_i18n::t;

rust_i18n::i18n!("locales", fallback = "en");

fn main() {
    rust_i18n::set_locale("fr");
    let name = "MinouPitou";
    println!("{}",t!("hello-name", name => name));
    println!("{}",t!("non-translated-text", lang => "fr"))
}

there is a vs code extension that can help with management of those translation with various tool
and there is a cli tool that can generate todos with missing translations.
ill try research different approach than key:value solution

repo: midoshouse/ootr-multiworld


text:
Add button to access command palette in mobile

Before:

After:
https://github.com/midudev/minimalist-portfolio-json/assets/62658933/d03c365b-f217-4724-84cb-04a696060578

That's pretty good!! 🚀

esta es mi primera PR gracias midu te amo :sob:

authors: geroxima jrodolforojas

repo: midudev/minimalist-portfolio-json


text:
Expose number of active TCP connections

New func (*Server) ActiveConns to expose to the application the number of active TCP connections in use at any given moment

I don't think this should be added.
There are other ways to extract this (and much more data) from the OS level.
This only exposed a tiny bit of information.
Coredns shows how to do this without any changes to this library.
/Miek

I don't think this should be added. There are other ways to extract this (and much more data) from the OS level. This only exposed a tiny bit of information. Coredns shows how to do this without any changes to this library. /Miek

Where can I find it?

authors: cesarkuroiwa miekg

repo: miekg/dns

license_source: bigquery


text:
Initial commit

Initial project Fedemy

okay


text:
Read/write MiFare Ultralight Tag

Hello,
I'd like to read and write on ultralight tag.
I only found sketch on internet to do it on classic cards.
I know that won't work because the UID of ultralight and classic
have different sizes.
Does anyone konw how to change the code on the examples of the library
to adapt it to ultralight?
Thanks,
Kikiz59

Hello, have you found a solution ? Because I am facing the same problem. I would like to read a ultralight tag but this one has no key.

Sorry I don't have an Ultralight card :(
While reading about DESFire there was some info about Ultralight stating some of the methods should be compatible for both Ultralight and DESFire cards. I was focusing on DESFire and didn't pay much attention to Ultralight commands or the compatibility between the commands I've written. However I think the basics was more or less the same:

Send Request for ATS (RATS)
Send PPS.

...and you should now be in T=CL.
The ATS response tells you if you should use CID and/or NAD in the prologue of the block. So at this point you should be building the blocks to send MIFARE commands to the Ultralight. It's here where things changes as I think Ultralight uses pages and not ApplicationID (AID) nor files... So probably the next step with an Ultralight will be authentication... and if I'm not misteaken you'll need DES encryption there... I think the authentication command where compatible between Ultralight and DESFire (Although in ultralight it would use DES/3DES, not having the additional AES as the DESFire).

As the memory structure and commands of Mifare Ultralight are very similar (or rather the same) to NXP NTAG 21x, the following code I use for reading blocks from NTAG 21x may come handy:
/* Read 16 bytes from NTAG, starting with blockAddr */
int NTAGReadBlock(byte blockAddr, uint8_t *data) {
	byte length = NTAG_BLOCKLENGTH+2;
	byte buffer[NTAG_BLOCKLENGTH+2] = { 0 }; // this holds CRC as well

	MFRC522::StatusCode status;

	if ((status = mfrc522.MIFARE_Read(blockAddr, buffer, &length)) != mfrc522.STATUS_OK) {
		return -1;
	}
	if (length != NTAG_BLOCKLENGTH+2) {
		return -2;
	}

	memcpy(data, buffer, NTAG_BLOCKLENGTH);

	return 0;

}

#define NTAG_PAGELENGTH 4
#define NTAG_BLOCKLENGTH 4*NTAG_PAGELENGTH

Note that CRC validation is omited in this example.
As for writing, have a look at this post: https://github.com/miguelbalboa/rfid/issues/197#issuecomment-325053383

After 2 days of manipulating the library code, I still can't write data to an Ultralight card. Was anybody successful with this, or has an example?
I would really appreciate it!

repo: miguelbalboa/rfid

license: unlicense


text:
S3 integration with streaming

Test with:
export AWS_ACCESS_KEY_ID=minioadmin
export AWS_SECRET_ACCESS_KEY=minioadmin
export S3_ENDPOINT='http://localhost:9000'

cargo test s3_new::test_s3_rusoto_when_typical

This PR is on hold until availability in rust-s3 of an API to get a stream object (implementing trait futures_core::stream::Stream) for GET/PUT a file to a bucket).
Alternatively, an API call to a observable callback with the current progress (percentage or transferred bytes), which clients can dependency-inject during Bucket::new().
The callback would be called during io operations with the bucket.

repo: mihaigalos/aim


text:
Show both resistence lines?

This Request reached me via Email:
By looking and checking my shot of the [DATE] i have noticed a little difference to what is see on the tablet of my DE1. On the tablet i have two Resistance-Lines, one dashed and one solide line.
On the Visualizer however i have only the dashed one and i could not fine a check box where i would enable a solid line. So, how can i make this solide line be visible too?

You can check this example on the visualizer, i should be visible there. I am the guy with the icon i have put in the attachment [Private Info]

In the attachment you also find a picture of the screen of my tablet showing the date / graph of the according shot.

Many thanks in advance for checking my request and for your feedback.

With only the best wishes and regards,
XXX

Johanna

Can you point them to this issue and explain why they want the other line?

hi Miha
It would be great to have also the other line for resistance, the one calculated from flow, if I have understood Johanna correctly, because the guys from Decent take this line for to explain the resistance and to discuss about, for example in this video... https://www.youtube.com/watch?v=AA08SBeBTPo
Many thanks in advance for your support, for that you may then have already integrated this line into the Visualizer  and for your feedback.
With the best wishes and regards,
Andreas

...and it also would be great to have this line, for when i what to share my datas from the visualizer with the guys on Decent to discuss it and to get some support from them if i have according issues.
Again may thanks in advance and best regards,
Andreas

I'm sorry, who on the forum asked you for this line, and why?
I see next to 0 value in it, because of inaccuracies and BT delays. If you want to look at resistance, the existing one is the better one. But probably you should be looking at conductance.

Hi
It was me that asked for this other line, because it was visible on the decent app
But to show the other line is not necessary anyway anymore.
After the last app and firmware update this line is not shown on the app anymore.
Thanks and regards,
Andreas

Am 27.03.2022 um 09:22 schrieb Miha Rekar @.***>:
I'm sorry, who on the forum asked you for this line, and why?
I see next to 0 value in it, because of inaccuracies and BT delays. If you want to look at resistance, the existing one is the better one. But probably you should be looking at conductance https://visualizer.coffee/changes/conductance-and-resistance.
—
Reply to this email directly, view it on GitHub https://github.com/miharekar/decent-visualizer/issues/56#issuecomment-1079864843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYGJWBLGKQLXEVYOU5XBGP3VCALFZANCNFSM5QSGXSZA.
You are receiving this because you commented.

authors: Mimoja Prinz-Resi miharekar

repo: miharekar/decent-visualizer


text:
Optimize backup restoring

Describe your suggested feature
Restoring backups in Mihon takes at least 45 minutes while J2K (and it's forks) take 5 minutes.
I'd say that optimizing it would be a really important feature

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

And using J2K while restoring backup will result in corrupted library.

And using J2K while restoring backup will result in corrupted library.

only when you include app settings. Also, Yokai doesn't corrupt the library even when including app settings

And using J2K while restoring backup will result in corrupted library.

only when you include app settings. Also, Yokai doesn't corrupt the library even when including app settings

Pretty sure I know more than you as the app maintainer.

And using J2K while restoring backup will result in corrupted library.

only when you include app settings. Also, Yokai doesn't corrupt the library even when including app settings

Pretty sure I know more than you as the app maintainer.

Sorry if I sounded rude or if it seemed like I was saying that I know more than you... I absolutely don't.
What I said is not from knowledge or anything like that, is just from personal experience

No offence taken. I'm stating facts from what I've seen and experienced. Believe me I don't like the long restore time either. Optimization is needed but not how J2K and co. does it.

authors: AntsyLich kana-shii

repo: mihonapp/mihon


text:
Format validator.rs

Attempt to fix the linting for the other PRs

I don't like deleting large sections of code in PRs - it feels wrong somehow so apologies for that. On the other hand the lints on other PRs are failing and warning noise is not helpful. Happy to roll back the deletions (or abandon the PR) if you'd prefer.

hey, sorry for that... I ended up fixing the errors before realizing now you had written a PR...

No problem. Glad to see it's fixed

authors: mikaelmello tpoliaw

repo: mikaelmello/inquire


text:
encode always errors with "Invalid JSON provided!" on 6.0.0

Summary
When I try to set an expiration for a token in 6.0.0, it always errors with
❯ jwt encode --secret "@${GITHUB_APP_SECRET_PATH}" -e "+60 sec" -i "${GITHUB_APP_ID}" --alg RS256
thread 'main' panicked at 'Invalid JSON provided!', src/translators/encode.rs:122:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is on macOS Ventura 13.5.2
Steps to reproduce
Have a valid pem file on your machine. Then, run
export SECRET_PATH="path_to_your_file"

jwt encode --secret "@${SECRET_PATH}" -e "+60 sec" -i "0123456789" --alg RS256
jwt encode --secret "@${SECRET_PATH}" -e "60" -i "0123456789" --alg RS256

and see that both output
thread 'main' panicked at 'Invalid JSON provided!', src/translators/encode.rs:122:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

However,
jwt encode --secret "@${SECRET_PATH}" -i "0123456789" --alg RS256

will work.
Expected behavior
Setting an expiration should work.

Hi @morremeyer, I had this same issue, and I think I know what the problem is. The -e option requires an equal sign rather than whitespace between the option and the argument (e.g. -e="+60 sec), so your examples should look like this:
jwt encode --secret "@${SECRET_PATH}" -e="+60 sec" -i "0123456789" --alg RS256
jwt encode --secret "@${SECRET_PATH}" -e="60" -i "0123456789" --alg RS256

Hope this helps.

Thanks @AlexSeefeldt. This was an ugly side-effect of the update from clap 3 to 4 and the way that expires argument works. It may be able to change back in the future. It's documented in the help output, but it's not incredibly helpful

authors: AlexSeefeldt mike-engel morremeyer

repo: mike-engel/jwt-cli

license: mit


text:
unable to Undo

Undo command is missing in Edit - it makes life very difficult when you accidentally delete something by mistake (Redo is needed as well)

Note that Undo/Redo is in the paid-for Rappid version of JointJS (along with zooming and panning) but obviously we stick with the open source JointJS version:
https://www.jointjs.com/rappid-comparison

Migrated to new issue in the OWASP area repo : https://github.com/OWASP/threat-dragon-core/issues/4

repo: mike-goodwin/owasp-threat-dragon-core


text:
Missing solution for dictionary challenge

The instructor mentions at the end of "Dictionary Solution" lesson that it will be available on the repo, but I don't see it there. After contacting support via Intercom, I was directed to leave an issue on the repo. Thanks!
I would imagine it would be this file, but filled in https://github.com/mike-works/typescript-fundamentals/blob/362113346f26fde233919a04a9e8a87f81c8e319/challenges/dict/src/index.ts

here is the sol i have(map from video, reduce just mocked the map style)
export type Dict<T> = {
    [anyKeyWeWant: string]: T | undefined;
};

// Array.prototype.map, but for Dict
export function mapDict<T, S>(
    dict: Dict<T>,
    fn: (arg: T, idx: number) => S
): Dict<S> {
    const out: Dict<S> = {};
    Object.keys(dict).forEach((keyName, idx: number) => {
        const thisItem = dict[keyName];
        if (typeof thisItem !== 'undefined') {
            out[keyName] = fn(thisItem, idx);
        };
    });
    return out;
}

// Array.prototype.reduce, but for Dict
export function reduceDict<T, S>(
    dict: Dict<T>,
    fn: (cur: T, sum: S ) => S,
    initVal: S
) {
    let out: S = initVal;
    Object.keys(dict).forEach((keyName) => {
        const thisItem = dict[keyName];
        if (typeof thisItem !== 'undefined') {
            out = fn(thisItem, out);
        };
    });
    return out;
}

authors: hatched-cristina jubeater

repo: mike-works/typescript-fundamentals


text:
Improved setup + platform independence

Fixes many smaller issues, and introduces changes that I hope should be straight-forward to accept.

Thanks for what appears to be a considerable effort, and significant improvement to the build system!
I'm going to have to go commit-by-commit through this, since I see a few errors (not freeing a new pointer, using a log that doesn't exist, not accounting for ImportError on non-Windows, etc.), and I'm going to pass on the automatic PEP8 conformity pass.
Cheers!

I went commit by commit cherry-picking and fixed a few things here and there (I was wrong about the log). All merged now.
Thanks again!

authors: mikeboers vidartf

repo: mikeboers/PyAV


text:
Dzikowski aib

ain support

merging

aib

repo: mikedzikowski/AVDRipAndReplace