jeudi 14 juillet 2016

Pokemon GO !!! (story mode)

A new story about Pokemon!

Long long ago there were hundreds of Pokemons, until there were humans. Because humans capture Pokemons, humans thought Pokemons were some kind of pets but they were not pets, they were the ones that save the nature like fight against humans that are trying to destroy the environment. The humans vs the Pokemons and the humans lost. So after they capture Pokemons to help them fight the others but some people are nice so they protect the Pokemons to keep the environment. This is how the character Sasha and his friends appear. The fight against Pokemons is continuing and the technology of the humans is improving. Who will win?

Well for the moment, humans are winning but who know who will win at the end because the Pokemons are evolving and new species are appearing. But only 5% of the people actually help the Pokemons and want to train them. The humans have a new plan to destroy all the Pokemons....

To be continued.....

dimanche 10 juillet 2016

Sum of squares

Today Tom the super boss has meeting with his staff. One the worst staff in the world said there was an alien doing stupid things and said that he needs to know the sum of squares or he will blow the world up.  And then there was superman but the alien was too strong so he crushed the superman into two pieces (and died).

And then we called the most smartest person in the world but when the smartest person finished telling the alien that the genius died because the alien couldn't understand. So we were thinking for a new plan.....

So we then knew what to do, we used our computer to do some coding. Tom's super assistant Daddy has prepared a pseudo code. Then Tom the smartest boss tried to reproduce it on his laptop (what, the boss does the hardest part of the job, that's a real master / boss!!!). Of course, Tom the super boss was surprised that Daddy's pseudo code not working. Angry, he asked: "why Daddy you put some codes not working at all there...?"

Daddy stupidly said: "That's called a pseudo code, my dear..."

"Ok, so now remove all pseudo stuff from that, please."

Daddy finished to remove all pseudo stuff and below is the result / code:

from math import sqrt

n = 100

for a in xrange(1,int(sqrt(n))):
  for b in xrange(a,int(sqrt(n))):
    if a**2 + b**2 == n:
      print a,'^2 +',b,'^2 =',n
      exit(0)

print "no solution"

And then the alien understood and went on his spaceship and left. So basically our company has saved the world and we are the richest company in the whole wide world.

                                                                The End

How to install python on your MacBook (Introduce python)

First you need to install Xcode. If not yet done, please do it now to pretend that you are a professional coder.

Then we open the terminal in your MacBook.

The following command will install the command line tools on your MacBook:

xcode-select --install

Next we will install Homebrew as follows:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If needed, you could update your PATH:

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

To finish you can either install Python 2 or Python 3. To be fun, I install both:

brew install python3
brew install python

mardi 5 juillet 2016

学中文 (对话)


Chinese                                           English

明明:你是谁?                                  Tom: Who are you?                              
方方:我是方方!                              Leo: I am Leo!
方方:你爱中文吗?                          Leo: Do you like Chinese?
明明:是中国人我觉地都爱中文。  Tom: If you are Chinese I think you love Chinese.
明明:我有事先走了,再见!          Tom: I have things to do so I will go first, bye!
方方:再见,后会有期!                   Leo: Bye,  see you next time!

lundi 4 juillet 2016

Angry Birds

These angry birds are making their way to their eggs.
Once upon a time there were some lovely birds, the birds can't fly so they were angry. And some pig was sad because they didn't have any eggs so their plan was to take all the eggs from the birds. Hearing their plan, the birds quickly crashed all the pigs but the pigs stole all the eggs while the angry birds were crashing the pigs. But the pigs didn't know that the birds were so quick to come back so all the pigs got crashed and died. The birds lived happily ever again and they all changed their names to the birds and not the angry birds.


dimanche 3 juillet 2016

Minecraft 4.

It was Herobrine, he didn't do anything bad but he told us that he is gonna send hundreds of millions of creatures to attack us and he also said that he is preparing some electric cannons to kill us all. He is again gonna send a few bosses to attack us. And he left. In the morning, I made a farm to easier get some food. At that time Steve made a tunnel from castle to the farm so the food wouldn't get squashed at the battle. In the afternoon we made some villager soldiers and the rest of the villagers that are too bad at fighting, they will just carry food from the farm or they will make rampart and more defenses. In this village there is a special one, that one can make electric cannons and even towers in seconds! We asked his name and he is Bob. He said was stuck in the game too but they instead turned him into a villager. Well, now it's night and the monsters are coming and the big boss is a wither. They are too hard to kill so we need to have an emergency plan. I can't think of any plan but Bob already knows what to do.........

                                                    To be continued.......

samedi 2 juillet 2016

Minecraft 3.

We saw a thing moving and crashing trees whenever it went, it was a boss. That boss was not a huge boss, it was just a normal zombie pigman, its skills are too good. Its skills are above ours and even our cannons always miss him. He is the only enemy left, all the others were killed, shot or bombed by us. We have only one choice, our last choice is to find out his weakness from thousands of millions of Minecraft weakness books on the library bookshelves. We found its weakness: it is water. So we put water all around our castle. We thought we should put a bridge after this night and at that second the enemy died by the water.

Day 2.

Today we put a bridge and a person came to attack us, we first thought it was a good person but then Steve told it was someone bad, very bad and it was........

                                                To be continued.....

Poem : Windrush Generation

Windrush Generation Past glory of England Succes of this Nation Based on the strength of this land Many Jamaicans Find work, prosperity Have...