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 Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
🌐
English Italiano
github linkedin rss
  • Let PiHole play nice with docker-compose

    calendar Apr 3, 2022 · 1 min read
     devops featured knowledgebase unix-featured  · docker-compose pihole
     ·
    Share on: twitter facebook linkedin copy
    Let PiHole play nice with docker-compose

    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
  • Simple method to add historic feature to SQLite

    calendar Apr 8, 2021 · 5 min read
     en featured knowledgebase sql  · database sqlite
     ·
    Share on: twitter facebook linkedin copy
    Simple method to add historic feature to SQLite

    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
  • How to re-enable right click

    calendar Feb 21, 2021 · 1 min read
     en featured knowledgebase
     ·
    Share on: twitter facebook linkedin copy
    How to re-enable right click

    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
  • Bash TCP conection feature

    calendar Jan 7, 2021 · 1 min read
     featured unix-featured  · bash unix
     ·
    Share on: twitter facebook linkedin copy

    Bash support tcp connection out of the box :)


    Read More
  • Git History Squash for fun and profit

    calendar Dec 12, 2019 · 2 min read
     en featured knowledgebase  · git
     ·
    Share on: twitter facebook linkedin copy
    Git History Squash for fun and profit

    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
  • Avoid Kafka if unsure (think twice series)

    calendar Dec 2, 2019 · 2 min read
     en featured knowledgebase sql  · java nosql
     ·
    Share on: twitter facebook linkedin copy
    Avoid Kafka if unsure (think twice series)

    Some co-workers started using Apache Kafka con a bunch of our Customers.

    Apache Kafka is a community distributed event streaming platform capable of handling trillions of events a day. Initially conceived as a messaging queue, Kafka is based on an abstraction of a distributed commit log[*].
    To get this goal, Apache Kafka needs a complex servers setup, even more complex if you want the certification for the producing company (Confluent).  Now, if you are planning to use Kafka like a simple JavaMessaeSystem (JMS) implementation, think twice before going on this route.

    PostgreSQL 12 offers a fair (and open source) partition implementation, whereas if money are not a problem, Oracle 12c can happy scale on billions of record before running into troubles (and ExaData can scale even more).

    PostgreSQL and Oracle offer optimizations for partitioned data, called “Partition Pruning” in PostreSQL teminology:

    With partition pruning enabled, the planner will examine the definition of each partition and prove that the partition need not be scanned because it could not contain any rows meeting the query's WHERE clause. When the planner can prove this, it excludes (prunes) the partition from the query plan.
    This feature is quite brand new (popped in PostreSQL 11) but it is essential to a successful partition strategy. Before these feature, partitioning was a black magic art. Now it is simpler to manage.
    Read More
  • Commander X16: retro magic dream

    calendar Sep 18, 2019 · 2 min read
     en featured retro-computing  · c64 retro-computing
     ·
    Share on: twitter facebook linkedin copy

    Some time ago I mentioned the Pyc64 project, a “differently emulated” C/64. There’s a much more ambitious project that’s going under pressure, it’s called Commander X 16. Commander X 16 has been started by David Murray and three other guys.


    Read More
  • ?FileSystem is faster than RAM [under your Operating System]

    calendar Jan 18, 2019 · 2 min read
     en featured  · development great-ideas java
     ·
    Share on: twitter facebook linkedin copy

    I am studying Apache Kafka (a "distributed streaming platform") and I stubled upon this conclusion: the "disk read fear" a lot of projects have in the past, is a fake.


    Read More
  • Your Phone is your (next) Personal Computer

    calendar Nov 9, 2018 · 1 min read
     en featured
     ·
    Share on: twitter facebook linkedin copy

    On this Christmas, a lot of us will pay more then $1000 for a new iPhone XY or for a similar Samsung one (twice the price of a netbook) and you will have in your hand a quite powerful machine: for instance iPhone used as Theorem Prover is faster then an Intel Workstation (!)


    Read More
  • Hyper VM Troubleshooting

    calendar Nov 8, 2018 · 1 min read
     devops en featured  · docker
     ·
    Share on: twitter facebook linkedin copy
    Hyper VM Troubleshooting

    Sometimes your windows' HyperV Hypervisor will refuse to start.

    The problem is tricky because the services seems started if you check them. Also the installation is successful, virtualization is enabled and so on. So what is wrong?


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Recent Posts

  • 6,76%
  • Il tizio con il cappello che crede di comandare il mondo intero
  • Murderbot: i diari della macchina assassina
  • Breve guida agli ETF

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top