Latest posts

Browse topics

How To Install XTRF 8 on Ubuntu 18.04

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 install XTRF 8 on Ubuntu 18.04

Our company has been using the XTRF translation management system since 2011 (if not earlier) and recently we opted for a major upgrade (from version 2 to version 8). The previous version was run on Linode VPS (Debian). For the latest version, I decided to go with the same VPS from Linode (to make it work I chose 8GB RAM Linode), but instead of Debian, i opted for the latest Ubuntu 18.04 LTS release.

Insert the following line into the /etc/apt/sources.list file:

echo "deb https://repo.xtrf.eu/debian debian xtrf" >> /etc/apt/sources.list

then

apt install xtrf60 tzdata=2018g-0ubuntu0.18.04

Run the command to insert XTRF package signing key into the database:

wget -q https://repo.xtrf.eu/debian/key.pub -O - | apt-key add -

Enter the following command:  

aptitude update

Run the following command 

aptitude install xtrf

To start xtrf jboss service:

systemctl start jboss-xtrf

Tbilisi TV Tower in the National colors of Latvia

The Tbilisi TV tower was lit in the Latvian nation colors on November 18th, 2018, to celebrate a 100 year anniversary since the Republic of Latvia was proclaimed on November 18, 1918

As I had the great observation point I made a quick long exposure and decided to share it via Piece of Life series.

Tbilisi TV tower in the national colors of Latvia

Tbilisi TV tower in the national colors of Latvia

Happy birthday Latvia!

Samsung Galaxy A6 32GB (2018) Review

Samsung Galaxy A6 was first released in May 2018. We bought it as the replacement phone for Samsung Galaxy A3, to whom glass cracked on the rocks in Georgia (in the yard of Iosebis Duqani) while we traveled to the region of Kakheti.

As the repair cost was about the half price of a new one, we decided to go for a brand new and more powerful phone.

2 year lifetime is good for a phone, at least that's what I believe so.

Bought this phone during Black Friday sale in Georgia (Tbilisi) at AltaOk store in Eastpoint. The sales price was GEL 599 ($225.61), and it said it's discount from GEL 749 ($282.11). Though on Amazon you can get brand new unlocked Samsung Galaxy A6 phone for $214.99

Samsung Galaxy A6 sealed and sold in Georgia

Samsung Galaxy A6 sealed and sold in Georgia

The model we bought today in Georgia, seems is manufactured for the market of Russia and CIS, thus there is an international version available (I'm bad at gadget model numbers).

Samsung Galaxy A6 unpacked

Samsung Galaxy A6 unpacked

Here is what comes out of the box - a phone, USB cable, and an electrical cable for faster charger, earphones and a special pin to remove sim card holder

Technical details

NETWORK

Technology

GSM / HSPA / LTE

LAUNCH

Announced

2018, May

Status

Available. Released 2018, May

BODY

Dimensions

149.9 x 70.8 x 7.7 mm (5.90 x 2.79 x 0.30 in)

Weight

159 g (5.61 oz)

Build

Front glass, aluminum body

SIM

Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, dual stand-by)

 

- Samsung Pay

DISPLAY

Type

Super AMOLED capacitive touchscreen, 16M colors

Size

5.6 inches, 79.6 cm2 (~75.0% screen-to-body ratio)

Resolution

720 x 1480 pixels, 18.5:9 ratio (~294 ppi density)

Multitouch

Yes

PLATFORM

OS

Android 8.0 (Oreo)

Chipset

Exynos 7870 Octa (14 nm)

CPU

Octa-core 1.6 GHz Cortex-A53

GPU

Mali-T830 MP1

MEMORY

Card ​slot

microSD, up to 256 GB (dedicated slot)

Internal

64 GB, 4 GB RAM or 32 GB, 3 GB RAM

MAIN CAMERA

Single

16 MP, f/1.7, 26mm (wide), PDAF

Features

LED flash, panorama, HDR

Video

1080p@30fps

SELFIE CAMERA

Single

16 MP, f/1.9, 26mm (wide)

Features

LED flash

Video

 

SOUND

Alert types

Vibration; MP3, WAV ringtones

Loudspeaker

Yes

3.5mm jack

