HN user

rgomez

48 karma

www.khromalabs.org

Posts3
Comments30
View on HN

Thank you for the feedback... actually I need to update that, the crypto part of my project will be closed source (an specific remote server) but the idea behind the project itself is universal and open since the very beginning, I already developed dozens of skills including a meta-search engine (searches in several engines at once and combines results dynamically, all balanced by the AI) which are open source as well. Crypto just kind of showed itself as way of funding project, with no strings attached, and till this very day no one else showed up.

Shamelessly promoting in here, I created an architecture that allows an AI agent to have those so called "tools" available locally (under the user control), and works with any kind of LLMs, and with any kind of LLM server (in theory). I've been showing demos about it for months now. Works as a middle-ware, in stream, between the LLM server and the chat client, and works very well. The project is open source, even the repo is outdated, but simply because no one is expressing interest in looking into the code. But here is the repo: https://github.com/khromalabs/Ainara. There's a link to a video in there. Yesterday just recorded a video showcasing DeepSeek V3 as the LLM backend (but could be any from OpenAI as well, or Anthropic, whatever).

The Vim configuration is something deeply personal, but I'd recommend as a wise choice always explore first the default settings because assuming those in your workflow gives an huge advantage using any new unconfigured vim environment eg to get out of any of the edit modes <C-c> works by default and is a great choice. To use CUA alike shortcuts there's already: ``` source $VIMRUNTIME/mswin.vim ``` And finally, is also a good idea to get used to use <Leader> as a prefix for your own shortcuts, in my case I use the space bar as <Leader>.

Coming from the "old ages" when a PC didn't even feature a (3D capable) GPU and all was about getting all the possible juice of the CPU... shaders now allow incredible things in a very small size, as long as you stick to procedural content. shadertoy.com features an insane amount of great samples.

I tried Gentoo and Artix, both being a very good experience. Some minor issues with laptop suspension and lightdm session handling in Artix tho. Flawless behavior with Gentoo, pity that an update broke my system a while ago.

Well about the hardware support, i.e. the Ubuntu Desktop certified hardware list is quite long [1], and I'm quite sure there are a lot more perfectly working brands/models that are just not appearing there. I've been using a Dell Inspiron model, for 8 years now not appearing in that list as a daily driver and every major distro worked perfectly out of the box, some tweak required from time to time but that's it.

[1] https://certification.ubuntu.com/desktop

I've developed an easy to follow method to stop procrastinating in time "black-hole" sites, like social networks, etc... I've observed that the problem in my case is having the possibility of accessing my account at those sites immediately, as soon as I get bored doing any repetitive task at work, or I have an idea about something I could post in a social network, etc... So the easiest way for me to avoid that is to use a long, very-hard-to-remember password there, write it down in a notepad, and never save the login info in the browser. Bonus measure, you could leave the notepad outside home (in the car f.e.)... that way, losing time procastinating requires actually more effort for me than just stand up for a little and then return to work. The point is never allow that to be an easy option, an easy way to escape from responsibilities... Installed "walls" via browser extensions etc never really worked for me, as in the end I just disable them if I feel that's bothering me. PS. Also of course, avoid to save the cookie session once you close the browser in "dangerous" sites...

Cherry-picking some of them:

    # Show Disk Use of subdirectories, sort by size
    alias duss="sudo du -d 1 -h | sort -hr | egrep -v ^0"

    # Cheatsheet autogenerated from i3 configuration file
    alias i3cheatsheet="egrep ^bind ~/.i3/config | cut -d ' ' -f 2- | sed 's/ /\t/' | column -ts $'\t' | pr -2 -w 145 -t | less"

    # Show mount information in a nice format
    alias mountt="mount | column -t | sort"

    # Show remaining dirty bytes while coping to a file, very useful in XFCE not sure in other enviroments
    alias watchdirty="watch grep -e Dirty: -e Writeback: /proc/meminfo"

    
    # Bookmark directories ej. "bm a" "go a" etc
    go() { eval dir=\$$1; cd "$dir"; }
    bm() { eval $1=$(pwd); echo "`set | egrep ^[a-z]+=\/`" > ~/.bookmarks; }
    test -f ~/.bookmarks && source ~/.bookmarks

    # I use this one all the time, combined find+grep, f.e. fgr "Class" "*.cpp" "-l" (2nd and 3rd parameters optional"
    function fgr {
            NAM=""
            GREPTYPE="-i -H"
            if [ -n "$1" ]; then
                    test -n "$2" && NAM="-name \"$2\""
                    test -n "$3" && GREPTYPE=$3
                    CMMD="find . $NAM -not -path '*/\.*' -exec egrep --colour=auto $GREPTYPE \"$1\" {} + 2>/dev/null"
                    >&2 echo -e "Running: $CMMD\n"
                    sh -c "$CMMD"
                    echo ""
            else
                    echo -e "Expected: fgr <search> [file filter] [grep opt]\n"
            fi
    }

And! is a public W3C standard, is open source, is just a VM, doesn't define own UI components, is not controlled by any private corporation, will be maintained by browsers' editors, and maybe too many other things I'm not aware of...

Remembering now the Monty Python's "What have the romans ever done for us" scene...

Why do you people like this 3:2 screens? (I presume that I'm writing to an audience of programmers, mostly). Wider screens are perfect to work with to two files side by side. 16:10 is my perfect ratio, but I'm genuinely curious about your reasons.

Yesterday discovered Inoreader, already tired by Feedly's lack of Android's notifications, ATM seems to me the best platform to substitute/improve Google Reader.