Saturday, November 24, 2012

How to install Oracle Java 7 in Ubuntu 12.04

First of all remove JDK packages if they were installed:
sudo apt-get purge openjdk* 
After that:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Thanks for this article. It helped a lot.

Saturday, November 3, 2012

PHP can be inconsistent

PHP can be inconsistent. Good PHP-programmers know its wayward temper. It is the payment for the seeming simplicity at the beginning. A naive beginner can be captivated by the absence of restraints. But experienced programmers know that the absolute liberty can cause a chaos.

In honor of Halloween some blogs published interesting scary examples of the PHP behavior. I liked this one and want to share:

Spooky Scary PHP

Let's read and remember: there is no perfection in our world and so let's use our sense of humor not to conclude bad things about the language. PHP has also the good features that make it one of the most used programming languages.