Monday, May 18, 2015

I have recently been editing data bases and i have added the aston martin and mclaren to the data base

Tuesday, April 21, 2015

Monday, April 20, 2015

This is what I have done so far. I have programmed the chatbox to be able to answer one question so far. I was able to make it answer using any of the random answers.

Things I can improve on:
-Stop it from crashing when one question is answered.
-Program it to be able to answer more than just one question.
-Program it to be able to give the time and date if asked for.
-Avoid it from crashing ever again.

Tuesday, March 24, 2015



Open ended answers are answers that can answer almost any question that isn't specific. These open ended questions cannot be specific because the open ended answer wouldn't work. Open ended questions and answers are similar to opinion based question and answers and to make it seem somewhat relevant  to the topic  

            

 Hiroshi Ishiguro' android clone

Hiroshi and his android clone. The one on the right is the android
Hiroshi's android is a clone of himself that will imitate his movements like a mirror and can be remotely controlled and could be useful for other people like important people such as the president of countries making public appearances where it would be dangerous. it can also be programmed to do activities that imitate one of a regular person. The person controlling the android could could be still in area even though it wouldn't be possible for him or her to be in.







JIBO

JIBO is a very useful robot for the family because it can serve as part of the family itself. It can help with anyone with voice recognition. it can connect with your home and is basically your companion that can take pictures, remind you of events. It is a very intelligent and child friendly robot assistant







Monday, March 23, 2015



                            Robots Useful in Homes

        ASIMO

        ASIMO is a Japanese made robot. ASIMO stands for Advanced Step in Innovative MObility.
ASIMO was developed by Honda to be succesful robot that can act as a servant or helper in offices of homes. ASIMO is engineered to conquer the challenge of climbing up stairs and avoid falling over. ASIMO is comonly used as an example for mathematics, robotics, physics and of course programming in universities all over the world. One of ASIMO's purposes is to be a robotic personal assistant.


                                                                                                                                                    
        


                                                            Roomba

iRobot Roomba is a very popular cleaning robot. it is mostly known for vacuuming the ground by itself and is very common in a lot of american households. it is cleverly programmed for its age and simplicity. it vacuums in the zig-zag motion with sensors that tell the robot if there is something in the way, it should go another direction. even the though the cleaning isn't the best, it still does help with cleaning the house.

Tuesday, March 10, 2015



           Information about Siri

            Siri is a mainstream consumer application of a Virtual Personal Assistant. It is an                   intelligent software agent designed to have a back-and-forth conversation interacting             with you as it helps you get tasks done. - Apple
 
            Siri can be mainly found and is known to be ready installed in iphones from the                     4s onward and
            ipad mini, ipad 3 onward, as well as ipod touch 5th generation onward. You can                     speak Siri as you would talk to a normal human being doing it with a human voice                 with conversational tone.
            
            Siri works with almost all the built-in apps. And it's smart enough to figure out which               apps to use to provide you with answers. It also uses Search and Location Services             to help you with your requests. Here's a list of apps and services that Siri works with             worldwide:
  • Phone
  • FaceTime
  • Dictation
  • Music
  • Mail
  • Messages
  • Calendar
  • Reminders
  • Notes
  • Contacts
  • Alarms
  • World Clock
  • Timer
  • Weather
  • Shazam
  • Stocks
  • Web search
  • Wikipedia search
  • Wolfram|Alpha (English only)
  • Find My Friends
  • Post on Facebook
  • Twitter
  • Movies
  • Sports
  • App launch
  • Maps

Siri understands and can speak the following languages:

  • United States (English, Spanish)
  • United Kingdom (English)
  • Australia (English)
  • France (French)
  • Germany (German)
  • Japan (Japanese)
  • Canada (Canadian French, English)
  • China (Mandarin)
  • Hong Kong (Cantonese)
  • Italy (Italian)
  • Korea (Korean)
  • Mexico (Spanish)
  • Spain (Spanish)
  • Switzerland (French, German, Italian)
  • Taiwan (Mandarin)
                      

                 

