Posts Tagged ‘long time’

How to Remove Firefox TABS all time Moving Backward / Forward (Waiting) Wheel cursor – Browser and OS Wheel Ring cursor might affect hypnotically

Monday, September 7th, 2015

remove-firefox-tabs-all-time-annoying-moving-back-forward-waiting-wheel-cursor-browser-and-ring-cursor-might-affect-you-hypnotically

I've been annoying for quite a long time by the the Clockwise moving backward and Forward Wheel (Ring) on Top of browser Tabs everytime I navigate to a new Internet domain or request a resource on the Net.

I'm aware that seeing the wheel all the time move back and forward is a very bad manipulation technique that is often used in advertisements in old movies and some advertisements in the start of the video . I'm talking about the infamous backward counting technique in a Circle (it was moer commonly used in the dawn of Television) aiming to induce watchers mind into hypnotic state …

back-counting-10-9-8-7-manipulation-technique-to-make-your-mind-susceptible

Those who have a degree in psychology or have been into marketing or human resources fields or any field involved where you have to influence the masses are already aware of the backward counting methology which has been practiced heavily by hypnosis practisioners such as Sigmund Freud, to induce any kind of hypnotic state the hypnotist always asks the object of hypnotism to watch closely into a moving back and forwards clock, often accompanied by counting backwards …

Well my Theory here is that the same techniques is well aware of those who planned Windows OS in which if you remember the Sand Clock has been substituted in Windows 7 / 8 and Windows 10 with the rotating back and foward Wheel for the reason that this aims to influence people mind to go into Alpha state from Beta state and thus make them feel more relaxed while doing stuff on the PC.

One thing to mention here is Back and Forward wheel is not only into OS level it has been heavily adopted by leading Software as a Service (SAS) UIs such as Google's and probably more importantly Youtube (have you noticed the Cycling Wheel when waiting for a Youtube movie to Load), the Wheel is also heavily incoruprated in most if not all biggest Websites on the Net. Even If you have noticed these days Google's Cycling (Waiting) Wheel is not only Cycling but has the colorful programming incorporated.

google-wheel-color-programming-example

Well probably many people who use computers daily did not really realize that the Computer OS and Programs GUI Interface they're using is influencing their mind and some famous psychological methods such as color programming and hypnotic tricks could be used more or less.

In that regard as a Firefox user I decided to change tne Back and Forward Wheel with another one which will not trigger my subconsciousness / mind all the time while browing on the Net into Alpha State. As I'm not a Firefox expert and my quick research on search Engines on how to achieve changing or removing the Browser Tabs all time turning wheel did not led me to nothing positive, I've consulted the experts in irc.freenode.net #firefox.

