Categories
Quotes

Freedom

If you hear the dogs, keep going. If you see the torches in the woods, keep going. If there’s shouting after you, keep going. Don’t ever stop. Keep going. If you want a taste of freedom, keep going.

Harriet Tubman
Categories
Software

Install LLaMA (Lingual Language Mapper) on Fedora

LLaMA (Lingual Language Mapper) is an open-source software used for language detection and mapping. It is a powerful tool that can be used for various purposes, including data analytics, sentiment analysis, and machine learning. If you are looking to set up LLaMA on Fedora, this article will guide you through the process.


Before you begin, ensure that your system is updated and has the necessary dependencies installed. You can update your system by running the following command:

sudo dnf update

Next, install the dependencies required to build and run LLaMA:

sudo dnf install gcc gcc-c++ make cmake3 boost-devel

Once the dependencies are installed, you can copy the Inference of the LLaMA model in pure C/C++ or by running the following command:

git clone https://github.com/ggerganov/llama.cpp

Next, navigate to the extracted directory and make the following:

cd llama.cpp
make

Install Python dependencies (need disc space):

python3 -m pip install torch numpy sentencepiece

After downloading models to :

ls ./models
Categories
Linux

Change keyboard layout Gnome login screen

If You have more layout and different locales users in the Linux Gnome, then You maybe have problem to change every system boot time to change layout for input password.

Or switch user. Also You can’t see which layout is actual right now.

Solution is to set location with localectl

sudo localectl set-x11-keymap us,lt,pl,ru

Add NumLock on starup off Login screen these steps:

  • Install numlockx pacakge
  • Setup startup manager. For example <a href="https://ubuntu-mate.community/t/turn-off-num-lock-on-ubuntu-mate-login-screen/1215">lightdm</a> add
greeter-setup-script=/usr/bin/numlockx on

in the

/usr/share/lightdm/lightdm.conf.d

Categories
Linux software

Error on system upgrade Fedora

If You get on dnf system-upgrade error :

terminate called after throwing an instance of ‘libdnf::ModulePackageContainer::EnableMultipleStreamsException’
what(): Cannot enable multiple streams for module MODULE_NAME

Try to reset this module and repeat upgrade operation:

dnf module reset MODULE_NAME
Categories
Internet

Shell explain

Nice an intuitive tool to explain shell command – https://explainshell.com/

Categories
Quotes

Suit facts

I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.

Sir Arthur Conan Doyle
Categories
Quotes

Words and ideas

No matter what people tell you, words and ideas can change the world.

Robin Williams

Categories
Offtop

Art is smart and digital

Last weekend I visited at ARTarea digital installation of painters Hieronymus Bosch, Pablo Picasso and Salvador Dalí . Spend hours and it was amazing. All paints is alive and with music compositional.

Video was project onto the walls of the expo walls.

Some videos in read more

Categories
Quotes

Enthusiasm

Nothing great was ever achieved without enthusiasm.

Ralph Waldo Emerson

Categories
development

Bio rythm page updates

Refactor page bio. Make SPA with VueJS from vanilla JS

Also use awasome Bulma CSS framwork.

Future upgrades:

  • Refactor chart to canvas

Source code – Github

Categories
Quotes

Love means…

To love means loving the unlovable. To forgive means pardoning the unpardonable. Faith means believing the unbelievable. Hope means hoping when everything seems hopeless.

Gilbert K. Chesterton