Posts Tagged ‘plenty’

The meaning of the business modern day definition

Thursday, April 5th, 2012

What is the business word meaning - The success Plague my gimp logo

This post, is just to open one big issue I saw with the modern business word.
In universities, governmental institutions and everywhere throughout the globe the business word is repeated more and more everyday. People often associate business with all positive.  Everyone who is succesful in business is highly praised and  even more absurdly thought as superior to others!

With all this said I would like to honestly ask you the the question "What is the  meaning of business?" and why ever thought it means anything meaningful. Who on a first place did come up with this non-sense word and why we are still so dumb to praise it and not completely ban it from our lives and just live whethever is good and righteous wihtout trying to get into e field of someone or a groups of people idea of something that makes not a senese at all.

If you think closely on the business word having the definition of just "being busy all the time", then it is logical everyone is a businessman and hence everyone is in business . Still howevfer in universities, we have courses teaching is that you should follow certain direction or "mantra" like rules in order to be a succesful businessman. There are plenty of books already around named like

  • the 7 habits of succesful people
  • How to become succesful in life
  • What to eat and why
  • How to behave on business meetings. 
  • What is the ultimate key to success in both daily life and spirituality
  • How to be intercultrally aware 

and many many more all kind of junk literature like this. In my view all this is a complete nonsense not less or more than what the business is. Lets face it  business means "Busy-ness" e.g. to be constantly busy. In that sense people are getting more and more busy these days. Not that this busi-ness has a direction or a line. People are now constantly busy with something, watching TV, playing computer games, reading useless lies information in the newspaper, not to mention the riduculous nonsense talking over the phone for every minor detail. People think less and less, while being busy more and more. Where this will end? I have no clue. What I'm certain is all this "busi-ness" trend in society is not a good think. Being constantly busy plague, (being a busyness man) is starting to spread to everyone on earth. The important thing is not to be busy all the time, but to be busy with something which will help you and help the others for good. Nowdays people and especially "business" people concentrate not on the being helpful (corporate responsibility) thing, or making a contribution to the rest and yourself but rather to make a contribution to something.

Many of the people involved in business takes decision, which has a terrible impact on both the rest of people and themselves. Unfortunately we can see rarely people realize all this things … I hope this business understanding as we know it, will be stopped and people will realize that business, shouldn't be always a good thing or thing that has to do with money and professional success, but rather a hostile kind of anti-human and anti-self fostered international culture .

There is plenty to be said on why one shouldn't want to become a succesful businessman and why an education in a business field could be often useless, but as I don't have the time now (sorry I'm too busy! I'm a businessman  :D).

Anyways I will rant on this subjects too in the posts to come.

Pc-Freak Anti Microsoft Phreak, Hack Crack Organization crew short history timeline

Monday, April 9th, 2012

 

pC Freak Crew Hacking Cracking Anti Microsoft Organization Glowing Logo prepared with GIMP

 

 

Pc-Freak used to be anti-Microsoft Phreak / Hack / Anarchy Cracking (PHACK) magazine at a times, whether cracking was still a "craft". Pc-Freak started by a small crew of two persons Dark Doomer and Hip0.
Dark Doomer was the main magazine editor of Pc-Freak and the person who was ahead in computer technology, back at the distant 1995.
The project was simply started as a fun and aiming to help us, get better understanding on computer technology. The basic aim of it wasto gather a group of people who hold interest in Information Technolgy Telephone cracking and security cracking. At a point Dark Doomer resigned as he didn't believed in the project anymore and Hip0 took the lead of the project.

During his leadership, he created and maintaned a small IRC (Internet Relay Chat) channel in UNIBG – nowdays reachable via (irc.data.bg port 6667) this used to be around the years 1999 – 2006. The most active years of Pc-Freak were not in publishing text file format (txt) magazines, but in mostly discussion related to Computer Security, Ethical Hacking, Cracking and shared love for computer science. Around the year of 2001 a notable member joined Pc Freak, a person under the alias of ORDER. ORDER was mostly interested in how credit card processing works this is how he took the pseudonim. He used to have a good knowledge on CCs and how this kind of Credit Card processing operates. ORDER used to also like a back bone for the Pc-Freak and was the second person in line thanks to him the crew existed. A bit later a very notable members joined Pc Freak. A personal with an IRC alias STRASHARO. He used to be an(an amazing Windows XP cracker) and used to be known for his great cracking skills. STRASHARO and the rest of the crew planned and organized a number of cracking for fun sessions. Some of the other important person for development of PC FREAK as a crew , were the members  SICSTATIC, Nomen, Alex and FREAX. FreaX was the one that left pc-freak the earliest as he decided to completely quit being a computer and pc-freak activist.

 

Nowdays PC-FREAK  has changed a lot.
The person who gave birth to Pc-Freak (hip0)
Still maintains a personal website under the name PC-FREAK.
The Pc-Freak creator is active computer hobbyist 
and part time hacker.

However Pc-Freak Organization doesn't exist any more as a structured body the magazine is not published for a very long time and people who used to be involved somehow in the project are rarely in touch. During the PC-Freak life only 3 issues were published and actually the base idea of the magazine never came to reality. What is important is Pc-Freak used to play key role for the development and existence of current www.pc-freak.net website.