As always the guys were helpful and pointed me out to UserStyles.org website's Static-Throbbler CSS. I've mirrored the CSS script under a name remove-firefox-tab-wheel-script.css in case if UserSpace.org disappears in future, below is also a paste of the script:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); @-moz-document url(chrome://browser/content/browser.xul) { .tab-throbber { list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAB5lBMVEUAAADMzMzr6+v////t7e1paWmYmJiampqPj4+IiIiQkJCgoKCPj49qamqQkJB2dnacnJyAgIBfX19aWlpZWVlgYGB/f399fX2Hh4eFhYWZmZlycnJaWlpjY2Nubm56enp6enptbW1XV1dxcXGbm5uAgIBiYmKenp5ra2taWlpxcXGLi4uXl5eKioqPj4+NjY1wcHBZWVlra2uYmJhiYmKBgYFbW1t1dXWSkpKEhIR6enpsbGyBgYFubm6CgoKZmZlzc3NYWFiPj4+YmJhmZmaLi4uGhoagoKC4uLi0tLSnp6eIiIhmZmafn5+RkZFcXFx1dXWZmZl8fHzt7e3////r6+uUlJRycnJbW1uQkJCHh4d4eHiKioqxsbFubm6NjY15eXlYWFiHh4dXV1d4eHiGhoZycnKvr6+JiYl4eHiGhoaOjo6MjIxxcXHq6uqjo6N5eXmVlZVzc3OcnJxfX1+JiYl7e3tra2upqamIiIiNjY1kZGReXl6YmJiOjo59fX1YWFiSkpKAgIB2dnaYmJh0dHRoaGhqamqSkpKSkpKLi4uWlpaPj49wcHBpaWlhYWGCgoKamppwcHBjY2Nubm57e3tiYmKYmJiZmZl9fX1ZWVl+fn6bm5t1dXWOjo6GhoaNjY3///+wXn5TAAAAoXRSTlMAAAAAAAYLIzM6MiENBgEII0ZzeXtzRgcBByZhe29iWFlhe2ElBwYiY3pgRzMwNkZfemIkBUZ7XzktHyAdICs3X3sMI29KLgkJCApFbSAxe2E2IAQBAzVgeTE7WjUIHTFZejp8WzIiBy5YOzM1IwMKIDVgInRKMSALKUducyINSHw6LRo2XwZjMi0vNUhgYwYHJWFuYVhuJiNGeUUjCDI6MyoACaoAAAABYktHRAMRDEzyAAABFklEQVQY02NgYGBkZWPn4OTk4ubhZWIAAj5+AUEhYRERYVExdnEJZgZGSSlpGVk5eQVFWSVlFVUmBjV1DU0tbR1dXT19A0MjYxMGNlMzcwtLK2sbWzt7B0cxJwZnURdXNxt3D08vaztvH1FfBj//gMAg92DmkFAv27DwiEiGKLPoGJtYZgaGkNi4+ITEJIao5JTUNA+gAHO6dUamYRZDtpl0Tq5XXghzaH5BYZGmH0NxiUtpWXlFuqdXXGVVdU0tQ119g3Rjk5V1c0FlS6uIIBtDm3G7iFZVR2dXd0+vYZ96PwPLhImTlCZPUZg6ZZrIpOmSjAzMEuIzZorOcnScVTN7zlw+kHeZeJ18582fv6CWjZWRgQEA0vJCZaR0FWsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTMtMDYtMjhUMDc6NDE6NDItMDY6MDC7fUviAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEzLTA2LTI4VDA3OjQxOjUxLTA2OjAwN2LpXQAAABN0RVh0U29mdHdhcmUASmFwbmcgcjExOSfos2EAAAAASUVORK5CYII=') !important; animation-name: none !important; } .tab-throbber[progress] { list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABs1BMVEUAAAAAkwAAnwAAmAAAmQAAnQAAiQAAkgAAkAAEnAQHogcHpwcHpgcGogYEmwQAkAAAkQAAiAAAjAAAkQAEnQQMqwwhwiEhxyEiyCIgwiAMrAwEnQQAkQAEnAQauRohyCEdxh0SwRIRvxEPvw8ZxRkjyCMFnQUEnAQVuhUhyCESwRIFuAUBsAEArQABrwEBsAEMuQwRwREjyCMVuRUEnAQNrQ0TwRMBsAEAqwAAqAABsAERwREiyCIQrhAexh4CuAIDtwMbxhsgwiAEmwQGogYjxiMTwhMBrwETwRMhxiEGoQYMqAwhxyEOvg4ArQAArwAPvg8kyCQMpwwnyCcPvg8AqgAArAAOvg4hxyEMqAwGoQYkxyQVwhUBrgEBrwEjxiMGogYEmwQhwiEcxhwMuQwArQAAqwAGuAYexh4gwiAEnAQRrhEjyCMRwREBrwEBrwETwRMixyINrQ0EnAQVuRUjyCMSwRIDuAMBrgEArAAKuAohyCEEmwQFnAUauRoZxRkSwRIRvxERwREcxRwhyCEEnAQAkAAMqwwhxiEixyIgwiAMqwwHpQcHpgcHoQcEmwT////fHmrrAAAAkHRSTlMAAAAAAAAHIzBXbHZ1bFMxJAcNJ1iAo6amooBZJl2Zpp6Ui4mep11WmKWSZygXFylmk6aYWYCRMQkKL5Kngp1iZ52jVG6nkyeUpm53qo0WF4uodqqMExOMqXZwp5UmJKhvVaSfag0MaZ6kWISplC4wk6iCWpqolWklEmanV1+boJeNlqCoXyeDqKmlgnh5blghd7i+AAAAAWJLR0SQeAqODAAAAPRJREFUGNNjYGBgY+fg5OLm4eXjFxBkAAIhYRFRMXEJCXFJKWkZIaC8jKycvIKikrKiiqqcmrAgg4C6hqaWto6unr6BoZGxiQADh6mEmbkFIwMDk6WVtY0tPwOnmJ29BQMYWDo4OjkzuLi6uTNCBJj1PTy9GLx9fP0YoMA/IDCIwTs4JBQmEBYeEckQFR0TywLhs8Z5xCcwJCYlp6RCBNLSMzKzGPizc3LzUkHWpuUXFBbxMwgUl5SWlVeEVsZVKVaX1AgwCArX1uXUN4Q3NjW31LW2sQE9J1PcntnRWdjR1W0iLAQyS1CAP9Grp7evn58dKA8Ayh0xsydWuvQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTMtMDYtMjhUMDc6NDE6NTEtMDY6MDBGP1HhAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEzLTA2LTI4VDA3OjQxOjUyLTA2OjAwBorzwAAAABN0RVh0U29mdHdhcmUASmFwbmcgcjExOSfos2EAAAAASUVORK5CYII=') !important; } }

To use the script you will first need to install the Stylish FF plugin, then:

Stylish-FireFox-plugin-screenshot-Windows-7-OS
 

1. Enable Stylish plugin and Restart firefox when prompted
2. Click on Write New Style
3. Paste above CSS script and click on Save button

 

stylish-static-throbbler-css-script-change-back-forward-rotating-tab-wheel-on-Firefox-howto

Now instead of the moving wheel you will get just a circle appearing as a static image while the page is loading.

If you want to absolutely remove any circles or images and show nothing when loading, e.g. not have any mean to monitor whether page is loaded or not, but also make it easier for the eye I even finally decided to completely remove the all time moving Wheel from Firefox Tabs even the static picture out using below CSS script with Stylish:
 

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); @-moz-document url(chrome://browser/content/browser.xul) { .tab-throbber { list-style-image: none !important; animation-name: none !important; } .tab-throbber[progress] { list-style-image: none !important; } }

After all even after removing the FF Tabs wheel, there is the Status being printed down the webpage, showing text based the connection status. I find this kind of page loading status much less agressive and preferrable, than the current verions Firefox 4 onwards ..

One other thing I do to prevent the annoying Windows OS default Theme wheel is to change it to the old fashioned sand clock as well as bring back the theme of Windows 7 / 8 to Classic Theme of Win 2000, as I believe this reduced the level of zoombification the PC imposes on self 🙂

Enjoy!

Share this on

Resume sftp / scp cancelled (interrupted) network transfer – Continue (large) partially downloaded files on Linux / Windows

Thursday, April 23rd, 2015

resume-sftp-scp-cancelled-interrupted-file-transfer-download-upload-network-transfer-continue-large-partially-downloaded-file-howto-linux-windows
I've recentely have a task to transfer some huge Application server long time stored data (about 70GB) of data after being archived between an old Linux host server and a new one to where the new Tomcat Application (Linux) server will be installed to fit the increased sites accessibility (server hardware overload).

The two systems are into a a paranoid DMZ network and does not have access between each other via SSH / FTP / FTPs and even no Web Access on port (80 or SSL – 443) between the two hosts, so in order to move the data I had to use a third HOP station Windows (server) which have a huge SAN network attached storage of 150 TB (as a Mapped drive I:/).

On the Windows HOP station which is giving me access via Citrix Receiver to the DMZ-ed network I'm using mobaxterm so I have the basic UNIX commands such as sftp / scp already existing on the Windows system via it.
Thus to transfer the Chronos Tomcat application stored files .tar.gz archived I've sftp-ed into the Linux host and used get command to retrieve it, e.g.:

 

sftp UserName@Linux-server.net
Password:
Connected to Linux-server.
sftp> get Chronos_Application_23_04_2015.tar.gz

….


The Secured DMZ Network seemed to have a network shaper limiting my get / Secured SCP download to be at 2.5MBytes / sec, thus the overall file transfer seemed to require a lot of time about 08:30 hours to complete. As it was the middle of day about 13:00 and my work day ends at 18:00 (this meant I would be able to keep the file retrieval session for a maximum of 5 hrs) and thus file transfer would cancel when I logout of the HOP station (after 18:00). However I've already left the file transfer to continue for 2hrs and thus about 23% of file were retrieved, thus I wondered whether SCP / SFTP Protocol file downloads could be resumed. I've checked thoroughfully all the options within sftp (interactive SCP client) and the scp command manual itself however none of it doesn't have a way to do a resume option. Then I thought for a while what I can use to continue the interrupted download and I remembered good old rsync (versatile remote and local file copying tool) which I often use to create customer backup stragies has the ability to resume partially downloaded files I wondered whether this partially downloaded file resume could be done only if file transfer was only initiated through rsync itself and luckily rsync is able to continue interrupted file transfers no matter what kind of HTTP / HTTPS / SCP / FTP program was used to start file retrievalrsync is able to continue cancelled / failed transfer due to network problems or user interaction activity), that turned even pretty easy to continue failed file transfer download from where it was interrupted I had to change to directory where file is located:
 

cd /path/to/interrupted_file/


and issue command:
 

rsync -av –partial username@Linux-server.net:/path/to/file .


the –partial option is the one that does the file resume trick, -a option stands for –archive and turns on the archive mode; equals -rlptgoD (no -H,-A,-X) arguments and -v option shows a file transfer percantage status line and an avarage estimated time for transfer to complete, an easier to remember rsync resume is like so:
 

rsync -avP username@Linux-server.net:/path/to/file .
Password:
receiving incremental file list
chronos_application_23_04_2015.tar.gz
  4364009472   8%    2.41MB/s    5:37:34

To continue a failed file upload with rsync (e.g. if you used sftp put command and the upload transfer failed or have been cancalled:
 

rsync -avP chronos_application_23_04_2015.tar.gz username@Linux-server.net:/path/where_to/upload


Of course for the rsync resume to work remote Linux system had installed rsync (package), if rsync was not available on remote system this would have not work, so before using this method make sure remote Linux / Windows server has rsync installed. There is an rsync port also for Windows so to resume large Giga or Terabyte file archive downloads easily between two Windows hosts use cwRsync.

Share this on

Improve Websites SEO: Optimize images to Increase website loading performance on Linux server – Image Compress tools

Friday, December 5th, 2014

Optimize-website-images-pictures-to-Increase-website-loading-performance-on-Linux-server_Image_Compress_tools-Improve-Websites_SEO
Part of our daily life as Web hosting system adminstrators is to constantly strive to better utilize our Linux / Windows hosting servers hardware.
Therefore it is our constant task to look for new better ways to optimize our Apache Sites and Webservers in order to return served application content light fast to keep the Boss and customers happy 🙂

There are things to tune up for better server performance and better CPU / memory utilization on both server Application server side as well as the website programming code backend, html and pictures / images

Thus it is critically important to not only keep the Webserver / PHP engine optimized but keep hosted sites  stored images and source code clean and efficient.

We as admins usually couldn't directly interfere with clearning the source code and often we have to host a crappy written sites with picture upload forms with un-optimized Image files that was  produced on old Photo Cameras, "Ancient" Mobile Mobiles, Win XP MS Paint, various versions Photoshop, Gimp etc.).

It is a well known fact that a big part from a Website User Experience is how fast the user loads a page, thus if HTML / CSS loaded images loads slow has a negative impact on user look & feel about website

Therefore by optimizing the size of hosted sites Images, you Save Network bandwidth and in some cases when Large Gallery sites HDD disk space.

On Linux, there are already a many command line tools to inspect and optimize (compress) the size of PNG, JPEG, GIF, BMP, PNM, Tiff Images, most famous ones are:

  • optipng – PNG optimizer that recompresses image files to a smaller size, without losing any information.
  • jpegoptim –   lossless JPEG optimization (based on optimizing the Huffman tables) and "lossy" optimization based on setting a maximum quality factor.
  • pngcrush – Recommended tool to use by Stoyan Stefanov (Yahoo Yslow Developer)
  • jpegtran – Recommended to use by Google 
  • gifsicle –  command-line tool for creating, editing, and getting information about GIF images and animations. 

It is hence useful to first run manually availale Linux image optimization tools (to get an idea what they do) and later automate them to run as scripts to optimize server stored images size and make pictures load faster on websites and thus improve End Users Experience and speed up Image content delivery to GoogleBot / YahooBot / Bing Crawlers which will make Search Engines to position server hosted sites better (more SEO Friendly).

 

  • How much percents of  space (Mega / Gigabytes ) Pictures compress can save you?

If you run it on 500MB image directory, you can probably save about 20 to 50MB of size, so don't expect extraordinary file reduce, however 5% to 10% reduce in size is not bad too. If you host 100 sites each with half gigas of data this would mean saving of 5GB of data and some 5GB from backups 🙂 At extraordinary cases you can expect 20% to 30% of storage reduce. For even better image compression you can try out GIMP's – Save for Web option.
 

  • Installing jpegtran, optpng, jpegoptim, pngcrush gifsicle on Debian / Ubuntu (deb based) Linux
     

apt-get install –yes libjpeg-progs optipng jpegoptim pngcrush gifsicle

 

  • Installing  jpegtran, optpng, jpegoptim, pngcrush, gifsicle on Fedora / CentOS / RHEL (RPM based distros)
     

yum -y install pngcrush libjpeg-turbo-utils opt-jpg opt-png opt-gif


gifsicle is not availale by default on Redhacks 🙂 but there is a RPM package for fedora from http://pkgs.repoforge.org/gifsicle/

 

Some examples of running image compression on GNU / Linux

  • optipng and jpegoptim optimize for all files in directory
     

cd /home/sites/

find . -iname '*.png' -print0 | xargs -0 optipng -o7 -preserve
find . -iname '*.jpg' -print0 |
 xargs -0 jpegoptim –max=90 –strip-all –preserve –totals


In jpegoptim command, the option –strip-all will strip any metadata including Exif data from images. For websites JPEG metadata is usually not needed, so usually its ok to strip them.

Above jpegoptim example will decrease slightly JPEG image quality to 90%. quality level of 90 is still high enough and website visitors are unlikely to spot any visible quality reduction / defects in the image.

 

  • pngcrush all files in a directory example
     

cd /home/sites/

for png in `find $IMG_DIR -iname "*.png"`; do
    echo "crushing $png …"
        pngcrush -rem alla -reduce -brute "$png" temp.png

 

    # preserve original on error
    if [ $? = 0 ]; then
        mv -f temp.png $png
        else
        rm temp.png
        fi
done

  • Run jpegtran on sites directory
     

find /home/sites -name "*.jpg" -type f -exec jpegtran -copy none -optimize -outfile {} {} ;

 

  • Set a script to compress / reduce size of Sites Images


Here is a basic optimize_images.sh which I used earlier before and was reducing the overall images size just 5 to 10%, then I found the much improved version of optimize images shell script  (useful to  clear up EXIF picture data / And Comments from JPG / PNG files). The script execution could take very long time on large image directories and thus could cause a high HDD disk I/O, however if ran once a week at night time its not such a big deal. 

To set it to run on your server as a cronjob:
 

cd /usr/sbin/
wget -q http://www.pc-freak.net/bshscr/optimize_images2.sh
crontab -u root -e 


Sample cron job to run once a month on 10th and 27th in 3 o'clock AM:
 

 00 3 10,27 * * /usr/sbin/optimize_images2.sh 2>&1 >/dev/null


Also if you need to further optimize million of tiny sized PNG files Yahoo Smush.it service could be helpful. For compression maniacs its worthy to check out also TinyPNG Service (however be awre that this service compresses files with significant quality loss) making picture quality visibly deteriorated.

Besides optimizing server stored Pictures, here are some other stuff that helps in increasing server utilization / lower webpages loading time.

Starting up with the installation (when site is to use Apache + PHP) for its backend, the first thing to on the freshlyinstalled Linux server is to implement the following list of Apache common Timeout variables that help better scale the webserver for the CMS-es hosted, enable Webserver caching with (mod_deflate), enable eAccelerator tune PHP common php variable etc.

Other thing  I sometimes use to speed-up performance of Apache child responce time up to 20-30  is to Include into Virtualhost / httpd.conf Apache configuration any htacces mod_rewrite rules.

On too heavily loaded sites On-line stores / Large Company website portals with more than 60 000 – 100 000 unique IP visitors a day it is useful tip to disable completely Apache logging in access.log / error.log.

Often when old architecture websites are moved from older Linux OS version to a newer one with newer versions of Apache / PHP often sites are working without major code rework, but use many functions which are already obsolete and thus many WARNING messages crap is logged into php_error.log / error.log. Thus to save disk space and decrease hard disk I/O operations it is good to Disable PHP Notices and Warnings messages
 

Share this on

Joomla 1.5 fix news css problem partial text (article text not completely showing in Joomla – Category Blog Layout problem)

Monday, October 20th, 2014

joomla-fix-weird-news-blog-article-text-incompletely-shown-category-blog-website-layout-problem

I’m still administrating some old archaic Joomla website built on top of Joomla 1.5. Recently there were some security issues with the website so I first tried using jupgrade (Upgrade Joomla 1.5 to Joomla 2.5) plugin to try to resolve the issues. As there were issues with the upgrade, because of used template was not available for Joomla 2.5, I decided to continue using Joomla 1.5 and applied the Joomla 1.5 Security Patch. I also had to disable a couple of unused joomla components and the contact form in order to prevent spammers of randomly spamming through the joomla … the Joomla Security Scanner was mostly useful in order to fix the Joomla security holes ..

So far so good this Joomla solved security but just recently I was asked to add a new article the Joomla News section – (the news section is configure to serve as a mini site blog as there are only few articles added every few months). For my surprise all of a sudden the new joomla article text started displaying text and pictures partially. The weirdly looking newly added news looked very much like some kind of template or css problem. I tried debugging the html code but unfortunately my knowledge in CSS is not so much, so as a next step I tried to temper some settings from Joomla Administrator in hope that this would resolve the text which was appearing from article used to be cut even though the text I’ve placed in artcle seemed correctly formatted. I finally pissed off trying to solve the news section layout problem so looked online too see if anyone else didn’t stick out to same error and I stumbled on Joomla’s forum explaining the Category Blog Layout Problem

The solution to the Joomla incomplete text showing in article is – To go to Joomla administrator menus:

1. Menus -> Main Menu -> (Click on Menu Item(s) – Edit Menu Item(s)) button
2. Click on News (section)
In Parameters section (on the botton right) of screen you will see #Leading set to some low number for example it will be something like 8 or 9. The whole issue in my case was that I was trying to add more than 8 articles and I had a Leading set to 8 and in order to add more articles and keep proper leading I had to raise it to more. To prevent recent leading errors, I’ve raised the Leading to 100 like shown in below screenshot
joomla-blog-layout-basic-parameters-screenshot-fix-joomla-news-cut-text-problem-screenshot

After raising to some high number click Apply and you’re done your problem is solved 🙂
For those curious what the above settings from screenshot mean:

# Leading Articles -> This refers to the number of articles that are to be shown to the full width
# Intro Articles -> This refers to the number of articles that are not to be shown to full width
# Columns -> This refers to the number of columns in which the articles will be shown that are identified as #Intro. If #Intro is zero this setting has no effect
# Links -> Number of articles that are to be shown as links. The number of articles should exceed #leading + #Intro

N.B. Solving this issue took me quite a long time and it caused me a lot of attempts to resolve it. I tried creating the article from scratch, making copy from an old article etc. I even messed few of the news articles one time so badly that I had to recreate them from scratch, before doing any changes to obsolete joomlas always make database and file content backup otherwise you will end up like me in situation loosing 10 hours of your time ..

The bitter experiences once again with Joomla convinced me when I have time I have to migrate this Joomla CMS to WordPress. My so far experience with Joomla prooved to me just for one time the time and nerves spend to learn joomla and built a multi-lingual website with it as well as to administer it with joomla obscure and hard to cryptic interfaces and multiple security issues., makes this CMS completely unworthy to study or use, its hardness to upgrade from release to release, besides its much slow and its less plugins if compared to WordPress makes wordpress much better (and easier to build use platform than Joomla).
So if you happen to be in doubt where to use Joomla or a WordPress to build a new company / community website or a blog my humbe advise is – choose WordPress!

Share this on

Fixing Clamav error: “WARNING: Can’t download daily.cvd from database.clamav.net”

Thursday, June 6th, 2013

On one of the Debian Squeeze Servers, where I have Running QMAIL Server, I haven't checked logs for a long time. Cause Qmail is configured and all runs smoothly. Just today while checking logs, I've noticed in /var/log/clamav/clamav.log, clamav database fails to be updated with an error, e.g.:

qmail:~# tail -n 28 /var/log/clamav/clamav.log

ClamAV update process started at Thu Jun 6 20:47:14 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
WARNING: getpatch: Can't download daily-16682.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from db.local.clamav.net
ERROR: getpatch: Can't download daily-16682.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: Can't download daily.cvd from db.local.clamav.net
Giving up on db.local.clamav.net…
ClamAV update process started at Thu Jun 6 20:47:15 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs…
ClamAV update process started at Thu Jun 6 20:47:20 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Can't download daily.cvd from database.clamav.net

On host Freshclam is configured to run in background as a service i.e.:

qmail:~#
 ps ax|grep -i fresh|grep -v grep
13615 ? Ss 0:02 /usr/bin/freshclam -d –quiet
 

I stopped clamav and tried running it manually through its script: qmail:~# /etc/init.d/clamav-freshclam restart

The error was reoccuring, so I decided to kill it and try running freshclam manually:

qmail:~# kill -9 freshclam

qmail:~# freshclam
I got same error again:
 

Thu Jun 6 16:46:20 2013 -> ClamAV update process started at Thu Jun 6 16:46:20 2013 Thu Jun 6 16:46:20 2013 -> main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven) Thu Jun 6 16:46:20 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net Thu Jun 6 16:46:20 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net Thu Jun 6 16:46:20 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net Thu Jun 6 16:46:20 2013 -> WARNING: getpatch: Can't download daily-16682.cdiff from database.clamav.net Thu Jun 6 16:46:20 2013 -> ERROR: getpatch: Can't download daily-16682.cdiff from database.clamav.net Thu Jun 6 16:46:20 2013 -> WARNING: Incremental update failed, trying to download daily.cvd Thu Jun 6 16:46:20 2013 -> ERROR: Can't download daily.cvd from database.clamav.net Thu Jun 6 16:46:20 2013 -> Giving up on database.clamav.net… Thu Jun 6 16:46:20 2013 -> Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.

The solution was to delete clamav database filedaily.cvd and then run another freshclam Clamav DB virus update:

qmail:~# rm -f /var/lib/clamav/daily.cvd
qmail:~# freshclam
root@pcfreak:/etc/init.d# freshclam ClamAV update process started at Thu Jun 6 22:07:21 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 17309, sigs: 1302714, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 214, sigs: 41, f-level: 63, builder: neo)
Database updated (2347142 signatures) from db.local.clamav.net (IP: 195.222.33.229)

Finally, to make freshclam work as daemon, restarted init script:

qmail:~# /etc/init.d/clamav-freshclam restart
[ ok ] Stopping ClamAV virus database updater: freshclam.
[ ok ] Starting ClamAV virus database updater: freshclam.

 

Share this on

Create ASCII Art Text banners in GNU / Linux console and terminal with figlet and toilet

Tuesday, January 15th, 2013

Create fun and colorful text ASCII art banner logos on Linux (figlet and toilet)

As an old school hobbyist, I'm a kind of ASCII art freak. Free Software is just great for this text / console maniacs like me, who spend their youth years in a DOS (Disk Opearting System) command prompt.
For long time, I'm researching the cool programs which has to do somehow with ASCII Art, in that relation I decided to write few ones of figlet and toilettwo nice programs capable of generating ASCII art text beautiful banners based on a typed in text string. Obviously toilet developer Sam Hocevar had a great sense of humor 🙂

To play with figlet and toilet install them, according to (rpm or deb based package manager on distro) with yum / apt-get.

yum -y install toilet figlet
....

apt-get --yes install toilet figlet
....

There are no native tool packages for Slackware, so Slackaware Linux users need to compile figlet from source code – available on figlet's home page figlet.org

Once figlet and toilet are installed, here is few sample use cases;
 

hipo@noah:~/Desktop$ figlet hello world!             

figlet ascii art banner hello world
 

hipo@noah:~/Desktop$ figlet -f script Merrcy Christmas

figlet merry christmas text in ascii art with script font linux

Plenty of figlet font examples are available on Figlet's website example section – very cool stuff btw 🙂 To take a quick look on all fonts available for toilet – ascii art banner creation. Type in your console tty or terminal; for i in $(dpkg -L toilet-fonts|grep -i /usr/share/figlet); do toilet -f $(echo $i|sed -e "s#.tlf##g" -e "s#/usr/share/figlet/##g") test; done

On below picture, I made a screenshot of my gnome terminal with most fonts installed by toilet-fonts (fonts package).

ascii art banner create generate program linux figlet toilet with fonts on debian linux screenshot pic - how to create ascii banners linux

There are about 150 fonts, most of which needs to be downloaded and installed manually. A quick search online led me to a fonts collection of 263 figlet ascii art fonts – you can download a mirror of the file figletfonts40.zip here. To aid up toilet and  with those 263 extra fonts (on Debian) do; wget http://www.pc-freak.net/files/figletfonts40.zip cd /usr/share/figlets unzip figletfonts40.zip Note: you have to have installed unzip in advance, unzip is not in default install, so if you don't have it fetch it with; apt-get install --yes unzip toilet and figlet are partially compatible, between each other so most fonts should work okay on both.

figlet supports, also simple formatting of ASCII art banner, here is few examples with formatting; a.) format to center  

