oxo boosted

The Mozilla foundation has an open survey about how they should approach the future, if you care feel free to fill it out. Especially so if you've been unhappy about the organization for years mozillafoundation.tfaforms.net

Neovim kickstart is nice! Learning some lua along the way.
My only issue now is getting zig fmt working properly in the default script. Conform is messing up only the first line when autoformat is executed while saving a zig file...
Solving that will be my goal for today.

Today I struggled with the language formatter in neovim for the zig programming language.
Every time when saving a file it printed ANSI escape characters at the beginning of the zig file.
Workarounds in the init.lua didn't solve the problem.
An upgrade from the latest stable release of neovim (0.10) to the nightly build (0.11.0-dev-1103) fortunately did!
Continuing my journey...

@kris Thanks for your tip! I will certainly take a look at eglot.

@itsfoss commandline, emacs and qutebrowser is pretty much from where I live.

Just installed a LSP server for zig. Now exploring emacs lsp-mode while learning zig. A lot of layered learning. Love it!

Hey, I've been using Session to chat with complete privacy and security. Come join me! My Account ID is

053f34f21e1279ddc0832a508dab5eb91c53022f57bd1135881d01f9313884ef6a

Download it at getsession.org/download

Today I added a final feature to the commandline grid clock Novies; 16bit colors!

With that the clock is now fully done. Downside is that 16bit colors introduced a dependency. But coloring the off-lights dark grey really looks amazing.

If you use the oxo desktop environment you can even snap a floating version to the monitor borders or edges. Pretty cool!

If you don't want the dependency and use the old ANSI color codes, just switch the commented decoration lines in the script.

codeberg.org/oxo/tool/src/bran

Novies is a command line grid clock inspired by a so called 'tix clock'. A few iterations have simplified the code and improved the performance of the script.
Settings can now be entered via command line options. For example try:

novies orientation h pattern sym_v interval 1

codeberg.org/oxo/tool/src/bran

Novies again is much simplified. All data is stored in arrays now. I don't feel it's there yet, but it's developing into the right direction. Next step will be scrutinize the update intervals for the hours, minutes and seconds.

codeberg.org/oxo/tool/src/bran

I want to replace my with a 3 (nitrokey.com/products/nitrokey). As a backup and because I want to support open source security solutions. But I need static slots. Does the nitrokey 3 also has two static slots, like the yubikey does?

Baby steps, but still progression towards my endgoal with my Novies script.

The goal is a script that is easy to understand so I can teach it to others. Not a light task. But a fun one!

codeberg.org/oxo/tool/src/bran

oxo boosted

The novies clock is working.
I consider todays last commit (9931e36db9) as the alpha release.
Vertical and horizontal modes, random numbers patterns and predefined ones.

But the fun actually has just started. I see many opportunities to prune out inefficient code, simplifying the script more and more.

Keep track of my progress at:
codeberg.org/oxo/tool/src/bran

Novies
codeberg.org/oxo/tool/src/bran
Many loops removed, thanks to tput.
Many files removed, thanks to arrays.
Still working on some bits and pieces...

I had tears in my eyes after The Catch.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.