Saturday, November 17, 2018

Perugia on the way to Tuscany - September 28,2017

September 28, 2017

We left Orvieto and travel to Tuscany to taste its wine and take in its splendid scenery. Along the way we stop at Perugia, an Etruscan stronghold in the past but which came under Romans later. the Papacy and travails of WWII effectively made Etruscans disappear. It is the provincial capital of Umbria.


Source: https://www.distancesfrom.com

The city of Perugia has a hilltop area (669 ft above sea level) which has all the main sightseeing places and can be reached by a Mini monorail, a fully automated driverless transport system. Perugia also has a town in the foothills. To escape the mosquitos it appears that hill-top city was built.



We used the Mini metro as a group to go to the hilltop city. Metro Pichetto.



The main attractions that we could cover in our short visit were the Papal built underground city merging with the remains of Etruscan's constructions; the Vittorio Emanuel the II's statue in Piazza of Italy; the group of important sights - the Fontana Maggiore; the National Museum of Perugia; the St. Lawrence’s' Cathedral and the Palazzo dei Priori; and the main streets of Perugia connecting all these locations.

Our main regret was we could neither enter the Cathedral nor visit the museum which appears to have some important paintings.

Here are some pictures of our visit.











Perugina Chocolate shop. They also gave out samples distributed by our tour director.





Eglo was a communist and cousin of Ricardo Tenerini who organized the resistance during WWII.


Exit from Rocca Paolina, the Etruscan underground city. 




Statue of  Vittorio Emanuel the II. Source: Bing Maps



Lunch at the Caffe Blu. All water carafes are blue.

