Wednesday, April 29, 2020

Corona Virus Data-April 2020

This chart is based on data from the following source. Only data for India, Japan, and Singapore are extracted.

Data of interest from April 01 - April 29

https://covid.ourworldindata.org/data/owid-covid-data.xlsx




Thursday, April 23, 2020

Some good out of the evil

It has been observed world wide that pollution levels are at their lowest. I saw some incredible pictures of clear skies and fog free cityscapes.

Here is a picture I cropped from Times of India.

"A NASA image, part of a study, shows that the lockdown has led to air pollution levels declining to a 20-year low in India, especially northern India."

Wednesday, April 15, 2020

Things were much better in Italy then in 2017

Italy is undergoing a horrendous loss of life, economy and the landscape is devastated with the morale at its nadir. This happened soon after the devastating rains in Venice which destroyed the storied destination which most travelers never miss.

We, a group of tourists visited Italy for 17 days when the sun was shining and there was music in the air. San Marcos plaza was buzzing and the Spanish Steps was too crowded to climb. We enjoyed not only the great cuisine of Italy but also the wine from different parts of Italy. Every day it was a new experience and some of them unforgettable; a new place to explore and learn.


Assis's main square


San Marco's Plaza

 Florence: Vecchio Palace

Spanish Steps 


It is these memories that form part of a story I would like to share. In these Internet links, you find where we went, what we did, what we saw and what we missed then and what we miss now.


September 19:
Naples to Maiori
http://hodentek.blogspot.com/2017/10/naples-to-maiori-via-vietri-sul-mare.html

September 20:
Walking Tour of Amalfi & Boat ride:
http://hodentek.blogspot.com/2017/11/walking-tour-of-amalfi.html

September 21:
Pompeii:
http://hodentek.blogspot.com/2017/12/a-visit-to-lost-city-of-pompeii.html

September 22:
Montecassino
http://hodentek.blogspot.com/2018/02/visit-to-monte-cassino-monastery-and.html

September 23:
Vatican, Pantheon and Trevi + Spanish Steps
http://hodentek.blogspot.com/2018/03/a-visit-to-vatican-patheon-and-trevi.html

September 24:
https://hodentek.blogspot.com/2018/05/tour-of-rome-piazza-del-campidoglio-and_5.html

September 25:
https://hodentek.blogspot.com/2018/07/september-25-moving-from-rome-to-orvieto.html

https://hodentek.blogspot.com/2018/06/visit-to-colosseum-part-2.html

https://hodentek.blogspot.com/2018/06/borghese-museum-visit-rome-part-3.html

September 26:
https://hodentek.blogspot.com/2018/08/walking-tour-of-orvieto-september-26.html

September 27:
https://hodentek.blogspot.com/2018/09/visit-to-assisi-birth-place-of-st.html

September 28:
https://hodentek.blogspot.com/2018/11/perugia-on-way-to-tuscany-september.html

September 29:
https://hodentek.blogspot.com/2019/02/septem-29-walking-tour-of-siena-tuscany.html

September 30:
https://hodentek.blogspot.com/2019/04/september-30-2017-visiting-birth-place.html

October 1:
https://hodentek.blogspot.com/2019/07/october-01-2017-visiting-san-gimignano.html

October 2:
https://hodentek.blogspot.com/2019/09/october-02-2017-visiting-venice-gondola.html

October 3:
https://hodentek.blogspot.com/2019/12/october-03-2017-visiting-venice-walking.html

There is no doubt things will get better and may be you can visit again soon.

Wednesday, April 01, 2020

Photoshots during Corona Virus Times

It is time for introspection and looking out for things that one may not notice usually. There are always wonderful and deadly(New Corona Virus) things in nature. They humble us and bring us to our knees. We have come a long way from our primitive beginnings, but have we really conquered the world with our superior knowledge.  We probably have made just a little nick in knowing the existing universe.

Here is an arresting picture of the clear skies by Ben Lockett that appeared in BBC's article. The photographer found easy to capture this courtesy of corona virus with no flights spoiling his picture.



Here is my attempt to capture a spider's web on my lilikoi (passion fruit) creeper. I tried to juxtaposition Waikiki in the distance and barely made it.







Thursday, March 05, 2020

Installing lxml on Windows 10

lxml is a parser for XML and HTML. It binds c libraries linxml2 and licxslt to Python and should work with Python versions 2.8 through 3.8.

lxml is better than ElementTree I used with python 3.7:

https://hodentek.blogspot.com/2018/07/parsing-xml-with-python-37.html

You can download the complete and this te documentation in pdf from here:
https://lxml.de/lxmldoc-4.5.0.pdf

The HTML parsing may be available here:
https://lxml.de/index.html#download

As a parser, it builds a data structure (parse tree) given the XML. There are many programs to parse XML but this is python specific.

How do you install?

Get the lxml from here:

http://pypi.python.org/pypi/lxml/ 

 use the following public key:

https://lxml.de/3.8/pubkey.asc 

If you have Python 3.8, like I have, the lxml 3.8.0 is here:

https://lxml.de/files/lxml-3.8.0.tgz
Documentation here:
https://lxml.de/3.8/lxmldoc-3.8.0.pdf

If you are using Windows 10 and already have Python 3.8 use the following steps:


Step 1: Verify you can run 'pip' as shown here:
-------
Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>pip

Usage:
  C:\Users\Owner\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe -m pip [options]

Commands:
  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  check                       Verify installed packages have compatible dependencies.
  config                      Manage local and global configuration.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion.
  debug                       Show information useful for debugging.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output. Option is additive, and can be used up to 3 times (corresponding to
                              WARNING, ERROR, and CRITICAL logging levels).
  --log                 Path to a verbose appending log.
  --proxy              Specify a proxy in the form [user:passwd@]proxy.server:port.
  --retries          Maximum number of retries each connection should attempt (default 5 times).
  --timeout              Set the socket timeout (default 15 seconds).
  --exists-action     Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup,
                              (a)bort.
  --trusted-host    Mark this host as trusted, even though it does not have valid or any HTTPS.
  --cert                Path to alternate CA bundle.
  --client-cert         Path to SSL client certificate, a single file containing the private key and the
                              certificate in PEM format.
  --cache-dir

           Store the cache data in.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine whether a new version of pip is available for
                              download. Implied with --no-index.
  --no-color                  Suppress colored output
---------------------

Step 2: Use this command to install lxml:





DMCA.com Protection Status