<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>The Ghini Software Suite</title>
    <description>helping botanical institutions keep track of their plants, data, and report production.
</description>
    <link>http://ghini.github.io//</link>
    <atom:link href="http://ghini.github.io//feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Mon, 06 Jul 2026 15:12:22 +0000</pubDate>
    <lastBuildDate>Mon, 06 Jul 2026 15:12:22 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>ghini.desktop activity resumed after long gap</title>
        <description>&lt;p&gt;After a long period without visible updates on this repository, development activity on Ghini.desktop has resumed.&lt;/p&gt;

&lt;h2 id=&quot;background&quot;&gt;Background&lt;/h2&gt;

&lt;p&gt;While the main repository appeared inactive for several years, a long-term user (@cwyse) continued development independently on his &lt;strong&gt;public GitHub fork&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This work was not integrated into the main repository, but it was fully visible and accumulated a substantial amount of changes over time.&lt;/p&gt;

&lt;h2 id=&quot;trigger&quot;&gt;Trigger&lt;/h2&gt;

&lt;p&gt;While experimenting with a few AI-assisted commits to address issues in Ghini 3, I pushed two small changes to the main repository.&lt;/p&gt;

&lt;p&gt;Shortly afterwards, Chris contacted the mailing list asking whether Ghini was still being maintained. 
At that point I had not yet reviewed the full extent of his work: a large body of changes in his fork, 
including broad updates across the codebase and dependencies.&lt;/p&gt;

&lt;p&gt;At that stage the situation was effectively:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;contributions existed, but were not integrated into the main development line&lt;/li&gt;
  &lt;li&gt;most dependencies had already been updated in the fork&lt;/li&gt;
  &lt;li&gt;the fork represented a substantially modernized version of the system&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;integration-approach&quot;&gt;Integration approach&lt;/h2&gt;

&lt;p&gt;Given the size and interdependence of the changes, I chose to import the fork as a whole into the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ghini-3.1-dev&lt;/code&gt; 
branch rather than attempt a commit-by-commit integration.&lt;/p&gt;

&lt;p&gt;This provided a single coherent baseline from which to proceed with cleanup and stabilization.&lt;/p&gt;

&lt;h2 id=&quot;current-work&quot;&gt;Current work&lt;/h2&gt;

&lt;p&gt;The following weeks were spent stabilizing and cleaning up the integrated codebase:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;publishing and enabling unit tests via GitHub Actions&lt;/li&gt;
  &lt;li&gt;resolving regressions introduced by the merge&lt;/li&gt;
  &lt;li&gt;reviewing and adapting to changes in SQLAlchemy behaviour introduced by the updated dependency set&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Further work focused on earlier design assumptions that no longer held:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;fixing session and editor-related inconsistencies&lt;/li&gt;
  &lt;li&gt;restoring core workflows (search, selection, editing)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;current-status&quot;&gt;Current status&lt;/h2&gt;

&lt;p&gt;Ghini.desktop is functional again for core usage paths, and active development has resumed on a unified codebase.&lt;/p&gt;

&lt;p&gt;Ongoing work includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;improving stability and test coverage&lt;/li&gt;
  &lt;li&gt;reducing legacy complexity&lt;/li&gt;
  &lt;li&gt;continuing incremental modernization&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;Development is active again and updates will continue to be published here.&lt;/p&gt;
</description>
        <pubDate>Mon, 06 Jul 2026 12:00:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2026/07/06/resuming-activity.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2026/07/06/resuming-activity.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>La vetrina con PostgreSQL</title>
        <description>&lt;p&gt;pensierini tecnici, ovvero come avanzare passo a passo.&lt;/p&gt;

&lt;p&gt;avevo iniziato lo sviluppo di Ghini con Django, avendone deciso solo il nome: “Ghini Reloaded”.  ora è ne
abbastanza chiara anche la struttura: un servitore centrale, una quantità di clienti, fra cui un cliente
web.  inizialmente, la base dati è stata su in un file sqlite3, ora mi sembra raggiunto il momento di
aggiungere informazione geografica, cosa per cui penso sia meglio appoggiarsi ad un gestore di basi di dati
vero, come PostgreSQL.  qui descrivo le operazioni svolte recentemente.&lt;/p&gt;

&lt;p&gt;l’obiettivo è: aggiungere informazione geografica, cambiare il gestore di basi di dati.&lt;/p&gt;

&lt;p&gt;la prima cosa si fa in Django, con migrazioni successive, la seconda è questione esterna alla applicazione,
ed ha impatto sulla configurazione.&lt;/p&gt;

&lt;p&gt;prima di tutto, iniziamo con l’istallazione di
&lt;a href=&quot;https://pgloader.readthedocs.io/en/latest/tutorial/tutorial.html&quot;&gt;pgloader&lt;/a&gt;.  questo permette la migrazione di una base dati sqlite a posgtresql in un solo comando.&lt;/p&gt;

&lt;p&gt;poi sì, manca ancora installare PostgreSQL.  ho appena aggiornato il nostro servitore a Debian 10, così
all’installare PostgreSQL ho ricevuto la versione 11.4.  dovrò aggiornare il pc su cui lavoro su cui ho
ancora solo PostgreSQL 9.6.  lo faccio appena ho accesso ad una rete senza limiti di traffico.&lt;/p&gt;

&lt;p&gt;una volta istallato PostgreSQL, creata una base dati con lo stesso nome della configurazione, e migrati i
dati, c’è da cambiare un paio di parametri nella configurazione.  creazione base dati nel sistema di
gestione, e la relativa configurazione, va fatto manualmente, sul servitore.  tutto il resto sono cose che
stanno nel repositorio GIT.&lt;/p&gt;

