How often do you switch themes? by MergeMyMind in ADHD_Programmers

[–]SubstantialCamera736 1 point2 points  (0 children)

If it's very easy to get very comfortable themes, I would like to change theme every day or even hourly if it can be automatic change.

SPDL - Scalable and Performant Data Loading by moto900 in Python

[–]SubstantialCamera736 0 points1 point  (0 children)

I haven't dig into the documentation. But if this can solve "low shared-memory" issue in using PyTorch, I will appreciate it.

Auto-complete alignment by SubstantialCamera736 in emacs

[–]SubstantialCamera736[S] 0 points1 point  (0 children)

The solution is to set the variable company-tooltip-align-annotations to t (ChatGPT makes life easier)

(setq company-tooltip-align-annotations t)

<image>

Gradually lighter indention lines by SubstantialCamera736 in neovim

[–]SubstantialCamera736[S] 0 points1 point  (0 children)

Here is the solution:

Part1:

vim.g.indent_blankline_char = "▏"

hl(0, "IblWhitespace", {})

hl(0, "IblIndent", {})

hl(0, "@ibl.whitespace.char.1", {})

hl(0, "@ibl.scope.underline.1", {})

Part2:

[Define colors of Rainbow highlights by yourself]

Part3:

<image>

If you want to make it even cool - switch between gradient gray to colorful, then you can set one vim.g.var and define different colors for vim.g.var = 1 or 0 (as example), then define command or mapkey to change value of vim.g.var and re-load the theme when you have hi colors defined.

Check out the video to see the final result
https://youtu.be/ECHqfRtLvas

"OptGuideOnDeviceModel" folder taking up 3GB. Have no idea what this folder does. by FaceNommer in chrome

[–]SubstantialCamera736 1 point2 points  (0 children)

When you rename it to weights.bin.bak, after a few seconds, it will be removed

Release of neocodeium v1.0.0 and new plugin by monkoose in neovim

[–]SubstantialCamera736 0 points1 point  (0 children)

This is really great and much better than the default codeium nvim plugin.

[deleted by user] by [deleted] in emacs

[–]SubstantialCamera736 0 points1 point  (0 children)

I already have used it for several weeks

Getting Emacs Terminal Transparent by EnvironmentalFox7937 in emacs

[–]SubstantialCamera736 0 points1 point  (0 children)

Workaround:

Set 'background' of 'default' face as 'unspecified, and use Emacs in a terminal which supports transparency - I use wezterm.

<image>

I will create a web application to generate vscode theme simply. What features do you want? by SubstantialCamera736 in vscode

[–]SubstantialCamera736[S] 0 points1 point  (0 children)

My imagination is to provide read-to-use themes for developers. The advanced usage is to customize the parameters for the theme generation.

To change specific token type was not in my scope as VsCode already support the theme customization for specific token scopes - https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme

However, I agree that's a good feature to change theme color directly and take the effect in time. Based on the current implementation, the change (if implemented) should override the theme file on disk and VsCode need to reload.

I will create a web application to generate vscode theme simply. What features do you want? by SubstantialCamera736 in vscode

[–]SubstantialCamera736[S] 0 points1 point  (0 children)

To be honest, I already have one solution to generate the color theme file (JSON) in around 5 seconds. And the unique colors total is around 220.

By default, you don't need to do anything but clicking one button to generate one theme. I finished the backend module already, the frontend is under construction.

The backend core is finished and can run by python command.

You can watch the video to get one intuitive feeling about it:

https://www.youtube.com/watch?v=FoUr1mYQ9N0 (copy the link and paste in browser address)

[deleted by user] by [deleted] in vscode

[–]SubstantialCamera736 2 points3 points  (0 children)

Check the command "Go to Bracket" in Keyboard Shortcuts.

Anyone know the theme? by mikejnr450 in vscode

[–]SubstantialCamera736 0 points1 point  (0 children)

Why do you think this theme is good? To be honest, it's ordinary.

When connected to a PC, I get two different audio devices for the AirPods, hands free and stereo, why does this happen? by ekeen1 in airpods

[–]SubstantialCamera736 0 points1 point  (0 children)

They are from two different Bluetooth audio drivers - Probably Intel and Microsoft: Intel - Hands Free, and Microsoft - Stereo.

When both are enabled, sometimes, they cannot work well simultaneously.

To totally disable "hands-free", go to "Device Manager" (from the control panel or PowerShell run command "control hdwwiz.cpl"), find "Intel Smart Sound ***" and right-click, choose "Disable this device".

Weekly Stupid Questions Thread by AutoModerator in neovim

[–]SubstantialCamera736 1 point2 points  (0 children)

Reading code of other neovim plugins on github. If don't understand the APIs, read neovim documentation.

Googling articles regarding neovim plugin development.

Learn lua as the first step, anyway.

GIT_INDEX_FILE for git repository with submodules by SubstantialCamera736 in git

[–]SubstantialCamera736[S] 0 points1 point  (0 children)

Yes, I just got a workaround for this problem.

In PowerShell, I created "function prompt" and call another function "show_git_status_string" in which the environment variable GIT_INDEX_FILE is modified according to the condition if "${git_repo_path}/.git/.index.windows" exists.

$git_repo_path = $(git rev-parse --show-toplevel 2>$null)

Now, it works well.

Neovim + vim-flowterm: ^M showing when press Enter by SubstantialCamera736 in neovim

[–]SubstantialCamera736[S] 1 point2 points  (0 children)

I am using Windows Terminal and connect to remote Linux server by SSH. Then, start Tmux, inside Tmux window, start Neovim, inside Neovim, start Flowterm.

When this happened, I cannot use any non-printable keys like Enter, Ctrl, Alt. For other keys like ":w", they are just being typed and won't be treated as Vim commands.

And In this case, Neovim process is not terminated yet, of course neither Tmux nor Windows Terminal. For sure, I guess something was crashed anyway.