PC Freak currently contains plenty of information related to computer of security, old exploit codes, little hacks on GNU / Linux and FreeBSD (on hip0s) blog, as well as plenty of information on Orthodox Christianity and generally to Christian Faith. On www.pc-freak.net today, there are also plenty of resources on Computer Security, System Administartion, Business Administration, E-Marketing and Business Consutancy.

No space left on device with free disk space / Why no space left on device while there is plenty of disk space on drive – Running out of Inodes

Tuesday, November 17th, 2015

no_space_left-on-device-while-there-is-disk-space-running-out-of-file-inodes-unix_linux_file_system_diagram.gif

 

On one of the servers, I'm administrating the websites started showing some Mysql database table corrup errors like:
 

 

Table './database_name/site_news_list_com' is marked as crashed and last (automatic?) repair failed

The server is using Oracle MySQL server community stable edition on Debian GNU / Linux 6.0, so I first thought during work the server crashed either due to some bug issue in MySQL or it crashed due to some PHP cron job that did something messy. Thus to solve the crashed tables, tried using mysqlcheck tool which helped pretty fine, at many times whether there were database / table corruptions. I've run the following set of mysqlcheck commands with root (superuser) in a bash shell after logging in through SSH:

:

server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log
server:~# /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log


In order for above commands to work, I've created the /root/.my.cnf containing my root (mysql CLI) mysql username and password, e.g. file has content like below:

 

[client]
user=root
password=MySecretPassword8821238

 

Btw a good note here is its generally a good idea (if you want to have consistent mysql databases) to automatically execute via a cron job 2 times a month, I've in root cronjob the following:

 

crontab -u root -l |grep -i mysqlcheck
04 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 07 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 12 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log 17 06 5,10,15,20,25,1 * * /usr/bin/mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases –silent -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log


Strangely I got a lot of errors that some .MYI / .MYD .frm temp files, necessery for the mysql tables recovery can't be written inside /home/mysql/database_name

That was pretty weird and I thought there might be some issues with permissions, causing the inability to write, due to some bug or something so I went straight and checked /home/mysql/database_name permissions, e.g.::

 

server:/home/mysql/database_name# ls -ld soccerfame
drwx—— 2 mysql mysql 36864 Nov 17 12:00 soccerfame
server:/home/mysql/database_name# ls -al1|head -n 10
total 1979012
drwx—— 2 mysql mysql 36864 Nov 17 12:00 .
drwx—— 36 mysql mysql 4096 Nov 17 11:12 ..
-rw-rw—- 1 mysql mysql 8712 Nov 17 10:26 1_campaigns_diez.frm
-rw-rw—- 1 mysql mysql 14672 Jul 8 18:57 1_campaigns_diez.MYD
-rw-rw—- 1 mysql mysql 1024 Nov 17 11:38 1_campaigns_diez.MYI
-rw-rw—- 1 mysql mysql 8938 Nov 17 10:26 1_campaigns.frm
-rw-rw—- 1 mysql mysql 8738 Nov 17 10:26 1_campaigns_logs.frm
-rw-rw—- 1 mysql mysql 883404 Nov 16 22:01 1_campaigns_logs.MYD
-rw-rw—- 1 mysql mysql 330752 Nov 17 11:38 1_campaigns_logs.MYI


As seen from above output, all was perfect with permissions, so it should have been something else, so I decided to try to create a random file with touch command inside /home/mysql/database_name directory:

 

touch /home/mysql/database_name/somefile-to-test-writtability.txt touch: cannot touch ‘/scr1/data/somefile-to-test-writtability.txt‘: No space left on device


Then logically I thought the /home/mysql/ mounted ext4 partition got filled, because of crashed SQL database or a bug thus, checked with disk free command df whether there is enough space on server:

server:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 20G 7.6G 11G 42% /
udev 10M 0 10M 0% /dev
tmpfs 13G 1.3G 12G 10% /run
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md2 256G 134G 110G 55% /home

Well that's weird? Obviously only 55% of available disk space is used and available 134G which was more than enough so I got totally puzzled why, files can't be written.

Then very logically, I thought it might be that /home directory has remounted as read only, because the SSD memory disk on server is failing and checked for errors in dmesg, i.e.:

 

server:~# dmesg|grep -i error


Also checked how exactly was partition mounted, to check whether it is (RO) read-only:

 

server:~# mount -l|grep -i /home
/dev/md2 on /home type ext4 (rw,relatime,discard,data=ordered)


Now everything become even more weirder, as obviously the disk continued to be claiming no space left on device, while in reality there was plenty of disk space.

Then after running a quick research on the internet for the no space left on device with free disk space, I've come across this great superuser.com thread which let me realize the partition run out of inodes and that's why no new file inodes could be assigned and therefore, the linux kernel is refusing to write the file on ext4 partition.

For those who haven't heard of Linux Partition Inodes here is link to Wikipedia and a quick quote:

 

In a Unix-style file system, the inode is a data structure used to represent a filesystem object, which can be one of various things including a file or a directory. Each inode stores the attributes and disk block location(s) of the filesystem object's data.[1] Filesystem object attributes may include manipulation metadata (e.g. change,[2] access, modify time), as well as owner and permission data (e.g. group-id, user-id, permissions).[3]
Directories are lists of names assigned to inodes. The directory contains an entry for itself, its parent, and each of its children.


