Thursday, November 26, 2026

Learn CPP

So I love technical books that are really well written. Which in and of itself seems like magic to me. I've encountered a couple. Where somehow it is riveting reading, even in the early chapters where their discussing the absolute basics. I LOVE it when I learn new things in the noobie chapters of a book.

Learn CPP might be the pinnacle of such technical writings. It's technically not a book, which is cool, it is more fluid, so as the C++ landscape changes, it is updated to reflect these. But you can find Git repos that allow you to convert the online 'book' into a.pdf. That's what I'm reading. So far I'm a bit over 3/4 through it. And I'm NEARLY acing Coding Jesus' mock Quant interviews lol.

It's amazing when a book doesn't just tell you about a language, but really educates you on what's happening at the lowest level. I'll have to go deeper into this aspect in a future article.  :)

Wednesday, November 25, 2026

Vis?

Why am I just now learning about this app? So apparently it's a Vim like editor with a small code base. I played around with it a bit today. It seems ok. The two things that already kind of disappointed:

No :enew
I'm not sure how you can create a new file without that action creating a new buffer/window in a split. So then you would need to switch to the old one and close that. I did a few searches but didn't dig into it more than that.

No :find
There's a cool trick in Vim that allows you to do sort of recursive fuzzy find/grep to open your files. So if you're working on an app you could set your root directory to 'src' and leave it there. Then you can use :find to open files anywhere in its subdirectories. To use this you just need to add a line in your vimrc or init.lua - I have it in my Neovim init.lua where the valve is:
vim.opt.path:append("**")

That's it. So far I don't see the equivalent in Vis, but I only played with it for about 15mins.


I'll have to get to know this app more, see what I think of it. I definitely need to look at its source code - it should be less daunting than Nvim's is.

Best GUI / TUI

 Let's talk about my favorite GUI and TUI libraries... so far.


Dear IMGUI

I've used this library in a couple of projects (using the branch with docking features). The shear complexity of the interfaces you can build - easily is amazing! And it's pretty easy to also create theme editing interfaces as well! Docking is next level! The structure, being an IMGUI library is surprisingly clean and straightforward. If you are a game dev, you will be right at home with this library - it runs on a 'game loop' of sorts! So events are super easy to code for, and again - you can build REALLY complex graphical interfaces using code that is pretty easy to write and maintain.


Ftxui

For TUI interfaces, I've had a lot of luck with Ftxui! The treeview-based Vim-like notes editor I've built with it, as well as the 'multiplexor' app I've put together both use this library. It's powerful, yet clean and easy to maintain.



Bonus:

AND - if you are doing paired programming with your AI buddy, both of these libraries result in fairly solid code - if you know how to prompt for it and establish a solid code structure early on.


Tuesday, November 24, 2026

I Gave In

I wasn't going to do this, but it IS useful... so I relented.

I added the ability to save and restore layouts in my 'multiplexor' app. They store the state of your tabs and panes as well as the current path each pane is pointed to (that alone saves the user from tedium).

But there are some issues that are creeping up as I start using this app every day. Mainly it's in key combinations being swallowed. For example if I run my console based treeview notes editor in a pane, I'm unable to close dialogues in it. Escape does nothing, or exits me out of NORMAL mode. For some reason Vim is immune to this. I'll have to look at its source code and see how. Also the Ctrl+j that my local RPG LLM app uses to submit prompts just doesn't fire. For now I just added a button to the LLM app, but I'll need to get all of these keys issues fixed.

I'm considering adding a MOVE mode, so that tabs and panes can me swapped and rearranged. This MODES approach is absolutely amazing in a console app like this!

Monday, November 23, 2026

Ghostly Cursors

 My console 'multiplexer' app has an interesting issue.

As I'm typing random ghost cursors are showing up at random positions within the TUI.

It turns out this is an error that has been resolved in a later version of Fxtui. So I've updated my CMake file - and my build.sh script etc.


This appears to have done the trick!


I just tested this app in Windows and the Ftxui parts work great! However the terminals within each pane appear to be broken.

So this week my tasks is to get that piece fixed.

Sunday, November 22, 2026

Project Structure Documentation Key

 I've added a 'key' to the documentation from comments Python script:

structure

So:

//!_structure=/Project Structure
Generates the project structure from within the src directory.

//!_structure=/Project Structure=../
Generates the project structure relative to the src directory.

This lets you generate a project structure ASCII document that is built off of the files and folders in either your source code directory - or your project directory.

You can specify directories that it will ignore when doing this - it has default values of 'build' and 'build-windows'.

So far my testing of this looks good!

Saturday, November 21, 2026

Back to Basic-er

For a while I was using tmux for my workflow, creating panels for Neovim, Git repo work, file browsing etc. But at that time not being able to really persist sessions bothered me (I know the session will keep running and i can attach to it... until I reboot or similar). I tried to mimic that via shell scripts etc and that worked.... ok.

Then I found Herdr. And immediately fell in love.
I liked the layout, loved the persistent sessions, the key binding cheat sheet was short and sweet. I've been using vanilla Herdr ever since.

But you know.... I kind of like the simplicity and utter minimalism of out of the box tmux. So I think I might switch back for a while. And I think I'm going to kill the server whenever I'm done working, so that every time I use it I have to setup my workspace again. This will allow me to REALLY get the key bindings down - and I'll be VERY fast at them. So that soon, setting up any kind of layout I want would take mere seconds.

And since it's vanilla there's no need to worry about any special configurations or plug-in compatibility etc. And I think I'm going to build it from source.
Hmm I should dig into its source code. If I encounter any issues or similar maybe I could fix them myself.

More to come....

Learn CPP

So I love technical books that are really well written. Which in and of itself seems like magic to me. I've encountered a couple. Where ...