Spyke

Replies

python

Comment on

Write Shell Out Comes Python

Reply in thread

I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.

BUT

Does this tool replace shell commands with python functions? Or does it just call many times subprocesses.run()?

linux

Comment on

What's your favorite terminal?

Once upon a time, I loved Xfce Terminal. It use light and complete for the use-case I had. Then I wanted something that looked nicer with vin. So I started looking for an alternative.

I used alacrity for a long time (4 years). Then, I found kitty provided some nice stuffs that simplified the workflow for remote servers thanks to special ssh commands and session tabs. I used kitty for about 2-3 years. One thing I missed was that it's hard to integrate with other software because it implementa all it's crazy "kitty protocols" and pretend to use them even if they're compleynon-standard.

Recently, some misterious bug appeared and made it impossible to use. I switched to wezterm. I liked it could be configured in Lua, so it feels more coherent with my neovim configs. I just missed the mappings for switching terminal and send "!!" (i.e. execute last command). The special commands for copying custom configs on any ssh server was also missing, but it's easy to make a script for that. I haven't experienced too much with integrating it with other tools, but I suspect it's not better than kitty in this.

I gave a chance to konsole last week. I just asked myself why we (neovim users) all look for Gpu-accelarated stuffs. The improvement in performance is negligible actually. However, konsole is super-well integrated in the OS, with a scratch terminal (yakuake), file managers (dolphin, konqueror), text editors (Kate), and even simple browsers (konqueror). It provides all the features of wezterm. I still lack a key map for sending "!!" to a specific terminal, though. But I think the integration it offers is superior to that niche feature (that can be paired within neovim, btw).

linux

Comment on

thinking of trying linux,

The thing is that people use Linux and than find it so good that they try to find problems in order to spend time playing with it. It's like a hobby, or a game... But you can also use it without making it a hobby. Ubuntu was born for this, but for that I would honestly suggest something like Manjaro

kde

Comment on

Konsole: keybinding to a sequence of actions

Reply in thread

The thing is that the qdbus command only works from inside the terminal, because it needs to know the correct konsole instance. Anyway, I moved to alacritty because the konsole support for ANSI codes is terrible...

Qdbus command: qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION runCommand "!!"

synths

Comment on

Suggest me a groovebox that brings me back to music

Reply in thread

I know bespoke synth. It's very nice, but at least I need some controller. Moreover, I don't like programming for doing music. I'm looking for something faster. Also, I found it a little buggy, with random crashes here and there. I think that for those kind of stuffs it's better staying on reliable software like puredata and derivatives

neovim

Comment on

Question: Fuzzy find in registers

Reply in thread

Whenever you delete something, nvim copies it in a register. Which register it puts in depends on the command. Honestly, I've always been confused from all these registers for two reasons:

  • too many registers, most of them never used
  • they don't pair with the OS clipboard, so even Just copying-pasting in a different terminal or into a browser is impossible

So, I just use my OS clipboard (KDE Plasma has a clipboard manager built-in) and osc52 plugin (but support for osc52 will is built-in in nightly). If you really want to use registers, you could try to copy all of them into only one and use that.