Yes

 

- Active noise cancellation with dedicated mic
- Dolby Atmos sound (headphones only)

COMMS

WLAN

Wi-Fi 802.11 a/b/g/n, WiFi Direct, hotspot

Bluetooth

4.2, A2DP, LE

GPS

Yes, with A-GPS, GLONASS, BDS

NFC

Yes (optional)

Radio

FM radio

USB

microUSB 2.0

FEATURES

Sensors

Fingerprint (rear-mounted), accelerometer, gyro, proximity, compass

Messaging

SMS(threaded view), MMS, Email, Push Email, IM

Browser

HTML5

 

- ANT+ support
- MP4/WMV/H.265 player
- MP3/WAV/WMA/eAAC+/FLAC player
- Photo/video editor
- Document viewer

BATTERY

 

Non-removable Li-Ion 3000 mAh battery

MISC

Colors

Black, Gold, Blue, Lavender

SAR EU

0.49 W/kg (head)     1.39 W/kg (body)    

Price

About 200 EUR

 

TESTS

Performance

Basemark OS II: 1137 / Basemark OS II 2.0: 1019
Basemark X: 5639

Display

Contrast ratio: Infinite (nominal), 3.397 (sunlight)

Camera

Photo / Video

Loudspeaker

Voice 76dB / Noise 72dB / Ring 91dB

Audio quality

Noise -92.8dB / Crosstalk -91.7dB

Battery life

Endurance rating 83h

Data source: Samsung Galaxy A6 (2018)

Ordering Goodies From Amazon - Baby Play Mat and more

It has been a while since I made my first international Amazon delivery to Georgia, using parcel delivery and forwarding service USA2Georgia. See how I ordered and installed new hinges for my old HP laptop back in 2014. 

How To Order Goodies From US to Georgia - Usa2Georgia.com

At the end of 2018 we ordered some goodies for our little baby girl - unfortunately, I haven't saved exact names for the items, so I will try to guess their actual names in this photo post.

Goodies delivered to our Tbilisi apt

Goodies delivered to our Tbilisi apt

Very neat shopping, and actually pretty fast - our order was fulfilled (since ordering online) in about a week (delivered to doors in Georgia)

Goodies for baby

Goodies for baby

Play mat, water mat, and socks for crawling

Play mat installed

Play mat installed

Drupal 7 Rules: Send E-mail to User Referenced by NID After Saving Content

A time ago I started to work on a custom Drupal powered translation management system, unfortunately as I didn't have much spare time and actually there are really great alternatives (paid) out there - I decided to postpone this project.

Despite the project wasn't actively developed, it was though running a separate Linode VPS for it (which costs money), I decided to delete this instance to save money, but before that, I decided to keep at least one interesting feature I figured out - how to send e-mail to the assigned user (not user but node reference, in terms of Drupal) , after saving new project (node)

I had 2 content types - Translators and Projects, in the Projects content type I created a custom field ( field-assign-to) where with the help of node references I referenced username from Translators content type

Node Reference in Drupal 7

Node Reference in Drupal 7

Learn more How To Reference Nodes in Drupal 8 + Views Relationships Display

Actually, a couple of years ago I was working on a similar assignment but less complex, see: ​ Drupal Rules - How To Configure Journalist and Editor roles to Unpublish/Publish Content

Here I will paste plain Drupal 7 Rules export (working)

{ "rules_after_saving_new_project_send_email" : {
    "LABEL" : "After saving new Project Send Email",
    "PLUGIN" : "reaction rule",
    "OWNER" : "rules",
    "REQUIRES" : [ "rules" ],
    "ON" : { "node_insert--projects" : { "bundle" : "projects" } },
    "IF" : [
      { "entity_is_of_bundle" : {
          "entity" : [ "node:field-assign-to" ],
          "type" : "node",
          "bundle" : { "value" : { "translators" : "translators" } }
        }
      }
    ],
    "DO" : [
      { "mail" : {
          "to" : [ "node:field-assign-to:field-e-mail" ],
          "subject" : "[node:title]",
          "message" : "[node:body]",
          "language" : [ "" ]
        }
      }
    ]
  }
}

Works for Drupal 7