Better HN
topnewbestaskshowjobs
Log inSign up

svlasov

360 karma · joined Apr 1, 2016 (10y ago) · 43 submissions

Submissions

comment 2mo ago · link · parent

> I guess that's just how git works.

You can use `--force`:

> If <branch> does exist, it will be checked out in the new worktree, if it’s not checked out anywhere else, otherwise the command will refuse to create the worktree (unless --force is used).

comment 2mo ago · link · parent

What about LG smart soundbars? I always kept the TV offline but the soundbar, if not connected to internet, exposes an unprotected hotspot that anyone can connect to and take control over the soundbar, forcing you to connect it to internet.

comment 3mo ago · link · parent

Too bad this requires using WhatsUp.

comment 1y ago · link · parent

How many GUI applications do you use that need to continue running after closing the GUI?

5.

SoundCloud Gets a Dark Theme Setting(soundcloud.com ↗)

3 points · by svlasov · 1y ago · discuss

comment 1y ago · link · parent

I could have been worse https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issue...

comment 1y ago · link · parent

free during a promotional period

comment 1y ago · link · parent

Indeed looks like a kilo fork without any attributions.

comment 2y ago · link · parent

Link to the video in the article is broken, the correct link is https://download.fsfe.org/videos/peertube/fYwrRaaw8qQhauiG2n...

comment 2y ago · link · parent

If you know what you want to build, typing becomes a real bottleneck.

comment 2y ago · link · parent

Apparently this is just a mirror of the original tree tool source code, which dates back to the 1990s.

comment 2y ago · link · parent

All `g_bindata_k*.c` files are essentially blobs with no source provided:

https://github.com/NVIDIA/open-gpu-kernel-modules/tree/main/...

comment 2y ago · link · parent

Also see https://github.com/kilobyte/colorized-logs which is very performant and available in every distro.

comment 2y ago · link · parent

I wonder how much faster it would be if it was written in Vim9 script.

15.

Reflection for C++26(isocpp.org ↗)

196 points · by svlasov · 2y ago · 208 comments

comment 2y ago · link · parent

I wonder if somebody already tried to compare installations made via Ventoy and not to spot any differences.

comment 2y ago · link · parent

They couldn't fit a 3.5mm audio jack.

comment 2y ago · link · parent

Vim has many features that do not belong to a text editor, like `:make`, `gd` or even QuickFix.

comment 2y ago · link · parent

> I really wish Vim would add Neovim's Lua API

If by that you want Vim to become compatible with Neovim Lua plugins, Vim will have to add and maintain compatibility with the whole Neovim non-Lua API as well (new functions, options etc). This will never happen.

comment 3y ago · link · parent

Having a separate window per tab will consume more resources, than showing only a single tab content at a time.

21.

Show HN: Bazel.vim – Bazel Integration for Vim(github.com ↗)

1 points · by svlasov · 3y ago · discuss

comment 3y ago · link · parent

gvim and vimscript9

comment 3y ago · link · parent

Yes, that's possible. You can set any X11 window as a child of another X11 window, the parent window will be responsible to manage (taking care of window geometry and what not) child windows.

comment 3y ago · link · parent

Is there an affordable 4-port DisplayPort 1.4 switch? How are they almost 10x more expensive than HDMI variants? Paying 500€ for a KVM box is not justifiable, I only want to avoid physically re-plugging the cables.

comment 3y ago · link · parent

The closest I can think of: https://github.com/netxs-group/vtm

comment 3y ago · link · parent

For example I would be interested to see a debug mode with expandable variables and call stack, git changes highlight, flexible split layout with tabs support, toolbars if any, terminal integration, compilation log, file tree navigation, syntax highlight on non-trivial code, popups with symbol info, scrollbars minimap, markdown rendering.

comment 4y ago · link · parent

Vim script has a long history and initially it emerged from vi commands. It is intended to talk to Vim internals, so any other language will always look and feel alien in this regard. I hope Vim script will continue evolving, albeit breaking backward compatibility.

comment 4y ago · link · parent

Neovim is only compatible with very old Vim plugins or plugins that target both Neovim and Vim via compatibility layers.

comment 4y ago · link · parent

I wish instead of `endfun`, `endif`, `endfor`, `endwhile`, etc. Vim9Script would have gone with a more unified syntax like curly braces.

30.

Winamp source code leak(web.archive.org ↗)

476 points · by svlasov · 5y ago · 325 comments

12