Tuesday, September 21, 2010
2010-09-21: Google Zürich Internship, when I fell in love with the city!
After struggling with the visa issues I finally got my Swiss Schengen visa and the work permit. The Swiss people are very strict and precise, they thought I was 2 persons, one named Hany Khalil, and the other Hany SalahEldeen! Well I don't blame them (fyi, in Egypt we don't have the concept of family name, your name is a concatenation of your ancestors names, my name then my father's, then his father's...etc). All my life I have been called Hany SalahEldeen but for some reason the American embassy in Cairo decided that my grandfather's name Khalil suits me better.
"Ich spreche kein Deutsch!" or "I don't speak German" Was the sentence I was repeating to my self on the plane to Zurich, you will never know when it could become handy sometimes! I was brushing up my old French as well, which seemed useless after I arrived to Zurich to realize that French is the main language in Geneva not Zurich. But I didn't care...I was in Google!....I am a Googler!...I even got an email address with my first name @google.com!
On the 6th of July I landed in Geneva, then I took the train to Zürich Hauptbahnhof (which means main station, try to keep up with the German words, or should I say Swiss-German words?). The Swiss really fascinate me, they know the real concept of time (well, they have the best clocks in the world). If you want to call something really punctual or accurate you say it's Swiss, or clock-work which also implies... Swiss. I was dragging my bag from the station, still can barely walk from my leg surgery I reached the tram station. When they say it will arrive 6:43 they actually mean it. I arrived to the student residence of ETH University where I sublet a room for the next 3 months, settled my stuff and fell asleep.
At 9 am next morning I was in the Google Zurich GmBH lobby. I met other interns and after an introductory session we were taken on a tour through all the huge 3 buildings (I used to lose my way for the first 3 days, well but maps were every where). I met there some fellow interns who became my great friends later on. The first two weeks were scheduled to be the training phase, including sessions and tutorials. I got to say when you get access to all these foods, candies, games and entertainment facilities (fussball tables, ping-pong tables, xbox, ps3, rockband, pool, musical instruments, they even got a massage and meditation room!) You get really distracted at the beginning, but that was trivial the following weeks and I loved the idea, if you spoil your employees and make them happy they will feel ownership to the company and commitment thus they will produce amazing work, that was the motto.
My host and manager was very excited and eager to start, so was I. I was the first intern to work under his supervision. He was a mentor, always there to help and give good advice, give me room to work, create and think outside the box and above all he was a good friend. Mostly that's the theme within all employees there, lieght weight, informal but respectful of course. later that week I had a standup coffee meeting with a guy who I later knew that he invented the automated language detection in Google translate! I was working in the MENA (Middle East and North Africa) team on a project allied with the Google translate team. I wish I was able to describe my project but the NDA (Non-Disclosure Agreement) I signed with Google prevents me as it is a new cool project and by the end of the three months I built successfully a huge portion of it. When it is released I will let you know!
Transparency and trust, that's what I was thinking of when I was working. You have access to all the resources and individuals, all available to help you proceed in your project. You can mail anyone and say hey I wanna ask you something! He/She will answer immediately. If you are stuck with a certain program or library you can ask, there experts in it on the mailing list. Maybe you can find the guy who actually invented it and wrote the whole thing! (Like the case in Vim, also you can find Sergey, Page and Cerf on the mailing list too!). Development process is totally different in Google, yes it is Agile and standup meetings are more common than coffee in Italy but there are other considerations. You want to meet deadlines and race to be innovative but also you have to produce code that is extremely scalable, dependable, throughly tested, following style convention and very readable. Handover time to another engineer shouldn't take a long time. I had to throw all most of what I know in C++ and adapt to the new framework of libraries, bigtables, mapreduces ...etc. If you required a functionality someone probably wrote it before so go directly to Code search and acess the code base.
TGIF (Thank Google It's Friday!) are the best weekly gatherings ever! You meet people from different teams in a social manner, relax, laugh, have fun and even karaoke which was a bad idea for me to participate! Every Friday night me and the other interns used to go discover the city and dine in a new place serving a new cuisine, ranging from Swiss cheese fondue to flaming duck Phad Thai. It was delicious and enlightening!
I have been to several parts of Switzerland, learned a little German,one of my friends at Google actually taught me the Blues Harp (AKA. Harmonica) and we used to practice three times a week. I travelled back to Spain to see friends, did water skiing on the lake in Zurich and was scheduled to do a sky-dive on top of the Alps but it was cancelled for bad weather, I was pissed!
Walking through the city was a pleasure itself. Enjoying a cup of coffee down one of the curling streets was amazing. Reading a book by the lake was a quality time. The only bad thing about Zurich is its prices!...I saw a suit in a shop and I kept looking for its price tag because I thought the numbers on the tag in front of it were the serial number not price!
The student residence I used to live in was amazing. Imagine living in a place where 100 different students live from more than 35 countries. We laughed together, we watched World-cup together and cheered for all teams! we cooked, watched movies and partied together too. It was friendly, brotherly and definitely educating. I met there people who definitely left a mark on my life.
In conclusion it was an amazing summer, educating, life changing experience. Working for the best company, living in an amazing city and meeting great people, what more can one ask for?!
2010-09-21: Google Graduate CS Forum
Being from Egypt is always a blessing!...that's what I was thinking when I got the email from Miss Hannah from Google's University outreach team informing me that I was selected to represent Old Dominion University in the Google 2010 Graduate CS forum for students in the United states from underrepresented backgrounds. I found that the name is a little bit weird but I was thrilled!...I will get the opportunity to fly to San Fransisco, stay 3 days In a hotel, visit the GooglePlex and return back to Norfolk over the weekend...and guess what...ALL PAID FOR!
I picked the dates and arranged with the travel agent, got the tickets and head to the ORF airport putting in mind only one thing...CALIFORNIA BABY! I got to Norfolk airport and I made a mistake of leaving my laptop inside my carry-on bag which, mixed with seeing my foreign passport and my non-american face, I think triggered an alert of some kind which ended up in, no surprises once again, getting me "randomly" selected for inspection!...a couple of minutes later all my clothes were spread neatly on a big table in the middle of the airport and being thoroughly inspected separately!...I wanted to get angry but I couldn't stop laughing! Well, they ended up apologizing to me and when the lady was trying to put my things back in the bag she was trying to small-talk, she knew I was going to San Fransisco so she suggested that I should visit Alcatraz!...what is that supposed to mean!?
After sleeping for 7 hours, which i tend to do in all transportation means, I arrived to San Fransisco and took the BART to downtown to find that Google has reserved a shared room for me and another student in the Hilton! and in the reception I found them handing me a debit card with $50 for "transportation"!...God I love Google!
Later on, the students gathered, the room had a collective IQ of a small town!...I am not kidding, and we had some sessions then on the next day we went to the GooglePlex...it was huge!...we spent nearly 2.5 hours touring it! and we also stopped in the Google Store for some souvenirs. We had a couple of sessions more and finally we were all invited to a fancy dinner in one of San Fransisco's biggest Italian restaurants...well it had to be big to fit 87 students and organizers!
Next day we met some researchers in different fields who spoke with us about their work and we exchanged contacts, finally I was heading back home to Norfolk after passing a fantastic weekend at Google, it was definitely worth the 7 hours by plane and what makes it even sweeter is, as I said before, it was all paid for!
--Hany
2010-09-21: Microsoft Internship
I know I have been a little late in my blog posts but well, it's better late than never! I promise to be more frequent in my updates.
A couple of months ago during my summer vacation I had a very mouth-watering opportunity to make an interview at Microsoft's Innovation center in Cairo, Egypt. So I said why not?!...it would be an interesting experience and an opportunity to go beyond the academia and see how the research in the industry works, this might be worth it...and it was. Two days later I started an internship at Microsoft as a research intern in September and I finished in December when I rushed back to ODU so I'd be able to start my semester.
I was working with Prof. Nayer Wanas in Recommendation systems based on Social Networks. I don't think my Non-Disclosure Agreement will allow me to go into detail but what I can say is that it was fantastic! One of the funniest things that happened is that according to the Egyptian law individuals who are not undergraduates are not allowed to work as "Interns" so the center had to reformulate my contract, I even still have the contract I signed with Microsoft stating that they are utilizing my experience as a "Consultant" for Microsoft...so imagine, me Consultant!
I have been working in a software company for two years during my undergraduate school so I was a little acquainted with the software development process, milestones ...etc. But for the first time in my life I was introduced to the whole Corporate concept and this huge framework of Engineers, researchers, architects, analysts, developers...etc and man I was amazed! I was also introduced to a new culture (which I will be calling spoiling the employee!). I have a big kid inside of me, so free food, free candy, free drinks, Xbox with a huge Screen, ping pong ...etc are just like heaven to me!
Within this period I participated in co-authoring a workshop paper presenting a new technique we were working on, it is currently under reviewing. So wish me luck!
--Hany
Tuesday, October 21, 2008
6 Simple steps to add reCaptcha (Human detector / pod stopper) to your rails application or Radiant
I found a marvelous rock-solid solution using reCaptcha plugin (thanks to guys at ambethia and to the modification that my friend & colleague humanzz has done.). Using the recaptcha plugin is so trivial and simple, it is explained in humanzz's & ambethia's pages, but the trick is in installing it in radiant applications.
Just follow the steps and you'll do great, just like the integration in the blogs of www.espace.com.eg.
Step 1: Register in the reCaptcha site, provide your website URL and get the public and private reCaptcha keys.
Step 2: Open your radiant project and add these three lines in the config.after_initialize block to be as follows:
config.after_initialize do
Ambethia::ReCaptcha.enabled = true
Ambethia::ReCaptcha.public_key = 'abcdefghij.....'
Ambethia::ReCaptcha.private_key = '12345.........'
end
Step 3: Download the reCaptcha plugin modified from humanzz's account at gitHub and copy-paste it in the /vendor/plugins folder in your radiant applicationand name the folder "recaptcha or whatver".
Step 4: In your /extensions/comments/app/comments_controller.rb file (or whatever applicable to your case in radiant project) add the check for the validity of the reCaptcha to verify that the poster is a human not a pod
def create
----- bla bla bla
----- bla bla bla
----- bla bla bla
if verify_recaptcha(comment)
comment.save!
else
----- Some more bla bla bla but raising error!
end
Step 5: Now you need to display the recaptcha box, and as you know (one who use radiant often!) that we can't put ruby code in the radiant admin pages, we use tags instead; so we will create our own reCaptcha tag.
Open the tag file (comment_tags.rb in this extension or case) and create a small class in the CommentTags module
module CommentTags
class Recaptcha_Generator
include Ambethia::ReCaptcha::Helper
end
Now you can create the tag by adding this to the same file:
tag "recaptcha" do |recaptcha|
if Ambethia::ReCaptcha.enabled
Recaptcha_Generator.new.recaptcha_tags()
end
end
Step 6: In your radiant admin in the comment form now add this line to submit with the comment parameters,
<r:recaptcha/>
you'll find the recaptcha box appearing now before your eyes!
Bonus Step: If an error appeared stating you have problems with session error,open the recaptcha.rb file in the plugin in the lib folder and modify
error = options[:error] ||= session[:recaptcha_error]
to be:
error = "You are not human!" #options[:error] ||= session[:recaptcha_error]
Any questions don't hesitate to ask!
Monday, September 29, 2008
6 Simple steps to create a smooth light image rotator in Javascript
I came to a need to create an image rotator in javascript to rotate the images of us working in the company (you can check it for your self in the footer of www.espace.com.eg).
I simply used the scriptaculous library to add the fade-in fade-out effect on the pictures.But I had some major problems where the pictures enters in an infinite loop of continuous loading which seriously kills the website especially if the size of the pics is large.
So I came up with a solution in 6 simple steps to overcome those shortcomings as follows:
Step1:
Assemble all your photos you wanna rotate in a folder and number them from 1 to n (where n is total number of photos, in our example let it be 5) and name the folder any name ex."rotating_photos".
Step2
include the 2 files "prototype.js" and "scriptaculous.js" in your folder, and include their names in your HTML.
You can download them from http://script.aculo.us/downloads as a whole package.
Step3
In your HTML code replace:
<body>
by:
<body onload="photoGallery();">
The use of this line is to call the javascript function of rotating to initiate the rotating sequence.
Step4
Add this javascript lines to your HTML file or you can put it in a separate file and include it to your HTML file as you regularly do.
var r=2;
function hideAll(which)
{
if(which==1)
for(i=0 ;i<$('in_1').childNodes.length; i++)
$('in_1').childNodes[i].style.display = "none" ;
else
for(i=0 ;i<$('in_2').childNodes.length; i++)
$('in_2').childNodes[i].style.display = "none" ;
}
function photoGallery()
{
src = "rotating_photos/"+r+".jpg" ;
id = "pic_"+r ;
found=false;
for(i=0 ;i<$('in_2').childNodes.length; i++)
{
if($('in_2').childNodes[i].id==id)
{
found = true ;
break;
}
}
for(i=0 ;i<$('in_1').childNodes.length; i++)
{
if($('in_1').childNodes[i].id==id)
{
found = true ;
break;
}
}
if(turn==0){
if(found==false)
{
img = document.createElement("img");
img.src = src ;
img.id = id ;
$('in_2').appendChild(img);
hideAll(2) ;
$(id).show() ;
}
else{
hideAll(2) ;
$('in_2').appendChild( $(id) ) ;
$(id).show() ;
}
new Effect.Fade('in_1') ;
new Effect.Appear('in_2', { queue: 'end' }) ;
turn =1;
}
else{
if(found==false)
{
img = document.createElement("img");
img.src = src ;
img.id = id ;
$('in_1').appendChild(img);
hideAll(1) ;
$(id).show() ;
}
else{
hideAll(1) ;
$('in_1').appendChild( $(id) ) ;
$(id).show() ;
}
new Effect.Fade('in_2') ;
new Effect.Appear('in_1', { queue: 'end' }) ;
turn =0;
}
r+=1;
if(r>15) r=1;
var s=setTimeout("photoGallery()",3000);
}
Step5
<div id="in_1"><img src="rotating_photos/1.jpg" /></div>
<div id="in_2" style="display:none;"><img src="rotating_photos/2.jpg" /></div>
</div>
Step6
If you want to adjust the timing of rotating you can change the number 3000 in the last sentence in the function "photoGallery()" to be any number in milliseconds.
Sunday, July 20, 2008
10 Simple Steps to create taggable extensions in Radiant CMS under Rails 2.1
First, refer to the website mentioned above to do all the regular steps starting from installing rails till creating our first Radiant application. Next it is required to start generating an extension that enables the admin to easily add/remove/edit job vacancies through a wizard and to appear on the website itself dynamically.
Step 1: A new extension named vacancies will be created through the command
script/generate extension vacancies
Notice that the bold word could be replaced by the name of your new extension, but as for our case its name is vacancies. The following output should be seen:
create vendor/extensions/vacancies/app/controllers
create vendor/extensions/vacancies/app/helpers
create vendor/extensions/vacancies/app/models
create vendor/extensions/vacancies/app/views
create vendor/extensions/vacancies/db/migrate
create vendor/extensions/vacancies/lib/tasks
create vendor/extensions/vacancies/README
create vendor/extensions/vacancies/vacancies_extension.rb
create vendor/extensions/vacancies/lib/tasks/vacancies_extension_tasks.rake
create vendor/extensions/vacancies/spec/controllers
create vendor/extensions/vacancies/spec/models
create vendor/extensions/vacancies/spec/views
create vendor/extensions/vacancies/spec/helpers
create vendor/extensions/vacancies/Rakefile
create vendor/extensions/vacancies/spec/spec_helper.rb
create vendor/extensions/vacancies/spec/spec.opts
Now you can see that a folder named vacancies is created under vendor/extensions this folder contains all the details of such extension (as a separate rails application with its separate apps, model, controller, views...etc).
Step 2: If you are operating from UNIX environment you now have to change the mode of the folder to be enabled for altering, so go to the vendor/extensions directory through the shell and type in
chmod 777 vacancies -R
Step 3: Open the vacancies_extension.rb file in the vacancies folder and change its contents to be:
version "1.0"
description "Allows you to add a job-vacancies facility to your Web site."
url "http://yourwebsite.com/vacancies"
define_routes do |map|
map.namespace :admin do |admin|
# Directs /admin/vacancies/* to Admin::VacanciesController (/admin/vacancies_controller.rb)
admin.resources :vacancies
end
end
def activate
admin.tabs.add "Vacancies", "/admin/vacancies", :before => "Layouts"
Page.send :include, VacanciesTags
end
def deactivate
admin.tabs.remove "Vacancies"
end
end
Step 4:
Now start the server by typing the command:
script/server -e development
Open the browser on the URL http://localhost:3000 something like that will appear when you choose the extensions link on the top right corner.Step 5: Next, we will create the model to the extension by typing the command:
script/generate extension_model Vacancies admin/Vacancy
and the output would beexists spec/models/admin
create app/models/admin/vacancy.rb
create spec/models/admin/vacancy_spec.rb
exists db/migrate
create db/migrate/001_create_admin_vacancies.rb
If you look at the output of the command, you will notice that it generated:
the file for
- The Vacancy model
- The rspec test
- The migration
- The migration file would be like this:
def self.up
create_table :vacancies do |t|
t.string :title
t.string :ref
t.text :description
t.timestamps
end
end
def self.down
drop_table :vacancies
end
end
Now run the migration by typing:
rake development db:migrate:extensions
Step 6: Now we will create the controller of the extension by the command:
script/generate extension_controller Vacancies admin/vacancies
The output would be like this:create app/helpers/admin
create app/views/admin/vacancies
create spec/controllers/admin
create spec/helpers/admin
create spec/views/admin/vacancies
create spec/controllers/admin/vacancies_controller_spec.rb
create spec/helpers/admin/vacancies_helper_spec.rb
create app/controllers/admin/vacancies_controller.rb
create app/helpers/admin/vacancies_helper.rb
If you look at the output of the command, you will notice that it generated:
The Admin::LinksController
The functional test for the controller
The folder for the link controller views
Step 7: Now we will create the views,
create file index.html.erb in views/admin/vacancies folder and in it write:
<table>
<tr>
<th>Title</th>
<th>Ref.</th>
<th>Description</th>
</tr>
<% for vacancy in @vacancies %>
<tr>
<td><%=h vacancy.title %></td>
<td><%=h vacancy.ref %></td>
<td><%=h vacancy.description %></td>
<td><%= link_to 'Show', admin_vacancy_path(vacancy.id) %></td>
<td><%= link_to 'Edit', edit_admin_vacancy_path(vacancy) %></td>
<td><%= link_to 'Destroy', admin_vacancy_path(vacancy.id), :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to 'New Vacancy', new_admin_vacancy_path %>
create file new.html.erb in views/admin/vacancies folder and in it write:
<%= error_messages_for :vacancy %>
<% form_for(@vacancy) do |f| %>
<p>
<b>Title</b><br />
<%= f.text_field :title %>
</p>
<p>
<b>Ref.</b><br />
<%= f.text_field :ref %>
</p>
<p>
<b>Description</b><br />
<%= f.text_area :description %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
<%= link_to 'Back', admin_vacancies_path %>
create file edit.html.erb in views/admin/vacancies folder and in it write:
<%= error_messages_for :vacancy %>
<% form_for(@vacancy) do |f| %>
<p>
<b>Title</b><br />
<%= f.text_field :title %>
</p>
<p>
<b>Ref.</b><br />
<%= f.text_field :ref %>
</p>
<p>
<b>Description</b><br />
<%= f.text_area :description %>
</p>
<p>
<%= f.submit "Update" %>
</p>
<% end %>
<%= link_to 'Show', @vacancy %> |
<%= link_to 'Back', admin_vacancies_path %>
create file show.html.erb in views/admin/vacancies folder and in it write:
<b>Title:</b>
<%=h @vacancy.title %>
</p>
<p>
<b>Ref.:</b>
<%=h @vacancy.ref %>
</p>
<p>
<b>Description:</b>
<%=h @vacancy.description %>
</p>
<%= link_to 'Edit', edit_admin_vacancy_path(@vacancy) %> |
<%= link_to 'Back', admin_vacancies_path %>
Step 8: Modify the controller to display in view by putting:
# GET /vacancies.xml
def index
@vacancies = Admin::Vacancy.find(:all)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @vacancies }
end
end
# GET /vacancies/1
# GET /vacancies/1.xml
def show
@vacancy = Admin::Vacancy.find(params[:id])
respond_to do |format|
format.html # show.html.erb
format.xml { render :xml => @vacancy }
end
end
# GET /vacancies/new
# GET /vacancies/new.xml
def new
@vacancy = Admin::Vacancy.new
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @vacancy }
end
end
# GET /vacancies/1/edit
def edit
@vacancy = Admin::Vacancy.find(params[:id])
end
# POST / vacancies
# POST /vacancies .xml
def create
@vacancy = Admin::Vacancy.new(params[:admin_vacancy])
respond_to do |format|
if @vacancy.save
flash[:notice] = 'Vacancy was successfully created.'
format.html { redirect_to(@vacancy) }
format.xml { render :xml => @vacancy, :status => :created, :location => @vacancy }
else
format.html { render :action => "new" }
format.xml { render :xml => @vacancy.errors, :status => :unprocessable_entity }
end
end
end
# PUT /vacancies/1
# PUT /vacancies/1.xml
def update
@vacancy = Admin::Vacancy.find(params[:id])
respond_to do |format|
if @vacancy .update_attributes(params[:admin_vacancy])
flash[:notice] = 'Vacancy was successfully updated.'
format.html { redirect_to(@vacancy) }
format.xml { head :ok }
else
format.html { render :action => "edit" }
format.xml { render :xml => @vacancy.errors, :status => :unprocessable_entity }
end
end
end
# DELETE /vacancies/1
# DELETE /vacancies/1.xml
def destroy
@vacancy = Admin::Vacancy.find(params[:id])
@vacancy.destroy
respond_to do |format|
format.html { redirect_to(admin_vacancies_url) }
format.xml { head :ok }
end
end
Step 9: Restart the server, add vacancies, edit, show and delete them by accessing admin and clicking on the vacancies tab.
Step 10: Now it's time to create custom tags, create a new file in the “app/models” directory of your extension called “vacancies_tags.rb” and add the following code:
include Radiant::Taggable
tag 'vacancies' do |tag|
tag.expand
end
tag 'vacancies:each' do |tag|
result = []
Admin::Vacancy.find(:all, :order => 'title ASC').each do |vacancy|
tag.locals.vacancy = vacancy
result << tag.expand
end
result
end
tag 'vacancies:each:vacancy' do |tag|
vacancy = tag.locals.vacancy
%{#{vacancy.title}-#{vacancy.ref}}
end
end
To activate the tags add this line to the activate method in vacancies_extension.rb file
Page.send :include, VacanciesTags
In the page or snippet or layout add those tags:
<r:vacancies:each>
<li><r:vacancy/></li>
</r:vacancies:each>
</ul>
Thursday, February 21, 2008
Computers A.I vs. Human Genetics - A philosophic overview
Computers A.I vs. Human Genetics
Are we playing God?!
How do we, Humans, work?!
There have been many attempts by scientists, philosophers, biologists and even mathematicians to understand the entity of a human being, its instincts and its soul.
In the last few decades, with the continuous breakthroughs in the study of the brain, the neurological system and the birth of a new branch of science called genetics, many scientists went even further in assuming that the human being is more like a well built machine with a very complex circuit of neurons monitored and managed by the code embedded in the human DNA strand, this code is composed of 4 symbols (G, C, U, A) and the entire set of genes –called the human genome- is composed at just under 3 billion base pairs and about 20,000–25,000 genes which are considered as the blue-print to all cells of the body, how they replicate, produce proteins, interact…etc.
This sophisticated code may be the main reason and explanation of cell characteristics, malfunctions or even diseases, but what about feelings, morals, thoughts, dreams? Are they just chemical reactions and electric pulses that occur inside our brains to shape our mind, conscious and judgment?
During the last 50 years we have built faster, more powerful with enormous memory machines. We wrote programs, techniques and smart algorithms and the development is increasing tremendously. Now, the question is, would we, one day, be able to build a machine with the same complexity and power of the "human circuit"?
Further more, would it start living actually?....start thinking, feeling, interacting and even dreaming?
There is a rule in replication, if you wanted to replicate a thing you must know all about its properties, characteristics, functionality, its points of weakness and strength. For example, if you wanted to replicate a car you must know for certain its dimensions, weight, material of manufacture, max speed and performance; so that when you make one that resembles it.
Given that, to replicate the human brain, we must know all about it and its performance in particular.
Well, we DON'T!! , it was stated and proved that the human being only uses 10% of his brain power, what about the other 90%?
Have you ever been in a dangerous situation and suddenly out of no where you started to act with super-human abilities? For example, if you faced a lion or a fire, you'll find adrenaline pumping through your veins making you run at a speed that exceeds the fastest runner ever known, even if you can hardly walk in normal conditions!
There has been a great struggle in the search for increasing the abilities of the human being, knowing that his brain can be much more powerful, may be able to use Telepathy, Telekinesis...etc, but if the brain can be, theoretically, increased in power, what would be the problem?
Unfortunately the human being is more like a computer with very powerful software (mind) and a very weak hardware (body). For example the case of epilepsy, where the brain sends spikes of electric signals where the body can't handle and starts malfunctioning, ironically epilepsy might be accompanied with high degrees of intelligence!
What about machine intelligence? Is it possible? In my opinion we must define the concept of intelligence we are aiming at, I think that we haven't and will not reach any degree of intelligence known to man, but we are striving in another kind of intelligence booked only for machines. Unfortunately the two concepts of intelligence (either human or machine intelligence) are confused with each other as the definition is misleading, so I guess before starting to study artificial intelligence we must have solid contentment that a machine will not have a human intelligence and a human will never have a machine intelligence, at least that what I think. The reason behind my believe is that for machines we have only increased its information database and multiplying the size of its rule book, as I think intelligence is an answer of multi-variable equation that many of humans can't solve!
There are still some unanswered questions, here they are:
- If the gene code manages the properties of the human being and his cells, does it control the feelings, the thoughts, and the attitude of a man?
- In our search for the brain have we found out what was the mind?
- If the programs and algorithms manage the actions of computers, do they, one day, be able to provide the machines with feelings and thoughts?
- The most important question: If God blessed us with the ability to sense, feel, think, and dream with our continuous development in genetics and machine's artificial intelligence.........Are we playing God?!
Hany SalahEldeen