open-menu closeme
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
About
github linkedin rss
  • Comments are evil?

    calendar Apr 14, 2019 · 1 min read
     en lang software  · evil ideas java
     ·
    Share on: twitter facebook linkedin copy
    Comments are evil?

    In the 1980 comments were used to reduce the “gap” between unstructured code and “rationale” behind the code.

    1. C/64 Peek and poke where oscure.
    2. Gosub on function pointed by numbers was bad
    3. 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)
    4. C code was not expressive, but good code required little comment, as you can see here
    Today comments are used to:
    1. Comment obscure code -> instead of writing it better
    2. Comment caching code you will end up to commit breaking production ->instead of having a cache config to disable cache on dev machines
    3. Comment not working code will end up in production, producing functional breaks -> because you will forget it and  commit the bad version
    When I am sent on a Red Project, the code is often obscure and not commented at all. So I dare to suggest to deprecate comments at all, replacing it with a set of meta annotation like:
    @Comment("Documentation of this class/method/function/closure")
    @Fixme("Reason")
    @Todo("Why",  deadline=20230423)
     

     


    Read More
  • Why DevOps

    calendar Apr 4, 2019 · 1 min read
     devops
     ·
    Share on: twitter facebook linkedin copy

    We just finished implementing a dev ops deploy toolchain able to compile,deploy, rollback all in automatic way. The objection of the dev team is “it is slow to deploy”.

    Yes, it is slower then manual copying file.

    1. But it is AUTOMATIC
    2. It provide a rollback procedure.
    3. It is rock solid.
    4. It works alone, at midnight. Mind it. It work alone.
    and yes we should optimize it 

     


    Read More
  • Playstation Now in Italy: Well but not Perfect

    calendar Apr 1, 2019 · 1 min read
     en
     ·
    Share on: twitter facebook linkedin copy

    We have tried the PlayStation Now 7-days trial (after pricing is 15€/Month, 100€/year) Pro:

    1. Good Game Selection. Also PS3 and PS2 strong sellers are here, like Red Dead Redemption (1) and Bloodbone, Prey, etc 
    2. Seamless experience: the streaming never take a slow down
    3. Subscription has a 100€/year offer which is quite aggressive. We will see what Apple will be able to do.
    Cons:
    1. Downloaded game saves are not synced with the streamed one, you need a PlayStation Plus account to get this. It is too bad for a 15€/monthly subscription, isn't it?
    2. PS Now offer streaming on PC too. But they seems to have trouble with the email link they pass to you to use it (see below). The link is okey from the playstation shop site.
    3. Some games like Horizon Zero Down, Red Dead Redemption2 are not there, a pity but understandable: Sony cannot destroy its own game market.
  • PI-Hole DNS Adv Blocker

    calendar Mar 18, 2019 · 1 min read
     freedom  · pihole
     ·
    Share on: twitter facebook linkedin copy

    Pi-hole Network-wide ad blocking via your own Linux hardware

    The Pi-hole is a DNS sinkhole that protects your devices from unwanted content, without installing any client-side software.

  • Commodore Retro Magic Dream

    calendar Mar 13, 2019 · 2 min read
     en retro-computing  · 6502 c64 python
     ·
    Share on: twitter facebook linkedin copy

    When I was young I was able to play with my Vic20/Commodore64. I learned to love programming with these small 8-bit real computers. I was between 11 and 12 years old, and just learning basic English, with only a data-casette to store my stuff.

    Now my son is 9 years old, and I was unable to find something like the Commodore computers to teach it.


    Read More
  • Danilo Spinella’s site - Makefiles, Best Practices

    calendar Mar 10, 2019 · 1 min read
     en
     ·
    Share on: twitter facebook linkedin copy
    Makefiles are widely used to build a lot of languages and projects, with C/C++ projects being the majority. Whenever you are developing or testing software, it’s highly probable that you will encounter them.This post will try to address some common errors in Makefiles, as well as good practices and cross-compiling support.
    Take a look at: Danilo Spinella's site - Makefiles, Best Practices
  • Il governo giallo verde è tutto di destra

    calendar Mar 4, 2019 · 1 min read
     it lettere-a-mio-figlio  · politica
     ·
    Share on: twitter facebook linkedin copy

    E’ diventato un fatto politico la memoria difensiva di Salvini, secondo cui la decisione sulla gestione della nave Diciotti fu presa in concerto con il governo.

    Ci abbiamo provato anche noi pic.twitter.com/mAfPogqQtY

    — Spinoza (@spinozait) 18 febbraio 2019

    Sorvolando sugli aspetti umoristici della vicenda, possiamo affermare che la gestione dell’immigrazione voluta dalla Lega è ampiamente condivisa anche dal Movimento 5 Stelle (M5S). E quindi il M5S abbraccia una politica decisamente filo-Leghista, e quindi di destra.


    Read More
  • Power Start

    calendar Feb 28, 2019 · 2 min read
     en site  · gioorgi-com site
     ·
    Share on: twitter facebook linkedin copy

    After some tweaks, we changed a bit of things on Gioorgi.com in Winter 2019

    1. First of all, we moved Gioorgi to a powerful server at the end of 2018, tuning it during the autumn.
    2. An Apache Solr server was added to get better search results, with indexed stuff.
    3. Quality We decided to reorganize the major theme, moving away from Magazine lite and trying Astra, which is higly customizable. We reorganized content to use only categories and menu, dropping the Series plugin we used for a long time. NEW Editing Policy Our article will be edited after a short time, to fix typo and adapt to comments and so on. 
    4. We set up a monitoring system and discovered JetPack slow down a lot WordPress. So we decided to move away from it, replacing with some ad hoc plugin for related pages and so on. By the way the new monitoring system is powered by Apache Kafka, and it is our implementation backbone for internal analytics.
    5. Removing JetPack forced us to rethink things like:
      1. Twitter streaming become more important then the other socials.
      2. Related posts was re-organized via a more plastic plugin, getting better control over the content and the discovery process
      3. JetPack analytics was replaced with old evil Google Analytic
    Last but not least, no advertisement on front page!
  • L’algoritmo per l’anno bisestile

    calendar Feb 28, 2019 · 1 min read
     it
     ·
    Share on: twitter facebook linkedin copy

    Il calcolo dell’algoritmo dell’anno bisestile non è banalissimo, perché ogni hanno non si accumulano solo 6 ore ma anche alcuni “minuti” e quindi dopo un po’ questa differenza si fasentire, se non se ne tiene conto…

    Secondo il calendario giuliano, sono bisestili gli anni la cui numerazione è multipla di 4: l’anno giuliano medio dura quindi 365 giorni e 6 ore (la media di tre anni di 365 giorni e uno di 366). Questa durata non corrisponde esattamente a quella dell’anno solare medio, che si ricava dalle osservazioni astronomiche: quest’ultimo infatti è più corto di 11 minuti e 14 secondi. Di conseguenza, il calendario giuliano accumula un giorno di ritardo ogni circa 128 anni rispetto al trascorrere delle stagioni.

    (da wikipedia)

    Buon 28 febbraio :)


    Read More
  • Introduction to org mode parser

    calendar Feb 24, 2019 · 1 min read
     en org-mode-parser software-projects
     ·
    Share on: twitter facebook linkedin copy
    Introduction to org mode parser

    Org-mode is an Emacs mode for keeping notes, maintaining To-do lists, doing project planning, and authoring with a fast and effective plain-text system.

    Node.js is a event-based server for the V8 JavaScript Engine.

    So Org Mode Parser for Nodejs is a parser for reading org-mode files.


    Read More
  • UTF-8 and Unicode Standards

    calendar Feb 21, 2019 · 1 min read
     en software
     ·
    Share on: twitter facebook linkedin copy
    UTF-8 and Unicode Standards

    Character encoding is a very bad beast when you write code, but UTF-8 will save us.

    Belive me: You will love the Big Brother and the UTF-8.

     

    Unicode Transformation Format 8-bit is a variable-width encoding that can represent every character in the Unicode character set. It was designed for backward compatibility with ASCII and to avoid the complications of endianness and byte order marks in UTF-16 and UTF-32.

    Source: UTF-8 and Unicode Standards Also read this: https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/


    Read More
  • SQL: One of the most valuable skills - Craig Kerstiens

    calendar Feb 19, 2019 · 2 min read
     en lettere-a-mia-figlia sql  · postgresql sqlite
     ·
    Share on: twitter facebook linkedin copy
    SQL: One of the most valuable skills - Craig Kerstiens
    I admit it. I suffered from an “algebra narcoleptic syndrome” during my relational database lessons at University (1996 circa). Lets talk about it
  • Finding Kafka’s throughput limit in Dropbox infrastructure | Dropbox Tech Blog

    calendar Feb 14, 2019 · 1 min read
     en  · kafka
     ·
    Share on: twitter facebook linkedin copy
    At Dropbox, Kafka clusters are managed by the Jetstream team, whose primary responsibility is to provide high quality Kafka services. Understanding Kafka’s throughput limit in Dropbox infrastructure is crucial in making proper provisioning decision for different use cases, and this has been an important goal for the team. Recently, we created an automated testing platform to achieve this objective. In this post, we would like to share our method and findings.
    Read Finding Kafka’s throughput limit in Dropbox infrastructure | Dropbox Tech Blog
  • isync: free IMAP and MailDir mailbox synchronizer

    calendar Feb 8, 2019 · 1 min read
     en knowledgebase
     ·
    Share on: twitter facebook linkedin copy
    isync: free IMAP and MailDir mailbox synchronizer
    isync: free IMAP and MailDir mailbox synchronizerisync is a command line application which synchronizes mailboxes; currently Maildir and IMAP4 mailboxes are supported. New messages, message deletions and flag changes can be propagated both ways. isync is suitable for use in IMAP-disconnected mode.Synchronization is based on unique message identifiers (UIDs), so no identification conflicts can occur (as opposed to some other mail synchronizers).Synchronization state is kept in one local text file per mailbox pair; multiple replicas of a mailbox can be maintained.isync is free software in the sense of the GNU GPL v2.
    Source: isync: free IMAP and MailDir mailbox synchronizer
  • Detecting Agile bullshit

    calendar Feb 5, 2019 · 1 min read
     devops en software
     ·
    Share on: twitter facebook linkedin copy
    Detecting Agile bullshit

    The department of defense, has published a nice document to “detect” agile bullshit. The document is called DIB_DETECTING_AGILE_BS_2018.10.05 and was published on October 2018.

    We saved a copy on our site, because we think it is very very interesting…

    • ««
    • «
    • 21
    • 22
    • 23
    • 24
    • 25
    • »
    • »»

Recent Posts

  • La trebbIAtrice
  • Trump rules ma non benissimo
  • AI CODER
  • Cesare by Alberto
  • Perché investire in borsa? La risposta è 26
  • GXTrust+Macos vs Giorgi
  • Immich e Paperless: take control back!

Categories

EN 498 IT 484 KNOWLEDGEBASE 186 SOFTWARE 182
All Categories
ADVERTISEMENT2 AUTOMATION5 BLOG-OBJECTSROOTCOM88 BOOKS3 COVID1919 DEVOPS30 EGGBOX4 EN498 ERLANG14 ESP82666 EVERGREEN4 FEATURED93 FLASH1 FREEDOM8 GENERATIVEAI6 HUMOR81 INTERVISTE2 IT484 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 POLITICA4 PROGRAMMING_LANGUAGES7 RISPARMIO6
[A~Z][0~9]

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top