2 weeks from now, 28 November 2014, The imitation game movie will hit the cinemas and we'll watch Alan Turing's (Benedict Cumberbatch) story about the period during the World War II, and breaking the Enigma code at Bletchley Park. In this clip he is interrogated about his role in that and he explains the machine consciousness.

This website is not intended for movies, but any programmer's / software engineer's dream is to create or, at least, to work with an artificial intelligence. A machine who's more than software and hardware, who's capable of intelligent thoughts and rational thinking. So, this clips is (or it should be) an exception.

You have heard about Shellshock Bash bug, right? It affects the machines running Linux and / or Mac OS X (including your PC's, web servers, your smartphones, some of your devices at home) by making them vulnerable via the Unix command shell Bash, which happens to be one of the most common applications in those operating systems. The shell or command prompt is a piece of software that allows a computer to interact with the humans by interpreting text typed via the keyboard. A malicious user can get access to your input and inject code to the system, taking control or damaging it and its data.

This bug was baptized Shellshock by Security Researchers and you can find more information about it over here. This issue is not critical, but it can create severe problems. Keep yourself informed and watch for updates... then updated your computer / server / smatphone and other devices as quickly as you can.

Let's start with your computer. If you have a Mac OS X or Linux system, open the Terminal and run this line of code:

env x='() { :;}; echo Shellshock Bash makes you vulnerable' bash -c 'echo this is a test'

If you see the text "Shellshock Bash makes you vulnerable" as an answer, your system is, well... vulnerable. Three of the most popular Linux distributions, Fedora, Red Hat and Ubuntu already have patches available, probably Apple will soon release its fix.

Somebody asked me yesterday what have to be done in order to disable copy/paste function and to stop the visitors (or, at least, most of them) to copy the content of her articles. Well, I prepared the answer, but you can learn from it as well... So I am posting it here, hoping it will help.

Apply this code in your html document inside the <body> tag in order to disable drag and select (and copy/paste using the Ctrl+C/Ctrl+V keys).

ondragstart=’return false’ onselectstart=’return false’

Practically, the tag should look like this (considering there is no onLoad or other stuff like that already added):

<body ondragstart=’return false’ onselectstart=’return false’>

Apply this script in your html document before closing after the starting and before the closing the <head> tag:

<script type="text/javascript">var message=FunctionDisabled!;function clickIE4()
{     if(event.button==2) { alert(message);returnfalse;}}function clickNS4(e)
{if(document.layers||document.getElementById&&!document.all)
          {if(e.which==2 || e.which==3) { alert(message);returnfalse;}}}if(document.layers)
{ 
     document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4;}elseif(document.all&&!document.getElementById)
    { document.onmousedown=clickIE4;} 
document.oncontextmenu=newFunction(alert(message);returnfalse)</script>

Add some necessary security CSS elements to the <body> tag.

For example, add in the CSS file

body {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

In case you want to place them as CSS style in the html document, the <body> tag will look like this:

<body ondragstart=’return false’ onselectstart=’return false’ style=’user-select: none; -moz-user-select: none; -webkit-user-select: none; -o-user-select: none;>

This is basic protection only! That will help you in most of the cases, but advanced users will bypass it with ease by disabling JavaScript on their browser or using firebug to see the html source.

A few months ago I wrote about this error that appears when someone is trying to install a module, extension or template design for previous Joomla versions. It's not the single time when this warning appears when trying you're trying to install or upgrade something.

Let's take for example the following code:

<?xml version="1.0" encoding="UTF-8"?>
<extension type="module" version="3.0" method="install">
<name>Joomla SlideShow</name>
<creationDate>2013-11-15</creationDate>
<author>Supravirtual SRL</author>
<copyright>(C) 2013 webdesign-software-code-seo.com. This module is released under the GNU/GPL v2 License</copyright>
<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
<authorUrl>http://www.webdesign-software-code-seo.com</authorUrl>
<version>1.0</version>
<description>Joomla horizontal and vertical Slideshow</description>
<license>http://www.gnu.org/licenseses/gpl-2.0.html GNU/GPL</license>
<files>....

The  XML file continue with the rest of the necessary code for a module. The error what I am referring to appears when one is changing the "and" from description to "&". Everything else is OK, the code is OK, but you can't install or upgrade your Joomla extension as long as you are using & in the file.

Especially useful information for beginner web designers... just watch the video and you will understand why.

How to connect Twitter and Facebook accounts

  • Log in to the Twitter account you want to associate with your Facebook profile.
  • Go to your Settings menu's Profile tab.
  • Scroll to the bottom and click Sign in to Facebook and connect your accounts.
  • When prompted, select the privacy settings for who will see your Tweets posted to your Facebook wall. It is set to public by default.
  • Click Log in with Facebook and enter your Facebook login credentials.
  • Click Allow to accept permissions.
  • Your Tweets will now post to your profile Facebook wall and your username will be displayed there as well. @Replies will not be posted.

How to connect Twitter account to a Facebook Page

If you have or admin a Facebook Fan Page you can post Tweets from your Twitter account to your Facebook Page.

  1. Follow the steps above to connect to your Facebook profile.
  2. In your Twitter profile settings page, Select the page you'd like to connect to.
  3. When prompted, click to allow permission to post to the selected Facebook Page:

How to connect Facebook and Twitter accounts

  • Log in to Facebook and access Go to Application Center, search for the Twitter application.
  • Click the "Add Application" button to add the "Twitter" Facebook application.
  • Choose your preferred settings and click "Add Twitter."
  • Input your Twitter username and password in the appropriate field.
  • Choose to have Twitter update your Facebook status.
  • Allow and authorize access for Twitter to Facebook. Every time you update your Twitter account, your Facebook status will update automatically.

This is very useful when you want to exchange statuses between accounts, one way or another. For example, you want to send an URL to twitter using an application and later to Facebook.

How to connect Youtube and Twitter accounts

  • Log into your YouTube account.
  • Click your YouTube user name and then click Youtube Settings.
  • Click Connected accounts then Twitter Connect.
  • A new window appears.
  • If you are not logged in enter your Twitter username and password then click Authorize app.
  • If you are logged in with your Twitter account just click Authorize app.
  • The window disspear.
  • Select the activities you wish to share with your social network.
  • Click "Save" once your Youtube account.

How to connect Youtube and Facebook accounts

The steps are very similar to the previous connection.

  • Log into your YouTube account.
  • Click your YouTube user name and then click Youtube Settings.
  • Click Connected accounts then Facebook Connect.
  • A new window appears.
  • If you are not logged in enter your e-mail (used for the Facebook account) and password and log in.
  • When you are logged in with your Facebook account it will ask you the permission to access your account and your pages, click Allow.
  • The window disspear.
  • Select the activities you wish to share with your social network.
  • Click "Save" once your Youtube account.

The activities you selected for sharing (Upload a video, Add video to public playlist, Comment on a video, Like a video) will now be automatically tweeted and/or posted to Facebook when they occur on YouTube. It's a great way to promote your own Youtube page and videos when you have a company or a brand on Youtube.

Joomla 3 is out for more than a month now. If you already upgraded your existing Joomla (or made a clean install) to the latest version you might have had a little surprise when you tried to install a new package (component, module or plugin) or to update a new one.

Warning JInstaller: :Install: Cannot find Joomla XML setup file

The reason of this error message is simple: the XML file present uses the <install> tag in the xml file which was deprecated at the end of Joomla 1.5 (although still worked in 2.5) however this function has now been removed from Joomla 3.0, hence it can't find a function that works.

The solution: open the xml file used for installation for editing and modify the <install> tag with the  the <extension> tag. For example, the following code

<?xml version="1.0" encoding="utf-8"?>
<install type="component" version="1.6.0">

... installation code...

</install>

will become

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="1.6.0">

... installation code...

</extension>

Then save the file and repack to a zip archive (the installation package) the extension.

One of the errors triggered by the usage of extensions created for previous Joomla versions looks like this:

Joomla Fatal error: Class classname cannot extend from interface JController

The reason: It looks like the interface JController has been removed, and now you have to specify which controller you're using.

So, the following code

$controller = JController::getInstance('classname');

will become

$controller = JControllerAdmin::getInstance('classname');

Also, there is one thing you should change:

class ClassnameController extends JController
{
}

will become

 

class ClassnameController extends JControllerAdmin
{
}

programmer eye No comment. It’s clear there is a difference between normal people see and a programmer sees.

Some of you are familiar with this Wordpress error, it appears from time to time depending of what plugins you have installed. I've met it earlier when I upgraded an Wordpress package to version 3.5 and the plugins on that particular website triggered this error... and locked me out for a few minutes from the administrator section.

The solution  was very simple: I logged in using the ftp, I renamed the plugin directory and I tried to access again the administrator section. Of course, another error appeared: some plugin files were missing. I renamed the plugin directory to the original name and the access was restored.

Usually you can find that directory in your-wordpress-directory/wp-content/plugins/. A lot of people are installing wordpress package in the root of their blog, but that is not a rule, it's just a habit.

We create websites to present your activity to the world and applications for internet that help you organize your activity as eficient as possible and without loses (in money, time and energy) whatever you are while you are online. You only need an internet domain, space on a server and the app we develop for you.

The search engine optimisation part is very important for websites - they have to match certain criteria in order to appear as often as possible in the search results. We analize your website and we offer consultancy about the options you have about to boost its visibility and organic traffic.

We develop applications for various companies and organisations according to their specifications and requirements in order to be used by employees and partners to work more efficient, making the transition from excel files and spreadsheets used before to the internet of things. We offer support for the applications used now and we develop them further using modern technologies.

We offer consultancy about the informatic system you have installed and we offer sollutions to make the more efficient, to improve and develop them further, we analize the activities inside your company and / organisation and we offer sollutions for the projects you want to develop.