Latest posts

Browse topics

Practicing Photography: Doing Night Shots - Tbilisi By Night

Tonight was one, a really great evening, it was the first time I started to understand how ISO actually works. I took my DSLR camera, a tripod and a friend of mine and we headed to Zaarbrucken Square (Dry Bridge) in Tbilisi.

At start I was planing to make some photos at Rose Garden (I actually did) but latter, when post-processed, I understood  they don't look so interesting as images attached bellow.

Sameba Cathedral in Tbilisi by night

Sameba Cathedral in Tbilisi by night

This is a pretty interesting picture, I got using a 30 second exposure, a tripod and kit 18-55 mm lenses. I believe from this vantage point it would be lovely to attach some other lenses as well. I enjoy two things in above picture - the traffic lights and mirroring effect on the water

Deda Ena park in Tbilisi

Deda Ena park in Tbilisi

Now this picture is done using ISO 100

Deda Ena park in Tbilisi

Deda Ena park in Tbilisi

At this point I started to experiment with ISO settings, the ISO in above image is 1600, but since I had no clue which ISO should I set here, I did it on Auto mode. Should I mention that with naked eye it was impossible to see any monument here at all. Just amazing how you can fine tune your images using a simple trick with higher ISO settings.

River Mtkvari embankment in Tbilisi

River Mtkvari embankment in Tbilisi

Now, higher ISO settings can not only give a better view, but it gives a noise to photos as well. By the way the boxes you can see in above image is used to sell a new and used books (by the day obliviously)

Tbilisi by night

Tbilisi by night

30 seconds exposure and lovely traffic light effect. Awesome!

I'm glad full I spent a couple of hours this evening so I had a chance to practice ISO, and to make some decent night photo.

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

A few days ago a customer of mine experienced an error by not being able to access his management system on intranet I built a few years ago. The error we got was following:

"Server has a weak ephemeral Dillie-Heffman public key" or ERR_SSL_WEAK_EPHEMERAL_DH_KEY

What basically means:

If you see this error, it means that a secure connection can't be established because of outdated security code on the website. Chrome protects your privacy by preventing you from connecting to these sites. You won't be able to visit this page using Chrome.

I spent some time to figure out what all is about, and since the software we were running on intranet was installed with just a few clicks (apt-get install ...) and compiled from source. And turns out it all the thing was running on Jboss server, since I'm not very proficient in Jboss or Tomcat it took me some time to find a solution.

After all I followed the advice on Google Support:

You have a few options to fix this error in Chrome:

  • Enable ECDHE and disable DHE (preferable)
  • Use a 1024-bit (or larger) Diffie-Hellman group for the DHE_RSA SSL cipher suites
  • Disable all DHE SSL cipher suites

After couple of hours of browsing for best solution among the three mentioned above I stick with the 2 option

I added following line to the connector element in server.xml. Read more SSL/TLS, ciphers, perfect forward secrecy and Tomcat

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA

Restarted Jboss server and things went normal.

Hope this helps.

Liepāja Seaside Park and Blue Flag Beach

I'm continuing my Latvia travel guide notes I have taken (photographed) at start of the June 2015. This time I visited a lovely Liepaja Seaside Park and Blue Flag Beach. 

Map of the Liepaja seaside park

Map of the Liepaja seaside park

According to the official Latvia Travel guide - This is the Latvia's largest dendrological park, now extending for about 50 ha, was gradually developed from 1870 to the early 20th century. The park boasts more than 140 different species of trees and shrubs.

Drums in Liepaja

Drums in Liepaja

Liepaja is famous of being a Rock Capital of Latvia, and there is no surprise of seeing a huge monument of... drums.

Wooden boardwalk heading to sea in Liepaja

Wooden boardwalk heading to sea in Liepaja

Blue skies and letters of Liepaja

Blue skies and letters of Liepaja

Wall art: I love Liepaja

Wall art: I love Liepaja

About Liepaja Seaside Park and Blue Flag Beach