$ figlet -c bla bla

figlet centered ascii art text bla bla screenshot

b.) format to left


figlet ascii art banner left formatted text debian gnu linux

c. right formatting


figlet ascii art banner right formatted ascii art text debian linux generator

d. format to terminal width By default text that figlet generates is to suit for 80 rows terminals, normally on higher resolution in gnome-terminal and other Linux environments, terminals are not dimensioned 80×25, thus it is useful for longer sentences text to display text in accordance to terminal size;

figlet ascii art banner sentence phrase to terminal width banner debian gnu linux

The cool thing and advantage of toilet over figlet is toilet can print out ASCII art banners in colors – very very cool stuff; To quickly test all filters issue; for i in $(toilet -F list|awk '{ print $1 }'|grep -v Available|sed -e 's#"##g'); do toilet -F $i pC-fREAK; done Change text pC-fREAK with whatever you like;

> using toilet to create funny ascii-art banners linux pc-freak logo pictures

Very nice use of toilet or figlet, can be if it is placed to produce some nice message in ASCII banner on each user login. Other nice fun applications  is together with cowsay.

apt-cache show cowsay|grep -i description -A 5 Description: A configurable talking cow Cowsay (or cowthink) will turn text into happy ASCII cows, with speech (or thought) balloons. If you don't like cows, ASCII art is available to replace it with some other creatures (Tux, the BSD daemon, dragons, and a plethora of animals, from a turkey to an elephant in a snake).

