Latest posts

Browse topics

Diaries from Tbilisi or Fun Friday with school, office, options trading and flying

The day started with a lot of snow here in Tbilisi, yesterday we parked our VW Touareg at Archi Tower paid underground parking (paying about GEL 200 / month), and decided to rely on taxi service until Friday's flight to Riga.

A few days ago my personal Driver David refused to make a trip to the QSI international school and back to our apartment for GEL 20 (roundtrip). Well what to do, now we need to rely on BOLT or drive ourselves. Sad our area is not served by school bus. 

We dropped kiddo at school and drive to the office in Vake. I installed one PC with Windows and MS products, had a nice chat with office personnel, and at the end of the day talked to Shorena, a smart Georgian girl helping us with PC equipment. I counted we now have about 15 machines. Intel i3 and Intel i5. Ram ranging from 4 GB (for the older models) to 16GB (never)

I wanted to return the old look on my blog, the one you are currently reading, the Bootstrap look, there were some system errors after I did the Drupal 7 to Drupal 9 upgrade last Summer. Now I decided to investigate and fix that. Had to get my hands dirty, using Siri as an assistant and ssh terminal on MacBook too. It was fun digging through the PHPMyAdmin and locating the issues. Fixed. Switched the look.

It was time to pick up the kiddo from the school, again with the Help of Bolt. We arrived at school some 30 minutes earlier, decided to use my phone as a hotspot, and fine-tuned the look of the blog from the backseat in the taxi.

Working on my blog design from a taxi backseat

For this ride paid GEL 30. Probably my driver was right, I was paying him too less, probably. well, what to do. But if there is a lesson I have learned the hard way - never take back the ones you have sacked. Sorry, David!

Back at the home, Nina, the cleaning lady waited, gave her some instructions on how to upkeep the apartment while we will be abroad. 

The stock market opened, most of my positions were challenged, decided to let get called away 100 shares with PFE and 100 shares with SPCE. Rolled up DOW and closed one call position with WBA. Sold additional credit spread on PFE and waited for a chance to open position on Barrick gold.

Meantime bathed our kiddo, ordered some chicken wings and noodles with shrimps from Jackie Chan restaurant. 

Now a few more hours in the stock market, and we can fly to Riga.

Buying Amazon stock on margin (NASDAQ:AMZN) before stock split to sell covered calls

On March 17, 2022, I assisted in buying 1 share of AMZN stock for my fiancee. She paid USD 3,101.99 for 1 share.

Our goal is to have 5 shares by June 6, 2022. My fiancee is having her birthday on June 10 and by that time I hope I will be able to assist her in selling the first covered call on AMZN stock as well.

Now, long story short AMZN stock is doing a 1:20 stock split on June 6, 2022:

On March 9, 2022, the Board of Directors of Amazon.com, Inc. (the “Company”) approved a 20-for-1 split of the Company’s common stock to be effected through an amendment to the Company’s Restated Certificate of Incorporation (the “Amendment”). The Amendment will also effect a proportionate increase in the number of shares of authorized common stock.

The stock split and the proportionate authorized share increase are subject to shareholder approval of the Amendment at the 2022 Annual Meeting of Shareholders (the “Annual Meeting”), which is currently scheduled to take place on May 25, 2022. The Company’s definitive proxy statement relating to the Annual Meeting will include additional details regarding the Amendment.

Subject to shareholder approval of the Amendment, each Company shareholder of record at the close of business on May 27, 2022 will have 19 additional shares for every one share held as of such date reflected in their accounts on or about June 3, 2022. Trading is expected to begin on a split-adjusted basis on June 6, 2022.

Amazon is a company that has brought in more than 100K to me in form of Amazon Associates. Most of my money invested in the stock market comes from the money made on Amazon. I find it double important to buy this stock and have it in our portfolios.

As we actually don't have 15K to buy 5 shares, I have an idea to buy these shares on margin (which is about 6.66x for our Interactive Brokers account). Instead of paying 15K to buy 5 shares, we will actually invest about USD 2,250. This means after this deal we will have a large negative cash balance of about -13K.

But after the stock split, we will have 100 shares priced at about USD 150 each, and we will be able to start selling covered calls. As we still need to buy 4 shares before May 27, I still don't know what will be our average buy price, but in case it will be close to the current or above the current stock price I'm looking at some $150 weekly / $500 monthly from selling covered calls on this stock.

Also, our goal is to keep this stock in the portfolio for at least one year.

here is what stock analysts think about AMZN stock:

The 45 analysts offering 12-month price forecasts for Amazon.com Inc have a median target of 4,100.00, with a high estimate of 5,000.00 and a low estimate of 3,041.00. The median estimate represents a +33.31% increase from the last price of 3,075.60.

AMZN stock forecast 1 year

Subscribe to my newsletter about investing with covered calls

 

Gudaleti Monastery Complex

Gudaleti monastery complex is located in the village of Gudaleti on an elevated spot, on the edge of a high gorge on the river Gudaleura. The church is located about 1 hour and 20 minutes drive from Tbilisi. The complex includes the Church of the Assumption and a tower fortress.

We discovered this church by chance while driving through the village of Gudaleti to visit a friend who has bought a house in the same village.

Gudaleti church

Seems the church is under renovation and is being completely rebuilt (2022)

The Church of the Mother of God is a cross-domed building, built at the turn of the XIII - XIV centuries, built of cut stone, cobblestone and bricks are also used. 

I was able to find some additional info about this church in Georgian here

Road in Gudaleti village near church

I guess it is just a matter of time, when a good asphalt road will be laid also in the Gudaleti village, making this place an attractive spot to visit. 

How to Setup XTRF with Apache HTTP server as a reverse proxy and SSL from Let's Encrypt

