RSS
 

Archive for July, 2010

.Project File in Eclipse

29 Jul

This is perhaps more a reference for me than for anyone else reading my blog

But I think it might come in quite useful someday.

Here’s a description of the project file of an eclipse project:

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/project_description_file.html

and here is my code on the php project:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>ProjectName</name>
	<comment></comment>
	<projects>
	</projects>
  <buildSpec>
    <buildCommand>
      <name>org.eclipse.wst.validation.validationbuilder</name>
      <arguments>
      </arguments>
    </buildCommand>
    <buildCommand>
      <name>org.eclipse.dltk.core.scriptbuilder</name>
      <arguments>
      </arguments>
    </buildCommand>
  </buildSpec>
  <natures>
    <nature>org.eclipse.php.core.PHPNature</nature>
  </natures>
</projectDescription>
 

the bucket list

28 Jul

Here’s a nice project, perhaps I could make my own list of things that I want to do before I die…

 
 

upgrade to the new version of PhpMyAdmin 3.3.4

12 Jul

Since 28th of June, the new version of phpMyAdmin 3.3.4 came out and here is how you can upgrade your previously installed version to the newer one.
My setup is on Windows with Wamp so if you have another local host running, you’ll have to adapt to your way of working, but I’ll bet that the difference isn’t that big.

My start screen looked something like this, on which we can see the older version and obviously it’s time to upgrade.

Go to the download page and download the latest version you prefer. As my whole environment is set in English I just select the phpMyAdmin-3.3.4-english.7z version.

Second step is to extract the downloaded files to your local location and set the rights as you prefer. This can be done in different ways but I prefer the manual way, this is done by copying the config.sample.inc.php, renaming it to config.inc.php and change the preferences in the file as you prefer.

In my case the only two lines that had to be changed where:

$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'blabla';

If you need more information, it can be found in the documentation included in the package (documentation.txt).

If we go to the location on our local host now (in my case http://localhost/phpMyAdmin/) we get an error saying that we don’t have permissions to view this page.

In order to get this working we need to set the phpmyadmin.conf file and adapt it, the alias and directory need to be adapted to the freshly installed version.

Alias /phpmyadmin "C:\wamp\apps\phpMyAdmin-3.3.4-english"

# to give access to phpmyadmin from outside
# replace the lines
#
#        Order Deny,Allow
#	Deny from all
#	Allow from 127.0.0.1
#
# by
#
#        Order Allow,Deny
#   Allow from all
#

<Directory "C:\wamp\apps\phpMyAdmin-3.3.4-english/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
	Deny from all
	Allow from 127.0.0.1
</Directory>

After restarting your local wamp, you’ll get the correct and new version of phpMyAdmin in your browser.

Have fun.

 

Google Internet Summit 2009: The Future

09 Jul

Here is a really really long video on the future of the internet by Chip Elliot, Nick McKeown, and Paul Saffo.
One of the most interesting things is on 1:05:00 where he starts talking about robots becoming smarter than people.
His example is about cars driving a race, without any human interaction, on a track just using sensors. Just a half hour before the race, where 9 out of ten cars get to the finish, an accident happens with real humans down the road and this confirms his theory on robots becoming better then people.

I believe that this is happening indeed, the only question is: When will robots take all possible issues and influences into account that only can be done by human common sense?
That and the enormous amount of data that has to be processed will be the biggest issues to solve in the future.
The amount of data of what is happening with us and around us increases on a daily basis and basic sensors won’t be sufficient…

I’m really curious where this is all heading. Following Moore’s law, doubling everything in the next 2 years, I will outlive all these inventions :-)

That is off course, if I stop drinking those loads of coffee…