Machine learning is one of the most interesting research areas in technology but with many challenges when it needs to be applied. A new event with this subject it's going to take place at Oradea Tech Hub (Oradea fortress, body C, 2nd floor) on 18th October, from 18:30 to 20:00, so if you are interested you should go.

There are many things taking into consideration whe you are designing a website, from how it looks, how it behaves (and if it's user friendly or not), if it's functional and all the functionalities are working properly. The testers should spend al least several hours hitting buttons, displaying the pages on different devices and so on.

But when search engine optimization is involved, the work doesn't stop when the website is finished. For some people the work starts from the moment when the site is online. Having a good looking functional website is good, being responsive and having https enabled is even better, but the content of the website is king.

The Joomla version is 3.6.2 and the administrator was verifying the content of the trash. Some of the articles were restored, other articles were kept in trash. Finally, the "Empty trash" button was hit after selecting all the items in the list.

The results were: the articles were erased and the administrator was logged out automatically with the following message.


You do not have access to the Administrator section of this site.

All the tables involving the users were clear, with the fields as they were before, no visible error or problem. The #__session table was cleared (with truncate). Finally the error was found: the first record in the #__assets table was missing, probably deleted along with the content of the trash. It was added using the sql query bellow (with the full table name, not `#__assets`), and everything was ok again.

INSERT INTO `#__assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES
(1, 0, 0, 103, 0, 'root.1', 'Root Asset', '{"":{"6":1,"2":1},"core.login.admin":{"6":1},"core.login.offline":{"6":1},"core.admin":{"8":1},"core.manage":{"7":1},"core.create":{"6":1,"3":1},"core.delete":{"6":1},"core.edit":{"6":1,"4":1},"core.edit.state":{"6":1,"5":1},"core.edit.own":{"6":1,"3":1}}')

To be fully clear: the content of that Joomla site was imported from a custom site designed a few years earlier. The error may not appear in other Joomla websites, but it should be taken into consideration.

Working with Fedora Linux can cause some problems from time to time, some because of bugs, other because of something you do. Or you don't.

Anyway, when creating websites locally or developing new Joomla components and modules, you may need to have a localhost and a MySql installed locally in order to develop & test the site / extension or to develop the database behind that. I have installed a few days ago the localhost and the MySql and everything was just fine. Then, suddenly, while trying to log in to the database using some software for it I was getting all the time the error "1130 host 'localhost' is not allowed to connect to this MySql server".

The localhost was running, the MySql was active and running, everything seemed fine, but when trying to run `mysql` (with and without password, any password) I was getting errors like connecting to mysql server 'localhost' failed and access denied for user 'root'@'localhost', so commands like mysql -u root -h localhost -p or mysql -u root -h 'any ip address here' -p were out of the questions.

The solution for this was rather simple: reset mysql root password. In order to do that (at least for Fedora Linux - for other operating systems you should locate your my.cnf file) change the /etc/mysql/my.cnf configuration file and add skip-grant-tables:



Restart service and login with root without password, then change the root password using this:

set password for 'root'@'localhost' = password ('your_new_password');

Remove skip-grant-tables entry from my.cnf and restart mysql.

Note: in case you are logged in with your own Linux account (not root) you may need to log in with the root account if you don't have the rights to change the my.cnf configuration file.

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(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;} 

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>
<author>Supravirtual SRL</author>
<copyright>(C) 2013 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>
<description>Joomla horizontal and vertical Slideshow</description>
<license> GNU/GPL</license>

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.

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 web applications and mobile apps for various companies and organisations according to their specifications and requirements. The apps are being used by employees and partners to work more efficient and with less costs for the company. 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.