Just entered the museum but did not visit the interior. The Galleria Nazionale dell'Umbria is hosted in the upper floors of Palazzo dei Priori, with the entrance in Corso Vannucci. 









 Fontana Maggiore from Bing Map. It is next to the St. Lorenzo Cathedral.


    The Fontana Maggiore is a monumental medieval fountain located between the cathedral and the Palazzo dei Priori in the city of Perugia in Italy. It was made between 1277 and 1278 by sculptors Nicola Pisano and Giovanni Pisano. The hydraulics were by Fathers Bevignate and Boninsegna. [Source: Bing Search]



    Watch Video Here:
    https://www.youtube.com/watch?v=XYzmpp8lw7Y&t=6s

    https://www.charminly.com/perugia-a-walk-in-his-underground-city/

    We will be leaving around 2:30 PM on our way to Tuscany.

    Arriving at Hotel di CorteFreda


    We were welcomed by the staff of the hotel, with an assortment of snacks, Prosecco and wines of the region. The hotel has its own winery. We all sat in the courtyard at the back of the hotel and sipped wine.

    This was when I began drinking the wine after the course of antibiotics. I felt good.







    Love truly begets pleasure and love. These do not exist where there is no wine.


    Wednesday, October 17, 2018

    Use Ractive.JS for your web pages

    Ractive.JS consists of a UI library that works with templates. Ractive JS library transforms style, logic to highly interactive apps.

    It has out of the box support for,

    Powerful and extensible components,
    two-way binding,
    scoped CSS,
    SVG support and
    animations.

    There are also plugins if the above are not sufficient.

    It does not have a very steep learning curve like other frameworks.

    It's origins are in the News media company, the Guardian. Originally used for producing News related applications where the demands and interactivity are very high.

    Nice thing is,  you are not locked to it like other frameworks.

    Here is the script reference to Ractive.JS



    Continued here:

    Monday, October 15, 2018

    On converting a picture file to PDF

    Some sites do not accept image files and they suggest a PDF format as acceptable.

    There are more ways than one to do this.

    1. There is an online tool here that you can use:

    https://png2pdf.com/

    While using this site, do not simply click the big green buttons but use this image as guide. Click Upload and Download buttons that are highlighted in the image below.



    2. You can use Adobe Acrobat to Convert your Image. You can use the free trial of Acrobat

    3. I just paste the image in a Word [Version 1808 Build 10730.20127] document and save the Word document with a .pdf extension. You can paste multiple images + any text you like and create a single PDF.

    Friday, October 12, 2018

    Reading a SPSS file using R

    SPSS files are created using the SPSS software from IBM. You could read these files using R provided you can install the 'haven' library from one of the CRAN sites.


    Rlib_Haven.png


    Install 'haven'
    --------------
    > install.packages("haven")
    Warning in install.packages("haven") :
      'lib = "C:/Program Files/Microsoft/R Client/R_SERVER/library"' is not writable
    also installing the dependencies ‘assertthat’, ‘lazyeval’, ‘Rcpp’, ‘readr’, ‘hms’, ‘tibble’, ‘BH’

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/assertthat_0.1.zip'
    Content type 'application/zip' length 44884 bytes (43 KB)
    downloaded 43 KB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/lazyeval_0.2.0.zip'
    Content type 'application/zip' length 137793 bytes (134 KB)
    downloaded 134 KB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/Rcpp_0.12.7.zip'
    Content type 'application/zip' length 3265183 bytes (3.1 MB)
    downloaded 3.1 MB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/readr_1.0.0.zip'
    Content type 'application/zip' length 1167814 bytes (1.1 MB)
    downloaded 1.1 MB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/hms_0.2.zip'
    Content type 'application/zip' length 20730 bytes (20 KB)
    downloaded 20 KB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/tibble_1.2.zip'
    Content type 'application/zip' length 614069 bytes (599 KB)
    downloaded 599 KB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/BH_1.60.0-2.zip'
    Content type 'application/zip' length 15529292 bytes (14.8 MB)
    downloaded 14.8 MB

    trying URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/haven_1.0.0.zip'
    Content type 'application/zip' length 800532 bytes (781 KB)
    downloaded 781 KB

    package ‘assertthat’ successfully unpacked and MD5 sums checked
    package ‘lazyeval’ successfully unpacked and MD5 sums checked
    package ‘Rcpp’ successfully unpacked and MD5 sums checked
    package ‘readr’ successfully unpacked and MD5 sums checked
    package ‘hms’ successfully unpacked and MD5 sums checked
    package ‘tibble’ successfully unpacked and MD5 sums checked
    package ‘BH’ successfully unpacked and MD5 sums checked
    package ‘haven’ successfully unpacked and MD5 sums checked

    The downloaded binary packages are in
            C:\Users\TEMP.HODENTEK9.000.001.002\AppData\Local\Temp\Rtmp84xjOn\downloaded_p

    -----
    Load the library
    > library(haven)
    -------------
    I will try to read a file called 'employees.sav' which I downloaded to my laptop from internet here :

    (https://www.spss-tutorials.com/spss-opening-data-with-syntax/).

    Now I run this statment in R (Microsoft Client R.GUI)


    Rlib_Haven_1

    That's all folks!

    Thursday, October 11, 2018

    Problem and Fix: The app did'nt start(HRESULT:0x8027025B)

     The fix was to use the right combination of Target min version.

    I faced quite a bit of downtime due to the wrong choice of the target version working with UWP Projects. Web search to find a cure sent me searching for answers I could not find.

    I am using Microsoft Visual Studio Community 2017 Version 15.8.1. The Dell Laptop is running Evaluation copy of Build 17733.rs5_release(18083-1525). [This OS has a problem in that when you shutdown and restart the OS, it will reinstall the OS afresh wiping out some of the folders; saved passwords; saved items in Microsoft Edge. Visual Studio also gets reset.].

    Now coming back to the right Target version for working with UWP projects, there are three options for the Target version shown in this image.

    RightTargetVersion_0

    Of the three options only one of them allows the Design editor in Visual Studio come up without this error - The app did'nt start(HRESULT:0x8027025B). This is the only one that works:

    Windows 10 Creators Update (10.0; Build 15063).

    Regarding the choices for the Min Version, Build 15086 and Build 15063 works without any changes, just the Solution refreshes.
    RightTargetVersion_2

    However, if you were to choose Build 14393.0 you need to install the required SDK.
    RightTargetVersion_1

    These findings are summarized in the next image.


    RightTargetVersion_3
    DMCA.com Protection Status