In case interested in using cowsay on system logins, I suggest you check out my tiny cowrand script which uses cowsay and shows random cow ASCII art picture on each user login.

Also a good use if you're Christian is to combine, some nice Holy Scriptures  verse in text ascii with  some encouraging daily bible phrase from verse or fortune.

Apart from fun, common use of ASCII art slogans is in e-mail or blog comments ASCII art signatures, also they are certainly good for creating unusual (text) advertisements and even can be used to save printer ink:) cause text generated in ASCII art logo is not massive like most text fonts are 🙂 Last but not least  ASCII art banners are useful in generation of ASCII slogans as an art; after all ASCII art is one of innovative arts of 21st century 🙂

Share this on

Trip to Eindhoven airport and city center – few city impressions on city Cathedrals and centre

Thursday, January 3rd, 2013

at_Eindhoven

Today, for its my 3rd time I go to Eindhoven. My first time was when I flied from Sofia, Bulgaria to Eindhoven (Holland) Airport in September, second time I was there was December 22-nd as I had to go there to take my girlfriend Svetlana from the airport; today it was the first time as unfortunately her Belarusian visa was expiring and she had to travel back to Belarus.

We travelled with Svetla from Arnhem to Eindhoven, the whole trip takes about approximate 1 hour. There is no direct train from Anrnhem to Eindhoven; thus we had to change train in 's-Hertogenbsoch. The trip thanks God went smoothly and the train was late with only few minutes (something very unusual for trains here in Holland). About 12 o'clock we were in the Train station. The bus station allowing a number of bus lines travelling to different destinations of the city is located right infront of train station, just like in Arnhem, Nijmegen (and probably a lot of other Dutch cities). Dutch architects did obviously a very good job by designing such a good road architecture in Holland, along with the ability to travel through absolutely all country on bike, the train and bus architecture is designed very well too. The bus to Airport is arriving and departing every 7 minutes, so there was no need we wait for long time for the next bus to arrive. I had to pick-up a bus tickets from a special bus tickets sell-office. The bus per person costs 3.50 EURO as of time of writing this post – something to mention is I have memorybus ticket in 22 december 2012 from train-station to Airport was 3 EUR – 50 cents less. Actually a curious fact to mention from 22 dec 2012 is I went to take the bus very early in the morning and bus-tickets office (located on the right of the entrance of Train Station entrance), were closed. I went to buy a bus ticket from the driver (a kind lady) and she told me their ticketing system is not working so "everybody is for free :)". This was quite a fun, since here in Holland they're so advanced and high-tech and they put most of their "lives" in the hands of technology and suddenly something as important as a bus-ticketing system is off and everyone in bus travels for free – absolutely ridiculous story …