Once I understood it is the inodes, I checked how many of them are occupied with cmd:

 

server:~# df -i /home
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md2 17006592 17006592 0 100% /home


You see, there were 0 (zero) free file inodes on server and that was the reason for no space left on device while there was actually free disk space

To clean up (free) some inodes on partition, first thing I did is to delete all old logs which were inside /home and files I positively know not to be necessery, then to find which directories allocating most innodes used:

 

server:~# find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n


If you're on a regular old fashined IDE Hard Drive and not SSD or you have too much files inside this command will take really long …:

Therefore a better solution might be to frist:

a) Try to find root folders with large inodes count:

for i in /home/*; do echo $i; find $i |wc -l; done
Try to find specific folders:


You should get output like:

 

/home/new_website
606692
/home/common
73
/home/pcfreak
5661
/home/hipo
33
/home/blog
13570
/home/log
123
/home/lost+found
1

b) Then once you know the directory allocating most inodes, run the command again to see the sub-directories with most files (eating) partition innodes:

 

for i in /home/webservice/*; do echo $i; find $i |wc -l; done

 

One usual large folder which could free you some nodes is the linux source headers, but in my case it was simply a lot of tiny old logs being logged on the system for few years in the past without cleaning:

After deleting the log dirs and cache folder in my case /home/new_website/{log,cache}:

server:~# rm -rf /home/new_website/log/*
server:~# rm -rf /home/new_website/cache/*

 

 

a) Then, stopping Apache webserver to check prevent Apache to use MySQl databases while running database repair and restaring MySQL:
 

server:~# /etc/init.d/apache2 stop Restarting MySQL server
..
server:~# /etc/init.d/mysql restart
..


b) And re-issuing MySQL Check / Repair / Optimize database commands:
 

 

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–check –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf –analyze –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–auto-repair –optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

mysqlcheck –defaults-extra-file=/etc/mysql/debian.cnf \–optimize –all-databases -u root -p`grep -i password /root/.my.cnf |sed -e 's#password=##g'`>> /var/log/cronwork.log

c) And finally starting the Apache Webserver again:
 

server:~# /etc/init.d/apache2 start


Some innodse got freed up:
 

server:~# df -i /home Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md2 17006592 16797196 209396 99% /home


And hooray by God's Grace and with help of prayers of The most Holy Theotokos (Virgin) Mary, websites started again !

Adding another level of security to your shared Debian Linux webhosting server with SuPHP

Tuesday, April 7th, 2015

suphp_improve-apache-security-protect-against-virus-internal-server-infections-suphp-webserver-logo

There are plenty of security schemes and strategies you can implement if you're a Shared Web Hosting company sysadmin however probably the most vital one is to install on Apache + PHP Webserver SuPHP module.

# apt-cache show suphp-common|grep -i descrip -A 4

Description: Common files for mod suphp Suphp consists of an Apache module (mod_suphp for either Apache 1.3.x or Apache 2.x) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter to the owner of the php script.

So what SuPHP actuall  does is to run separate CPanel / Kloxo etc. Users with separate username and groupid permissions coinciding with the user present in /etc/passwd , /etc/shadow files existing users, thus in case if someone hacks some of the many customer sites he would be able to only write files and directories under the user with which the security breach occured.

On servers where SuPHP is not installed, all  systemusers are using the same UserID / GuID to run PHP executable scripts under separate domains Virtualhost which are coinciding with Apache (on Debian / Ubuntu  uid, gid – www-data) or on (CentOS / RHEL / Fedora etc. – user apache) so once one site is defaced  exploited by a worm all or most server websites might end up infected with a Web Virus / Worm which will be trying to exploit even more sites of a type running silently in the background.  This is very common scenarios as currently there are donezs of PHP / CSS / Javasripts / XSS vulnerability exploited on VPS and Shared hosting servers due to failure of a customer to update his own CMS  scripts / Website  (Joomla, Wordpress, Drupal etc.) and the lack of resource to regularly monitor all customer activities / websites.

Therefore installing SuPHP Apache module is essential one to install on new serverslarge hosting providers as it saves the admin a lot of headache from spreading malware across all hosted servers sites ..
Some VPS admins that are security freaks tend to also install SuPHP module together with many chrooted Apache / LiteSpeed / Nginx webservers each of which running in a separate Jailed environment.

Of course using SuPHP besides giving a improved security layer to the webserver has its downsides such as increased load for the server and making Apache PHP scripts being interpretted a little bit slower than with plain Apache + PHP but performance difference while running a site on top of SuPHP is often not so drastic so you can live it up ..

Installing SuPHP on a Debian / Ubuntu servers is a piece of cake, just run the as root superuser, usual:
 

# apt-get install libapache2-mod-suphp


Once installed only thing to make is to turn off default installed Apache PHP module (without SuPHP compiled support and restart Apache webserver):
 

# a2dismod php5 …

# /etc/init.d/apache2 restart


To test the SuPHP is properly working on the Apache Webserver go into some of many hosted server websites DocumentRoot

And create new file called test_suphp.php with below content:

# vim test_suphp.php
<?php
system('id');
?>

Then open in browser http://whatever-website/test_suphp.php assuming that system(); function is not disabled for security reasons in php.ini you should get an User ID, GroupID bigger than reserved system IDs on GNU / Linux e.g. ID > UID / GID 99

Its also a good idea to take a look into SuPHP configuration file /etc/suphp/suphp.conf and tailor options according to your liking 

If different hosted client users home directories are into /home directory, set in suphp.conf

;Path all scripts have to be in

docroot=/home/


Also usually it is a good idea to set 

umask=0022 

A short but awesome song

Monday, August 3rd, 2009

Some time ago I’ve stumbled upon a rocking song by a demoscene artist named with the loud and a bit funny name NINJA! 🙂 Anyways you can download the song here Industrial Bushido . By the way the guy has plenty of awesome music. All this is stored on the great modarchive website be sure to visit it! I guarantee you’ll never sorry that.END—–

Trip from Sofia Bulgaria to Minsk Belarus through Warsaw and how to issue VISA for Belarus

Wednesday, April 24th, 2013

 

I had to travel from Sofia to Minsk to be a guest to my beloved girlfriend Svetlana, thus I needed as cheap ticket as possible to reach there. Sofia Minsk is not very common destination especially in Winter, Spring and Summer, because Summer Tourist season is not still opened. I checked for all possibilities to reach the capital of Belarus. Since Bulgaria is in European Union and Belarus is in alliance with Russia and Ukraine. Bulgarian and rest of EU citizens need to issue VISA for Belarus, just like Belarusian citizens needs to have VISA for their summer holidays in Bulgaria.

In order to reach Belarus, I first needed Приглашение / Priglashenie (Invitation) from Belarusian citizen. My beloved girlfriend Svetlana issued one for me and sent it via Belarusian Post Services. In order for VISA to come over post it took about 12 working days. Once I had the Invitation in my hands I had to go to Belarusian Embassy, bring invitation, fill up some documents and pay VISA taxes which as of time of writing this post costs 60 EUR for issuing one person private VISA.

Application of Priglashenie I received over post looks like in picture below:

To have the VISA issued I had to bring my "Red" International (Foreign) Passport to Belarusian Embassy together with Recent Photos of mine. In Russian Embassy in Bulgaria photo is made and paid directly in Embassy with Belarusian Embassy this is not so, so I had to manually take new photo and bring those photo to embassy, I learned that first time I was in Embassy.

Photos had to be in special format (size) a bit different from the standard for accepted for most International VISA photos – at least this is what I was told in Studio where I went to make Photos. A note to make here is Belarus has only one embassy in Bulgaria located in Sofia and as far as I researched though Russia and Belarus are in union it is not possible to issue Belarusian VISA in Russian Embassy in city of Varna or Plovdiv.

Once photos were ready I bring them together with my Passport and had to leave them in Embassy. My visa was issued to be maximum of 90 days but unfortunately I could make it only for 45 days, because my International Passport is expiring in August and there is a rule that you cannot have the VISA issued for date longer than 3 months until Foreign Passport Expires. You can find website of Belarusian Embassy in Bulgaria here. Application form to print and fill in and hand in Belarusian Embassy for request of VISA is here.

Contact information of Belarusian Embassy in Bulgaria is:
 

 

Postal Address of the Embassy:

1505, Sofia, area «Reduta», «Nikola Karadjov» str. Building 3

Phone: (+359 2) 971 95 28, 971 71 31

Phone/Fax: (+359 2) 973 31 00

e-mail: bulgaria@mfa.gov.by

To issue me VISA I had to leave my Foreign Passport in Embassy and took it back after about 1 week and half (10 days or so). Issued VISA is not on a separate Application like VISAs for Dubai for Example but is directly sticked inside Passport;

Issued Belarusian Visa for Bulgarian citizen specimen I had my VISA issued for 45 days starting from 1 of April (as filled in app. form), ending in 15 of May.

Once having the VISA, the next question come what will be best way to travel from Bulgaria to Belarus. I did quite a research on this topic until decide with what to travel. There are 3 variants (bus, train or airplane). Distance between Belarus capital Minsk and my hometown Dobrich is only 1508 KM. Sofia is a bit far so distance Between two capitals is 1870 KM.
I call to check for bus price as I saw on the Internet some offers to travel with bus and though it seemed to be most cheap about 250 euro (two way ticket) after calling the agency contact found on the net, they told me this bus line is closed (probably working only in Summer because of the bigger number of Belarusian tourists travelling to BG). Option with train was also impossible for the reason Train line
Black Sea Coast -> Minsk operates only in Summer for months . (June – August).
Hence the only way to ravel left was by plain. I checked on Plain tickets and some recommendations on cheap ways to travel to from European Union to Belarus.
My first idea was to fly from Sofia to Lithuania Capital Vilnius and from there to take bus to Minsk as bus goes to Minsk for 3 hours or so. I checked low cost flights from Wizzair as I always try to fly with them for their cheap prices but unfortunately they don't have destination Sofia -> Vilnius. I checked other companies for same destination and found only tickets from LuftHansa, the ticket however was too expensive and I had to change two airplanes something I very much wanted to avoid, cause I hate so much the airport Laggage checks / Scanning moment. Two way ticket to Vilnius costed about 400 EUR with taxes and included a flight trhrough Vienna airport or through Germany and included few hours waiting on airports which doesn't sound well at all. I checked then the variant to fly to Kiev but again it was very expensive plus Ukraine is not in EU and thus I didn't wanted to risk. Though officially as I've red Bulgarians are permitted to travel and stay in Ukraine without VISA for 90 days period I didn't wanted to try my luck. Other option was to fly from Sofia to Minsk using 1 airplane change in Vienna or Moscow. I contacted airport in Moscow to ask whether I can fly Sofia -> Moscow -> Minsk with my Belarusian Visa but unfortunately to fly through Moscow Scheremetyevo I need a transit VISA which costs some money and moreover Scheremetyevo is enormous airport and I guessed it will be hard for me to orientate there and will bring me too much stress. Third variant which I liked best was to Fly from Sofia -> Warsaw and from there travel by bus to Bus Station Dworec Zahodnyi (West Warsaw Bus Station) and travel with Bus international line Warsaw -> Minsk. I decided to stop on this option and reserved fly ticket Sofia -> Warsaw. Flight date was 20th of Apr 14:40, ticket reserved with Polish Airlines (LOT).

Departure was from Sofia Terminal 2 – in Sofia we have two terminals (The Old one Terminal 1 and new one Terminal 2). All times I flight so far from Sofia airport was from Terminal 1 so this time it was my first time from the bigger and much newer and modern Terminal 2.

Sofia International airport Bulgaria newer Terminal2

My dear friend Mitko (Nomen), leave me by his car to airport and then I checked-in.

Sofia airport SA logo and building Terminal 2

I could bring up to 20 KG with me, ticket costed 326 EUR because I reserved it a bit late (8 days before flight), moreover Sofia -> Warsaw is not very common flight destination from Bulgaria, as not much of Bulgarian citizens live in Poland.

Sofia airport courtesy Terminal 1

The ticket included also a meal and cold-drinks so this also added a bit to high ticket price. Flight was on a very little airplane and though scheduled for 14:40, flight was late and we were in plain about 14:50 and airplane take off around 15:00. By the way the airplane was the smallest one I ever traveled with so far with, very very small one. I think the pilot  was quite professional or the reason was the small plane size but anyways the landing was amazingly smooth. In Warsaw the airport is maybe a bit bigger than Terminal 2 but in general it was easy to orientate take luggage and go out very quickly. The luggage come quite quickly I had to wait for it only few minutes. Then I went directly to bus station and rided on BUS number 175 (there is second possibility to take bus 188) both go to Dworec Centralni Avtogara (Central Bus Station). According to prior instructions I red on the internet it was said to go to bus station Pomnik Lotnika. I tried with this but unfortunately the information to go down on Pomnik Lotnika and took bus 523 is obsolete now. And in order to reach Dw. Zahodny you need to go directly to Dw. Centralni with bus nr. 188 or 175 and then go through a subway on left side and wait on bus station for bus nr. 123 or 125 (not sure the exact nr.). Then Dw. Zahodnyi is only 6 / 7 stops away, I asked some people in English and thanksfully some Polish speak English or at least I can partially understand what they say because their language is close to Russian and Bulgarian. BTW it is very interesting for me as I can understand plenty of what is written on small shops in bus etc. On Dworec Zahodniy Avtogara stop after going down from bus I had to take left direction and in 2 minutes walk it is the West bus Station. There I asked on information if they can give me information whether there is bus Warsaw -> Minsk. The man in kiosk was not speaking English but fortunately he speaks Russian, so I was able to understand I should go out of bus station and stay on the left Pilon waiting for Bus Warsaw -> Minsk. Bus came in 18:30 just like written on the Internet the Bus company was called "ВизитТурс / VisitTurs". I had 1 hr and half to wait for it cause was little earlier on Bus Station. The Platform Nr. Bus stopped is Platform 10.
Just for info for otheres who like to catch such bus on the Internet I read there are bus-es traveling to Minsk  every Wednesday, Friday, Saturday and Sunday in times varying from 18:30 / 19:00 / and 21:00. While waiting for the bus I meet two ppl from Kazakhstan waiting for another bus for Vilnius and had a good chat with them about situation in Kazakhstan  and Bulgaria. I took also a quick meal – from bus station on price even cheaper than Bulgaria (about 2.5 leva – 1.25 euro). In bus all was fine, they took my luggage I placed myself and waited to issue me ticket. I didn't have Zloty (The Polish currency) in me and only euro and at first the bus driver was not happy with that but then he agreed I pay in euro so all went fine. The bus had 2 or 3 quick 15 minutes Rests. Overall travel with Bus from Warsaw Minsk took about 10 hrs, because of some delay and while checking documents on Belarusian Border. As it is normal with crossing Borders by Bus they checked our documents twice once on Polish Border and then on Belarusian one. After crossing Belarusian Border, right after entering the Border Control Police man give me a tiny application form to fill in with information about my stay in Belarus. As well as I had to go to one small kiosk to create Insurance for me (Insurance for month costs 12 EURO). Making the policy took only few minutes, then we had to go down from Bus with our laggage and we waited on a queue with rest of Belarusians to check our documents. This took about 40-50 minutes. Thanksfully all went normal we were back in bus around 3:00 and arrived in Minsk about 07:00. I didn't have Belarusian Rubles (RBL) so I had to change to take a taxi. I asked one person with my bad Belarusian, where from there is a Change Bureau and on my way to it met another Belarusian who was calling for people looking for transportation to some street in Minsk. I spoke a bit with me and offered to change my EURO, changed me 20 euro for 200 000 B. RBL. He was kind enough to call for me a Taxi. He said I should wait for his friend who will bring me to the address I was looking for. I went to a car which was not officially a taxi but just a guy who will bring me to the destionation. In 25 minutes time was to address ul. Kalinovskogo, Dom (block) 93, apr. 43. Here in Belarus all was new for me. My first impressions were Traffic Lights which were unusually thin if compared to ones we have in Bulgaria and rest of EU.

Minsk unusually thin Traffic Lights picture / Unique Traffic Lights

On my way to address I was impressed by a big magnificient Orthodox Church in construction.

orthodox church All saints cHRISTIAN church in construction Minsk Belarus and wooden orthodox church

I was also striked that everywhere all advertisements and everything was in cyrillic. Some in Russian and some in Belarusian Language. Something noticable was also the street was very clean, the construction of most of Buildings were in style of communist countries with (Panel Blocks) just like it used to be in BG when we had communism.

Minsk Panelnij dom panel block Minsk - typical construction for Minsk remains from Communism

Тhough newer constructions looked very modern and very much imitated constructions from Western Europe.

Minsk ZamyK Trade Center Korona one of most modern Minsk Buildings

Something else noticable is here they continued building using (Block Panels) many buildings as I can see some buildings still in construction. It was clear that the city has good infrastructure (transportation system), much better than one I expected as well the country has a functional economy. Bus-es seem like very much a copy of Bus-es in Holland, actually a lot of the things I saw in Minsk seem like copying Holland and Germany.

Minsk transportation by Bus Maz bus

On my way I saw plenty of University buildings, clear sign that education in Belarus meaning education here is on good high level. The most impressing building I saw so far is the building of Minsk National Library.

New National library awesome building Belarus Minsk

Unquestionably this is amazing construction, I had the opportunity on my first day when in Belarus go there and see the old books stored. Amazingly there are books ancient books starting from 10th century onwards. Most of the books were Church books, Ancient Gospels, Faith Codexes plenty of artifacts. There were of coursesome books remains from communism. Something noticable in Minsk is the amount of policy probably in number of times more than in countries in European Union. Since I'm few days already in Belarus I had the chance to see Minsk's Metro which is probably one of city's attractions. In general the Metro was quite cool, there are plenty of communist slogans and statues remains but it looks normal and almost modern.
The feeling in Metro Station is very industrial, as even from going inside the Metro Subway there is a thin smell of machine oil 🙂

Minsk Belarus Metro transportation Uruch

The metro is accessed by using electronic access card similar to old bank (tape cards). Using Metro and bus inside Minsk is very easy. The city is a strange combination of modern culture with communist spirit remains. Though the city is enormous (2 000 000 million population), all seems very relaxed compared to Bulgaria for instance. As far as I interacted with people, I can say people are kind and helpful and very hospitable. A lot of people in Minsk as far as I can see are religious and civilized. Though I've heard people talk about information eclipse in Belarus, I've seen plenty of people who dress very modern like in western countries. I've seen plenty using E-books, Pads and various tech gadgets so it seems technological development of Belarus is on a normal European level. In general what I see here seems much better than what I expected priorly. There is plenty of more things to write which I will probably do in coming days. So far I hope this little article will help someone who needs basic information on traveling from Sofia to Minsk.

It is curious that Bulgarian and Belarusian people have common root as Pre-historic Bulgarians used to be one nation with Pre-Historic Belarusian. Similarity is visible even to now as there are plenty of common words matching or very similar between Bulgarian and Belarusian. More over later from 9th to 12th century Bulgariaused to be Empire and spread near to territory of Belarus. Similarity between Bulgarians and Belarusians is also visible even in country flag colors and country names Bul-garia (ar) / Bel-arus (ar). Even on a country flag level we share the same colors (white / green / red) in different order.

bulgaria national flag similar to Belarusian (white, green, red)

Bulgaria National Flag

Bulgarian national flag similar to Belarusian (red, green, whtie)

Belarus National flag

As a conclusion I should say Belarus and Minsk looks like a lovely normal modern country no matter the bad rumors we hear on the news that they're communist or ruled by a (Dictator) President Lukashenko. Oh one last thing, if you're in Belarus try to avoid to speak bad things or jokes for Lukashenko. As far as I heard there is plenty of tab devices virtually everywhere. Speaking against Lukashenko or the government might lead you to problems with Militia (Police) or even send you in Jail 🙂
 

Happy Sysadmin day! – Last Friday of July – The day of the system administrator

Friday, July 25th, 2014

Its-SysAdminDay-SAD-day-the-day-of-the-system-administrtator-cake-hooray

Every Last Friday of July is System Administrator's day. This relatively new technocrat tradition started as suggested by the system administrator Ted Kekatos in 2000.

SysAdmin Day or (SAD) 🙂 as it is also famous is a day to appreciate the achieviments of anyone seriously involved in IT industry. Now is time to say SAD day is not a day for programmers to celebrate as there is separate Programmer's day / Day of the Programmer feast or (DOP / DOPE ) 🙂 that is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years).

System Administrator Appreaciation Day – (SAAD) was historically inspired by Hewlett Packard magazine advertisement in which a system administrator is presented with flowers and fruit-baskets by grateful co-workers as thanks for installing new printers.

 

DOPE's started as proposed by Valentin Balt and Michael Cherviakov, employees of Parallel Technologies (a software company). In 2002, they tried to gather signatures for a petition to the government of Russia to recognize the day as the official programmers' day.


The modern usual way to celebrate Sysadm day is to get your system administrator a day. If you're at poisition to administrate a couple of hundreds of Windows hosts, you can send a prank message to your colleagues reminding them to buy you a beer or mass mail / set a Outlook Meeting reminder that system administrators – doesn't drink flowers and chocolate 🙂

 

A Day In The Life Of A SAN Administrator

Since 2000, a lot of UNIX / Linux sysadmins and  geeks tend to organize gatherings and Free Software celebration meetings on the SAD day.

SysAdminDay has inspired plenty of other pranky novels and music to glorify the remarkable event 🙂

Here are few to cheer you up.

System Administrator's Day song

Sysadmin day (Karaoke) song


Here are also some PoC for some weird ways to celebrate the day of the system administrator 🙂

System Administrator's Day in Russia Remix
 


HAPPY SYSTEM ADMINISTRATOR DAY – HOORAY ! 🙂

Merge (convert) multiple PDF files into one single PDF – Generate one pdf from many on Linux / Windows and Mac

Wednesday, August 6th, 2014

merge-convert-many-pdf-files-to-single-one-generate-one-pdf-from-many-pdf-files-linux-windows-mac-pdftk-logo
I was looking for English Orthodox Bible translation of the Old Testament (Septuagint Version) and found such divided in many pdf files. I wanted to create a common (single) PDF from all the separate Old Testamental Book files in order to put it online as it might be convenient for English native speakers to download and later read offline on their computers the Old Testament Orthodox version Holy Bible.

Before I explain how I did it I will make a short turn to explain few things about Septuagint, as this is probably interesting stuff, you might not know.

Septuagint (also referred as LXX or the Alexandrian Canon) – Is Translation of the Hebrew Bible and some related text in Koine Greek) by legendary 70 Jewish scholars as early as the 2nd century BC. Just for those interested in Christianity it is curious fact that the number of Old Testament books are different among Protestant, Roman Catholic and Orthodox Christians, whether the number of New Testament books are the same in Catholics, Protestant and Orthodox.

So How Many books are in Roman Catholic, Protestant and Orthodox Old Testament Holy Bible?

The Old Testament in Orthodox Holy Bible version has 50 (where Slavonic versions of the bible include also +2 More which are the  Edras books), whether protestant Holy Bible includes only 39 books in old testament and Roman Catholics has 46 old testamental books in there bibles. The reason why Protestants choose to have less books (only 39) is some of the books in the Roman Catholic and Orthodox Church are Apocryphal are referred to as the Apocryphal, or Deuterocanonical books this doesn't mean that the extra 8 Books in Orthodox Bibles are not God Inspired, this means, they don't have the historic authenticity as the early Church accepted canonicals.

The Orthodox Church accepted the Septuagint LXX as divinely inspired to be used in Church.

Now back to how I managed to merge (convert) multiple PDF files into single PDF on my Debian Linux home router.

My first attempt was with ImageMagick's convert (in the same manner as I used to generate PDF files from pictures earlier), e.g.:
 

convert intro.pdf genesis.pdf exodus.pdf leviticus.pdf numbers.pdf deuteronomy.pdf … SINGLE-FILE.PDF

I waited for convertion to complete quite long but it seemed looping so finally after 7 minutes I stopped it and decided to try with something else and, after quick search I found pdftk.

pdftk has plenty of functions and is great for anyone who needs to do Merge / Split Update / Encrypt / Repair corrupted PDFs on Linux:

 apt-cache show pdftk |grep -i desc -A 17
Description: tool for manipulating PDF documents
 If PDF is electronic paper, then pdftk is an electronic stapler-remover,
 hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a
 simple tool for doing everyday things with PDF documents. Keep one in the
 top drawer of your desktop and use it to:
  – Merge PDF documents
  – Split PDF pages into a new document
  – Decrypt input as necessary (password required)
  – Encrypt output as desired
  – Fill PDF Forms with FDF Data and/or Flatten Forms
  – Apply a Background Watermark
  – Report PDF on metrics, including metadata and bookmarks
  – Update PDF Metadata
  – Attach Files to PDF Pages or the PDF Document
  – Unpack PDF Attachments
  – Burst a PDF document into single pages
  – Uncompress and re-compress page streams
  – Repair corrupted PDF (where possible)

To install pdftk on Debian Linux Lenny / Wheezy:

apt-get install –yes pdftk

After installed to convert a number of separate PDF files into single (merged) PDF file:
 

pdftk file1.pdf file2.pdf file3.pdf cat output single-merged-pdf-file.pdf

 

 

pdftk intro.pdf genesis.pdf exodus.pdf leviticus.pdf numbers.pdf deuteronomy.pdf joshua.pdf judges.pdf ruth.pdf kingdoms_1.pdf kingdoms_2.pdf kingdoms_3.pdf kingdoms_4.pdf paraleipomenon_1.pdf paraleipomenon_2.pdf esdras_1.pdf esdras_2.pdf nehemiah.pdf tobit.pdf judith.pdf esther.pdf maccabees_1.pdf maccabees_2.pdf maccabees_3.pdf psalms.pdf job.pdf proverbs_of_solomon.pdf ecclesiastes.pdf song_of_songs.pdf wisdom_of_solomon.pdf wisdom_of_sirach.pdf hosea.pdf amos.pdf micah.pdf joel.pdf obadiah.pdf jonah.pdf nahum.pdf habbakuk.pdf zephaniah.pdf malachi.pdf isaiah.pdf jeremiah.pdf baruch.pdf lamentations_of_jeremiah.pdf an_epistle_of_jeremiah.pdf ezekiel.pdf daniel.pdf maccabees_4.pdf slavonic_appendix.pdf cat output Orthodox-English-translation-of-Old-Testament-Septuagint.pdf

And Hooray! It worked The resulting share Old Testament (Orthodox) English translation from Septuagint PDF is here

pdftk is also ported for Fedora / CentOS / RHEL etc. (RPM distros), so you to install it there:

yum -y install pdftk

Or if missing in repositories grab the respective pdf and

rpm -ivh pdftk-*yourarch.pdf

PDFtk has also Windows and Mac OS version just in case if you need to script Merging of multiple PDFs to single ones for more check out PDftk Server page homepage here

Russians Celebrate Christmas / Why some Orthodox Christians celebrate Nativity ( Christmas ) on 7th of January

Tuesday, January 7th, 2014

rojdestvo_Iisusa_Hrista_17th-vek-srpska-ikona

Merry Christmas to all Eastern Orthodox Christians!

I wish to all my Russian blog readers Christ's blessings, Wisdom of the 3 Wise man following the star. Humility of Christ for being born in a Cave and love of Mother of God Virgin Mary and Joseph to the incarnated Lord in flesh, Joy of the universe for the Universe rejoiced seing the birth of the savior of us sinful humans!

On 7th of January, the day on which biggest part of Eastern Orthodox Church,- Russian Orthodox Church along with Ukrainian, Macedonian, Croation, Serbian Arabic and part of Greek orthodox Church and Holy Mount Athos celebrate the day of Christ's birth. The original place where the Lord Jesus Christ was born as we read in the Gospels is BethlehemAccording to Church tradition on top of the Cave (known as Grotto) where the savior was born a Church basilica was built around year 333 A.D..

church of nativity bethlehem nowadays palestine - Jesus Christ birth place

The first Church building on top of Nativity Cave begun by Saint Helena, the mother of saint Emperor Constantine.

the_cave_of_nativity-where-Christ-was-born

The Basilica was destroyed a couple of times throughout the 3th, 4th, 5th, 10-th , 14-th and 18-th centuries in attempt to wipe out memory for Christ's birth and futile attempt of early times Roman emperors to destroy christianity.
Today Bethlehem Church is situated on Palestinian territories and place for pilgrimage of both Eastern Orthodox and Roman Catholic Christians. Its
interior is a very interesting mixture of a classic Orthodox Christian and a Roman Catholic basillica.

Church of the Holy Nativity Christs birth place Bethlehem

There is plenty of confusion and misunderstanding on the topic why bigger part of Christians worldwide celebrate Christmas on 24th against 25th of December and why more than half of Eastern Orthodox Christians celebrate on 6th against of 7th of January?

In fact it is interesting fact that in the early Christian one holy apostolic Church, Christmas and Eastern was celebrated many times as this two feasts since beginning of the Church are center of Christian faith. In later times, when Church was already formed as an Eastern and Western Church, there are Church canons on exact date to celebrate Christmas and Eastern following the Julian Calendar (introduced by Julius Caesar in 46 BC). In later times with development of Science it was found that this calendar was not so precise and another Church calendar was introduced in y. 1582 by Roman Catholic pope Gregory XVIII (Gregorian Calendar named after pope). I will not get into details but from modern science Astronomical point of view Gregorian calendar is more scientifically correct. The Gregorian calendar quickly become in secular life because of its mathematical precision. And by Western Roman Catholic church Influence and desire to be more scientifically correct parts of the Eastern Orthodox Church partly accepted use of the Gregorian Calendar for counting the Church feasts. Because of that many of the feasts in those Eastern Orthodox Churches moved in forward with 13 days like the Romanian and Bulgarian Orthodox Church. However due to Church canon part of the feasts in Eastern Church can't be celebrated according to the Gregorian Calendar dates. Most important feast dates is the Resurrection day (Eastern), which according to Orthodox Church rule has always to be one week after the Jewish Pascha. There are plenty of problems that emerged due to change of acceptance of reformed Church calendar in part of the Eastern Orthodox Church, however what is most important is that the difference doesn't separate Orthodox Christian it just gives us reason to celebrate feast twice 🙂