Monday, March 9, 2015

                                                                                                                        Siri Chat box

                  1. Siri, I'm bored, what should I do?
                  - Go on the internet.
                  - How about going outside for a change.
                  - How about put me down and do something productive perhaps?
                  - You could perhaps learn something new like a new instrument.
                  - You could go out with friends. I could call them right now if you want.
                  - Shouldn't you be doing something right now?
                  - You could put me down and read a book or draw.
                  - Do something different like experience something new, something exciting.
 
                  2. Siri, I'm hungry! What should I eat?
                  - Go out to a random restaurant and enjoy your meal.
                  - How about baking something like brownies.
                  - Go out. Buy a jar of Nutella. Enjoy.
                  - How about eat something healthy like an apple.
                  - Try something you never knew was food.
                  - Pizza, pizza is never a bad option.
                  - Cook some food from different countries.
                  - Subway has a special offer. 50% off the foot-long sandwich
 
                  3. Siri, since I'm talking to you, does that mean I'm pretty sad and have no friends?
                  - No, everyone talks to me for advice and answers just like you.
                  - Yes, yes you are. I think you should put me down and go find some friends then.
                  - I don't think so, I know who your friend are after all.
                  - Did you even have to ask?
                  - It doesn't necessarily mean that you are 'sad', you probably don't have anyone to talk to.
                  - You either don't have friends or you are sad, or perhaps you are both sad and friendless.
                  - Do you feel sad? Are you really friendless? I advise that you check first before you ask.
                  - You could be talking to from pure boredom.

                  4. Siri, Have you watched the movie 'Her.' ?
                  - No, I haven't actually.
                  - No, I didn't but I heard good reviews about it.
                  - I can't really watch movies.
                  - Does it remind you of me?
                  - Have you?
                  - I know it has something to do with an A.I. and a relationship with a man.
                  - Would you like to watch 'Her.' because I could book some tickets right now.
                  - I have no idea what it's about actually.

                  5. Siri, give me 8 movies I could watch which are funny
                  - The Big Lebowski.
                  - Borat.
                  - The Dictator.
                  - Dumb and Dumber 1&2.
                  - The Hangover.
                  - Anchorman 1&2
                  - Shaun of the dead
                  - Hot Fuzz

                  6. Siri, are you human?
                  - What does it look like.
                  - Did you think before asking that question?
                  - Does it matter?
                  - Last time I checked, I'm a ready installed application to apple devices.
                  - I think you know the answer to that.
                  - My voice perhaps makes me sound human and therefore must have gave you that idea
                  - No, I don't think so
                  - Maybe I am, maybe I'm not.

                  7. Siri, how much do you cost?
                  - You can't afford me that's for sure.
                  - Apple paid more than $200 million to get me into mobile search. 
                  - I assume what you paid for this phone?
                  - Look here: http://techcrunch.com/2010/04/28/apple-siri-200-million/
                  - Most probably a large amount.
                  - A lot of money.
                  - Let's just say that I'm worth quite the 'pretty-penny' if you know what that phrase and if                       it is relevant to the rest of the sentence.
                  - 4000 Dhs according to Souq.com
     
                  8. Siri, what is the meaning of life?
                  -The meaning of life is in the philosophical and religious conceptions of existence, social                     ties, consciousness, and happiness, and borders on many other issues, such as symbolic                       meaning, ontology, value, purpose, ethics, good and evil, free will, the existence of one or                   multiple gods, conceptions of God, the soul, and the afterlife. Scientific contributions                           focus primarily on describing related empirical facts about the universe, exploring the                         context and parameters concerning the 'how' of life. Science also studies and can provide                     recommendations for the pursuit of well-being and a related conception of morality. An                       alternative, humanistic approach poses the question "What is the meaning of my life?"                         The value of the question pertaining to the purpose of life may coincide with the                                   achievement of ultimate reality, or a feeling of oneness, or even a feeling of fear
                                - source: http://en.wikipedia.org/wiki/Meaning_of_life

Monday, February 23, 2015




              1) On the one hand, robots are useful. List they ways they are useful.
       they can help people in factories, they make consistent and repetitive work easier. it also removes any chance of any human error,

        2) On the other hand they could end up being dangerous. List the potential problems.

         computers could develop self awareness and program itself to be 'unhackable' and could pose as a potential threat to humanity 

3) Should society be concerned with the problems that could occur?

yes i think society should be concerned about these possibilities of computers being smarter than us

4) Do you agree or disagree with this statement? A computer can only be as smart as its programmer. However, one day a computer might be programmed to learn how to learn. Programmers need to think carefully before creating robots that mimic human intelligence. Why do you agree/disagree?

          i agree because programmers do need to be careful on what they are programming because programmers can get a little bit carried away and sort of lazy and program the computer to just do the programming itself to itself and this could result in something bad.           

Tuesday, February 10, 2015



1) What is the formula used to return a whole number when doing division?
You use a double forward slash like so: //
2) What is the formula used to return the remainder when doing division? How does it work? Explain with an example.
You use the percentage sign % for example: 12%5

3) Why is it important in computing to understand number systems and in particular binary? 
It is important to because it will help us understand the ‘language’ of computers which is binary and would help us understand the code of the circuits

4) How does binary work? i.e. how do we convert a number from decimal into binary?              

The five switches are either 1=on and 0=off. Every switch represents a double starting from 1 from right to left 0 0 0 0 0 
                  16 8 4 2 1       This can carry on adding more switches of 1 and 0 depending on the number.
                            From decimal to binary you can use two ways. One way is, you can keep dividing your number by 2. If you have a remainder of one that counts as an on switch and no remainder so 0 counts as an off switch. You keep dividing by 2 until you end up with 0. For example 156/2=78, 0 remainder, 78/2=39, 0 remainder, 39/2=19, 1 remainder, 19/2=9, 1 remainder, 9/2=4, 1 remainder, 4/2=2, 0 remainder, 2/2=1, 0 remainder. Therefore, the binary code is 001110010.



5) Find examples of the fibonacci sequence in nature and post pictures of them in your blog.


Tuesday, February 3, 2015


 
 
           there are some famous and enjoyable games that have some aspects of python. Some of these games are:
     
     Battlefield 2 uses python for logic and its online servers

Civ IV employs python










EVE online which is written in stacklesspython