XTRF is a Polish translation management system available to install as SAAS or on your own server (both Windows and Linux). In today's article, I will keep notes on How to Setup XTRF with Apache HTTP server as a reverse proxy and SSL from Let's Encrypt

The company I'm assisting in server works has been using the XTRF translation management system since 2011 (if not earlier). A few years ago I helped to perform a major upgrade (from version 2 to version 8).

How To Install XTRF 8 on Ubuntu 18.04

The system was launched over the internet, but recently the latest Google Chrome update stopped supporting the system saying: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

XTRF runs on some Jboss server, something I'm not very well familiar with, but as a few years ago we already had a similar problem with ciphers,  at the start I was looking to fix this in JBoss settings (standalone.xml)

How To Fix "Server has a weak ephemeral Dillie-Heffman public key" For Jboss Server

Though, after a few emails with the XTRF support team I got a few pointers to start with, and for my surprise, they were recommending using Apache as a reverse proxy/  here is the article from the XTRF knowledge base: SSL Certificate Installation 

First things first - A record should be configured for DNS purposes, Apache with modules should be enabled, for SSL part I decided to use Let's Encrypt free SSL certificate, last but not least we should configure virtual hosts.

Let's start with Apache:

sudo nano /etc/apache2/sites-available/xtrf.conf

paste

# SSL Stapling configuration
#SSLUseStapling on SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
 
<VirtualHost *:80>
        ServerName xtrf.caucasustranslations.com
 
 
        <Directory />
                Options none
                AllowOverride None
        </Directory>
 
        #just redirect everything to https
        RewriteEngine On
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
        ProxyRequests Off
        LogLevel notice
        ServerSignature Off
 
        ErrorLog "/var/log/apache2/error-xtrf.log"
        CustomLog "/var/log/apache2/access-xtrf.eu.log" combined
 
RewriteCond %{SERVER_NAME} =xtrf.caucasustranslations.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
 
<VirtualHost *:443>
        ServerAdmin info@caucasustranslations.com
        ServerName xtrf.caucasustranslations.com
        
 
        <Directory />
                Options none
                AllowOverride None
        </Directory>
 
        RewriteEngine On
        RewriteRule ^[/]?$ /xtrf/ [R]
        ProxyRequests Off
 
        ProxyPreserveHost On
        SetEnv proxy-nokeepalive 1
 
        LogLevel notice
        ServerSignature Off
 
#        SSLEngine On
 #       SSLProxyEngine On
 #      SSLProxyVerify none
 #     SSLProxyCheckPeerCN off
  #    SSLProxyCheckPeerName off
 
#    SSLCompression off
#    SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES128-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA128:DHE-RSA-AES128-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA128:ECDHE-RSA-AES128-SHA384:ECDHE-RSA-AES128-SHA128:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA128:DHE-RSA-AES128-SHA128:DHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:AES128-GCM-SHA384:AES128-SHA128:AES128-SHA128:AES128-SHA:AES128-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4
#      SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
#    SSLHonorCipherOrder On
    Header always set X-Frame-Options SAMEORIGIN
    Header always set X-Content-Type-Options nosniff

        ProxyPass /server-status !
        ProxyPass / ajp://127.0.0.1:8009/
       
        LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" **%T/%D** \"%{Content-Type}o\"" combined2
        ErrorLog /var/log/apache2/error-xtrf_ssl.log
        CustomLog /var/log/apache2/access-xtrf_ssl.log combined2
SSLCertificateFile /etc/letsencrypt/live/xtrf.caucasustranslations.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/xtrf.caucasustranslations.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>

now enable it

sudo a2ensite xtrf.conf

restart apache

sudo systemctl restart apache2

if there are no errors, you can proceed, if there are errors, follow the instructions on screen

Installing Certbot

How To Secure Apache with Let's Encrypt on Ubuntu 18.04

To obtain an SSL certificate with Let’s Encrypt, you need to install the Certbot software on your server. For this tutorial, we’ll use the default Ubuntu package repositories to install Certbot.

Run the following command, which will install two packages: certbot and python3-certbot-apache. The latter is a plugin that integrates Certbot with Apache, so that it’s possible to automate obtaining a certificate and configuring HTTPS within your web server with a single command:

sudo apt install certbot python3-certbot-apache

once installation is finished, enter

sudo certbot --apache

now the certbot should do the rest, and we should just answer on a few answers. If you allowed, certbot will also cofnigure virtual host and add all the nescesarry lines 

Hope it helps!
 

Postcards from Pasanauri

Pasanauri is a small town in Georgia, situated in the Dusheti district, Mtskheta-Mtianeti region.

We have been traveling this small town through zillions of times, mostly when heading to Gudauri or Kazbegi, but never had we made a stop here and explored more. 

It was in the mid-February 2022, we headed to Gudauri, but as the road was blocked and not willing to wait more we turned our car around and headed back to Tbilisi, but decided to make a stop at Pasanauri to make a drone photo of black and white Aragvi

Aragvi river near the Pasanauri village

I couldn't catch the colours today, but I guess I was making a photo at the wrong season and should return here in Spring / Summer.

Pasanauri lies about 90 kilometers (56 mi) north of the nation’s capital of Tbilisi,at elevation of 1,050 m. above sea level. Located on the Georgian Military Road, Pasanauri is flanked by the Aragvi River, and surrounded by the Caucasus Mountains. The average winter temperature is 0 degrees Celsius but often falls below 10 degrees Celsius. 

Pasanauri village from a drone flight

Due to its picturesque location and the proximity to nearby historical sites as well as for its mineral water, hiking routes, handcrafted items and food, Pasanauri became a popular tourist destination in the Soviet period, but suffered decay during the years of post-Soviet crisis.