My whole impression from Eindhoven is not very different from other cities I've seen in holland. The architecture of most of the streets and houses is no different. The brown beautiful houses build of little blocks with plenty of beautiful outside house decorations, green grass etc. There is however an evident difference from Arnhem and Nijmegen as many of the company buildings  near the city center and on the way while in the bus to Airport were built in a very modernistic style. Something noticable was buildings belonging to the so famous Philips company as well as the Philips stadium. Few of the buildings were quite tall looking a bit like New York's sky-scrapers. On the way to train-station, the most noticable thing I've seen was the Evuliona modernistic building build in the shape of scifi movies UFO 🙂

Evoluion Eindhoven UFO like building one of the most notable buildings in Eindhoven - Symbol of Human knowledge evolution

The eindhoven's attraction Unidentified Flying Object futuristic building

The rest was just a lot of company buildings and industrial equipment or markets, the whole city as long as I saw it is very technological and industrial. I derive this conclusion as  I've seen buildings of many of the most famous world IT companies, as well as a lot of industrial vehicles on the way to train station. After I had to leave my dear Svetlanka on airport. I've took the bus back to the train station. BTW, the bus number as of time of writting which goes from Train Station to Airport and Airport to Train-Station is bus number 401. The bus looks a bit more modern than the usual bus-es I've seen in Arnhem and Nijmegen. One thing which is different also from the regular bus-es in many other cities and towns in Holland is the driver in the bus going to and from Airport to tr. station, refuses to sell you tickets, but instead one has to buy the ticket from a ticket selling machine, which is accepting debit and credit cards, as well as probably the Dutch OV Chipcard as well as supports buying by coins. The ticket selling machine is made to work complicated, as there are few ticket types one can choose using a touch-screen computer interface; I tried inserting 3.50 euro to buy ticket for myself but the machine is just spitting the money. It is good a lady I asked on how she bought helped me showing me I first have to select the ticket type from the touch-screen as the touch screen is very much on the left side of the ticket-selling machine and I was in a hurry I didn't even noticed it. I've seen other people having the same problem with the machine, wondering why it happens – so it might be a good idea the high-tech guys who constructed it to make ticket buying using a 3 or 5 simple buttons, through which one can select the ticket type. It will save people time as well as not confuse probably multitude of foreigners like me who came to holland and get a first impression that Holland's sophisticated IT structure is not working 🙂

After Svetka check-in her laggage in around 12:40 and we had to say each other good buy in 13:10, she went inside the usual Airport Security check – metal detector scanner and I took the bus back to Eindhoven train-station. As the train station is located 3 minutes walk from the city center. I decided to take a quick look in the city center to see if there is something nice to see on centre – I was more interested to take a look at some Churches and my main idea was to see if I can find the Orthodox Church Parish of Saint Nectarios of Aegina as well as take a look at the Gothic style built Roman Catholic or Protestant Church buildings. About 10-15 minutes walk from train-station I've noticed two huge cathedrals. Both of them was heavily decorated with towers with the usual 3 enormous windows repeating pattern and the many other architectural patterns containing 3 elements (probably symbolizing) the Holy Trinity. What was new for me on both of the Cathedrals is the of Virgin Mary and Jesus or Saints? statues located on top of the Gothic Cathedrals. I checked the time schedule and it seemed both of cathedrals were functional, but only the second one I went to (St. Catherine) was opened.

Catharina kerk Roman Catholic city center church Cathedral Eindhoven

I've red the short history of the Cathedral and walked around it to check the wall paintings, statues, roman catholic crucifixes, the mosaics on the Church windows and generally the Church decoration. Many of the things in the Church seemed very unusual to me. The thing I most disliked was the ugly modern art reproductions mosaics of Jesus and various evangelica scenes. Though I'm happy I could have entered a Christian Church, I couldn't have not say how grotesque the crucifix means. There was a separate room in where it seemed people from the Church was doing something it looked a bit like an office. Though this was a still Church, for me it was somehow missing the light and feeling of spiritual deepness. There was an icon of Virgin Mary holding the most pure body of our Saviour Jesus Christ. One can clearly distinguish it is a Slavonic icon by the "МР ОУ" – abbreviation for Marry Mother of God.
I've red the Church story and it seems the earliest Church there is from the 12th century – meaning that it is possible an Orthodox Holy Liturgy was never served there.
A very short story of the Church is very similar to many of the Roman Catholic Cathedrals in Holland;

In short, Church building was taken from Roman Catholics and used by protestant in 16th / 17th century, just like with many other of the Roman Catholic Churches during the 16th – 18th century protestant reformation. In 19th century Catholics used it again, but then in 20th century it was almost completely destroyed during World War II, later rebuild and now again owned by Roman Catholics.

One thing to mention is though, I've only been in few Roman Catholic Cathedrals so far, it seems almost every one was keeping an Orthodox icon (usually Russian one), or an icon at least looking like Orthodox. Usually I would not be interested into entering a Roman Catholic Church, as we are prohibited to pray with them and I know about their errs in faith, however I know many of the Churches contain Holy Relics of saints / martyrs and bishops who preached and lived an extremely holy life, before the great schism thus I walk in Roman Catholic Churches with the hope and desire that the Church might contain Holy Relics of saint in their alter or somewhere kept and through that I might a blessing of the respective saint ….

After, walking out, I've walked through the city center, and most I saw was modernistic buildings shops and just few houses with more interesting oldish architecture. Some interesting building on city center is an Iglu shaped like called "Iglus".

Eindhoven Holland Iglus Massive Shopping Center Winkel in form of Escimos (Eskimo) Iglu

I didn't saw all of the city center but from what I've seen it seemed to me the city center of Eindhoven is less interesting to see than Arnhem and Nijmegen's. Eindhoven's city center looks modern and maybe this was main thing why I was not impressed.

Steentjeskerk church Eindhoven Holland architecture like Orthodox Church

I've seen one Church building, while traveling with the bus from Eindhoven Airport to Train-Station, and this building looked very much like Orthodox, also from the far the cross of it and the overall architecture looked very much Orthodox. I very much hoped it is an Orthodox so from Train Station walked about 20 minutes to the Church to check if it is not the Nectarios of Aegina Orthodox Church I mentioned earlier. The Steentjeskerk  Church was closed and on the main entrance doors. I've later found out the Church is not used for Roman Catholic Holy Liturgy since 1971.

