K Ring Technologies Ltd

Aladdin

A collection of open source tools used by K Ring Technologies. I had to call the page something. I hope you agree. Kind of reviews and status on the state and availability of “free” open source-ami.

A Simple RISC...

Some ideas for a simple RISC processor although unlikely to ever be made, do have possible application. To make it easy a 16 bit wide instruction and 16 general registers 32 bit wide make most sense.

Hiding the link register ln has good security implications so it is always implicit. Also the pc can be implicit too. So here goes. It’s not as though the return stack isn’t heavily cached, and doesn’t need writeback of anything below the stack pointer line.

JQuery and Underscore...

Underscore.js

A nice functional JavaScript library. I like it, although it might be a bit of a challenge to get it working server side with CloudFlare workers. It even includes a simple dynamic template system with _.template(). It can be found as an ESM module as well as “normal” UMD, so that might help some.

JQuery

A compact library to do DOM processing based on tags. A similar challenge to get it server side, but it would make for more expressive terse code if the server had a DOM, but it doesn’t. I suppose that’s lucky. It’s not as though all it does can’t be done otherways, it’s just so compact to write without all the boilerplate duplication. I’m sure with DOM templates it will be efficient to implement things.

Gimp and Inkscape...

It’s a classic free replacement to PhotoShop and does what I need from such a tool, along with a nice vector drawing program to make .svg files. I’m not into doing a full manual here, but these applications are so good.

Suckless and Rofi...

st

The suckless terminal. It’s ideally small to bake in a nerd font, and remove non UTF-8 mode, and the alt code Latin code page. On a Chromebook this is important as the Crostini terminal doesn’t have nerd font abilities. I then launch nvim inside st to obtain a local and an ssh -X remote fonted edit experience. Nice.

rofi

A nice hot keyed quick launch selector. After a bit of setup lots can be placed for access by rofi -show combi, the mix together mode. I also added a plugin template called a as C makes a.out for adding in more modes.

Hugo...

Hugo is a static site templating builder used here. It works well. It seems similar to how github pages works, but is written in go instead of ruby. It does take a little while to scan the documentation and setup, as some of the more complex themes don’t work with some integration solutions such as CloudFlare. Simple truths such as a theme being a fallback site make sense, as after some time migrating the templating to the theme and just using the site layouts for overrides just makes sense.

Neovim...

The excellent Neovim has improved a lot since the older vim and even the original vi. It now includes Lua scripting as well as the more obscure Vim Script. It is best using some extra configuration of which LazyVim I have found to be very useful.

As a fast loading editor with treesitter and various LSP servers, it’s nice, although the way “modes” work is not your usual editor way. It has the speed advantage over VSCode and also will load files over an SSH connection whereas VSCode just freezes. I tried Emacs for a while and have used it back in the 90s. I found the LISP configuration more annoying than using Lua for configuration. Also LazyVim really solves the initial setup problems.