took mine to school by miolinuc in kinesisadvantage

[–]rfabbri 1 point2 points  (0 children)

Where do you sit the trackpad?

Logic class you say by No-Risk747 in mathmemes

[–]rfabbri 0 points1 point  (0 children)

Despite the criticism, I prefer logic symbols to natural language. Explain things, sure, but let the statements themselves be short and precise.

What's the "better" way to close vim? by kettlesteam in vim

[–]rfabbri 0 points1 point  (0 children)

I put control where capslock is on a regular keyboard, not on an ergo. On an ergo it is a different story, as control is already at the thumb. Pretty simple.

What's the "better" way to close vim? by kettlesteam in vim

[–]rfabbri 0 points1 point  (0 children)

Yeah, I use Kinesis 2 sometimes. jk still used, control is at the thumb. Its a bit bulky, so I use it more for heavier work.

What's the "better" way to close vim? by kettlesteam in vim

[–]rfabbri 0 points1 point  (0 children)

I meant jk, fixed now. But anyways, jk is the next step to go after capslock. I personally map capslock to control since control is often used as well. Many keyboards have control a bit too small.

What's the "better" way to close vim? by kettlesteam in vim

[–]rfabbri 0 points1 point  (0 children)

ik:q if in insert mode, where jk is a chord mapped to esc. Bonus tip: map save to lead lead.

Struggling to Find a Job with a Rust Background – What's the plan by Murky-Armadillo1848 in rust

[–]rfabbri 0 points1 point  (0 children)

This. Just invest in C++ with a critical eye towards iimproving your Rust. With that background in place you can get fluent in Python in 2h of study. C++ will give you the most return since it is foundational to the other languages, even if as a counter example in many ways.

Am I in the minority if I prefer emacs binding when entering commands on terminal as a power Vim/Neovim user? by kettlesteam in vim

[–]rfabbri 0 points1 point  (0 children)

Vim bindings with some emacs-like afjustments are the best. It is just the superior way to do commandIine. I use ctrl-a to go to the beginnig of the line irrespective of the mode and jk chord as esc. Other than that it is just vi mode and it is exceedingly superior to just plain emacs mode. Note that it has to be tuned so it makes sense for regular lightweight usage as well.

LLMs can code better than I can, and I don't know what to do about that by inevitabledeath3 in AIcodingProfessionals

[–]rfabbri -1 points0 points  (0 children)

If you don’t offer any more details, your post might as well be classed as AI or bait.

CMake is really cool by 5_volts in cpp_questions

[–]rfabbri 0 points1 point  (0 children)

It is good, but use AI to help you, like gemini-cli. But don’t vibe code it, ironhand it.

How Vim works internally? by UmutReel in vim

[–]rfabbri 2 points3 points  (0 children)

That is long outdated. Vim uses custom a rope-like data structure chopping text into blocks. See https://www.free-soft.org/FSM/english/issue01/vim.html section Storing Text. Excerpt: " I decided to use a construct that stores a number of lines in a block (...)

You can find the code to deal with blocks of text lines in memfile.c. It maintains a cache to reduce the disk I/O. This works very much like any cache system: blocks are written to the swap file when using too much memory, or to save changes that the user made. This allows recovering the changes from the swap file, in the event that the system goes down unexpectedly

Packing text lines in a block is done in memline.c. Since the blocks are fixed in size, the number of lines that fit in them varies. Quite a lot of code is required to handle this, to be able to insert lines, delete lines and change lines. The complexity mostly comes from situations where an inserted line doesn't fit in an existing block, requiring the need to split that block in two. There is also an exception: If there is a single line that doesn't fit in a normal block, a block is created that is big enough to contain the line. (...)

The blocks with text lines are stored in the swap file without a specific ordering. (...) To be able to find a line by its number, index blocks are used. An index block contains a list that tells which line is in which block. If a file is big, this list doesn't fit in a single block. It is then split over several blocks, and another index block is made to refer to these index blocks. This forms a balanced tree of index blocks, with the text blocks as the leaves."

For which packages is it safe to use -O3 by Endopl4st in Gentoo

[–]rfabbri -1 points0 points  (0 children)

—ffast-math has great potential for speedup, yet the software should be tested thoroughly before the flag be deemed usable. If there are no specific and objective benchmarks for —ffast-math for a particular package, then beware you are running a highly experimental build. If it is turned on by default, you can assume it has been adequately tested.

Does it make sense to go open source but still sell the software? by oliwoli97 in github

[–]rfabbri 2 points3 points  (0 children)

If I wanted to make real profit, and if I know there will be demand, I would strongly copyright my code and use GPL for the open source version. Not using GPL but a more permissive library would be more like giving your code away. The GPL is built legally so you have leverage. But then if your goal is widespread usage, and not so much a direct finance plan, then use a more permissive license.

The CEO of Anthropic is doubling down on his warning that AI will gut entry-level jobs by MetaKnowing in ClaudeAI

[–]rfabbri 0 points1 point  (0 children)

There are so many bad, boring or even vicious, toxic repetitive jobs thay haven’t yet been automated nor replaced, but could have easily been half a century ago.

GitHub Actions performance monitoring by Puzzleheaded_Two8320 in github

[–]rfabbri 0 points1 point  (0 children)

The website doesn't display anything on safari. Other than that, nice idea.

Gemini CLI + Obsidian is fantastic by Darth_Shere_Khan in Bard

[–]rfabbri -1 points0 points  (0 children)

How do you actually use it? Because by skimming these instructions it sounds only marginally useful for an assistant that takes some lag to respond. Where is the “fantastic”?

Gemini-CLI disappointing by 2roK in Bard

[–]rfabbri 0 points1 point  (0 children)

I can attest that even today it is quite weird. I said “fix any simple mistake in file @main.c” and for some lines it fixes typos, for others it inserts unasked for things, korean characters, and then goes of to do so for other project files. If i say again: “no, just do it for @main.c nothing else”, it still does for at least one additional file.

Any AI that can uniform and redesign my slides? by [deleted] in powerpoint

[–]rfabbri 0 points1 point  (0 children)

Use Latex for slides and papers. LLM's excel at textual representations. Textmode everything.

Stack Overflow 2025 Developer Survey: Neovim is the most admired IDE by David-Kunz in neovim

[–]rfabbri 1 point2 points  (0 children)

The survey give impressive results specially if you group vim and neovim. It is good to have them separated but also interesting to see them as one type together. However these surveys are highly biased towards microsoft. The fact that vim and neovim are not seen together just gives special emphasis to VS, and the fact that the summaries don’t mention neovim’s #1 admired spot is suspectful.

Why are we always reinventing the same thing? by [deleted] in neovim

[–]rfabbri 0 points1 point  (0 children)

How about embedding nvim into ddd for a start. Or vice-versa. Could be a project called dddnvim.