It was quite striking to see shops selling souvenirs or something on the exact place where the Church entrance door used to be;  just 15 meters from the Church was a Coffee-Shop (i.e. a place here in Holland, where people go to Smoke Ganja, Mushrooms, alcohol and other light drugs ….

After checking on the Internet for the Steentjeskerk building is relatively new and had nothing to do ever with Orthodoxy. What however made me happy is it used to be dedicated to st. Anthony the Great – the saint who is considered as a father of Christian monks life.
The scenery right in front of my eyes was striking, I made a walk through the Church to see well its Architecture and in hope I can understand if it used to be Protestant or Roman Catholic. According to the Virgin Mary statue on top of Church I derived conclusion the Church used to be Roman Catholic. i've seen some text written somewhere on the back of the Church speaking the Church is used for some kind of exhibition. Even though the Church was not Orthodox, I felt sad for the poor Church being abandoned and being almost pranked with by allowing a place which was used for regular prayer to shop / exhibition …..

On the back of the Majestic Church, My amazement doubled when I saw a big mosque with a high Minaret (space ship rocket – as a friend likes to joke). The working Muslim Mosque built according to architecture norms of Muslims on the backstage of the unworking poort closed Roman Catholic Church turned to shop / exhibition was one of the saddest things I've seen. This whole scenery also explained, why Muslim faith is blooming and Europe it also explains, why Muslims are currently "taking over" Europe – just until recently the largest Christian continent.

 

Share this on

My long lasting study university dilemma is it really worth Investment to study in University? Don’t study – invest your money in something more meaningful

Thursday, December 13th, 2012

I'm trying to graduate for a really long time, so far. Let me in short perephrase my story, as I'm sure there are probably plenty of people out there who are into the same shitty situation as I.

I graduated school while being 17 years old (one year earlier than supposed), studied in a Mathematical oriented High School with majors Informatics and Mathematics with itensified English language studying. 

While turning 17 I had my regular fancy-dress carnival (ball) as we have it each year near the end of May and beginning of June in Bulgaria, in those joyful times plenty of High School graduates has their celebrations. I don't know how it is in other countries but in Bulgaria, graduates are often mislead and does not have clear idea what exactly they want to study, because schools do less to properly orientate the student on what kind of study stream field or what kind of sphere of life he would like to be employeed (maybe it was just my alumni) or the alumnis student generations that emerged just 10 years after Communism regime fall, maybe it is just my individual case. Or maybe it was like this everywhere? Anyways I graduated desiring only to study informatics for the only reason, Informatics was fashionable and it was thought the future of existence will be fulyl pre-dominated by informatics. Therefore in my school me and many classmates thought graduating in informatics is the best thing one can do. Computers back in the day was not so heavily spreaded (every person did not have a computer), so still computers were perceived by Bulgarian people with high dose of mysticism and interest. And those interested in computers were much more interested into learning something and much less consumer oriented society … but doesn't matter, I can write a lot of this but will stop here as this is not the ultimate goal of this article ….

Once graduating in PMG Ivan Vazoff – The High School where i graduated, I tried to apply for a student by following the standard student entrance exams for the study stream of Computers and Information Technologies as this was my primary field of interest back in the day. Back in the day the only way to enter for study stream of Computer Engineering was lay exam solving 4 mathematical complex problems, mathametics. I'm a very bad mathematician and bad in counting, since my childhood I guess I had some bad teachers which didn't spend enough time explaining, I was lazy or just I don't have the talent to be good in mathematics, so following the exams in few mainly Technical Universities in few Bulgarian cities produced no good results. Because of my bad exam marks (my best one was 3 out of 6, where 2 is negative and 6 is positive – yeah the standard education system in Bulgaria is from 2 (poor) to 6 (excellent), I was not accepted in any of the universities to study informatics. You can understand my high disappointment, I was so keen to study informatics really! but the stupid system never allowed me to do so! Hoping I will be able to transfer to another study stream I signed in Varna TU (Technical University) in a study stream called "Machine Building and Instruments Construction". I was received in student with a very low mark of just 3 out of 6, there was practice back in the day that the students with worst marks entered into the Machine Building and Instruments Construction or Automation specialties. I was a total user, as the name of the specialty sounded not so bad and I hoped the specialty should be closely related to Informatics, I had hope. Spending just the first semester in the University I realized this specialty – as it was taught back then has almost nothing to do with Computing; besides that it had plenty of Engineer Drawings. As a graduate from a High School where accent was Mathematics, I never did even one Engineer Drawing! So it was a complete, mess I tried hard to learn  it but it was not possible, even though I tried my best I couldn't properly Draw. After all I never had the habit and even the basic knowledge on How Engineer Drawing is done. It was sad and stressful times, besides that I had to follow two University Higher Mathematics (Chapter 1 and 2) in 1st semester and University Technical Mathematics (Chapter pt. 3 and 4). First semester I couldn't pass Mathematics exam  1 and 2. Because of the reason the teacher was mostly terrible in explaning and also the level of mathematics required to know was very high; for me it was even harder as I never ever had good understanding or knowledge in mathematics. I failed the exams I hardly passed 2 out of 4 exams, I had troubles with few subjects certification (in those university studyign students, had to be certified by the teacher to go to the exam – if you don't attend the lectures you don't get certification and you can't go for the exam). It was a mess. After the end of 1st year I realized, I cannot in any way make it, to move myself to study in some study specialty that has to do more with Computer Science, so I stopped studying. 

During the summer I visited some private Mathematics lessons and tried my best to apply again to study for informatics this time for another University (The Economic University of  Varna). Though my hard attempts to learn a set of model mathematical tasks to solve, on the exam in June I only could achieve again a low mark 3.80 out 6. I needed at least 5 in order to be approved to enter the pre-selected number of students which would study Informatics. Here a note to make here is most of the students who studied informatics did not hold even basic understanding in computers or did not even been keen on computers ….

So in practice again I couldn't enter the study stream I wanted so I was accepted in a study stream called Commodity Knowledge (which consisted of a lot of Chemistry doing chemical analysis of products testing, if they're suitable for putting in store things like this). As a bad mathematician my knowledge in Chemistry was also not good, not to mention I had a very short life memory, so sciences with a lot of formulas (and a lot to remember) are so unsuitable for me …. Anyways I was trying to be very diligent in this Commodity Knowledge study, and I could even pass all my  exams in the first year with not so bad overall marks of around 4.30 out of 6.

I should say I spoke with administration and in first semester I was told it is possible to transfer in Computer Technology specialty if I have relatively good marks, they blutantly lied to me, since after talking with them in the end of the first year I was told the two study systems of Commodity Knowledge and Computer Technology has difference, so the only option is to start again from year 1!!!!! I was mad and disappointed, but decided to just study Stock Knowledge for the reason I already started it with hard intention this time I will graduate. Somewhere in the middle of year 2 in University, I was totally pissed off the studies, besides that at home there were plenty of family problems, so I was devastated. My mother and father was hardly urging me to find a job immediately because they cannot (or will not)  financially support me anymore. After some search on the Internet I was referred by a friend (from my school years who lived in Sofia) about a company called Design.BG which is looking for a Linux system administrator. I already had plenty of experience with Linux and Operating System as this was my hobby and most of my free time was invested in learning Linux, advancing my knowledge in Operating Systems, learning Computer Programming etc. etc. I went to the interview and was approved !!! Hooray I had job but I was paid a very funny money 250 lv (125 EUR) – of course I was just starting in this job but come on 125 EURO for a system administator responsible for 6 servers – 125 EURO per month was meakly ridiculous….

I worked in this company Design.BG for overall of 7 years. After 4.5 year of working and a working sallary of 450 lv I just quit, they were plainly using me as a Robot is used, ridiculous and stupid. I had some good times in the company made some friends, advanced my knowledge this is true. But after all after 4.5 years working in an office I had neither savings, neither achieved something and living on rent – working month by month for my rent and monthly food (very similar to people in Africa). A friend of mine who lived in Dobrich and also was very disappointed from his started Education and quit, told me he will be signing to study in a (comparatively new College) located in Dobrich (Holland-Dutch College ICA – International College Albena). I went to this college and signed up for the studies, usually the students were asked to study 1 preparation year, because they need to advance their English (all subjects were taught in English). As I had a relatively normal English I went to an interview in the College and to one Intelligence test exam and I was approved to start studying immediately without following preparation year 1.

The days while being in the College was relatively good, as somehow I managed to pass two years there in the specialty of International Business and Management (IBMS). After year 2 it appeared there was not enough students in my student group, so there couldn't be year 3. We were only 6 students in IBMS and 3 of them had plans to transfer to continue their studies in another Business School (Arnhem, Business School) in the Netherlands. I was again in a difficult situation, from one side I wanted very  much to go and see how living is abroad from Bulgaria, since I never went out of Bulgaria, but from other side I didn't have enough money to do it, so I had to ask for financial support from my parents, I went to banks asking for Student Credit but since my parents had little of earnings, the banks were not willful to provide me a student credit of 10000 lv. (5000 EUR) which even will not be enough for graduating; however I was dreaming to go and study abroad so I make plans that I can gradute with maybe only 7500 EURO. It was just after I realized how my plans are wrong I needed much more to graduate. The good news I had job as I continuously worked for Design.BG (as remote system administrator). so I was earning 650 euro – a money I hoped will be enough to support my studies, as well administrating few other Servers for Winner Ltd (a smal.l company started and owned by my best friend from my youth years). After a lot of "disputes" with my family

I was able to convince them to help me with money to go to the Netherlands.. I went here in Holland, thinking it is all like a bed of roses. I thought here I will be able to find a good job make a good earning. But guess what it was nothng like this. I realized it is pretty hard to find a good job in Netherlands, besides that Bulgaria was not in Shengen so we Bulgarians could only work if we have a special issued work permit document – the Employer however issues this only in case if there is no suitable Dutch person for the job + issuing this document is often seen as problematic by employeer. Thus as a consequence most of Bulgarians even if they find job have to "work in the dark" in the grey economy without being officially employed with a contract or paying a social security or taxes. Such kind of jobs are mainly provided by Turkish or Kurdish and often even those who get job are underpaind or the employeer lies him with money, and you have nothing to do since officially you have no employment contract ….

I signed up for itjobboard.nl a website providing some resources for people who are involved in IT searching for job but nothing decent poped up.