For the guests' comfort, public bathing facilities or a Kurhaus, and luxurious summer homes were built, tennis courts were laid out, and a fountain was installed. The baths have not survived. The Seaside Park today invites for a pleasant stroll; there is also a stadium, a tennis court, a concert garden “Pūt, vējiņi!” (named after a popular traditional song Blow Ye Wind!), summer cafés, and a mini-golf course.  At the turn of the 19th and 20th century, luxurious villas were built in the neighborhood of Dzintaru iela and Liepu iela.

Almost every house is noteworthy here. One of the most pompous Jugendstil buildings at Nr. 27 Liepu iela is currently accommodating Russia's Consulate General.

The Blue Flag Beach

In 1999 and 2000, the beach of Liepāja was granted the Blue Flag Certificate – a promotion award on a course towards obtaining the Blue Flag. Ever since the summer season of 2001, the Blue Flag has been raised at Liepāja beach. This is a proof to the compliance with 29 criteria concerning the water quality, the safety of the coast, security, the availability of services, environmental education measures and information.

Asus X552M Laptop Review

For a long time I have been making laptop reviews, since yesterday I bought a brand new ASUS X552M laptop on a local Georgian Carrefour shop I decided to describe my first impressions and a few photos of my new best buddy. This model I believe is only available in Europe, for North American customers I believe there is an ASUS D550MAV or something.

I could probably buy this one or even a better one for even a cheaper price on Amazon (and that's the thing I'm actually recommending to others) but since I just returned to Georgia I needed a quick solution, and by saying quick I mean - right now!

So I went to a local shopping place - Tbilisi Mall and bought the best I could get.

Please note this article contains links to Amazon by clicking on links on this page and by making a purchase on Amazon site, I will earn an affiliate income from that.

Asus X552M in the box

Asus X552M in the box

Pretty slim suitcase actually

Pretty slim suitcase actually

Lovely cover of ASUS X552M

Lovely cover of ASUS X552M

Although I must admit that cover gets greasy pretty fast (unless you are working in gloves)

Rear view of ASUS X552M

Rear view of ASUS X552M

Front view of ASUS X552M

Front view of ASUS X552M

Since this laptop come with FreeDOS - I opted to install a Windows 8.1. I did all the setup myself (one of the easiest installations I have ever done) and shortly my laptop looked like this:

Asus X552M laptop

Asus X552M laptop

And just shorlty I started to do another blog post using my brand new laptop

Browsing the web using ASUS X552M

Browsing the web using ASUS X552M

I got this laptop for 899 GEL ($377) and I'm very happy for the price and performance I have gotten so far.

About Asus X series

The ASUS X Series is the perfect all-round laptop for work and play. Stylish and durable design is combined with a choice of Intel® or AMD processors, while 2-second Instant on gives smartphone like accessibility and SonicMaster technology gives great sound quality.

Value-packed with all the essentials, the X Series reinvents your daily computing experience. Whether you are using it for work or for fun, this is an ideal machine for both productive computing and entertainment. It features up to an Intel® Core™ processor and graphics card, Instant on that resumes your computer from sleep mode in 2 seconds and USB 3.0 for 10 times faster data transfer speed. ASUS X Series gives you everything you need for a truly satisfying multitask computing and multimedia experience.

How To Display Username In URL For Drupal Site

I know for some experienced Drupal developers such question might sound bizarre, because  - hey..it's a piece of cake... 

I have been subscribed to the LinkedIn Drupal group and exactly such question arise here:

hey guys is there any way to display username in URL when user logged in like example www.example.com/username

was asked by one of the group members

I added my solution for this question on that post already and I decided to share it on my blog as well since other Drupal users might ask such question as well.

Solution: How to display username in URL

At first you will need to have pathauto module to be enabled on your Drupal site and all the other required modules - (Path, Token). Once you have installed a pathauto module go to the File Path section (admin/config/search/path/patterns) scroll down until User Paths and in blank field enter: [user:name] 

Drupal User Paths

Drupal User Paths

Dont forget to save your configuration and then bulk update your existing path.

Hope this explains how to add username in Drupal URL.

If you have any Drupal related question, feel free to contact me and I will try to find a solution for your question in a blog post.