open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • How GenAI works & hot news on Gemma

    calendar Feb 24, 2024 · 3 min read
     en featured generativeai knowledgebase  · 373 ideas macm1 macos ollama
     ·
    Share on: twitter facebook linkedin copy
    How GenAI works & hot news on Gemma

    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

    calendar Feb 17, 2024 · 10 min read
     en featured generativeai knowledgebase  · 373 ideas macm1 macos ollama
     ·
    Share on: twitter facebook linkedin copy
    Exploring Generative AI: LLama2 on MacM1 Take 1

    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
  • Consigli ad un amante della matematica iscritto per sbaglio al Liceo Classico

    calendar Feb 15, 2024 · 3 min read
     it  · matematica
     ·
    Share on: twitter facebook linkedin copy

    Mi e' tornato in mano un bel libro di Piergiorgio Odifreddi, intitolato C'e' spazio per tutti che tratta di geometria, e mi ha ispirato alcune riflessioni.

    La prima, e' che benche' il liceo classico sia intriso di cultura greca, c'e' una grave mancanza, poiche' viene insegnata poco la genesi della geometria e della matematica, fortemente connesse nel mondo greco. Cosi' tanto connesse che gli Elementi di Euclide trattano non solo di Geometria, ma anche di Algebra e Aritmetica.


    Read More
  • yq to manage your K8s yaml

    calendar Feb 13, 2024 · 1 min read
     automation en
     ·
    Share on: twitter facebook linkedin copy

    On the current project, I had the need to extract the cpu limits from the deployment descriptor, sum them to check resource usage and print a report.

    I need to do it on a lot of microservices, and also it can change in respect of the target environment.


    Read More
  • Feature toggle in Java Spring

    calendar Jan 24, 2024 · 5 min read
     en featured  · java spring spring-boot
     ·
    Share on: twitter facebook linkedin copy

    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.

    Introduction

    Feature toggle is a way to write your code to be able to 'turn' on/off specific modules of your (micro) service. Because Spring Autowiring can 'discover' the right service for the right need, you can easily introduce feature toggle in an Inversion of Control engine like Spring.
    I am not a super fan of feature toggle, but it helped me on more than one project. Also sometimes on production delivery you have some legal constraints (like enable a service not before a specifica date) and so a dynamic, parametrized run become a must.


    Read More
  • Arduino, open source e futuro

    calendar Dec 24, 2023 · 5 min read
     arduino  it lettere-a-mia-figlia
     ·
    Share on: twitter facebook linkedin copy
    Arduino, open source e futuro

    Nel modo della IT, possiamo oramai dire che l'Open Source e' una pietra angolare dello sviluppo software. Non tutto il software e' in standard GPLv3, ma in ogni caso molto di esso e' in licenza MIT/BSD-3 super open (forse troppo).


    Read More
  • Fixing Ctrl-C properly on macOs while switching between windows and mac

    calendar Dec 23, 2023 · 1 min read
     en  · macos
     ·
    Share on: twitter facebook linkedin copy

    I have one shiny mechanical keyboard I use on my daily job, under Windoooze and Linux bash

    When I switch to my super-powered Mac on weekend, my muscle memory gets hurt because I need to switch sequence for Copy/Past keybindings, and also other minor shortcuts.


    Read More
  • Job Interviews Ultimate Tips: you must know how to do ReactJS Forms

    calendar Dec 15, 2023 · 2 min read
     en  · reactjs
     ·
    Share on: twitter facebook linkedin copy

    In the last year I did a lot of job interviews for frontend developers. Normally I ask to write a some codes, using some site like https://codesandbox.io or site with limited functionalities like https://www.onlinegdb.com/online_java_compiler
    Because I am a Java hard-core sw-architect, my ReactJS questions are rather easy.


    Read More
  • Thank you CommanderX16 web demo!

    calendar Dec 8, 2023 · 1 min read
     en retro-computing  · commanderx16
     ·
    Share on: twitter facebook linkedin copy

    Hi, it was a very pleasant surprise to find out my maze demo code on the Commander X16 Web emulator. As you can image it was done collecting example on a popular site called 10print.org and it is nice because you can run it on possibly all Commodore 8bit computers (from PET to C/128 and to CommanderX16 too!). By the way the emulator is worth a try: for more example take a look to the official GitHub demo repo


    Read More
  • Small Lamp NoeBoat with Arduino Uno R3 and FreeRTOS

    calendar Dec 3, 2023 · 3 min read
     arduino  en projects  · noeboat
     ·
    Share on: twitter facebook linkedin copy
    Small Lamp NoeBoat with Arduino Uno R3 and FreeRTOS

    I am a fan of super tiny stuff written in C, and also a fan of Operating System. FreeRTOS is a super tiny real-time operating system, I was able to run also on a Arduino UNO R3 with only 2Kb of RAM.

    So I decided to use it to write a small project: you can find the code on Github, but lets start from the beginning.


    Read More
  • Arduino UNO R4 Wi-Fi

    calendar Nov 27, 2023 · 4 min read
     arduino  it  · iot
     ·
    Share on: twitter facebook linkedin copy
    Arduino UNO R4 Wi-Fi

    Abbiamo provato Arduino UNO R4 Wi-Fi, la nuova board uscita circa sei mesi fa (fine giugno 2023), che presenta parecchie innovazioni pur mantenendo la retro-compatibilita' hardware con Arduino UNO, e una retro-compatibilita' software limitata alle API ufficiali di Arduino. Il costo e' intorno ai 25 euro, con picchi di 35 se la ordinate su Amazon.


    Read More
  • Intelligenza artificiale

    calendar Nov 23, 2023 · 3 min read
     it
     ·
    Share on: twitter facebook linkedin copy

    Venerdi' 17 novembre OpenAI ha licenziato Sam Altman senza giusta causa, per poi riassumerlo nel giro di 48-56 ore in un turbinio di messaggi sconnessi e un po' confusi.

    Potete approfondire l'intera vicenda qui, ma il succo e' che mi e' sembrata 'una farsa di principi impalabili', e vi spiego perche'.


    Read More
  • Arduino uno e ATMega328p

    calendar Nov 16, 2023 · 2 min read
     arduino  it  · 6502
     ·
    Share on: twitter facebook linkedin copy
    Arduino uno e ATMega328p

    L’Arduino Uno R3 e’ una famosa scheda basata sul chip microcontroller ATMega328P. Abbiamo parlato di Arduino gia’ innumerevoli volte, ma qui vorrei concentrarmi sulle similitudini tra l’ATMega328p e il MOS6502. Il MOS6592 nato a fine anni ‘70 e’ stato il cuore del C/64 e dell’Apple ][, oltre che di altri innumerevoli console di videogiochi (incluso il Nintendo NES).

    Gia’ molti hanno osservato che il MOS6502, con la sua architettura ortogonale a 8bit e  una notevole velocità di picco di esecuzioni delle istruzioni era piu’ simile ad un microcontrollore che ad un processore per (micro)computer.

    Il MOS6502 inoltre indirizzava con particolare efficacia i primi 256 byte di memoria, rendondoli di fatto altri 256 registri “virtuali”, benche’ un pelino piu’ lenti.

    L’ATMega328p condivide molte delle caratteristiche del MOS6502, vediamole assieme.

    Innanzitutto e’ un micro controllore a 8bit, con 32 registri base indirizzabili anche a word da 16 bit. E’ estremamente performante, e quasi tutte le istruzioni tra registri vengono eseguite in 1 ciclo di clock (es addizioni,  sottrazioni). Le istruzioni che coinvolgo l’accesso alla memoria vengono eseguite mediamente in 2 cicli di clock (es Store e Load), esattamente come nel 6502 che pero’ non e’ cosi’ performante sulle operazioni aritmetiche ne’ e’ in grado di fare moltiplicazioni o divisioni.


    Read More
  • Arduino timers

    calendar Nov 12, 2023 · 7 min read
     arduino  it  · ff0000
     ·
    Share on: twitter facebook linkedin copy
    Arduino timers

    Arduino dispone di parecchi timer interni, che l'API pero' non valorizza adeguatamente. Per tale ragione si finisce sempre per leggere codice criptico basato sull'hacking dei registri ATMega, spesso con spiegazioni sommarie.

    Scrivo questo articolo perche' sembra oramai  impossibile trovare spiegazioni chiare e decenti su questo argomento,  senza che siano zeppe di pubblicita', anche se qualche sito si salva.

    Come sapete, su Gioorgi.com l'unica pubblicita' che vedrete sono i rari box dei prodotti Amazon, che pubblicizzo piu' che altro per fornirvi un 'servizio' che per guadagnarci qualche cosa  con le relative commissioni, e i link ai mei pochi libri/prodotti.
    Andiamo ad iniziare.


    Read More

  • Stero Sid 2.0.7: Arduino 2.x and license update

    calendar Nov 12, 2023 · 1 min read
     arduino  en projects software-projects  · stereosid
     ·
    Share on: twitter facebook linkedin copy
    Stero Sid 2.0.7: Arduino 2.x and license update

    A small update to Stereo Sid:

    1. Fix lack of LICENSE (merge from original Cyberernesto upstream)
    2. Fix library.properties and arduino lint pass, to be able to be included inside arduino library manager
    3. New professional CHANGELOG file
    Note: StereoSID will work only for Arduino UNO R1-R3 and AVR-based chipset. We are evaluating a support to new Arduino WiFi R4

    https://github.com/daitangio/sid-arduino-lib


    Read More
    • ««
    • «
    • 3
    • 4
    • 5
    • 6
    • 7
    • »
    • »»

Recent Posts

  • AI CODER
  • Cesare by Alberto
  • Perché investire in borsa? La risposta è 26
  • GXTrust+Macos vs Giorgi
  • Immich e Paperless: take control back!
  • A Year With Hugo
  • K8s Java

Categories

EN 498 IT 482 KNOWLEDGEBASE 186 SOFTWARE 182
All Categories
ADVERTISEMENT2 AUTOMATION5 BLOG-OBJECTSROOTCOM88 BOOKS3 COVID1919 DEVOPS30 EGGBOX4 EN498 ERLANG14 ESP82666 EVERGREEN4 FEATURED93 FLASH1 FREEDOM8 GENERATIVEAI5 HUMOR81 INTERVISTE2 IT482 JAVA3 JAVASCRIPT1 K8S-DONE-RIGHT3 KNOWLEDGEBASE186 LANG30 LETTERE-A-MIA-FIGLIA30 LETTERE-A-MIO-FIGLIO38 LIBRI3 NEWS3 ORG-MODE-PARSER9 PROJECTS8 PYTHON18 RACCONTI5 RECENSIONI20 RETRO-COMPUTING35 REVIEW1 REVIEWS11 SITE13 SOFTWARE182 SOFTWARE-PROJECTS14 SQL27 UNCATEGORIZED1 UNIX-FEATURED7
[A~Z][0~9]

Series

ARDUINO 25 PROGRAMMING_LANGUAGES 7 RISPARMIO 6 HOMELAB 5
All Series
ARDUINO25 FATLAMA4 FREEDOM4 HOMELAB5 POLITICA3 PROGRAMMING_LANGUAGES7 RISPARMIO6
[A~Z][0~9]

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top