In Arnhem Business School I signed up under Human Resources and Quality Management specialty – this was one of the biggest mistakes in my life (from current perspective) – was always interested in social studies, so I thought HR will be good. However it might be, but the people I meet in face of teachers in University of Arnhem and Nijmegen (ABS) in HRQM was a hell. They were even worser than the ones in Bulgaria (and I always thought in Bulgaria people are narrow minded), here in Holland they were even more narrow minded. They were preaching what they believe, trying to impose themselves on the student constantly trying to manipulate you. Trying all kind of techniques which are against the normal people code of ethics. Experimenting hardly with experimental Psychology, Hypnosis, NLP – what can I say just a bunch of totally crazy ungodly people. Education, here in the Netherlands was a hell.

Teachers didn't care for the student even more than they don't care in Bulgaria. Teachers failed to identify brilliant minded students, but was forcing ahead only students, which somehow was pretending to be smart. Besides that my colleagues in study group's IQ and experience was far from the even minimal for a serious study and scientific thinking (of course this are just my 5cents), I had troubles with money. What made it even more of a nightmare was the fact in Netherlands people though being smiling and ethical was not too much believing in God and there was no regular Orthodox Church services. There is just one Orthodox Church here in Arnhem and they had 1 Church service per month  …. I have studied plenty of Bullshit subjects in Arnhem Business School. The only so-so reasonable was Counceling and International Labour Law. What made my studying situation even more hellish was the fact. The subjects taught here in Arnhem Business School are not identical as content to the ones I was taught over the 2 years I studied in Holland-Bulgarian College (International College Albena). The style of teaching was also very different. Here the student is left on his own to spend his nerves on shit issues, most of which are caused by the badly architectured university system and the unwillingness of teachers to be helpful to students. From my overall experienced in Arnhem Business School in HRQM. I urge you don't sign and Study for HRQM. This might be the biggest mistake you will make. The nerves,. the lost times and the brainwashing you're about to get with a shit content is not worthy the time and the price of tuition fee of 1672 euro per year. I've studied 1 year here in Arnhem Business School somehow managing it and I was totally devastated for the reason I spend 1 year with Teacheres who constantly practice brainwashing techniques doing lecture over the students. Besides that all system in the specialty is centered around a false Philosophy of Brainwashing. The teachers claim, they do all to help the student – they even have a study-buddy system but in practice it is totally opposite. Teachers do opposite to what they speak, acting often totally devilish. It is not a place for ethical people with high morale. Besides that I was amazed about the stupidity of information system in Arnhem Business School, all is built very complex and hard for the student; Whole information system is based on Proprietary Microsoft software. Even the wireless access to the Internet from the University is not officially supported for Free Opearting systems like GNU / Linux or FreeBSD. This  is a good indicator on how narrow minded the whole university is …. well it is the same old story with almost all education I have faced in my life. You pay and you get "shit" for your money, if hopefully you graduate you're not prepared so it is just like spending a lot of money on almost nothing.

The investments one does for his whole studying is another story, very often you spend about lets say 10000 to 15000 EURO for studies and the ROI could come someday or maybe not. With the harsh economic crisis and the reduce of management positions and increase of technology, the likeness of not getting a job or getting a shit underpaid job with or without Higher Education is quite high. Even the knowledge you get in moment of graduating is already out date due to the high dynamics of economics throughout the world and globalization. 

I have planned to complete Arnhem Business School for just 2 years of time, but the teachers and subjects make me stumble, so it is already almost 4 years and I still haven't graduated. Where I'm a position where I had to take two accounting exams. Here the subjects in Arnhem Business School has all fuzzy names like ILLW / (ACF1, ACF5Z0) / HRA. What makes situation even worser is this code names are changed with time. As I didn't studied for an year and half I had issues re-signing for studying. Even after I was said I can continue my studies from the moment where I stopped, there was plenty of issues that might be because the fact they changed the HRQM study content and even the specialty name HRQM was changed to IBS. Now I'm in a situation, where I need to pass two accounting exams they were used to be called under the fuzzy names ACF5 and ACF7 (Accounting and Finance). Again I'm a big troubles because I'm so bad with numbers and the university is so unflexible so they don't give you any alternative option to following the two accounting Exams. After all there are plenty of HRQM Managers out there which have not a good idea about numbers, besides that being an HR does not require you to have the knowledge of a professional accountant. But according to the exams I have to follow I have to study from a book which seems like for professional accountants ….. Passing the 2 accountings would have not been such an issue but the big problem is this two accountings ACF5 and ACF7 are a continuous ones from a previous ACF1,2,3,4 and I never studied ACF1,2,3,4 in Bulgaria but instead studied a different kind of accounting, which besides that was poorly taught by the teacher who didn't speak a good English and the Exam content has nothing as prior said nothing to do with the Accountings in ABS. Even though I spoke with the teachers and explained my situation numerous times, noone wants to take my big issue seriously and now I'm suffering trying to learn for this exams, but with my knowledge it seems hardly possible to pass the exams. Besides that which is mostly ridiculous is just for passing this 2 exams the university wants to charge me to pay them for a whole Study Year enrollment (via StudieLink – an online based system through which the student Sign ups for studying in Holland Universities – in Holland there is a commission of people who approves if one will study or not). It could be my bad luck, maybe my temper which is freeedom loving or the complexity of modern life, but I didn't like it.

Even if I graduate after some time find the enormous sum of about 1650 EURO, I don't know if I will be able to find job after that. Just to give you an idea about the approximate sallary in Bulgaria is about (150 to 200 EUR) MAX. Where only the IT jobs and some managers take like 1000 EUR of sallary. It is ridiculously high, what is even more ridiculous I forgot to mention is even though in year 2011 (January – June) I didn't studied or attended even one lecture the university required me to pay the Semester Tuition fee of 836 EUR (the second part of the normal study year). My explanation that I couldn't go to school because of health issues and financial reasons was not taken in consideration at all. I come to the conclusion that all studying are just made to drain your money and nobody really cares of you. And even at the end who cares what kind of diploma you have you only find Job in 80% of cases only if you have a person to refer you , recommend you  and place you in company. It is just sad how stupid and fragile the education system is in the EU.

Moreover this stupid European Union helps me nothing, they just say they help the countries but what I see happening in Bulgaria and across most of the European Countries speaks the opposite. 

Share this on

Mass Media equals Mind Control / Watching Television or Movies can put you into a Hypnotic like state

Monday, May 21st, 2012

mass-media-and-mind-control-the-modern-slaves

I'm still heavily researching on Mind Control Applications as well as how the our brains could be intentionally mislead to do not our will.
I myself am not watching TV for years now and I know pretty well the TV programs are one big non-sense. Loosing interest into television came natural for me as sometime in my development in life I found I can use computer to gather a data of my preference. As computers and internet gave me more control over choice what I want to learn I quit watching TV completely. However now I'm starting to realize even though I haven't watched TV for a long time the fact that I have watched plenty of Television as a child has unintentionally influenced me as a purpose.

The real way how television influence us and makes us prone to suggestability is through putting the watched in a state similar to a hypnosis. I personally don't believe in the hypnosis as it is an occult practice and I think Christians are not suspectable to be influenced in the same way as non-Christians as it is up to God to decide how a certain technology will influence the individual. However most of us people nowdays are not a regular church attendants and we don't regularly pray and ask God for mercies and blessings therefore this makes us away from God and makes us more vulnerable to satanic agendas like hypnotism to be able to have influence on us….
Also by TV and modern pop culture, we have been encouraged to not stick to our cultural roots but to separate ourselves and accept an empty non-sense ideology that doesn't have any core besides money and consumerims.
In that sense the TV and medias plays the most significant role nowdays.

Mass Media = Mind Control – a video explaining in short how the TV and Mass medias are used to create similar or identical ideas in masses

The internet as lately we're hearing about PIPA, SOPA and all kind of legislations regulations corrupted 0politicians try to vote for could be soon filtered too. If that happens the situation with using computers to inform ourselves will be not so much different than with TV's and other medias.
Anyways even today the internet is heavily regulated as the biggest newspapers like New Your Times, BBC, Guardian are only publishing materials approved by the directors and compatible with the companies owners agendas…

Anyways we are not helpless as we can educate people and show them the real face of the things, so they can finally realize that this whole deception and anti-religious propaganda on the TV and vows for a life without rules is the greatest deception of our age.

WIth TVs, radios, music, Mobiles, Ipads, IPhones or nomatter what kind of latest technology we can never be happy while living without God.

Another good video worhty to see I've found on youtube is called
TV = Mind Control, unfortunately the video is not emebeddable so to see it you would have to copy paste this link: http://youtu.be/Nq9Gg7A-YEE

Share this on

Editting binary files in console and GUI on FreeBSD and Linux

Thursday, April 26th, 2012