&lt;p&gt;con sqlite era:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;DATABASES = {
    &apos;default&apos;: {
        &apos;ENGINE&apos;: &apos;django.db.backends.sqlite3&apos;,
        &apos;NAME&apos;: os.path.join(BASE_DIR, &apos;cuaderno.sqlite3&apos;),
    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;con PSQL+PostGIS questa parte diventa:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;DATABASES = {
    &apos;default&apos;: {
        &apos;ENGINE&apos;: &apos;django.contrib.gis.db.backends.postgis&apos;,
        &apos;NAME&apos;: &apos;cuaderno&apos;,
        &apos;USER&apos;: &apos;mario&apos;,
        &apos;TEST&apos;: {
        },
    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;inoltre, c’è stato da aggiungere ‘django.contrib.gis’ alla lista delle &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;INSTALLED_APPS&lt;/code&gt; e &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;psycopg2&lt;/code&gt; alla
lista delle dipendenze, per cui bisogna richiedere l’installazione, con &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pip&lt;/code&gt;.  non è tutto, perché
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;psycopg2&lt;/code&gt; se installato con &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pip&lt;/code&gt; ha bisogno dei file di sviluppo di postgresql, nel nostro caso
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;postgresql-server-dev-11&lt;/code&gt;, che sono una cinquantina di megabyte da scaricare, mentre perché funzioni
PostGIS ci servono gdal20, ed ovviamente &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;postgresql-postgis&lt;/code&gt; (un pacchetto virtuale, che si risolve in
quello che si risolve).&lt;/p&gt;

&lt;p&gt;dopo la creazione base dati, migrazione con pgloader, del git-pull, vediamo se funziona ancora&lt;/p&gt;
</description>
        <pubDate>Fri, 12 Jul 2019 08:38:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2019/07/12/La-vetrina-con-PostgreSQL.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2019/07/12/La-vetrina-con-PostgreSQL.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>deploy on ghini.me</title>
        <description>&lt;p&gt;This is a technical entry, something like the “for me from myself” presents
we used to include among the Christmas presents.  The intention is to share
the pleasure to receive a welcome present with the rest of you.&lt;/p&gt;

&lt;p&gt;If the technicalities scare you, the message here is simply: ghini reloaded
is going on-line at http://cuaderno.ghini.me, and the reason behind the name
is that the collection shown is a ‘cuaderno de colecta’.&lt;/p&gt;

&lt;h2 id=&quot;lets-start&quot;&gt;let’s start.&lt;/h2&gt;

&lt;p&gt;First of all, we need a recent Python version, that’s at least 3.5.  Any recent distribution
should have that, now that Debian has released its 10th version, with Python 3.7.&lt;/p&gt;

&lt;p&gt;We want virtualenv and pip.  Look for the details somewhere else, it should be contained in
the package &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-venv&lt;/code&gt;.  Keep in mind that to create virtual environment, you use
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3 -m venv&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id=&quot;so-what-do-we-do-&quot;&gt;So what do we do …&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mkdir&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; ~/Local/github/Ghini
&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; ~/Local/github/Ghini
&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt; git clone git@github.com:Ghini/server.git &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;
  git clone https://github.com/Ghini/server.git &lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;python3-venv
python3 &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; venv ~/.virtualenvs/ghini/
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;server
&lt;span class=&quot;nb&quot;&gt;.&lt;/span&gt; ~/.virtualenvs/ghini/bin/activate
pip &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is just the standard installation procedure for any python3 program: decide where to
download the software, download it, make sure you can create virtual environments, create a
virtual environment for the software, activate it, and install the software in its isolated
new virtual environment.&lt;/p&gt;

&lt;h2 id=&quot;iterate-for-each-site&quot;&gt;iterate for each site&lt;/h2&gt;

&lt;p&gt;All the above is about installing the software.  The software can be used to serve as many
sites as you wish, as long as you separate them, each on its port, or socket, each with its
database.  This is information that will be used by the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;./manage.py&lt;/code&gt; script, or by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwsgi&lt;/code&gt;,
or by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt;, and every one of these programs uses a different configuration file.&lt;/p&gt;

&lt;p&gt;Ghini server tries to make things a bit easier: we have a modified &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;./manage.py&lt;/code&gt; script
which allows for a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUNSERVER_PORT&lt;/code&gt; entry in the settings file (useful with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;runserver&lt;/code&gt;
command), and we have a small bash script that will collect the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwsgi&lt;/code&gt; socket options from
the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx/sites-available&lt;/code&gt; directory, and produce the matching &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wsgi.ini&lt;/code&gt; files.&lt;/p&gt;

&lt;p&gt;Are you only interested in running ghini server for a single site?  That’s also possible, it
doesn’t change the basic schema, that is to start the server using uwsgi, to keep the socket
open only for local requests, and to handle the outside communication with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Let’s call the two scenarios &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;runserver&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwsgi&lt;/code&gt;.  First case you specify the
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUNSERVER_PORT&lt;/code&gt; option in the settings file, and you access your server on that port.
Second case, which you can use in deployment, you have a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt; configuration, and you
create the matching &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwgsi&lt;/code&gt; ini file with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwsgi.d/create-ini-files.sh&lt;/code&gt; script.  In this
case you do not need the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUNSERVER_PORT&lt;/code&gt; option.&lt;/p&gt;

&lt;h3 id=&quot;configure-for-deployment&quot;&gt;configure for deployment&lt;/h3&gt;

&lt;p&gt;Combine both the django pages and the static files in a single nginx configuration, not
relying on the django &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;runserver&lt;/code&gt; development command.  That’s a few connected issues, none
of which complex, but they all refer to each other, and it’s easy to loose track.&lt;/p&gt;

&lt;p&gt;First of all, configure the location for the static data.  I don’t mean &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;STATIC_URL&lt;/code&gt;, that’s
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/static&lt;/code&gt; and it won’t change, I mean the physical location in the file system, that’s the
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;STATIC_ROOT&lt;/code&gt; variable.  Set that to something reasonable, create the directory, give
yourself permission to write, then you may run the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;collectstatic&lt;/code&gt; from django.  It takes a
split second and it should tell you 200 files or so.  Next step is to make these files
served by nginx.  Open the site-available file, and add a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;location&lt;/code&gt; setting in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server&lt;/code&gt;
block, something like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;location /static { alias /var/www/ghini/static/; }&lt;/code&gt;.&lt;/p&gt;

&lt;h3 id=&quot;tell-nginx-about-our-server&quot;&gt;tell nginx about our server&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt; role here is to make sure clients are using https, not plain http, then redirect all
incoming traffic relative to our site to the internal port or socket where the server is
running.  This is specified by the customary &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx/sites-available/&lt;/code&gt; file and its
corresponding symbolic link from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx/sites-enabled&lt;/code&gt; directory.&lt;/p&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt; file for our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cuaderno&lt;/code&gt; iteration has a first block redirecting all &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;80&lt;/code&gt; traffic
to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;server {
    listen       80;
    listen       [::]:80;
    server_name  cuaderno.ghini.me cuaderno;
    return 301 https://$server_name$request_uri;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maybe we could make this a more general redirect, in its own file, redirecting all incoming
http traffic to https regardless any other consideration.  See it yourself.&lt;/p&gt;

&lt;p&gt;All our https server block have this structure:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;server {
    server_name      cuaderno.ghini.me;
    listen           443 ssl;
    listen           [::]:443 ssl;
    ssl_certificate     /etc/letsencrypt/live/server.ghini.me/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/server.ghini.me/privkey.pem;

    ## location blocks
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;location /&lt;/code&gt; declaration is where we tell nginx that the requests are to be handled by
uwgsi, on a specific port.  This is server-specific, and it is the only place where we
specify the port.  Make sure there’s no conflict in your settings.  On the Python side, we
grab the setting from here and put into the ini file corresponding to each of our servers.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    location / {
        include uwsgi_params;
        uwsgi_pass 127.0.0.1:44410;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The other three declarations are for the certbot, static files, and for media files.  Only
the media files &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;location&lt;/code&gt; is server-specific:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    location ~ /.well-known/acme-challenge {
        root /usr/share/nginx/html;
    }
    location /static {
        alias /var/www/server.ghini.me/static/;
    }
    location /media {
        alias /var/www/cuaderno.ghini.me/media/;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We leave the acme-challenge location in place, because our certificates last 90 days and
need to be renewed periodically, so it’s easier to just keep the declaration even if we only
use it for certificate renewal.&lt;/p&gt;

&lt;h3 id=&quot;set-up-the-database&quot;&gt;set up the database&lt;/h3&gt;

&lt;p&gt;We should have the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ghini&lt;/code&gt; database user, with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;create database&lt;/code&gt; privilege.&lt;/p&gt;

&lt;p&gt;Here we create the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cuaderno&lt;/code&gt; postgresql/postgis database, it’s just two operations:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;createdb &lt;span class=&quot;nt&quot;&gt;-U&lt;/span&gt; ghini cuaderno
&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;psql &lt;span class=&quot;nt&quot;&gt;-U&lt;/span&gt; ghini cuaderno &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;CREATE EXTENSION postgis;&apos;&lt;/span&gt;
CREATE EXTENSION
&lt;span class=&quot;err&quot;&gt;$&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Refer to this database from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ghini/settings_cuaderno.py&lt;/code&gt; config file, like this (the
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUNSERVER_PORT&lt;/code&gt; option is very optional):&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;DATABASES = {
    &apos;default&apos;: {
        &apos;ENGINE&apos;: &apos;django.contrib.gis.db.backends.postgis&apos;,
        &apos;NAME&apos;: &apos;cuaderno&apos;,
        &apos;USER&apos;: &apos;ghini&apos;,
    }
}
RUNSERVER_PORT = 8088
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then we are all set to bootstrap the database using the customary Django method, after which
we immediately create a superuser, and a guest:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;./manage.py migrate &lt;span class=&quot;nt&quot;&gt;--settings&lt;/span&gt; ghini.settings_cuaderno
./manage.py collectstatic &lt;span class=&quot;nt&quot;&gt;--settings&lt;/span&gt; ghini.settings_cuaderno
./manage.py createsuperuser &lt;span class=&quot;nt&quot;&gt;--settings&lt;/span&gt; ghini.settings_cuaderno
./manage.py createguestuser &lt;span class=&quot;nt&quot;&gt;--settings&lt;/span&gt; ghini.settings_cuaderno
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;create-the-uwsgi-ini-file&quot;&gt;create the uwsgi ini file&lt;/h3&gt;

&lt;p&gt;We have a script for it, it collects names and ports from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sites-available&lt;/code&gt;
configurations, and creates the expected corresponding uwsgi configuration files.  The
script is in the uwsgi.d directory in the project structure.  Review, adjust if necessary,
run.&lt;/p&gt;

&lt;h3 id=&quot;register-the-name&quot;&gt;register the name&lt;/h3&gt;

&lt;p&gt;In deployment, we have to register a name for the outside site.  Use your domain registrar
to tell the world that &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cuaderno&lt;/code&gt; is among the names you offer.&lt;/p&gt;

&lt;h2 id=&quot;we-need-https&quot;&gt;we need https&lt;/h2&gt;

&lt;p&gt;This we do after all iterations.  No need to iterate per server name.&lt;/p&gt;

&lt;p&gt;Install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;certbot&lt;/code&gt; (it’s both the program name and the Debian package name containing the
program), do read the docs, or at least follow a guide, and if you refuse to do either
things then at least use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--dry-run&lt;/code&gt; option, before you get banned for abusing patience.&lt;/p&gt;

&lt;p&gt;Remember, we’re handling all external communication with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nginx&lt;/code&gt;, so that’s easy, we already
tweaked our virtual sites configurations to serve the “challenge”, all from the same
directory, now we run the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;certbot&lt;/code&gt; using that same setting:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo certbot certonly --webroot -w /usr/share/nginx/html/ -d cuaderno.ghini.me
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add as many server names as needed.&lt;/p&gt;

&lt;p&gt;Summing up: (1) serve the site on port 443, for https; (2) add a redirect (301) from http
(port 80) to https; (3) keep record of each site name with its corresponding internal port;
(4) add a crontab to renew the certificate, maybe running once every 4 weeks, on Sundays.  A
certificate lasts 90 days and is considered due for renewal during the last 30 days, the
certbot will decide if it’s indeed time to renew, or if it can wait.&lt;/p&gt;

&lt;h2 id=&quot;reload-restart-nginx&quot;&gt;reload-restart nginx&lt;/h2&gt;

&lt;p&gt;When done, we reload the nginx configuration.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;service nginx reload
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;run-the-services&quot;&gt;run the services&lt;/h2&gt;

&lt;p&gt;We put all our uwsgi files are in the same directory, so we can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;uwsgi&lt;/code&gt; in ‘emperor’
mode.  Did you already install uwsgi?  you can put it in the same virtual environment as our
django apps.  Activate the environment, move to the project directory, then run the command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;uwsgi &lt;span class=&quot;nt&quot;&gt;--emperor&lt;/span&gt; &lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;pwd&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;/uwsgi.d/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;… well, maybe not precisely like this, we need to protect it from HUP signals, or even better we could run this as a service.&lt;/p&gt;
</description>
        <pubDate>Thu, 13 Jun 2019 09:14:00 +0000</pubDate>
        <link>http://ghini.github.io//technical/2019/06/13/deploy-on-ghini.me.html</link>
        <guid isPermaLink="true">http://ghini.github.io//technical/2019/06/13/deploy-on-ghini.me.html</guid>
        
        
        <category>technical</category>
        
      </item>
    
      <item>
        <title>what does it imply, reloading ghini?</title>
        <description>&lt;p&gt;So you have been watching the last videos[*], and you wonder where this all is going to take us to.&lt;/p&gt;

&lt;p&gt;A user posed the question:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Betekent dit dat in de toekomst de database ergens in de cloud staat en dat je via een browser in kan loggen?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;(Does it mean that in the future the database stays somewhere “in the cloud” and that we log in via a browser?)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Well, no, and yes, depending on how you look at it.&lt;/p&gt;

&lt;p&gt;You can install ghini server on your own server if you think so, and keep all in-house.&lt;/p&gt;

&lt;p&gt;Or you can ask me to host it “in the cloud”, if you prefer.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/perplex-man-balding.svg&quot; alt=&quot;perplex&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Right, I know, and I’m even going to give you a further technical and
necessary explanation, so please take a deep breath, and read on.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/meditate.svg&quot; alt=&quot;freedom&quot; /&gt;&lt;/p&gt;

&lt;p&gt;If it still makes any sense to you, please let me understand what you understand, so I’ll fix my writing.&lt;/p&gt;

&lt;p&gt;You have been using ghini.desktop, and you know its structure, let’s review
it together:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;There’s a central database server (this doesn’t change),&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;This database can also be a simple sqlite3 file (also this options stays
unaltered),&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Or you can use a database server like MySQL, or PostgreSQL, or whatever
you prefer (again no change here),&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;The core of ghini.desktop is a Python data abstraction layer, based on
SQLAlchemy, connecting to your database.  (This does change.)&lt;/p&gt;

    &lt;p&gt;This layer is now isolated from the user interface, it’s still written in
Python, but based on Django, and it’s obviously brand new.  You have to
install this part, sort of how you had to install ghini.desktop.  The
extra choice now here is that you can ask me to run this part for you ‘in
the cloud’.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;The other part of ghini.desktop is the user interface, the visible part of
the software, the one offering you menus and buttons windows and input
fields.  (Here, an even more radical change.)&lt;/p&gt;

    &lt;p&gt;This has become a lightweight javascript program, and my goal was to let
you hardly realize there is any program there.  All you see it’s a web
page, and of course it’s a smart web page and quite some work is going
into it, but I hope that you will not immediately realize that this web
page is the program you are using.&lt;/p&gt;

    &lt;p&gt;You are ‘installing’ this part, in your desktop, laptop, phone, or tablet,
regardless its operating system, by simply directing your browser to the
ghini login page.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Makes any sense?&lt;/p&gt;

&lt;p&gt;Oh, and an otherwise interesting remark I got: “ben benieuwd hoe het zich
verder ontwikkelt” (I’m curious to see how it develops).  Well, how to put
it.  This software, any &lt;strong&gt;software&lt;/strong&gt;, it’s written to &lt;strong&gt;solve&lt;/strong&gt; problems, or
to help &lt;strong&gt;users&lt;/strong&gt; address a &lt;strong&gt;problem&lt;/strong&gt;.  How it develops, it depends on the
&lt;em&gt;understanding&lt;/em&gt; that the &lt;em&gt;programmer&lt;/em&gt; has of the previous two concepts
‘user’ and ‘problem’.  The great philosopher Bertrand Russel thought there
was &lt;em&gt;nothing&lt;/em&gt; that can’t be done by formal logic.  It took 20 years to have
a German mathematician prove him wrong, but if we stay in the framework of
botany, please be assured that the only limiting factor is not Gödel’s
incompleteness theorem, but the lack of criticism.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;For those of you who missed the videos: here’s &lt;a href=&quot;https://www.youtube.com/playlist?list=PLtYRCnAxpinVw9AHl4fNXa15cekxebs9o&quot;&gt;the link to the new
playlist&lt;/a&gt;
on youtube.&lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Mon, 27 May 2019 15:53:00 +0000</pubDate>
        <link>http://ghini.github.io//geek/2019/05/27/what-does-it-imply,-reloading-ghini.html</link>
        <guid isPermaLink="true">http://ghini.github.io//geek/2019/05/27/what-does-it-imply,-reloading-ghini.html</guid>
        
        
        <category>geek</category>
        
      </item>
    
      <item>
        <title>ghini reloaded</title>
        <description>&lt;p&gt;Buenos días todos.&lt;/p&gt;

&lt;p&gt;Los últimos meses he estado contribuyendo a otros proyectos, basados en
Django, así que he estado expuesto a otras opciones, más ‘main stream’, y
mucho más modernas que la tecnología elegida hace 15 años por el autor
originario.  En la época Python fue una buena apuesta, aunque Django ni
existía, y Javascript era un idioma muy marginal.&lt;/p&gt;

&lt;p&gt;Vengan a mirar, y si tienen sugerencies, sería muy bueno por ejemplo
escuchar cuales partes de ghini.desktop utilizan, para que no hagan falta en
las primeras versiones de ghini-reloaded.&lt;/p&gt;

&lt;p&gt;https://www.youtube.com/watch?v=VYU_GrIK1tQ&lt;/p&gt;

&lt;p&gt;https://github.com/mfrasca/ghini&lt;/p&gt;
</description>
        <pubDate>Sun, 12 May 2019 15:15:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2019/05/12/no-title.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2019/05/12/no-title.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>desktop listens to pocket</title>
        <description>&lt;p&gt;good news, and of great impact within the Ghini family.  We finally have
real integration between ghini pocket and desktop.  I dedicated most of the
last two weeks descrbing and building a web service inside ghini.desktop,
and the corresponding client in ghini.pocket.  More specifically,
ghini.desktop now has an xml-rpc server, and ghini.pocket now contains a
client activity that interacts with it.&lt;/p&gt;

&lt;p&gt;You can now send all the data you have been collecting in your ghini pocket
to the desktop database, and receive it back in ghini.pocket, without
touching any cables, just connecting your devices to the same local network,
and use the new functionality.&lt;/p&gt;

&lt;p&gt;Start the server on ghini.desktop, register your Android device, send your
collected data (inventory, corrections, pictures), get the new database
snapshot back on ghini.pocket.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/2018-09-15-desktop-listens-to-pocket-20180915171903.png&quot; alt=&quot;screenshot@20180915171903&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I started by first documenting the functionality, then designing the user
interface, while constantly reviewing the documentation, then go in the
technical details, constantly keeping an eye on the user manual, so that it
would still match with the evolving idea.&lt;/p&gt;

&lt;p&gt;Read all about it in its &lt;a href=&quot;https://ghini.readthedocs.io/en/ghini-3.1-dev/imex.html#managing-ghini-pocket-interaction&quot;&gt;manual
page&lt;/a&gt;,
test it by yourself, installing the (still unstable) ghini-3.1 version,
share your mind.  I am considering porting this back to the ghini-1.0 line,
just not quite yet.&lt;/p&gt;

</description>
        <pubDate>Sat, 15 Sep 2018 12:30:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2018/09/15/desktop-listens-to-pocket.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2018/09/15/desktop-listens-to-pocket.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>valutazione milestone</title>
        <description>&lt;p&gt;chiuso milestone Tanager-2018-08, ovviamente non ho concluso tutti i 36 bug
che ci avevo infilato, davvero non era nemmeno un eccesso di ottimismo, era
puro e semplice irrealismo.  10.  dieci mi sembra un buon numero,
considerato l’impatto che alcuni di loro hanno sul software e la
documentazione.&lt;/p&gt;

&lt;p&gt;sono tutti relativi alla linea di sviluppo 3.1, ma un paio li ho anche
applicati alla 1.0, qui marcati con il testo &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[1.0]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;vediamoli in dettaglio, raggruppati.&lt;/p&gt;

&lt;h3 id=&quot;produzione-di-rapporti&quot;&gt;produzione di rapporti&lt;/h3&gt;

&lt;p&gt;con il &lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/395&quot;&gt;395&lt;/a&gt; abbiamo
completamente ridefinito l’interfaccia utente del modulo.  ora l’utente
sceglie quali modelli vuol utilizzare, a ciascuno associa un nome, e la
scelta del nome associato al modello resta definitiva.  chiamiamo questa
operazione “attivare un modello”.  l’utente può scegliere fra i modelli
attivati, o addiungerne.&lt;/p&gt;

&lt;p&gt;dato che ciascun modello è scritto per un formattatore, ed uno solo, la
scelta del modello implica la scelta del formattatore.  questa viene ora
comunicata all’utente, non più richiesta addizionalmente.&lt;/p&gt;

&lt;p&gt;considerando che i modelli Mako generalmente sono scritti in modo da
funzionare per un solo dominio, mentre i modelli XSL possono aver senso su
domini diversi, il software ora favorisce Mako, senza tuttavia impedire la
logica XSL: l’autore del modello dichiara, in un commento nel modello, il
dominio su cui iterare, così che il modello riceve da ghini una lista di
oggetti del dominio dichiarato.  ciascun modello può anche voler agire
direttamente sulla selezione, in questo caso l’autore specifica come dominio
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;raw&lt;/code&gt;.  in ogni caso, nell’interfaccia utente il programma mostra quale
dominio sarà utilizzato nella produzione del rapporto.&lt;/p&gt;

&lt;p&gt;altri dettagli del modello selezionato sono il nome del file del modello, e
la sua ubicazione.&lt;/p&gt;

&lt;p&gt;tutti questi dati sono in sola lettura, e sono contenuti nella sezione
‘dettagli’.&lt;/p&gt;

&lt;p&gt;la sezione ‘opzioni’ permette all’utente di influenzare la produzione del
rapporto, cambiando il valore dei parametri richiesti dal modello.&lt;/p&gt;

&lt;p&gt;con il &lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/408&quot;&gt;408&lt;/a&gt; abbiamo
invece permesso al &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Quick CSV&lt;/code&gt; di agire sulla selezione, anziché su tutto
il contenuto del database.  questo ci ha portato a riconsiderare il
posizionamento della funzione &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Quick CSV&lt;/code&gt; sia dal punto di vista utente
quanto dal punto di vista struttura del software, vedi richiesta
&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/400&quot;&gt;400&lt;/a&gt;.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Quick CSV&lt;/code&gt; si
trova ora nel plugin &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;report&lt;/code&gt;, e nei menu appare nel nuovo menu
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Report&lt;/code&gt;, al lato della funzione &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;From Template&lt;/code&gt;.  questo torna a
chiudere la richiesta
&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/62&quot;&gt;62&lt;/a&gt;.&lt;/p&gt;

&lt;h3 id=&quot;interfaccia-utente&quot;&gt;interfaccia utente&lt;/h3&gt;

&lt;p&gt;tutti gli oggetti di menu creati dai plugin erano privi di icona, in
particolare le “categorie”, cioè i menu che attivano altri menu.  questo era
l’argomento del &lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/396&quot;&gt;396&lt;/a&gt;.
per il menu &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tools&lt;/code&gt;, ho utilizzato icone standard di gnome, mentre per il
menu &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;inserisci&lt;/code&gt; ho creato un paio di icone, basadomi su alcuni oggetti
grafici della wikipedia.&lt;/p&gt;

&lt;p&gt;io non parlo francese, però a volte mi metto a leggerne, diciamo per
stimolare il cervello.  leggendo documentazione tecnica di django, avevo
notato nomi tradotti in modo che non avevo mai sentito prima.
&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/389&quot;&gt;389&lt;/a&gt;.  se lo dice
django!&lt;/p&gt;

&lt;h3 id=&quot;un-paio-di-bug-importanti&quot;&gt;un paio di bug importanti&lt;/h3&gt;

&lt;p&gt;non in grado di rompere la funzionalità del programma, ma abbastanza per
creare problemi in casi particolari:
&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/392&quot;&gt;392&lt;/a&gt;.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[1.0]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;un altro invece decisamente serio, nella linea giustamente ancora non
pubblicata 3.1: &lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/361&quot;&gt;361&lt;/a&gt;.&lt;/p&gt;

&lt;h3 id=&quot;varie-ed-eventuali-documentazione&quot;&gt;varie ed eventuali (documentazione)&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/404&quot;&gt;404&lt;/a&gt;, dopo tanto tempo
che ne parlavo, finalmente ho pubblicato un database di esempio, relativo
all’orto informale “el Cuchubo” in Mompox, Colombia.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[1.0]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Ghini/ghini.desktop/issues/386&quot;&gt;386&lt;/a&gt;, o come essere
chiari con chi pensa in maniera diversa da te.  la cosa migliore quando non
mi si capisce, è che mi si dica “scusa, non ho capito”, eventualmente anche
senza lo “scusa”.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[1.0]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;as always: enjoy.&lt;/p&gt;
</description>
        <pubDate>Sat, 01 Sep 2018 13:08:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2018/09/01/valutazione-milestone.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2018/09/01/valutazione-milestone.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>two weeks sprint</title>
        <description>&lt;style type=&quot;text/css&quot;&gt;
   hr {margin: 0px;}
   tr {padding: 0px;}
   td {padding: 5px 15px 8px 8px; }
   .issue-tag { border-radius: 3px; }
   .i-red { background: #EE3F46; color:#FFF;}
   .i-lightblue { background: #bfd4f2;}
   .i-tan { background: #fef2c0;}
   .i-orange { background: #FFC274;}
   .i-purple { background: #cc317c; color:#FFF;}
   .i-gray { background: #D2DAE1;}
   .i-blue { background: #5EBEFF;}
   .i-green { background:#91ca55;}
   .i-yellow { background:#fbca04;}
   .i-salmon { background:#fad8c7;}
   .i-black { background: #000000; color:#FFF;}
&lt;/style&gt;

&lt;p&gt;I have a couple of weeks, that’s until the first days of September, and I sit at a nice place with unstable
internet connection.  Good enough for email and committing work, definitely not for much distraction.&lt;/p&gt;

&lt;p&gt;Last months I have been working at a different project, and some ideas can be applied here, too.  One is about
organizing sprints in a more defined way, and reading and gathering information, we got to ZenHub, and a nice
idea about labelling issues.&lt;/p&gt;

&lt;h2 id=&quot;labelling-issues&quot;&gt;labelling issues&lt;/h2&gt;

&lt;p&gt;Coming from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;trac&lt;/code&gt;, I was never particularly satisfied with github issues.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;trac&lt;/code&gt; issues have a priority,
in github you only have labels, and they work independetly of each other.  I had sort of built something
mimicking it, combining label names and colours, and I’m happy to see it taken several steps further in
&lt;a href=&quot;https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;We group labels by color, according to broad themes. Labels are consistent across repositories […].  This
makes switching between projects easy […].  New team members can learn the system once, and use it
everywhere.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;table&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-purple&quot;&gt;&lt;p&gt;Feedback&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Requires further conversation to figure out the action steps. Most feature ideas start here.&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;issue-tag i-purple&quot;&gt;discussion&lt;/code&gt;, &lt;code class=&quot;issue-tag i-purple&quot;&gt;rfc&lt;/code&gt;, &lt;code class=&quot;issue-tag i-purple&quot;&gt;question&lt;/code&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;padding:0px;&quot;&gt;&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-red&quot;&gt;&lt;p&gt;Problems&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Issues that make the product feel broken. High priority, especially if its present in production.&lt;/p&gt;&lt;p&gt; &lt;code class=&quot;issue-tag i-red&quot;&gt;bug&lt;/code&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-orange&quot;&gt;&lt;p&gt;Experience&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Affect user’s comprehension, or overall enjoyment of the product. These can be both opportunities and “UX bugs”, or failing documentation.&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;issue-tag i-orange&quot;&gt;documentation&lt;/code&gt;, &lt;code class=&quot;issue-tag i-orange&quot;&gt;opportunity&lt;/code&gt;, &lt;code class=&quot;issue-tag i-orange&quot;&gt;ux&lt;/code&gt;.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-tan&quot;&gt;&lt;p&gt;Mindless&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Converting measurements, reorganizing folder structure, and other necessary (but less impactful) tasks.&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;issue-tag i-tan&quot;&gt;chore&lt;/code&gt;.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;padding:0px;&quot;&gt;&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-blue&quot;&gt;&lt;p&gt;Improvements&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Iterations on existing features or infrastructure. Generally these update speed, or improve the quality of results. Adding a new “Owner” field to an existing “Calendar” model in the API, for example.&lt;/p&gt;&lt;p&gt; &lt;code class=&quot;issue-tag i-blue&quot;&gt;enhance&lt;/code&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-green&quot;&gt;&lt;p&gt;Additions&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Brand new functionality. New pages, workflows, endpoints, etc.&lt;/p&gt;&lt;p&gt; &lt;code class=&quot;issue-tag i-green&quot;&gt;feature&lt;/code&gt;.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;padding:0px;&quot;&gt;&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-yellow&quot;&gt;&lt;p&gt;Pending&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Taking action, but need a few things to happen first. A feature that needs dependencies merged, or a bug that needs further data.&lt;/p&gt;&lt;p&gt; &lt;code class=&quot;issue-tag i-yellow&quot;&gt;need-stuff&lt;/code&gt;, &lt;code class=&quot;issue-tag i-yellow&quot;&gt;need-info&lt;/code&gt;, &lt;code class=&quot;issue-tag i-yellow&quot;&gt;need-issue&lt;/code&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;padding:0px;&quot;&gt;&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-lightblue&quot;&gt;&lt;p&gt;Platform&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;code class=&quot;issue-tag i-lightblue&quot;&gt;Android&lt;/code&gt;, &lt;code class=&quot;issue-tag i-lightblue&quot;&gt;Windows&lt;/code&gt;, &lt;code class=&quot;issue-tag i-lightblue&quot;&gt;OSX&lt;/code&gt;, &lt;code class=&quot;issue-tag i-lightblue&quot;&gt;GNU/Linux&lt;/code&gt;. &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-salmon&quot;&gt;&lt;p&gt;Environment&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Production line.&lt;/p&gt; &lt;p&gt;&lt;code class=&quot;issue-tag i-salmon&quot;&gt;ghini-1.0&lt;/code&gt;, &lt;code class=&quot;issue-tag i-salmon&quot;&gt;ghini-3.1&lt;/code&gt;, &lt;code class=&quot;issue-tag i-salmon&quot;&gt;ghini-3.2&lt;/code&gt;, &lt;code class=&quot;issue-tag i-salmon&quot;&gt;mobile&lt;/code&gt;.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-gray&quot;&gt;&lt;p&gt;Inactive&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;No action needed or possible. The issue is either fixed, addressed better by other issues, or just out of product scope.&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;issue-tag i-gray&quot;&gt;duplicate&lt;/code&gt;, &lt;code class=&quot;issue-tag i-gray&quot;&gt;invalid&lt;/code&gt;, &lt;code class=&quot;issue-tag i-gray&quot;&gt;wontfix&lt;/code&gt;.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;padding:0px;&quot;&gt;&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;issue-tag i-black&quot;&gt;&lt;p&gt;Not an issue&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;much more than just an issue.&lt;/p&gt; &lt;p&gt;&lt;code class=&quot;issue-tag i-black&quot;&gt;epic&lt;/code&gt;.&lt;/p&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</description>
        <pubDate>Wed, 22 Aug 2018 09:39:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2018/08/22/short-two-weeks-sprint.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2018/08/22/short-two-weeks-sprint.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>software review</title>
        <description>&lt;ul&gt;
  &lt;li&gt;PlantSnap&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;it’s a (rather heavy) client of a remote expert system.  the 24Mbytes app
lets you take pics, send them for identification, show the results, or in
order of likeliness.  we tested it with Mangifera indica, Coffea arabica,
Cecropia peltata, and Persea americana.  after the time needed to send the
high resolution pictures to the server, we had one correct first choice for
Mangifera indica (second option Pachira aquatica), correct second result for
Coffea arabica (first choice: Olea dioica), and two timeouts.  we repeated
the identification request for the same coffee picture after three minutes,
and this time the right result came as first option.&lt;/p&gt;

&lt;p&gt;after every third query, the software demands that you watch at least some
advertisement videos, surely it’s referring to the ones we have clicked
away: currently our network connecion is very narrow, so we thought we would
continue some other time.&lt;/p&gt;

&lt;p&gt;are we impressed?  not really, but neither do we definitively advise against
PlantSnap.  it’s heavy, it heavily relies on a fast internet connection.&lt;/p&gt;

&lt;p&gt;in fact, my main perplexity is about knowledge ownership: the PlantSnap
client lets you send pictures to the server, the remote expert system, and
you may suggest identifications.  this is information you voluteer,
information that goes into the knowledge base in the server, and which
contributes to increase the database value that the user community is paying
for.&lt;/p&gt;

&lt;p&gt;post hoc ergo propter hoc.  the phone we used for our evaluation got stuck
on internet access, music playback, and just plain froze, something it
doesn’t generally do.  all went back to fine after we removed PlantSnap.
maybe just a coincidence.  so we won’t evaluate it any further.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;PictureThis&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;also a (rather heavy, 14MByte) client, it has a shortish timeout, that
prevents us from sending in pictures using our narrow 15kb/s.&lt;/p&gt;

&lt;p&gt;once at a faster network connection, we tested PictureThis using precisely
the same pics we took with PlantSnap.  also PictureThis correctly identified
our Mango and Coffee, and not the other plants.&lt;/p&gt;

&lt;p&gt;one remark from Seralia, our botanist, was while taking the picture of the
mistery Piperacea: “don’t take just the leaves, you need to show the nodes,
and you need show that leaves are alternating.”  well, the software at
PictureThis offered as possible match for this Piperacea several plant
species with very similar leaves, but opposite, not alternate, and
regardless the shape of the nodes.&lt;/p&gt;

&lt;p&gt;better than PlantSnap?  PlantSnap didn’t manage to propose anything.  but
yes, better: PictureThis is 40% lighter than PlantSnap and did not freeze
the phone.&lt;/p&gt;

&lt;p&gt;one more bright side of this one, it feels like a collaborative platform,
and not one where your efforts are greedily monetized by others, as was my
feeling with PlantSnap.  somehow also PictureThis is a commercial
enterprise, but not in an invasive way.&lt;/p&gt;

&lt;p&gt;we didn’t check the copyright status of the data you provide, do you keep
ownership and agree on a license, or you just provide the information and
PictureThis becomes its owner?  we ask this question, because depending on
the answer, you know whether you are participating to a community, or you’re
putting value into a company.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;PlantNet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;we put PlantNet in the crosshairs after we realized that both PictureThis
and PlantSnap were but a client of a remote expert system.  we really
intended to test Android apps that you could run on your phone while deep in
the bushes, we’re not insterested in a client-server interaction based on
a reliable internet connection, even less a broadband connection.&lt;/p&gt;

&lt;p&gt;PlantNet comes as both on-line expert system and as remote server of a
installable client.  The client is less than 4Mbytes, that’s 85% lighter
than PlantSnap and more than 70% lighter than PictureThis.&lt;/p&gt;

&lt;p&gt;plantnet.org is part of Floris’Tic, a non commercial organization, based in
France, sponsored by several French scientific public institutions, and
endorsed by tela-botanica, the largest French-speaking botanic community.&lt;/p&gt;

&lt;p&gt;anyhow, we hope to review PlantNet soon, in the meanwhile check it for
yourself, at https://identify.plantnet-project.org/&lt;/p&gt;

</description>
        <pubDate>Sun, 05 Aug 2018 14:05:00 +0000</pubDate>
        <link>http://ghini.github.io//software/2018/08/05/software-review.html</link>
        <guid isPermaLink="true">http://ghini.github.io//software/2018/08/05/software-review.html</guid>
        
        
        <category>software</category>
        
      </item>
    
      <item>
        <title>new user testing 3.1</title>
        <description>&lt;p&gt;I’m glad to publish a user contribution, from archlinux, a different Linux
distribution, one that I had never tested, confirming a complete successful
install.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/screenshots/ghini-3.1.6-choose_location.jpeg&quot; alt=&quot;screenshot@20180802110806&quot; /&gt;&lt;/p&gt;

&lt;h3 id=&quot;installing-ghini-on-archlinux&quot;&gt;Installing Ghini on ArchLinux&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;First Step: 
Install python3 libraries:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;pacman &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; libchamplain python-gobject
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Make a dir where you want install Ghini.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mkdir &lt;/span&gt;Ghini
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;Ghini
virtualenv3  &lt;span class=&quot;nt&quot;&gt;--system-site-packages&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;env
source env&lt;/span&gt;/bin/activate
git clone git@github.com:Ghini/ghini.desktop.git
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;ghini.desktop
pip &lt;span class=&quot;nb&quot;&gt;install
&lt;/span&gt;python3.6 setup.py build
python3.6 setup.py &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;If all is ok: launch ghini&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ghini
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;still-to-do&quot;&gt;still-to-do&lt;/h3&gt;

&lt;p&gt;don’t tell me, I totally agree that the above steps are for the strong of
heart, at least until I have processed them into the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;devinstall&lt;/code&gt; script, or
I have published ghini 3.1 on pip.&lt;/p&gt;

&lt;p&gt;but in the meanwhile, if you want to put your hands on the geographic
awareness included in ghini 3.1, you can follow these lines, and help with
your feedback, hints, complaints.&lt;/p&gt;
</description>
        <pubDate>Thu, 02 Aug 2018 11:04:00 +0000</pubDate>
        <link>http://ghini.github.io//proud/2018/08/02/new-user-testing-3.1.html</link>
        <guid isPermaLink="true">http://ghini.github.io//proud/2018/08/02/new-user-testing-3.1.html</guid>
        
        
        <category>proud</category>
        
      </item>
    
  </channel>
</rss>
