- 
  
How GenAI works & hot news on Gemma
Feb 24, 2024 · 3 min read ·
    This week was very hot because Google published Gemma, a smal-size LLM, and also Nvidia has a rush on stock market, with a evaluation around 2000 BILLIONS dollars. Last but not least, Mistral.ai published a service for its more advanced model, which can also run on-prem.
Read More - 
  
Exploring Generative AI: LLama2 on MacM1 Take 1
Feb 17, 2024 · 10 min read ·
    Generative artificial intelligence (GenAI) is artificial intelligence capable of generating text, images or other data using generative models, often in response to prompts.
Generative AI models learn the patterns and structure of their input training data and then generate new data that has similar characteristics. This similarity is probability-based.
At low level, these systems are based on Transformer deep-learning architecture and are called generative pre-trained transformer (GPT) first defined in 2018 (for a complete description refer to Wikipedia)
Read More - 
  
Today I have an hard time using the @Profile directive for enable feature toggle on Spring, so I decided to write a small guide on it.
Read More - 
  
    Modern computer are very very very fast. C/64 was about 1Mhz and you can hangs it just throwing a 10.000 cycle in interpreted BASIC v2 language.
Read More - 
  
    A friend of mine asked some insight on how to harden a Gitea server on Internet. Gitea is a web application for manging git repositories.
Read More - 
  
    Bullet points:
- 1979: Unix V7 Introduced the chroot command to isolate the filesystem a process "access" to.
 - Various technology was introduced up to 2006, like Virtuozzo (which patched Linux in a proprietary ways)
 - 2006: Process Containers Launched by Google in 2006 was designed for limiting, accounting and isolating resource usage (CPU, memory, disk I/O, network) of a collection of processes. It was renamed “Control Groups (cgroups)” a year later and eventually merged to Linux kernel 2.6.24.
 - 2008: LXC LXC (LinuX Containers) was the first, most complete implementation of Linux container manager. It was implemented in 2008 using cgroups and Linux namespaces, and it works on a single Linux kernel without requiring any patches.
 - 2013: Docker Docker used LXC in its initial stages and later replaced that container manager with its own library, libcontainer. Docker offered a way to configure and manage containers, i.e a standard de-facto for this technology. As you see Docker was based on cgroups and LXC, seven-years old technologies
 - On September 2014 Google published the first release of Kubernetes
 - In 2015 Docker, CoreOS and others founded the Open Container Initiative's (OCI). K8s does not need docker anymore to work, but Docker traction is still strong.
 
References:
Read More - 
  
Let PiHole play nice with docker-compose
Apr 3, 2022 · 1 min read ·
    When you run pihole in a docker container, it could be difficult to build images on the same docker daemon, because docker-compose cannot pass DNS request to another container during build, and normal dns resolution fixes won’t work.
Read More - 
  
    Abstract: Make a database which can be store historic modification is often considered a “secondary” activity, but bad design leads to databases that are difficult to optimize and often not very understandable. In this article we illustrate a simple method that respects the dictates of relational theory & is easy to understand. As a plus we will show it on SQLite, a small but powerful database system.
Read More - 
  
    Some news site still try in 2021 to disable right click and ability to copy content. These tactis are very very poor, and only block the users not interested in copying/stealing your code.
Read More - 
  
    Suppose you are developing a boring Jenkins pipline (like Jenkinsfile-s) with no time at all.
You are forced to commit and then run the jenkins pipeline. Jenkins download the code from your LOCAL repository.
To avoid commit& push roundtrip you are using the simple git daemon command to expose your local repository to jenkins. So jenkins see every commit you has just done.
And you end up doing a lot of commits, full of trial and errors: you would like to “squash” them before pushing your work to your remote repository, to avoid co-worker laugh your wasted time(!)
Git can do that, but I have an hard time to find the easier way of doing it, even reading git books!
So let me explain to you:
Read More