I’ve recently wanted to edit one binary file because there was compiled in the binary a text string with a word I didn’t liked and therefore I wanted to delete. I know I can dig in the source of the proggie with grep and directly substitute my “unwatned text” there but I wanted to experiment, and see what kind of hex binary text editors are for Free OSes.
All those who lived the DOS OS computer era should certainly remember the DOS hex editors was very enjoyable. It was not rare case, where in this good old days, one could simply use the hex editor to “hack” the game and add extra player lives or modify some vital game parameter like put himself first in the top scores list. I even remember some DOS programs and games was possible to be cracked with a text editor … Well it was times, now back to current situation as a Free Software user for the last 12 years it was interesting to see what is the DOS hexeditor like alternatives for FreeBSD and Linux and hence in this article I will present my findings:

A quick search in FreeBSD ports tree and Debian installable packages list, I’ve found a number of programs allowing one to edit in console and GUI binary files.

Here is a list of the hex editors I will in short review in this article:

  • hexedit
  • dhex
  • chexedit
  • hte
  • hexer
  • hexcurse
  • ghex
  • shed
  • okteta
  • bless
  • lfhex

1. hexedit on Linux and BSD – basic hex editor

I’ve used hexedit already on Linux so I’ve used it some long time ago.

My previou experience in using hexedit is not too pinky, I found it difficult to use on Redhat and Debian Linux back in the day. hexedit is definitely not a choice of people who are not “initiated” with hex editting.
Anyways if you want to give it a try you can install it on FreeBSD with:

freebsd# cd /usr/ports/editors/hexedit
freebsd# make install clean

On Debian the hexedit, install package is named the same so installation is with apt:

debian:~# apt-get –yes install hexedit

hexedit screenshot Debian Linux Squeeze

2. Hex editting with chexedit

I’ve installed chexedit the usual way from ports:

freebsd# cd /usr/ports/editors/chexedit
freebsd# make install clean

chexedit is using the ncurses text console library, so the interface is very similar to midnight commander (mc) as you see from below’s screenshot:

Chexeditor FreeBSD 7.2 OS Screenshot

Editting the binary compiled in string was an easy task with chexedit as most of the commands are clearly visible, anyways changing a certain text string contained within the binary file with some other is not easy with chexedit as you need to know the corresponding binary binary value representing each text string character.
I’m not a low level programmer, so I don’t know the binary values of each keyboard character and hence my competence came to the point where I can substitute the text string I wanted with some unreadable characters by simply filling all my text string with AA AA AA AA values…

chexedit on Debian is packaged under a deb ncurses-hexedit. Hence to install it on Deb run:

debian:~# apt-get –yes install ncurses-hexedit

Further on the binary to run chexedit on binary contained within ncurses-hexedit is:

debian:~# hexeeditor

3. Hex Editting on BSD and Linux with hte

Just after trying out chexedit, I’ve found about the existence of one even more sophisticated hexeditor console program available across both FreeBSD and Linux.
The program is called hte (sounds to me a bit like the Indian word for Elephant “Hatti” :))

hte is installable on Debian with cmd:

debian:~# apt-get install ht

On FreeBSD the port name is identical, so to install it I execed:

freebsd# cd /usr/ports/editors/hte
freebsd# make install clean

hte is started on Debian Linux (and presumably other Linux distros) with:

$ hte

On FreeBSD you need to run it with ht command:

freebsd# ht

You see how hte looks like in below screenshot:

ht has the look & feel like midnight commander and I found it easier to use than chexedit and hexeditor
4. hexer VI like interface for Linux

As I was looking through the available packages ready to install, I’ve tried hexer

debian:~# apt-get install –yes hexer

hexer does follow the same standard commands like VIM, e.g. i for insert, a for append etc.

Hexer Debian Linux vim like binary editor screenshot

It was interesting to find out hexer was written by a Bulgarian fellow Petar Penchev 🙂
(Proud to be Bulgarian)

http://people.freebsd.org/~roam/ – Petar Penchev has his own page on FreeBSD.org

As a vim user I really liked the idea, the only thing I didn’t liked is there is no easy way to just substitute a string within the binary with another string.

5. hexcurse another ncurses library based hex editor

On Deb install and run via:

debian:~# apt-get –yes install hexcurse
debian:~# hexcurse /usr/bin/mc

Hexcurse Debian Linux text binary editor screenshot

hexcurse is also available on FreeBSD to install it use cmd:

freebsd# cd /usr/ports/editors/hexcurse
freebsd# make install clean
….

To access the editor functions press CTRL+the first letter of the word in the bottom menu, CTRL+H, CTRL+S etc.
Something I disliked about it is the program search is always in hex, so I cannot look for a text string within the binaries with it.

6. ghex – Editting binary files in graphical environment

If you’re running a graphical environment, take a look at ghex. ghex is a gnome (graphical hex) editor.Installing ghex on Debian is with:

debian:~# apt-get –yes install ghex
….

To run ghex from terminal type:

debian:~# ghex2

GHex2 GNOME hex binary editor screenshot

To install ghex on FreeBSD (and I assume other BSDs), install via port:

freebsd# cd /usr/ports/editors/ghex
freebsd# make install clean

Gnome hex editor have plenty of tools, useful for developers to debug binary files.

Some nice tools one can find are under the the menus:

Windows -> Character Table

This will show a complete list of each keyboard sent character in ASCII, Hex, Decimal, Octal and Binary

Screenshot ghex Character table Debian Linux

Another useful embedded tool in ghex is:

Windows -> Type Convertion Dialog

Ghex type convertion dialog screenshot

Note that if you want to use the Type Convertion Dialog tool to find the representing binary values of a text string you will have to type in the letters one by one and save the output within a text file and later you can go and use the same editor to edit the text string within the binary file you like.

I’m not a programmer but surely for programmers or people who want to learn some binary counting, this 2 ghex edmebbed tools are surely valuable.

To conclude even though there are plenty of softwares for hex editting in Linux and BSD, none of them is not so easy to use as the old DOS hexdedit tool, maybe it will be a nice idea if someone actually rewrites the DOS tool and they package it for various free operating systems, I’m sure many people will find it helpful to have a 1:1 equivalent to the DOS tool.

7. Shed pico like interfaced hex editor

For people, who use pico / nano as a default text editor in Linux shed will probably be the editor of choice as it follows the command shortcuts of picoOn Deb based distros to install it run:

debian:~# apt-get install –yes shed

shed pico like hex binary editor Linux

Shed has no BSD port as of time of writting.8. Okteta a KDE GUI hex editor

For KDE users, I found a program called okteta. It is available for Deb based Linuxes as deb to install it:

debian:~# apt-get –yes install okteta

Screenshot Okteta Debian GNU / Linux Squeeze

As of time of writting this article there is no okteta port for BSDs.
Okteta has plenty of functions and even has more of a functions than ghexedit. Something distinctive for it is it supports opening multiple files in tabs.

9. lfhex a large file text editor

lfhex is said to be a large (binary) file text editor, I have not tested it myself but just run it to see how it looks like. I don’t have a need to edit large binary files too, but I guess there are people with such requirements too 🙂

lfhex - Linux The Large file hex editor

To install lfhex on Debian:

debian:~# apt-get install –yes lfhex

lfhex has also a FreeBSD port installable via:

freebsd# cd /usr/ports/editors/lfhex
freebsd# make install clean

10. Bless a GUI tool for editting large hex (binary) files

Here is the description directly taken from the BSD port /usr/ports/editors/bless

Bless is a binary (hex) editor, a program that enables you to edit files asa sequence of bytes. It is written in C# and uses the Gtk# bindings for theGTK+ toolkit.

To install and use ot on deb based Linuxes:

debian:~# apt-get install –yes bless
….

On BSD installation is again from port:

freebsd# cd /usr/ports/editors/bless
freebsd# make install clean
….

Something that makes bless, maybe more desirable choice for GUI users than ghex is its availability of tabs. Opening multiple binaries in tabs will be useful only to few heavy debuggers.

Bless GUI hex editor Debian Linux tabs opened screenshot

11. Ghextris – an ultra hard hacker tetris game 🙂

For absolute, hacker / (geeks), there is a tetris game called ghextris. The game is the hardest tetris game I ever played in my life. It requires more than regular IQ and a lot of practice if you want to become really good in this game.

To enjoy it:

debian:~# apt-get –yes install ghextris

Ultra hrad hardcore hackers game ghextris screenshot

Unfortunately there is no native port of ghextris for BSD (yet). Anyhow, it can be probably run using the Linux emulation or even compiled from source.
Well that’s all I found for hexedit-ing, I’ll be happy to hear if someone can give me some feedback on his favourite editor.

Share this on