-
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 -
Due notizie degne di nota degli ultimi giorni:
Twitter tenta di avviare una versione a pagamento del suo software, chiamato Twitter Blue. Al momento questa funzionalità sembra abbastanza inutile, a meno che cambiare colore ai tasti non ritenete che valga il costo dell’abbonamento. Ma è probabile che nuove funzionalità verranno aggiunte in seguito.
Read More -
Add the following css lines to your CSS theme, possibly at the end
div::before { content:" C:" attr(class) "" }
::before,::after { color:red; font-weight:100; font-size:1.0em }
and div classes will showup easily. Very handly while customizing WoooordPress :) This page show a demo.
-
I think constants are evil (just joking but….I will explain why).
I am tired of seeing a lot of Java classes filled with the same constants repeated over and over again, instead of collecting them in a common file, which in C Language was called include files (ooooah!).
Read More -
In the 1980 comments were used to reduce the “gap” between unstructured code and “rationale” behind the code.
- C/64 Peek and poke where oscure.
- Gosub on function pointed by numbers was bad
- 8-bit systems was tight on command names and so on (think to write a python interpreter in Arduino/bbc:Micro, or look at the memory consumed by the COMMAND STRINGS on C/64 Basic v2)
- C code was not expressive, but good code required little comment, as you can see here
- Comment obscure code -> instead of writing it better
- Comment caching code you will end up to commit breaking production ->instead of having a cache config to disable cache on dev machines
- Comment not working code will end up in production, producing functional breaks -> because you will forget it and commit the bad version
@Comment("Documentation of this class/method/function/closure") @Fixme("Reason") @Todo("Why", deadline=20230423)
Read More -
OOP is the your new legacy
Dec 19, 2016 · 2 min read ·
Today I took a light rail with my son, to bring him to school. That tram is 90 years old. It has been maintained for 90 years. Milan city sold some of them to San Francisco too.
Read More -
Ciao a tutti, è venerdì! Se avete due minuti di tempo, volevo indicarvi un articolo su un algoritmo non banale, molto ben descritto qui:
http://research.swtch.com/sparse
This is the story of a clever trick that’s been around for at least 35 years, in which array values can be left uninitialized and then read during normal operations, yet the code behaves correctly no matter what garbage is sitting in the array.
Read More -
Ops I did it again. Although I repeatedly said I didn’t love emacs Lisp, I finally managed to learn it. So I want to share with you my tips, to help entering in the Emacs Lisp world in a fast, fun and easy way.
First of all Lisp is a very elegant language, as you may expect. Lisp is so elegant you will have to take your time to learn it, because it is a bit cryptic. To make things even worst, emacs function names are less than intuitive. The solution anyway is here: cookbooks!
Read More -
Arduino Esplora is here! The Arduino Esplora is a microcontroller board derived from the Arduino Leonardo. The Esplora differs from all preceding boards in that it provides a number of built-in, ready-to-use setof onboard sensors for interaction.
News said the price will be around 45 euros http://www.tgdaily.com/hardware-features/67998-arduino-esplora-is-ready-out-of-the-box-sans-soldering http://www.wired.com/beyond_the_beyond/2012/12/the-arduino-esplora/
Read More -
!UPDATED!
Okey I love emacs, you are allowed to say I am a nerd. But I use emacs. So I could solve your problems with a Ctrl-Alt-x kung fu combination, involving yoga-like finger movements.
So do not mess with me… :D (I am like the Zohan, only with glasses :)
Read More -
Are you ready for the news?
Code Zauker v0.0.3 is OUT!
The new version spots
- Case insensive indexing and searching, at a blazing fast speed.
- UTF-8 compliant indexing. Best if your code is on another encoding, code zauker try to "guess" the right one and fix it.
- Richer czsearch options, like the following
$ruby -Ilib bin/czsearch -h Usage: czsearch [options] [term1] [term2]... -i, --ignore-case ignore case distinctions -B, --before-context NUM print NUM lines of leading context -A, --after-context NUM print NUM lines of trailing context -C, --context NUM print NUM lines of output context -X, --exclude FILE_PATTERN Exclude files that match FILE_PATTERN (as ruby regexp). Case insensitive -h, --help Display this screen Options are grep-like EXAMPLES: czsearch ciao Koros Will search Koros OR ciao czsearch -i gnu Will match also GNU and Gnu czsearch -X .orig -X .bak -X .java html:select Will skip java and backup fileTake a look at the code on github.
Read More -
Dovete stare molto attenti alla vostra Privacy. Mi hanno fato notare che LinkedIn ha silenziosamente attivato un checkbox che consente di usare la vostra foto per…farsi pubblicità!
Per disattivarlo, andate sulle impostazioni, cliccate su Account poi su “Gestisci Social Advertising” e poi deselezionate il box più sotto!
Read More -
When Steve Jobs given some suggestions to Google, I fear he was still upset for the Android-carbon-copy of the iPhone. Because Jobs suggested Google to focus on a small subset of product (no more then five) and Google did it. And google started killing a lot of lab projects.
Read More